Manuscript Offprint

arXiv:2608.26310

FaithSieve: Fine-Grained Evaluation of Math Proofs with Faithful Formal Evidence

Ziyu Wang, Qiming Dai, Yishan Wu, Zaiwen Wen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ziyu Wang

Academy for Advanced

Interdisciplinary Studies

Peking University

wangziyu-edu@stu.pku.edu.cn

Yishan Wu

Theory Lab, 2012 Labs

Huawei Technologies Co., Ltd.

wuyishan1@huawei.com

Qiming Dai

School of Mathematical Sciences

Peking University

qmdai25@stu.pku.edu.cn

Zaiwen Wen

Beijing International Center for

Mathematical Research

Peking University

wenzw@pku.edu.cn

Abstract

Large language models can now generate complex, multi-step mathematical proofs, but reliably determining their correctness and localizing early logical errors remains a critical challenge. Existing evaluation approaches largely depend on model-based natural-language judgments, which often overlook local reasoning gaps. While formal theorem provers like Lean offer a path to rigorous verification, using them to evaluate informal text requires solving locality and semantic mismatches: a prover might bypass a local flaw by proving an overly broad target, or validate an auto-formalized statement that drifts from the original mathematical intent. To address this, we introduce FaithSieve, a Lean-assisted framework for fine-grained evaluation of natural-language mathematical proofs. FaithSieve decomposes coarse proof steps into local reasoning units, extracts typed proof obligations, and verifies them through a formal evaluation agent. Formal validation is gated by semantic alignment scoring, so Lean evidence is incorporated only when the formal statement faithfully preserves the context, objects, and logical form of the original claim. We construct two expert-verified datasets, ProofLoc-Olympiad and ProofLoc-University, to benchmark first-error localization. On the 350-problem Olympiad dataset, FaithSieve using a GPT-5.4 backbone achieves 81.43% exact first-error accuracy, outperforming the direct-judging baseline of 72.29%. Furthermore, on the 200-problem ProofLoc-University benchmark spanning six advanced domains, FaithSieve reaches 84.5% exact accuracy, compared to 75.0% for the direct judge. Our work demonstrates that decomposing proofs into fine-grained units and grounding them with faithful formal evidence significantly improves reliable evaluation of natural-language reasoning.

1 Introduction

Large language models can now generate multi-step mathematical proofs, but evaluating them and locating the first logical error remains difficult. Such proofs may omit conditions, skip derivations, use implicit assumptions, or continue from early mistakes to plausible-looking conclusions. Reliable evaluation must therefore check not only final answers but also local reasoning steps.

Preprint.

Existing natural-language verification methods have made substantial progress. Self-consistency, process supervision, process reward models, and recent work on error localization, ProcessBench, Hard2Verify, and ProofGrader / ProofBench provide useful baselines for step-level evaluation [23, 10, 21, 26, 15, 11]. However, their evidence mainly comes from model-based scoring or classification over natural-language reasoning. In parallel, formal reasoning systems have also advanced rapidly. Lean, mathlib, and systems such as DeepSeek-Prover-V2, Seed-Prover, AxiomProver, Aria, and M2F show that many mathematical claims can now be checked with formal evidence [20, 17, 6, 5, 2, 22, 24].

Using Lean as a direct judge for informal proofs still faces a central obstacle. Lean only verifies the formal statement submitted to it; even if that statement is provable, it need not faithfully express the proof step being checked. Autoformalization may omit assumptions, add conditions, reverse an implication, or rewrite a contested local claim into a different statement that is provable but not equivalent. Formal evidence is therefore useful for error localization only when the validation target remains local and semantically faithful to the original claim.

We propose FaithSieve, a Lean-assisted framework for first-error localization in natural-language mathematical proofs. FaithSieve decomposes coarse proof steps into local EdgeUnits, extracts typed proof obligations from suspicious transitions, and combines lightweight checking, Lean validation, and semantic alignment scoring to produce local evidence. Lean is not used as a direct judge of the whole proof; instead, it serves as a source of structured evidence gated by semantic alignment. The overall workflow has three stages: localization, verification, and synthesis. The localization stage constructs EdgeUnits and selects local transitions for priority inspection. The verification stage turns these transitions into proof obligations and gathers evidence through both formal and lightweight non-formal checks. The synthesis stage aggregates local evidence back to the original step level and predicts the first erroneous step. Figure 1 illustrates this pipeline.

We construct two expert-verified datasets: PROOFLOC-OLYMPIAD, with 350 algebra and number theory problems, and PROOFLOC-UNIVERSITY, with 200 advanced mathematics problems. On PROOFLOC-OLYMPIAD, FaithSieve achieves 81.43% exact first-error accuracy, compared with 72.29% for a GPT-5.4 direct-judging baseline. On PROOFLOC-UNIVERSITY, FaithSieve also obtains clear gains over direct judging. Our contributions are as follows.

  1. Lean-assisted proof error localization framework. We identify locality and semantic faithfulness as the central challenges in applying Lean validation to natural-language proof evaluation, and propose FaithSieve as a Lean-assisted framework for first-error localization.

  2. Proof-state-tree decomposition and typed obligations. We introduce a proof-state-tree representation that decomposes coarse proof steps into local state transitions, and extract typed obligations that specify the reasoning responsibility of each transition.

  3. Semantic alignment scoring. We propose a semantic alignment score to measure whether a Lean

Figure

Figure 1: Overview of the FaithSieve workflow for Lean-assisted first-error localization.

statement preserves the intended informal obligation, so formal validation is used only when it avoids drifted or weakened targets.

  1. Expert-verified evaluation datasets. We construct two expert-verified benchmarks covering olympiad-style and university-level mathematics, and show that faithful local formal evidence improves over direct judging baselines.

References (16)