Saved in:
Bibliographic Details
Main Authors: Feng, William, Lou, Ethan, Sharma, Aryan
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.23135
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911691530305536
author Feng, William
Lou, Ethan
Sharma, Aryan
author_facet Feng, William
Lou, Ethan
Sharma, Aryan
contents Lean 4 autoformalization has become increasingly popular in recent years, with frontier language models and open-weight autoformalizers now producing valid formalizations of mathematical theorems. However, these evaluations often rely on single canonical phrasings of theorems and rarely probe whether outputs are robust to natural variation in inputs, while prior work has shown that semantically equivalent paraphrases often induce divergent formal outputs. We study the structure of these divergences in Lean 4 by applying deterministic paraphrase rules to datasets of undergraduate and Olympiad-level math problems. Across four frontier models and three open-weight autoformalizers, we find that paraphrase sensitivity is dominated by failures at the code-generation layer, and that these failures are typed differently by dataset. Furthermore, these patterns generalize to open-weight models, showing that state-of-the-art autoformalizers still struggle to generate valid Lean code. Our results provide a failure-mode taxonomy for autoformalization and motivate training-time interventions targeted at specific compilation failures.
format Preprint
id arxiv_https___arxiv_org_abs_2604_23135
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Characterizing Paraphrase-Induced Failures in Lean 4 Autoformalization
Feng, William
Lou, Ethan
Sharma, Aryan
Machine Learning
Lean 4 autoformalization has become increasingly popular in recent years, with frontier language models and open-weight autoformalizers now producing valid formalizations of mathematical theorems. However, these evaluations often rely on single canonical phrasings of theorems and rarely probe whether outputs are robust to natural variation in inputs, while prior work has shown that semantically equivalent paraphrases often induce divergent formal outputs. We study the structure of these divergences in Lean 4 by applying deterministic paraphrase rules to datasets of undergraduate and Olympiad-level math problems. Across four frontier models and three open-weight autoformalizers, we find that paraphrase sensitivity is dominated by failures at the code-generation layer, and that these failures are typed differently by dataset. Furthermore, these patterns generalize to open-weight models, showing that state-of-the-art autoformalizers still struggle to generate valid Lean code. Our results provide a failure-mode taxonomy for autoformalization and motivate training-time interventions targeted at specific compilation failures.
title Characterizing Paraphrase-Induced Failures in Lean 4 Autoformalization
topic Machine Learning
url https://arxiv.org/abs/2604.23135