paper-with-me

Papers

Formalizing Complex Mathematical Statements with LLMs: A Study on Mathematical Definitions

2025-02-17 · Lan Zhang, Marco Valentino, Andre Freitas

Thanks to their linguistic capabilities, LLMs offer an opportunity to bridge the gap between informal mathematics and formal languages through autoformalization. However, it is still unclear how well LLMs generalize to sophisticated and naturally occurring mathematical statements. To address this gap, we investigate the task of autoformalizing real-world mathematical definitions -- a critical component of mathematical discourse. Specifically, we introduce two novel resources for autoformalisation, collecting definitions from Wikipedia (Def_Wiki) and arXiv papers (Def_ArXiv). We then systematically evaluate a range of LLMs, analyzing their ability to formalize definitions into Isabelle/HOL. Furthermore, we investigate strategies to enhance LLMs' performance including refinement through external feedback from Proof Assistants, and formal definition grounding, where we guide LLMs through relevant contextual elements from formal mathematical libraries. Our findings reveal that definitions present a greater challenge compared to existing benchmarks, such as miniF2F. In particular, we found that LLMs still struggle with self-correction, and aligning with relevant mathematical libraries. At the same time, structured refinement methods and definition grounding strategies yield notable improvements of up to 16% on self-correction capabilities and 43% on the reduction of undefined errors, highlighting promising directions for enhancing LLM-based autoformalization in real-world scenarios.

📄 PDF Abstract BibTeX arXiv:2502.12065

Code (1)

lanzhang128/definition_autoformalization 공식 구현

Similar Papers 제목 키워드 기반

Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics

2026-06-30 · Arshia Soltani Moakhar, Iman Gholami, Max Springer, Mahdi JafariRaviz 외 arxiv

While Large Language Models (LLMs) have demonstrated exceptional capabilities in mathematical reasoning, they frequently produce subtle errors that evade human detection. Formal mathematical languages like Lean 4 offer m…

Mathematical Reasoning

ATLAS: Autoformalizing Theorems through Lifting, Augmentation, and Synthesis of Data

2025-02-08 · Xiaoyang Liu, Kangjie Bao, Jiashuo Zhang, Yunqi Liu 외

Autoformalization, the automatic translation of mathematical content from natural language into machine-verifiable formal languages, has seen significant progress driven by advances in large language models (LLMs). Nonet…

Knowledge Distillation

IndiMathBench: Autoformalizing Mathematical Reasoning Problems with a Human Touch

2025-11-30 · Param Biyani, Shashank Kirtania, Yasharth Bajpai, Sumit Gulwani 외 arxiv

Reliable autoformalization remains challenging even in the era of large language models (LLMs). The scarcity of high-quality training data is a major bottleneck. Expert annotation requires substantial time and deep exper…

Mathematical Reasoning

Autoformalizing Euclidean Geometry

2024-05-27 · Logan Murphy, Kaiyu Yang, Jialiang Sun, Zhaoyu Li 외

Autoformalization involves automatically translating informal math into formal theorems and proofs that are machine-verifiable. Euclidean geometry provides an interesting and controllable domain for studying autoformaliz…

Math

LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks

2026-06-02 · Po-Nien Kung, Linfeng Song, Dawsen Hwang, Jinsung Yoon 외 arxiv

Large Language Models (LLMs) exhibit strong informal mathematical reasoning but struggle to generate mechanically verifiable proofs in formal languages like Lean. We present LEAP, an agentic framework that enables genera…

Mathematical ReasoningInstruction Following