← All publications
NeurIPS MATH-AI 2026 · Workshop

Lea: An Agent Backbone for Mathematician-Controlled Formalization in Lean

The 6th Workshop on Mathematical Reasoning and AI · October 2026

ABSTRACT

Agentic systems now formalize research-level mathematics in Lean, but they are built for autonomy: the mathematician states a target and inspects a result. The alternative, a general-purpose coding harness, is domain-neutral and must be assembled into a formalization workspace before any mathematics begins. Mathematicians, however, report wanting to keep high-level control over how an argument is decomposed and established. We present Lea, a Lean-specific agent backbone for mathematician-facing software rather than a single interface. Lea exposes runs, sessions, and typed events through one application-neutral API, and ships with Lean tooling (blueprints, LSP, Loogle, SafeVerify) already wired. We report two applications built on it: LeaChat, a web client for interactive proof authoring, and LeaOverleaf, which formalizes theorems annotated directly in an Overleaf document; a session begun in either continues in the other. In a case study, a mathematician outlined a proof of the Durfee square generating function in a few natural-language messages, and Lea produced a complete Lean development from Mathlib alone, following the intended decomposition closely and requiring substantive correction at a single point. Lea and both applications are released as open source so that further mathematician-facing tools can be built on the same backbone.

PART OF

AI for Mathematics
▸ Cite this paper (BibTeX)
@article{2026-Lea, 
  title={Lea: An Agent Backbone for Mathematician-Controlled Formalization in Lean}, 
  author={Shaswat Patel and Daniel Arturi and Kevin Gomez and Jaume de Dios Pont and Jorge Poco and Eduardo Teixeira and Sam Westrick and Claudio Silva and Chinmay Hegde}, 
  journal={The 6th Workshop on Mathematical Reasoning and AI}, 
  year={2026},
  url={https://arxiv.org/abs/2611.08849},
  date={2026-10-28}
}

Related papers

Lea: An Agent Backbone for Mathematician-Controlled Formalization in Lean

Lea: An Agent Backbone for Mathematician-Controlled Formalization in Lean

The LeaOverleaf interface. Left: an Overleaf document whose LaTeX source contains Lea annotations that identify a theorem, dependencies, and audit status. Center: the item detail card, from which the author can rerun the formalization, continue it in LeaChat, or open it in the Lean pane. Right: the Lean pane, which organizes annotated items as a blueprint, displays the statement extracted from the paper and its dependencies, and presents the generated Lean for review and editing. The Lean pane also provides additional controls such as navigate to the source in Overleaf, synchronize with the Git repository, and configure the agentic harness.