cd /news/large-language-models/beyond-compilation-evaluating-faithf… · home topics large-language-models article
[ARTICLE · art-45939] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Beyond Compilation: Evaluating Faithful Natural-Language-to-Lean Statement Formalization

A new study on natural-language-to-Lean formalization reveals that compile-rate evaluation overestimates faithfulness, with a tool-augmented agent achieving 89.5% compilation but only 60.5% consensus faithfulness. The research introduces a protocol combining Lean compilation, cross-model semantic judging, and human calibration, finding that elaboration feedback is the largest validity intervention but also increases semantic failures. The findings suggest that formal validity, proof-oriented Lean competence, and faithful statement generation should be reported separately.

read1 min views1 publishedJul 1, 2026

arXiv:2606.31002v1 Announce Type: new Abstract: Theorem-proving benchmarks evaluate proof search against fixed formal statements, but natural-language-to-Lean formalization must generate the formal statement itself. In this setting, compilation is only a validity check: a Lean declaration may type-check while omitting hypotheses, changing domains, or expressing a vacuous claim. We study faithful statement formalization as both an evaluation problem and a bottleneck-attribution problem. On a 400-entry graduate-level benchmark spanning real analysis, complex analysis, topology, and algebra, our protocol combines Lean compilation, cross-model semantic judging, and human expert calibration. The resulting picture is different from compile-rate evaluation: a full tool-augmented agent reaches 89.5% compilation but only 60.5% consensus faithfulness, exposing a 29.0-point compile-pass but consensus-unfaithful gap. Targeted human audits support the metric as a conservative decision boundary: across available case-level audits, 96.0% of consensus-positive outputs are human-confirmed faithful, while 82.4% of compile-pass consensus-negative outputs are human-confirmed semantic failures. Under this metric, existing one-shot formalizer models and prover-oriented Lean models remain low, suggesting that formal validity, proof-oriented Lean competence, and faithful statement generation should be reported separately. We then use a full $2^3$ factorial design to decompose three recurring interventions in formalization pipelines: parametric expert drafting, Mathlib/context search, and Lean elaboration feedback. Elaboration feedback is the largest validity intervention, but it also exposes a larger compile-pass semantic-failure bucket; search mainly improves grounding and selectivity; and fine-tuned drafting is largely substitutable in this tool stack once feedback and grounding are available.

── more in #large-language-models 4 stories · sorted by recency
── more on @lean 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/beyond-compilation-e…] indexed:0 read:1min 2026-07-01 ·