Proceedings of the ACM on Programming Languages · 2022 · 16 citations · 22 references
ComputingComputer ScienceAlgorithmsProgramming LanguagesTheory Of ComputationAbstract Syntax TreesCompiler ConstructionData-flow AnalysisType SystemsAutomated Program SynthesisFinite Automata TheoryProgram SynthesisTree Automata
Many problem domains, including program synthesis and rewrite-based optimization, require searching astronomically large spaces of programs. Existing approaches often rely on building specialized data structures—version-space algebras, finite tree automata, or e-graphs—to compactly represent such spaces. At their core, all these data structures exploit independence of subterms; as a result, they cannot efficiently represent more complex program spaces, where the choices of subterms are entangled. We introduce equality-constrained tree automata (ECTAs), a new data structure, designed to compactly represent large spaces of programs with entangled subterms. We present efficient algorithms for extracting programs from ECTAs, implemented in a performant Haskell library, ecta. Using the ecta library, we construct Hectare, a type-driven program synthesizer for Haskell. Hectare significantly outperforms a state-of-the-art synthesizer Hoogle+—providing an average speedup of 8×—despite its implementation being an order of magnitude smaller.
22
Semantics of context-free languages
Donald E. Knuth · Theory of Computing Systems · 1968 · 2K citations
Simplify: a theorem prover for program checking
David Detlefs, Greg Nelson, James B. Saxe · Journal of the ACM · 2005 · 781 citations
Solving SAT and SAT Modulo Theories
Robert Nieuwenhuis, Albert Oliveras, Cesare Tinelli · Journal of the ACM · 2006 · 777 citations
Fast Decision Procedures Based on Congruence Closure
Greg Nelson, Derek C. Oppen · Journal of the ACM · 1980 · 509 citations · Full text
Automating string processing in spreadsheets using input-output examples
Sumit Gulwani · 2011 · 446 citations