A simple inductive synthesis methodology and its applications
Authors:
Open Access
- 17 October 2010
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 45 (10) , 36-46
Abstract
Given a high-level specification and a low-level programming language, our goal is to automatically synthesize an efficient program that meets the specification. In this paper, we present a new algorithmic methodology for inductive synthesis that allows us to do this. We use Second Order logic as our generic high level specification logic. For our low-level languages we choose small application-specific logics that can be immediately translated into code that runs in expected linear time in the worst case. We explain our methodology and provide examples of the synthesis of several graph classifiers, e.g, linear-time tests of whether the input graph is connected, acyclic, etc. In another set of applications we automatically derive many finite differencing expressions equivalent to ones that Paige built by hand in his thesis [Pai81]. Finally we describe directions for automatically combining such automatically generated building blocks to synthesize efficient code implementing more complicated specifications. The methods in this paper have been implemented in Python using the SMT solver Z3 [dMB].Keywords
This publication has 8 references indexed in Scilit:
- From program verification to program synthesis2010
- From datalog rules to efficient programs with time and space guaranteesACM Transactions on Programming Languages and Systems, 2009
- Combinatorial sketching for finite programs2006
- Incremental Verification and Synthesis of Discrete-Event Systems Guided by Counter ExamplesIEEE Transactions on Control Systems Technology, 2004
- Descriptive Complexity1999
- Systematic derivation of incremental programsScience of Computer Programming, 1995
- Binding performance at language design time1987
- Language identification in the limitInformation and Control, 1967