LeanReviewBench: Semantic Alignment Review in Mathematical Lean Projects
Ruichen Qiu, Hao Shen, Lihong Zhi, Xiao-Shan Gao
Key points
From the paper's conclusion- We introduce LeanReviewBench, a benchmark for project-level semantic alignment review containing 197 versioned inputs collected from 18 real Lean projects, with 87 aligned and 110 misaligned reference judgments.
Abstract
Lean verifies that a proof establishes its formal proposition, but whether that proposition preserves the mathematical content of an informal source requires separate review. In project-scale formalizations, this correspondence can depend on definitions and constraints distributed across many declarations. We introduce LeanReviewBench, a benchmark for project-level semantic alignment review containing 197 versioned inputs collected from 18 real Lean projects, with 87 aligned and 110 misaligned reference judgments. Each input binds an informal mathematical target to selected formal declarations and an extracted dependency context. Construction combines development-history discovery, independent target binding, reconstruction under a common Lean environment, and Astra annotation with human review of uncertain cases. The collection spans diverse mathematical domains and includes 69 historical pairs. We evaluate six language models with Direct and ReForm prompts on all 197 inputs against final human-reviewed reference labels. GPT-6.1 Sol with Direct prompting achieves the highest reported accuracy of 0.827 and misalignment-detection F1 of 0.844; the effects of prompting vary across models. LeanReviewBench provides a testbed for reviewing semantic correspondence in existing mathematical formalization projects. LeanReviewBench is available at https://github.com/MechMath/LeanReviewBench.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MechAlign: Evaluating Semantic Alignment at the Project Level in Mathematical FormalizationarXiv · 2026
- Improving semantic equivalence in research-level math formalizationarXiv · 2026
- ProofJudge: Tool-Grounded LLM Evaluation of Formal Proof Quality in MathlibarXiv · 2026
- Paper2Lean: Agentic Autoformalization of Mathematical Research Papers at ScalearXiv · 2026
- AutoformBench: A Lean Formalization Benchmark for Advanced MathematicsarXiv · 2026
- Fyan: A Human--AI Harness with Semantic Auditing for Document-Level FormalizationarXiv · 2026