Template-based program verification and program synthesis
Template-based program verification and program synthesis
复制标题
基于模板的程序验证和程序综合
DOI:
--
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
J. Foster
中科院分区:
文献类型:
--
作者:
S. Srivastava;Sumit Gulwani;J. Foster
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.
DOI:
10.1007/s10009-012-0267-5
发表时间:
2013
影响因子:
1.5
作者:
Ashutosh Gupta;Rupak Majumdar;Andrey Rybalchenko
通讯作者:
Andrey Rybalchenko