paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Automated Discovery of Tactic Libraries for Interactive Theorem Proving

交互式定理证明中战术库的自动发现
OOPSLA 9(OOPSLA2)2025匹配度 5/10 · 论文研究交互式定理证明中的战术自动发现与证明模块化,属于形式化验证/证明自动化方向,与 AI→PL 的形式化验证交叉相关;但方法基于战术依赖图而非 LLM/Agent,也不涉及静态分析、浮点程序分析或贝叶斯程序分析,因此匹配度中等。引用 0 inbox
Yutong Xin, Jimmy Xin, Gabriel Poesia, Noah D. Goodman, Qiaochu Chen, Işıl Dillig
crossref: 2026-09-10

AI 速览

一句话:提出战术依赖图(TDG)驱动的战术发现方法,自动学习可复用战术并将证明重构得更模块化。

交互式定理证明器(如 Rocq、Lean)多用 tactic 风格证明,学习高层自定义战术对证明模块化与自动化至关重要。本文提出基于战术依赖图(TDG)的战术发现方法:TDG 刻画 tactic 应用间的逻辑依赖,并抽象掉无关语法细节,从而既能在多个证明中识别可复用策略、发现新战术,也能把已有证明重构得更模块化。作者在工具 TacMiner 中实现该方法,并与基于 anti-unification 的 Peano 对比。实验显示,TacMiner 学到的战术数量为 Peano 的 3 倍,所有基准上证明规模减少 26%;学到的自定义战术还能提升证明自动化,使最先进自动化工具的成功率相对提高 172%。

问题
交互式定理证明器中的 tactic 风格证明往往冗长、缺乏模块化,而人工编写高层自定义战术成本高、难以复用。
方法
提出战术依赖图(TDG),在抽象掉无关语法细节的同时捕捉 tactic 应用之间的逻辑依赖,据此跨多个证明发现可复用策略并重构已有证明;在工具 TacMiner 中实现。
评估
以多个基准上的证明为对象,与基于 anti-unification 的 Peano 对比:学到的战术数是其 3 倍,证明规模缩小 26%,并测量了所学自定义战术对最先进证明自动化工具成功率的提升(相对提高 172%)。
原文摘要(Abstract)

Enabling more concise and modular proofs is essential for advancing formal reasoning using interactive theorem provers (ITPs). Since many ITPs, such as Rocq and Lean, use tactic-style proofs, learning higher-level custom tactics is crucial for proof modularity and automation. This paper presents a novel approach to tactic discovery, which leverages Tactic Dependence Graphs (TDGs) to identify reusable proof strategies across multiple proofs. TDGs capture logical dependencies between tactic applications while abstracting away irrelevant syntactic details, allowing for both the discovery of new tactics and the refactoring of existing proofs into more modular forms. We have implemented this technique in a tool called TacMiner and compare it against an anti-unification-based approach ( Peano ) to tactic discovery. Our evaluation demonstrates that TacMiner can learn 3× as many tactics as Peano and reduces the size of proofs by 26% across all benchmarks. Furthermore, our evaluation demonstrates the benefits of learning custom tactics for proof automation, allowing a state-of-the-art proof automation tool to achieve a relative increase of 172% in terms of success rate.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2949,
  title = {Automated Discovery of Tactic Libraries for Interactive Theorem Proving},
  author = {Yutong Xin and Jimmy Xin and Gabriel Poesia and Noah D. Goodman and Qiaochu Chen and Işıl Dillig},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA2},
  year = {2025},
  doi = {10.1145/3763121}
}