Back to Search Start Over

Template-based program verification and program synthesis.

Authors :
Srivastava, Saurabh
Gulwani, Sumit
Foster, Jeffrey S.
Source :
International Journal on Software Tools for Technology Transfer. Oct2013, Vol. 15 Issue 5/6, p497-518. 22p.
Publication Year :
2013

Abstract

Program verification is the task of automatically generating proofs for a program’s compliance with a given specification. Program synthesis is the task of automatically generating a program that meets a given specification. Both program verification and program synthesis can be viewed as search problems, for proofs and programs, respectively. For these search problems, we present approaches based on user-provided insights in the form of templates. Templates are hints about the syntactic forms of the invariants and programs, and help guide the search for solutions. We show how to reduce the template-based search problem to satisfiability solving, which permits the use of off-the-shelf solvers to efficiently explore the search space. Template-based approaches have allowed us to verify and synthesize programs outside the abilities of previous verifiers and synthesizers. Our approach can verify and synthesize difficult algorithmic textbook programs (e.g., sorting and dynamic programming-based algorithms) and difficult arithmetic programs. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
14332779
Volume :
15
Issue :
5/6
Database :
Academic Search Index
Journal :
International Journal on Software Tools for Technology Transfer
Publication Type :
Academic Journal
Accession number :
90309867
Full Text :
https://doi.org/10.1007/s10009-012-0223-4