🤖 AI Summary
This work addresses the limitation of current automatic formalization evaluation, which overly relies on type-correctness rate (TC%) and fails to disentangle the contributions of type errors versus semantic errors. The authors propose a signal-coverage matrix that integrates Lean type checking with semantic equivalence verification, establishing the first four-quadrant error stratification framework for fine-grained diagnosis of formalization failures. Evaluating DeepSeek-V4-Pro on ProofNet and MiniF2F-test, they introduce three techniques—including Lean elaborator feedback—achieving a +34 to +36 absolute gain in true success (TS) rate. Approximately 64% of this improvement stems from fixing type errors, with a TO→TS conversion rate of 23/61. Notably, gains in TC% are linearly predictable from the initial failure rate (R² = 0.96).
📝 Abstract
Headline type-correctness (TC\%) of LLM autoformalization has climbed from $\sim$53\% to $\sim$76\% in two years, yet this scalar conceals which errors each method resolves. We propose a signal-coverage matrix that crosses the Lean elaborator (pass/fail) with a semantic-equivalence judgment (equivalent/not), sorting every output into one of four cells: true success (TS), type-only (TO), semantic-only (SO), or both fail (BF). On ProofNet\# and MiniF2F-test with DeepSeek V4-Pro across Vanilla, Lean-Retry, Sample-Filter, and Stratified Autoformalization (SAF): (1) the +34 to +36 TS gain across the three elab-feedback methods is $\sim$64\% type-stratum recovery, with SO flat on net (87.5\% of original semantic errors rescued, 8 newly created). (2) The TO-to-TS rate is 23/61 for each method (Wilson 95\% CI [26.6\%, 50.3\%]), and this stratum-level recovery rate predicts $Δ$TS on held-out methods to within 2/186 and renders $Δ$TC linear in the Vanilla elab-fail rate across six (model, dataset) cells ($R^2=0.96$). (3) The two judges disagree by 26 to 37 pp on elab-feedback outputs (vs. 7 pp on Vanilla), with 30 to 56\% of symbolic-judge false negatives traceable to elaborator-forced rewrites. The persistent residual reduces to two gold-formalization errors. TC\% gains should be credited by which cell moved, not by the scalar alone.