跳到正文
@OpenBMB· @OpenBMB · X·· 2026-08-21AI 评分48
AI 导读

面壁智能开源 MathForm,一套面向 Lean 4 数学自动形式化的框架、数据集与模型。其 FormalVerse 数据集含 367K+ 条经核验的 Lean 4 样本,同预算下训练模型一致性检查达 60.32%,高于 FineLeanCorpus 的 46.53% 和 NuminaMath-LEAN 的 41.49%。

正文

🧮 Introducing MathForm, an open-source framework, dataset, and model for mathematical autoformalization with Lean 4.

Formalizing mathematics makes mathematical knowledge machine-checkable, but it is more than translating statements into code. A model must map each concept onto the right types and definitions in Mathlib. A formal statement can compile and still misstate the original problem.

Highlights ✨
MathForm Framework: Retrieval-Augmented, Verification-Guided Data Construction A retrieval planner pulls the Mathlib definitions and existing formalizations a statement needs. The generator then revises its output against Lean compiler diagnostics and semantic-consistency feedback for up to 3 rounds.

FormalVerse Dataset: 367K+ Verified Lean 4 Examples Each example pairs a natural-language statement with verified Lean 4 code , across diverse mathematical domains and sources.

Results 📊
• At a matched 100K budget with the same recipe and init, models trained on FormalVerse reach 60.32% Consistency Check, vs 46.53% on FineLeanCorpus and 41.49% on NuminaMath-LEAN
• MathForm-8B achieves 88.06% Syntax Check and 72.37% Consistency Check Pass@8 across six benchmarks, outperforming ReForm-32B and Goedel-Formalizer-V2-32B at a quarter the size
• On the hardest FATE-H / FATE-X subsets it reaches 63% / 37%
Consistency Check, beating the strongest specialized baseline by 10 and 12 points

🔗 Resources
📄 Paper: https://t.co/W3EA8CHWox
📚 Dataset: https://t.co/3nP1WFPOZD
🤖 Model: https://t.co/TFQxOexDaC
💻 Code: https://t.co/SXv4VdxLzg

来源:@OpenBMB · x.com