arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.17255cs.AImath.OC
收藏

CAM-Bench: 一个用于Lean中的计算与应用数学的基准测试

CAM-Bench: A Benchmark for Computational and Applied Mathematics in Lean

Fudan University(复旦大学);Qingdao University(青岛大学);Peking University(北京大学);Huawei Technologies Ltd.(华为技术有限公司)

Wentao Long, Yunfei Zhang, Chenyi Li, Li Zhou, Chumin Sun, Zaiwen Wen

AI总结:

本文提出CAM-Bench,一个包含1000个Lean证明目标的基准测试,涵盖优化、数值线性代数和数值分析等领域,旨在补充现有形式化数学基准测试,通过针对依赖教科书概念和基本定理的应用数学问题进行评估。

摘要:

形式化定理证明基准测试能够机械地验证大语言模型中的数学推理能力。然而,现有基准测试主要集中在竞赛式问题和代数领域,导致计算与应用数学代表性不足。我们引入CAM-Bench,一个包含1000个Lean 4形式化证明目标的基准测试,涵盖优化、数值线性代数和数值分析等领域。这些问题改编自教科书练习,通常依赖于局部引入的定义、符号、算法和基本结果。为了构建CAM-Bench,我们开发了一个依赖恢复流水线,用于重建每个问题所需的本地教科书上下文。然后,它将每个问题标准化为一个独立的非正式定理,并将其翻译成Lean目标。我们通过Lean编译和语义审查验证最终的形式化问题,检查形式正确性和与原始练习的语义一致性。对于每个问题,我们发布了原始练习、恢复的上下文、标准化的非正式定理和最终的Lean目标。CAM-Bench通过针对依赖教科书概念和基本定理的应用数学问题补充现有形式化数学基准测试,其中许多问题无法直接作为标准Mathlib4引理使用。我们评估了广泛使用的大型语言模型和形式化代理在CAM-Bench上的表现,并分析了在跟踪局部假设、应用基本结果、分解证明和维护长距离控制时的常见失败模式。

英文摘要:

Formal theorem-proving benchmarks enable mechanically verifiable evaluation of mathematical reasoning in large language models. However, existing benchmarks mainly focus on Olympiad-style problems and algebraic domains, leaving computational and applied mathematics underrepresented. We introduce CAM-Bench, a Lean 4 theorem-proving benchmark of 1,000 Lean proof targets in computational and applied mathematics, with coverage spanning optimization, numerical linear algebra, and numerical analysis. These problems are adapted from textbook exercises and often depend on locally introduced definitions, notation, algorithms, and elementary results. To construct CAM-Bench, we develop a dependency-recovery pipeline that reconstructs the local textbook context needed to state each problem faithfully. It then normalizes each problem into a standalone informal theorem and translates it into a Lean target. We validate the resulting formal problems through Lean compilation and semantic review, checking both formal correctness and semantic alignment with the original exercises. For each problem, we release the raw exercise, recovered context, normalized informal theorem, and final Lean target. CAM-Bench complements existing formal mathematics benchmarks by targeting applied mathematics problems that rely on textbook concepts and elementary theorems, many of which are not directly available as standard Mathlib4 lemmas. We evaluate widely used large language models and formalization agents on CAM-Bench, and analyze common failure modes in tracking local assumptions, applying elementary results, decomposing proofs, and maintaining long-horizon control in Lean.

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

↑