arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.23698cs.CLcs.FL
收藏

在自动化定理证明中的基准测试

Benchmarking Testing in Automated Theorem Proving

Interdisciplinary Program in Artificial Intelligence, Seoul National University(人工智能交叉学科项目,首尔国立大学);Electronics and Telecommunications Research Institute(电子与电信研究所)

Jongyoon Kim, Hojae Han, Seung-won Hwang

AI总结:

本文提出T框架,通过依赖后继定理的编译成功来评估形式定理的语义正确性,揭示了当前定理生成能力的差距。

摘要:

近期大型语言模型(LLMs)在形式定理证明中的进展显示了潜力,但评估语义正确性仍具挑战。现有评估依赖间接指标如与人工标注证明的词汇重叠或昂贵的手动检查。受代码生成中从词汇比较转向测试评估的启发,我们提出T框架,该框架将生成定理的正确性定义为所有依赖后继定理成功编译,类似于集成测试。我们从5个真实世界Lean 4仓库构建了基准测试,包含2,206个问题及平均41个后继定理,自动提取无需人工干预。实验表明,尽管最先进的模型在编译成功率上表现良好,但其在我们的语义指标下表现显著较差。最佳模型Claude-Sonnet-4.5在完整集上仅达到38.9%的测试准确率,揭示了当前定理生成能力的关键差距。

英文摘要:

Recent advances in large language models (LLMs) have shown promise in formal theorem proving, yet evaluating semantic correctness remains challenging. Existing evaluations rely on indirect proxies such as lexical overlap with human-annotated proof, or expensive manual inspection. Inspired by the shift from lexical comparison to test-based evaluation in code generation, we propose T , a framework that evaluates the semantic correctness of formal theorems: a generated theorem is considered correct only if all dependent successor theorems compile successfully, analogous to integration testing. We construct a benchmark from 5 real-world Lean 4 repositories, comprising 2,206 problems paired with 41 successor theorems on average, automatically extracted without human effort. Experiments demonstrate that while state-of-the-art models achieve high compilation success, they perform significantly worse under our semantic metric. The best model, Claude-Sonnet-4.5, achieves only 38.9% Testing Accuracy on the full set, given both natural language proof and successor theorems as context, revealing a critical gap in current theorem generation capabilities.

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

↑