Modular Synthesis of Sketches Using Models
Author(s)
Singh, Rohit; Singh, Rishabh; Xu, Zhilei; Krosnick, Rebecca P.; Solar-Lezama, Armando
DownloadSolar-Lezama_Modular synthesis.pdf (1.045Mb)
OPEN_ACCESS_POLICY
Open Access Policy
Creative Commons Attribution-Noncommercial-Share Alike
Terms of use
Metadata
Show full item recordAbstract
One problem with the constraint-based approaches to synthesis that have become popular over the last few years is that they only scale to relatively small routines, on the order of a few dozen lines of code. This paper presents a mechanism for modular reasoning that allows us to break larger synthesis problems into small manageable pieces. The approach builds on previous work in the verification community of using high-level specifications and partially interpreted functions (we call them models) in place of more complex pieces of code in order to make the analysis modular.
The main contribution of this paper is to show how to combine these techniques with the counterexample guided synthesis approaches used to efficiently solve synthesis problems. Specifically, we show two new algorithms; one to efficiently synthesize functions that use models, and another one to synthesize functions while ensuring that the behavior of the resulting function will be in the set of behaviors allowed by the model. We have implemented our approach on top of the open-source Sketch synthesis system, and we demonstrate its effectiveness on several Sketch benchmark problems.
Date issued
2014Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory; Massachusetts Institute of Technology. Department of Electrical Engineering and Computer ScienceJournal
Verification, Model Checking, and Abstract Interpretation
Publisher
Springer-Verlag
Citation
Singh, Rohit et al. “Modular Synthesis of Sketches Using Models.” Verification, Model Checking, and Abstract Interpretation. Ed. Kenneth L. McMillan and Xavier Rival. Vol. 8318. Berlin, Heidelberg: Springer Berlin Heidelberg, 2014. 395–414.
Version: Author's final manuscript
ISBN
978-3-642-54012-7
978-3-642-54013-4
ISSN
0302-9743