Automated Lemma Synthesis in Symbolic-Heap Separation Logic

被引:16
|
作者
Ta, Quang-Trung [1 ]
Le, Ton Chanh [1 ]
Khoo, Siau-Cheng [1 ]
Chin, Wei-Ngan [1 ]
机构
[1] Natl Univ Singapore, Sch Comp, Singapore, Singapore
关键词
Separation logic; entailment proving; mathematical induction; structural induction; lemma synthesis; proof theory; automated reasoning;
D O I
10.1145/3158097
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 structural induction proof to generate constraints about these relations. Finally, it solves the constraints to find out actual definitions of the unknown relations, thus discovers the lemmas. We have integrated this framework into a prototype prover and have experimented it on various entailment benchmarks. The experimental results show that our lemma-synthesis-assisted prover can prove many entailments that could not be handled by existing techniques. This new proposal opens up more opportunities to automatically reason with complex inductive heap predicates.
引用
收藏
页数:29
相关论文
共 50 条
  • [31] Automated verification of shape and size properties via separation logic
    Nguyen, Huu Hai
    David, Cristina
    Qin, Shengchao
    Chin, Wei-Ngan
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, PROCEEDINGS, 2007, 4349 : 251 - +
  • [32] Sequential Logic Synthesis Using Symbolic Bi-Decomposition
    Kravets, Victor N.
    Mishchenko, Alan
    DATE: 2009 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2009, : 1458 - +
  • [33] A Fast Symbolic Transformation Based Algorithm for Reversible Logic Synthesis
    Soeken, Mathias
    Dueck, Gerhard W.
    Miller, D. Michael
    REVERSIBLE COMPUTATION, RC 2016, 2016, 9720 : 307 - 321
  • [34] AUTOMATED REPORTING AND INDEXING OF GYNECOLOGIC CYTO-PATHOLOGY DIAGNOSES USING SYMBOLIC LOGIC
    MOORE, GW
    EROZAN, YS
    GUPTA, PK
    PRESSMAN, NJ
    FROST, JK
    ACTA CYTOLOGICA, 1979, 23 (05) : 420 - 424
  • [35] Separation Logic for High-Level Synthesis
    Winterstein, Felix J.
    Bayliss, Samuel R.
    Constantinides, George A.
    ACM TRANSACTIONS ON RECONFIGURABLE TECHNOLOGY AND SYSTEMS, 2016, 9 (02)
  • [36] An automated procedure for multicomponent product separation synthesis
    McCarthy, E
    Fraga, ES
    Ponton, JW
    COMPUTERS & CHEMICAL ENGINEERING, 1998, 22 : S77 - S84
  • [37] Automated synthesis of data analysis programs: Learning in logic
    Buntine, W
    INDUCTIVE LOGIC PROGRAMMING, PROCEEDINGS, 2004, 3194 : 1 - 1
  • [38] AUTOMATED PLA SYNTHESIS OF THE COMBINATIONAL LOGIC OF A DDL DESCRIPTION
    DIETMEYER, DL
    DOSHI, MH
    JOURNAL OF DESIGN AUTOMATION & FAULT-TOLERANT COMPUTING, 1979, 3 (3-4): : 241 - 257
  • [39] APPLICATION OF INFRARED DATA-ANALYSIS BASED ON SYMBOLIC LOGIC IN AUTOMATED STRUCTURE ELUCIDATION BY CHEMICS
    FUNATSU, K
    SUSUTA, Y
    SASAKI, S
    ANALYTICA CHIMICA ACTA, 1989, 220 (01) : 155 - 169
  • [40] Automated Synthesis of Quantum Circuits using Symbolic Abstractions and Decision Procedures
    Velasquez, Alvaro
    Jha, Sumit Kumar
    Ewetz, Rickard
    Jha, Susmit
    2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,