Lune

POPL2026顶会

Towards Pen-and-Paper-Style Equational Reasoning in Interactive Theorem Provers by Equality Saturation

Marcus Rossel, Rudi Schneider, Thomas Koehler, Michel Steuwer, Andrés Goens

摘要

Equations are ubiquitous in mathematical reasoning. Often, however, they only hold under certain conditions. As these conditions are usually clear from context, mathematicians regularly omit them when performing equational reasoning on paper. In contrast, interactive theorem provers pedantically insist on every detail to be convinced that a theorem holds, hindering equational reasoning at the more abstract level of pen-andpaper mathematics. In this paper, we address this issue by raising the level of equational reasoning to enable pen-and-paper style in interactive theorem provers. We achieve this by interpreting theorems as conditional rewrite rules, and use equality saturation to automatically derive equational proofs. Conditions that cannot be automatically proven may be surfaced as proof obligations. Concretely, we present how to interpret theorems as conditional rewrite rules for a significant class of theorems. Handling these theorems goes beyond simple syntactic rewriting, and deals with aspects like propositional conditions and type classes. We evaluate our approach by implementing it as a tactic in Lean, using the egg library for equality saturation with e-graphs. We show four use cases demonstrating the efficacy of this higher level of abstraction for equational reasoning.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Semi-declarative Language for Combinatorial Search 引用了 Better Together: Unifying Datalog and Equality Saturation
  • Guided Equality Saturation 引用了 Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
  • Guided Equality Saturation 引用了 egg: Fast and extensible equality saturation
  • Better Together: Unifying Datalog and Equality Saturation 引用了 egg: Fast and extensible equality saturation
  • Dis/Equality Graphs 引用了 Better Together: Unifying Datalog and Equality Saturation
  • Dis/Equality Graphs 引用了 egg: Fast and extensible equality saturation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Semi-declarative Language for Combinatorial SearchZiyi Yang, Ilya SergeyOOPSLA 2026
  2. The Algebra of Iterative ConstructionsKevin Batz, Benjamin Lucien Kaminski, Lucas Kehrer, Gerwin Klein 等LICS 2026

它引用的 Paper6

  1. egg: Fast and extensible equality saturationMax Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt 等POPL 2021 · 170 次引用
  2. Better Together: Unifying Datalog and Equality SaturationYihong Zhang, Yisu Remy Wang, Oliver Flatt, David Cao 等PLDI 2023 · 38 次引用
  3. Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal ProofsAlbert Qiaochu Jiang, Sean Welleck, Jin Peng Zhou, Timothée Lacroix 等ICLR 2023 · 25 次引用
  4. Guided Equality SaturationThomas Koehler, Andrés Goens, Siddharth Bhat, Tobias Grosser 等POPL 2024 · 9 次引用
  5. Dis/Equality GraphsGeorge Zakhour, Pascal Weisenburger, Jahrim Gabriele Cesario, Guido SalvaneschiPOPL 2025 · 3 次引用

相关 Paper

  1. Rewrite rule inference using equality saturationChandrakana Nandi, Max Willsey, Amy Zhu, Yisu Remy Wang 等OOPSLA 2021 · 35 次引用
  2. ImProver: Agent-Based Automated Proof OptimizationRiyaz Ahuja, Jeremy Avigad, Prasad Tetali, Sean WelleckICLR 2025
  3. The taming of the rew: a type theory with computational assumptionsJesper Cockx, Nicolas Tabareau, Théo WinterhalterPOPL 2021 · 24 次引用
  4. A Multi-width Parametric Bitvector Equivalence SolverLuigi Rinaldi, John Wickerson, Samuel CowardCAV 2026
  5. A Deductive System for Contract Satisfaction ProofsArthur Correnson, Haoyi Zeng, Jana HofmannPLDI 2026
黄昏的海面,两侧是细线勾勒的悬崖