Authors
Quang-Trung Ta, Ton Chanh Le, Siau-Cheng Khoo, Wei-Ngan Chin
Publication date
2017/12/27
Journal
Proceedings of the ACM on Programming Languages
Volume
2
Issue
POPL
Pages
1-29
Publisher
ACM
Description
The symbolic-heap fragment of separation logic has been actively developed and advocated for verifying the memory-safety property of computer programs. At present, one of its biggest challenges is to effectively prove entailments containing inductive heap predicates. These entailments are usually proof obligations generated when verifying programs that manipulate complex data structures like linked lists, trees, or graphs.
To assist in proving such entailments, this paper introduces a lemma synthesis framework, which automatically discovers lemmas to serve as eureka steps in the proofs. Mathematical induction and template-based constraint solving are two pillars of our framework. To derive the supporting lemmas for a given entailment, the framework firstly identifies possible lemma templates from the entailment's heap structure. It then sets up unknown relations among each template's variables and conducts …
Total citations
201820192020202120222023202438661065
Scholar articles
QT Ta, TC Le, SC Khoo, WN Chin - Proceedings of the ACM on Programming Languages, 2017