arXiv · 2402.18962
Program Synthesis in Saturation
Abstract
We present an automated reasoning framework for synthesizing recursion-free programs using saturation-based theorem proving. Given a functional specification encoded as a first-order logical formula, we use a first-order theorem prover to both establish validity of this formula and discover program fragments satisfying the specification. As a result, when deriving a proof of program correctness, we also synthesize a program that is correct with respect to the given specification. We describe properties of the calculus that a saturation-based prover capable of synthesis should employ, and extend the superposition calculus in a corresponding way. We implemented our work in the first-order prover Vampire, extending the successful applicability of first-order proving to program synthesis. This is an extended version of an Automated Deduction -- CADE 29 paper with the same title and the same authors.
Explore related subjects
Keep this discovery
Petra Hozzová, Laura Kovács, Chase Norman, Andrei Voronkov. 2024-02-29. Program Synthesis in Saturation. https://doi.org/10.1007/978-3-031-38499-8_18
Cite the original work for its findings. Save a collection to share your selection of sources.