Sketch completion for predicate programs by counterexamples guided synthesis | Applied Discrete Mathematics. Supplement. 2017. № 10. DOI: 10.17223/2226308X/10/59

Sketch completion for predicate programs by counterexamples guided synthesis

Predicate programs are presented in the language P by sets of computable predicates. For programs in P, the formal operational semantics is developed. On the base of this semantics, a formula describing the total correctness of a predicate program with respect to its specification is presented. The problem of sketch completion for programs in P is considered. The sketch of a program is defined as a typical program with arbitrary expressions. The idea of arbitrary expressions is inspired by the synthesis of programs by a sketching method. Arbitrary expressions are synthesized by counterexample guided synthesis method. The correctness formulas for completed programs are generated. Some methods to synthesize expressions are developed. These methods can be successfully used in our project instead of counterexample guided synthesis. The overall project objective is to develop the program synthesis methods starting from a program specification and the specification of additional programs used in the decomposition of the source program. The nearest project objective is to be able to synthesize elementary expressions in constructed programs.

Download file
Counter downloads: 169

Keywords

предикатное программирование, формальная операционная семантика, программный синтез, синтез на основе контрпримеров, дедуктивная верификация, predicate programs, formal operation semantics, program synthesis, counterexample guided synthesis, deductive verification

Authors

NameOrganizationE-mail
Chushkin M. S.Institute of Informatics Systems SB RASchushkinm@rambler.ru
Всего: 1

References

Карнаухов Н. С., Першин Д. Ю., Шелехов В. И. Язык предикатного программирования P. Препринт №153. Новосибирск: ИСИ СО РАН, 2010. 42 с.
Шелехов В. И. Семантика языка предикатного программирования // ЗОНТ-15. Новосибирск, 2015. С. 15.
Чушкин М. С. Методы дедуктивной верификации предикатных программ // Тр. 2-й Меж-дунар. конф. «Инструменты и методы анализа программ». Кострома, 2014. С. 205-214.
Solar-Lezama A., Tancau L., Bodik R., et al. Combinatorial sketching for finite programs // Proc. ASPLOS XII. N.Y.: ACM, 2006. P. 404-415.
https://gist.github.com/mchushkin/8e1a6a28fd6d342623cd97cd5fa395ac
Udupa A., Raghavan A., Deshmukh J. V., et al. TRANSIT: specifying protocols with concolic snippets // Proc. PLDI'13. N.Y.: ACM, 2013. P. 287-296.
 Sketch completion for predicate programs by counterexamples guided synthesis | Applied Discrete Mathematics. Supplement. 2017. № 10. DOI: 10.17223/2226308X/10/59

Sketch completion for predicate programs by counterexamples guided synthesis | Applied Discrete Mathematics. Supplement. 2017. № 10. DOI: 10.17223/2226308X/10/59