Skip to main content

Showing 1–12 of 12 results for author: Willsey, M

.
  1. arXiv:2304.04332  [pdf, other

    cs.PL

    Better Together: Unifying Datalog and Equality Saturation

    Authors: Yihong Zhang, Yisu Remy Wang, Oliver Flatt, David Cao, Philip Zucker, Eli Rosenthal, Zachary Tatlock, Max Willsey

    Abstract: We present egglog, a fixpoint reasoning system that unifies Datalog and equality saturation (EqSat). Like Datalog, it supports efficient incremental execution, cooperating analyses, and lattice-based reasoning. Like EqSat, it supports term rewriting, efficient congruence closure, and extraction of optimized terms. We identify two recent applications--a unification-based pointer analysis in Datal… ▽ More

    Submitted 15 May, 2023; v1 submitted 9 April, 2023; originally announced April 2023.

    Comments: PLDI 2023

  2. arXiv:2301.10841  [pdf, other

    cs.DB

    Free Join: Unifying Worst-Case Optimal and Traditional Joins

    Authors: Yisu Remy Wang, Max Willsey, Dan Suciu

    Abstract: Over the last decade, worst-case optimal join (WCOJ) algorithms have emerged as a new paradigm for one of the most fundamental challenges in query processing: computing joins efficiently. Such an algorithm can be asymptotically faster than traditional binary joins, all the while remaining simple to understand and implement. However, they have been found to be less efficient than the old paradigm,… ▽ More

    Submitted 27 January, 2023; v1 submitted 25 January, 2023; originally announced January 2023.

  3. babble: Learning Better Abstractions with E-Graphs and Anti-Unification

    Authors: David Cao, Rose Kunkel, Chandrakana Nandi, Max Willsey, Zachary Tatlock, Nadia Polikarpova

    Abstract: Library learning compresses a given corpus of programs by extracting common structure from the corpus into reusable library functions. Prior work on library learning suffers from two limitations that prevent it from scaling to larger, more complex inputs. First, it explores too many candidate library functions that are not useful for compression. Second, it is not robust to syntactic variation in… ▽ More

    Submitted 8 December, 2022; originally announced December 2022.

    Comments: POPL 2023

  4. arXiv:2209.03398  [pdf, other

    cs.PL

    Small Proofs from Congruence Closure

    Authors: Oliver Flatt, Samuel Coward, Max Willsey, Zachary Tatlock, Pavel Panchekha

    Abstract: Satisfiability Modulo Theory (SMT) solvers and equality saturation engines must generate proof certificates from e-graph-based congruence closure procedures to enable verification and conflict clause generation. Smaller proof certificates speed up these activities. Though the problem of generating proofs of minimal size is known to be NP-complete, existing proof minimization algorithms for congrue… ▽ More

    Submitted 7 September, 2022; originally announced September 2022.

  5. arXiv:2108.10436  [pdf, other

    cs.PL

    Rewrite Rule Inference Using Equality Saturation

    Authors: Chandrakana Nandi, Max Willsey, Amy Zhu, Yisu Remy Wang, Brett Saiki, Adam Anderson, Adriana Schulz, Dan Grossman, Zachary Tatlock

    Abstract: Many compilers, synthesizers, and theorem provers rely on rewrite rules to simplify expressions or prove equivalences. Develo** rewrite rules can be difficult: rules may be subtly incorrect, profitable rules are easy to miss, and rulesets must be rechecked or extended whenever semantics are tweaked. Large rulesets can also be challenging to apply: redundant rules slow down rule-based search and… ▽ More

    Submitted 23 August, 2021; originally announced August 2021.

  6. arXiv:2108.02290  [pdf, other

    cs.DB cs.PL

    Relational E-Matching

    Authors: Yihong Zhang, Yisu Remy Wang, Max Willsey, Zachary Tatlock

    Abstract: We present a new approach to e-matching based on relational join; in particular, we apply recent database query execution techniques to guarantee worst-case optimal run time. Compared to the conventional backtracking approach that always searches the e-graph "top down", our new relational e-matching approach can better exploit pattern structure by searching the e-graph according to an optimized qu… ▽ More

    Submitted 5 January, 2022; v1 submitted 4 August, 2021; originally announced August 2021.

    Comments: POPL 2022

  7. arXiv:2107.14745  [pdf, other

    cs.GR

    Co-Optimization of Design and Fabrication Plans for Carpentry: Supplemental Material

    Authors: Haisen Zhao, Max Willsey, Amy Zhu, Chandrakana Nandi, Zachary Tatlock, Justin Solomon, Adriana Schulz

    Abstract: Past work on optimizing fabrication plans given a carpentry design can provide Pareto-optimal plans trading off between material waste, fabrication time, precision, and other considerations. However, when develo** fabrication plans, experts rarely restrict to a single design, instead considering families of design variations, sometimes adjusting designs to simplify fabrication. Jointly exploring… ▽ More

    Submitted 30 July, 2021; originally announced July 2021.

    Comments: 20 pages, 18 figure

    ACM Class: I.3; I.3.8

  8. arXiv:2107.12265  [pdf, other

    cs.GR

    Co-Optimization of Design and Fabrication Plans for Carpentry

    Authors: Haisen Zhao, Max Willsey, Amy Zhu, Chandrakana Nandi, Zachary Tatlock, Justin Solomon, Adriana Schulz

    Abstract: Past work on optimizing fabrication plans given a carpentry design can provide Pareto-optimal plans trading off between material waste, fabrication time, precision, and other considerations. However, when develo** fabrication plans, experts rarely restrict to a single design, instead considering families of design variations, sometimes adjusting designs to simplify fabrication. Jointly exploring… ▽ More

    Submitted 3 August, 2021; v1 submitted 26 July, 2021; originally announced July 2021.

    Comments: 14 pages, 13 figure, Supplemental material: arXiv:2107.14745

    ACM Class: I.3; I.3.8

  9. arXiv:2101.01332  [pdf, other

    cs.AI cs.DC

    Equality Saturation for Tensor Graph Superoptimization

    Authors: Yichen Yang, Phitchaya Mangpo Phothilimtha, Yisu Remy Wang, Max Willsey, Sudip Roy, Jacques Pienaar

    Abstract: One of the major optimizations employed in deep learning frameworks is graph rewriting. Production frameworks rely on heuristics to decide if rewrite rules should be applied and in which order. Prior research has shown that one can discover more optimal tensor computation graphs if we search for a better sequence of substitutions instead of relying on heuristics. However, we observe that existing… ▽ More

    Submitted 17 March, 2021; v1 submitted 4 January, 2021; originally announced January 2021.

  10. egg: Fast and Extensible Equality Saturation

    Authors: Max Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt, Zachary Tatlock, Pavel Panchekha

    Abstract: An e-graph efficiently represents a congruence relation over many expressions. Although they were originally developed in the late 1970s for use in automated theorem provers, a more recent technique known as equality saturation repurposes e-graphs to implement state-of-the-art, rewrite-driven compiler optimizations and program synthesizers. However, e-graphs remain unspecialized for this newer use… ▽ More

    Submitted 7 November, 2020; v1 submitted 6 April, 2020; originally announced April 2020.

    Comments: 25 pages, 15 figures, POPL 2021

    Journal ref: POPL 2021

  11. Synthesizing Structured CAD Models with Equality Saturation and Inverse Transformations

    Authors: Chandrakana Nandi, Max Willsey, Adam Anderson, James R. Wilcox, Eva Darulova, Dan Grossman, Zachary Tatlock

    Abstract: Recent program synthesis techniques help users customize CAD models(e.g., for 3D printing) by decompiling low-level triangle meshes to Constructive Solid Geometry (CSG) expressions. Without loops or functions, editing CSG can require many coordinated changes, and existing mesh decompilers use heuristics that can obfuscate high-level structure. This paper proposes a second decompilation stage to… ▽ More

    Submitted 12 April, 2020; v1 submitted 26 September, 2019; originally announced September 2019.

    Comments: 14 pages

    Journal ref: PLDI 2020

  12. Design and Implementation of Concurrent C0

    Authors: Max Willsey, Rokhini Prabhu, Frank Pfenning

    Abstract: We describe Concurrent C0, a type-safe C-like language with contracts and session-typed communication over channels. Concurrent C0 supports an operation called forwarding which allows channels to be combined in a well-defined way. The language's type system enables elegant expression of session types and message-passing concurrent programs. We provide a Go-based implementation with language based… ▽ More

    Submitted 17 January, 2017; originally announced January 2017.

    Comments: In Proceedings LINEARITY 2016, arXiv:1701.04522. Extended version at: http://mwillsey.com/papers/cc0-thesis.pdf

    Journal ref: EPTCS 238, 2017, pp. 73-82