CCLEMMA: E-Graph Guided Lemma Discovery for Inductive Equational Proofs

被引:0
|
作者
Kurashige, Cole [1 ]
Ji, Ruyi [2 ]
Giridharan, Aditya [1 ]
Barbone, Mark [1 ]
Noor, Daniel [3 ]
Itzhaky, Shachar [3 ]
Jhala, Ranjit [1 ]
Polikarpo, Nadia [1 ]
机构
[1] Univ Calif San Diego, San Diego, CA 92093 USA
[2] Peking Univ, Beijing, Peoples R China
[3] Technion, Haifa, Israel
基金
美国国家科学基金会;
关键词
Automated Theorem Proving; Equational Reasoning; Verification; Synthesis; Lemma Synthesis;
D O I
10.1145/3674653
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The problem of automatically proving the equality of terms over recursive functions and inductive data types is challenging, as such proofs often require auxiliary lemmas which must themselves be proven. Previous attempts at lemma discovery compromise on either efficiency or efficacy. Goal-directed approaches are fast but limited in expressiveness, as they can only discover auxiliary lemmas which entail their goals. Theory exploration approaches are expressive but inefficient, as they exhaustively enumerate candidate lemmas. We introduce e-graph guided lemma discovery, a new approach to finding equational proofs that makes theory exploration goal-directed. We accomplish this by using e-graphs and equality saturation to efficiently construct and compactly represent the space of all goal-oriented proofs. This allows us to explore only those auxiliary lemmas guaranteed to help make progress on some of these proofs. We implemented our method in a new prover called CCLEMMA and compared it with three state-of-the-art provers across a variety of benchmarks. CCLEMMA performs consistently well on two standard benchmarks and additionally solves 50% more problems than the next best tool on a new challenging set.
引用
收藏
页数:27
相关论文
empty
未找到相关数据