paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Gpass: A Goal-Adaptive Neural Theorem Prover Based on Coq for Automated Formal Verification

Gpass:面向 Coq 的目标自适应神经定理证明器,用于自动化形式验证
ICSE 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)2025匹配度 5/10 · 论文属于 AI→PL 方向,用神经方法自动生成 Coq 证明脚本以推进形式化验证,与用户“利用 LLM/Agent 改进形式化验证”的兴趣部分重合;但其核心是自研序列编码器与目标自适应模块这类传统深度学习定理证明器,并非建立在 LLM/Agent 之上,且实验基于 CoqGym 与 Diva 等旧基线对比,与用户偏好的“基于当前强模型”的 LLM 交叉研究只是间接相关,与浮点分析、贝叶斯程序分析、Agentic 程序静态分析均无交集。引用 1 inbox
Yizhou Chen, Zeyu Sun, Guoqing Wang, Dan Hao
crossref: 2026-09-12

AI 速览

一句话:提出基于 Coq 的目标自适应神经定理证明器 Gpass,显著提升自动形式验证中的定理证明性能。

形式验证依赖人工编写证明脚本,耗时且费力;现有自动定理证明器难以处理长证明步骤、对齐 Coq 程序组件与证明目标,且效率不足。作者提出基于深度学习的目标自适应神经定理证明器 Gpass:用多滑动窗口序列编码器扫描历史策略并提供当前步骤信息,用目标自适应特征融合模块对齐推理与目标约束,并基于损失值与斜率选择多样参数集以探索证明策略。在 CoqGym 基准上,Gpass 比最相关工作多证明 11.03%–96.37% 的定理;与 CoqHammer 互补合计证明 3,774 个定理,达到当时最佳,效率优化还以六分之一参数集超过 Diva。

问题
形式验证中人工编写 Coq 证明脚本成本高;现有自动定理证明器难以处理长证明、目标对齐与效率问题。
方法
提出 Gpass,包含多滑动窗口序列编码器、目标自适应特征融合模块,以及基于损失值和损失斜率的参数选择方法。
评估
在 CoqGym 基准上对比最相关工作与 Diva,并评估与 CoqHammer 的互补性;Gpass 多证明 11.03%–96.37% 的定理,联合 CoqHammer 共证明 3,774 个定理。
原文摘要(Abstract)

Formal verification is a crucial means to assure software quality. Regrettably, the manual composition of verification scripts proves to be both laborious and time-consuming. In response, researchers have put forth automated theorem prover approaches; however, these approaches still grapple with several limitations. These limitations encompass insufficient handling of lengthy proof steps, difficulty in aligning the various components of a Coq program with the requirements and constraints of the proof goal, and inefficiencies. To surmount these limitations, we present Gpass, a goal-adaptive neural theorem prover based on deep learning technology. Firstly, we design a unique sequence encoder for Gpass that completely scans previous proof tactics through multiple sliding windows and provides information related to the current proof step. Secondly, Gpass incorporates a goal-adaptive feature integration module to align the reasoning process with the requirements of the proof goal. Finally, we devise a parameter selection method based on loss values and loss slopes to procure parameter sets with diverse distributions, thereby facilitating the exploration of various proof tactics. Experimental results demonstrate that Gpass attains better performance on the extensive CoqGym benchmark and proves 11.03%-96.37% more theorems than the prior work most closely related to ours. We find that the orthogonality between Gpass and CoqHammer proves their complementary capabilities, and together they prove a total of 3,774 theorems, which is state-of-the-art performance. In addition, we propose an efficiency optimisation approach that allows Gpass to achieve performance beyond Diva at one-sixth of the parameter sets.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8876,
  title = {Gpass: A Goal-Adaptive Neural Theorem Prover Based on Coq for Automated Formal Verification},
  author = {Yizhou Chen and Zeyu Sun and Guoqing Wang and Dan Hao},
  booktitle = {ICSE},
  year = {2025},
  doi = {10.1109/icse55347.2025.00116}
}