egg: Fast and extensible equality saturation

نویسندگان

چکیده

An e-graph efficiently represents a congruence relation over many expressions. Although they were originally developed in the late 1970s for use automated theorem provers, more recent technique known as equality saturation repurposes e-graphs to implement state-of-the-art, rewrite-driven compiler optimizations and program synthesizers. However, remain unspecialized this newer case. Equality workloads exhibit distinct characteristics often require ad-hoc extensions incorporate transformations beyond purely syntactic rewrites. This work contributes two techniques that make fast extensible, specializing them saturation. A new amortized invariant restoration called rebuilding takes advantage of saturation's workload, providing asymptotic speedups current practice. general mechanism e-class analyses integrates domain-specific into e-graph, reducing need ad hoc manipulation. We implemented these open-source library egg. Our case studies on three previously published applications highlight how egg's performance flexibility enable state-of-the-art results across diverse domains.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Equality saturation : engineering challenges and applications

of the Dissertation . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi Chapter

متن کامل

A fast saturation strategy for set

In this paper we present a fast tableau saturation strategy which can be used as an optimized decision procedure for some fragments of set theory. Such a strategy is based on the use of a model checking technique which guides the saturation process. As a result, it turns out that the saturation process converges much faster than previous decision algorithms either to a closed tableau or to a mo...

متن کامل

Fast and Extensible Phrase Scoring for Statistical Machine Translation

Existing tools for generating phrase tables for phrase-based Statistical Machine Translation (SMT) are generally optimised towards low memory use to allow processing of large corpora with limited memory. Whilst being a reasonable design choice, this approach does not make optimal use of resources when the sufficient memory is available. We present memscore, a new open-source tool to score phras...

متن کامل

Fast and Extensible Online Multivariate Kernel Density Estimation

In this paper we present xokde++, a state-of-the-art online kernel density estimation approach that maintains Gaussian mixture models input data streams. The approach follows state-of-the-art work on online density estimation, but was redesigned with computational efficiency, numerical robustness, and extensibility in mind. Our approach produces comparable or better results than the current sta...

متن کامل

Fast computation of smoothing splines subject to equality constraints

The issue of constructing periodic smoothing splines has been recently formulated as a controlled two point boundary value problem which admits a state-space description. In the context of minimum norm problems in Hilbert spaces, it has been shown that the solution is the sum of a finite number of basis functions and can be obtained with a number of operations which scales with the cube of the ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2021

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3434304