LeanReviewBench: Semantic Alignment Review in Mathematical Lean Projects
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.
Create a lesson
Metadata
- Categories
- cs.CL, cs.SE
Related papers
Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity
Shared title terminologycs.CLYuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis et al.
Disclosure Bias in AI Reviewers
Shared title terminologycs.CLJens Leysen, Noah Daniëls, Marco Favier et al.
Parameter-Efficient Vocabulary Expansion via Cross-Lingual Embedding Alignment
Shared title terminologycs.CLAndrew Ivan Soegeng, Muhammad Reza Qorib, Weishi Wang et al.
MedCoast: Semantic Abstraction of Reasoning Trajectories for Test-Time Biomedical Question Answering
Shared title terminologycs.CLYishan Zhong, Jieru Li, Xuanzhe Ding et al.
Taking the PULSE of Enterprise Workflows: Evaluating Persistent Project-State Understanding
Shared title terminologycs.CLJiexin Ding, Lin Ai, Adam Davies et al.