arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.19110cs.CL
收藏

APE-Bench: 评估形式数学库中的自动化证明工程

APE-Bench: Evaluating Automated Proof Engineering for Formal Math Libraries

University of Edinburgh(爱丁堡大学)

Huajian Xin, Luming Li, Xiaoran Jin, Jacques Fleuriot, Wenda Li

AI总结:

APE-Bench提出了一种系统性评估仓库级证明工程的框架,通过双验证机制评估语法编译和语义要求满足,并提供开源工具进行标准化评估和公平比较。

摘要:

尽管前沿的形式数学系统现在经常性地开发出需要多文件协调和语义正确性的仓库级证明工程 artifacts,现有的评估基准仍然集中在孤立的定理证明上。我们介绍了自动化证明工程(APE),这是首个系统性评估仓库级证明工程的框架,通过双验证来验证,既验证了语法编译,又验证了在固定库环境中的语义要求满足。我们提出了一个完整的基础设施,包括APE-Bench,它能够自动从真实的库提交历史中提取证明工程任务,并且APE-Harness是一种基于任务合同抽象的统一执行框架。这种基于合同的设计使不同形式数学任务的标准化评估成为可能,并且能够公平系统地比较不同的代理实现(包括我们的APE-Agent参考框架以及Claude Code和Codex CLI)。我们通过全面的评估展示了该框架的有效性。所有代码和基准数据集都已作为开源发布在https://github.com/xinhjBrant/APE-Bench。

英文摘要:

While frontier formal mathematics systems now routinely develop repository-scale proof engineering artifacts requiring multi-file coordination and semantic correctness beyond compilation, existing evaluation benchmarks remain focused on isolated theorem proving. We introduce Automated Proof Engineering (APE), the first systematic framework for evaluating repository-scale proof engineering through dual verification that validates both syntactic compilation and semantic requirement satisfaction in pinned library environments. We present a complete infrastructure comprising APE-Bench, which automatically extracts proof engineering tasks from real library commit histories, and APE-Harness, a unified execution framework based on task contract abstraction. This contract-based design enables standardized evaluation across diverse formal mathematics tasks and fair systematic comparison of different agent implementations (including our APE-Agent reference scaffold alongside Claude Code and Codex CLI) on identical task specifications. We demonstrate the framework's effectiveness through comprehensive evaluation. All code and benchmark dataset are released as open-source at https://github.com/xinhjBrant/APE-Bench.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑