Lune

ICLR2026Top-tier venue

Mathesis: Towards Formal Theorem Proving from Natural Languages

Xuejun Yu, Jianyuan Zhong, Zijin Feng, Pengyi Zhai, Roozbeh Mohit, Wei Chong Ng, Haoxiong Liu, Ziyi Shou, Jing Xiong, Yudong Zhou, Claudia Ong, Austen Jeremy Sugiarto

Abstract

Recent advances in large language models (LLMs) show strong promise for formal reasoning. However, most LLM-based theorem provers remain constrained by the need for expert-written formal statements as inputs, limiting their applicability to real-world problems expressed in natural language. We address this gap by focusing on autoformalization, the task of translating informal problems into formal statements. We propose Mathesis, the first pipeline for the systematic study of formal theorem proving from natural language. It contributes the first autoformalizer trained with reinforcement learning, which integrates syntactic, semantic, and prover feedback as reward signals to yield accurate and verifiable formalizations. This is further supported by our novel LeanScorer framework for evaluating semantic correctness. To assess real-world applicability, we introduce Gaokao-Formal, a benchmark of 495 complex proof problems from the college entrance exams. Experiments demonstrate that our autoformalizer improves pass rates by 45% on Gaokao-Formal and 6% on MiniF2F compared to state-of-the-art baselines. Paired with provers, our autoformalizer consistently enhances proving accuracy, including a 42% gain for DeepSeek-Prover-V2 on Gaokao-Formal. Our code is available at https://github.com/Huawei-AI4Math/Mathesis.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FormalRx: Rectify and eXamine Semantic Failures in Autoformalization cites Autoformalization with Large Language Models
  • FormalRx: Rectify and eXamine Semantic Failures in Autoformalization cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMs cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
  • StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs Through Knowledge-Reasoning Fusion cites Autoformalization with Large Language Models
  • StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs Through Knowledge-Reasoning Fusion cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Autoformalization with Large Language Models cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • CriticLean: Critic-Guided Reinforcement Learning for Mathematical Formalization cites Autoformalization with Large Language Models
  • CriticLean: Critic-Guided Reinforcement Learning for Mathematical Formalization cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. CriticLean: Critic-Guided Reinforcement Learning for Mathematical FormalizationZhongyuan Peng, Yifan Yao, Kaijing Ma, Shuyue Guo et al.ACL 2026 · 15 citations
  2. StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs Through Knowledge-Reasoning FusionYutong Wu, Di Huang, Ruosi Wan, Yue Peng et al.AAAI 2026 · 10 citations
  3. HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMsAzim Ospanov, Zijin Feng, Jiacheng Sun, Haoli Bai et al.ICML 2026 · 5 citations
  4. FormalRx: Rectify and eXamine Semantic Failures in AutoformalizationHaocheng Wang, Baiyu Huang, Yingjia Wan, Xiao Zhu et al.ICML 2026 · 1 citation

Builds on13

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  3. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  4. Autoformalization with Large Language ModelsYuhuai Wu, Albert Qiaochu Jiang, Wenda Li, Markus N. Rabe et al.NeurIPS 2022 · 364 citations
  5. miniF2F: a cross-system benchmark for formal Olympiad-level mathematicsKunhao Zheng, Jesse Michael Han, Stanislas PoluICLR 2022 · 342 citations

Related papers

  1. Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic ConsistencyZenan Li, Yifan Wu, Zhaoyu Li, Xinming Wei et al.NeurIPS 2024 · 48 citations
  2. miniF2F-Lean Revisited: Reviewing Limitations and Charting a Path ForwardAzim Ospanov, Farzan Farnia, Roozbeh MohitNeurIPS 2025 · 14 citations
  3. ReForm: Reflective Autoformalization with Prospective Bounded Sequence OptimizationGuoxin Chen, Jing Wu, Xinjie Chen, Xin Zhao et al.ICLR 2026 · 22 citations
  4. ProofFlow: A Dependency Graph Approach to Faithful Proof AutoformalizationRafael Cabral, Tuan Manh Do, Xuejun Yu, Wai Ming Tai et al.ICLR 2026 · 21 citations
  5. Don't Trust: Verify - Grounding LLM Quantitative Reasoning with AutoformalizationJin Peng Zhou, Charles Staats, Wenda Li, Christian Szegedy et al.ICLR 2024 · 72 citations
Dusk over the sea between two cliffs drawn in fine vertical lines