Oriel — AI & technology worth noticing, every day.

Bipartite Edge Recovery in Formalized Mathematics

Paper · https://arxiv.org/abs/2612.02458

arXiv:2612.02458v1 Announce Type: new Abstract: Several major recent breakthroughs in mathematics were enabled by machine-driven, large-scale autoformalization of mathematics, with the translation of whole papers and textbooks into machine-checked libraries. However, there remains an open problem of verifying that the two representations, a natural-language (NL) source and a formal-language (FL) library, are equivalent. We model the pairing as a bipartite knowledge graph (KG) whose cross-edges, labeled \emph{formalizes}, link NL statement(s) to the corresponding FL declaration(s). We study the recovery and generation of these cross-edges as a link-prediction problem. Recovery predicts human-labeled cross-edges between existing NL-FL corpora; generation is autoformalization of NL that produces these cross-edges together with the formal declarations. These problems are particularly challenging as they may be sparse and many-to-many: a statement may be split into several declarations, a declaration may serve several statements, and many vertices may have no counterpart. We leverage community-developed projects with labeled \LaTeX{} (NL) and Lean (FL) cross-edges to train a model combining gradient-boosted edge scores, a global assignment that may leave a statement unmatched, and deferral of uncertain edges to an LLM. Across six projects, our pipeline improves edge precision and $F_1$ over an LLM-only baseline at less than half of its API cost, and it transfers to improved formalization of research mathematics.

First seen by Oriel on .

AI summary

The paper models linking natural-language mathematics to Lean declarations as bipartite edge prediction and reports higher precision and F₁ than an LLM-only baseline at less than half the API cost.

  • The task covers both recovering labeled links between existing corpora and generating links alongside formal declarations from natural-language statements.
  • Links can be sparse and many-to-many, and statements or declarations may have no counterpart.
  • The pipeline combines gradient-boosted edge scores, global assignment that can leave statements unmatched, and deferral of uncertain edges to an LLM.
  • Evaluations across six projects show improved edge precision and F₁, with transfer to formalizing research mathematics.

#autoformalization #lean #link prediction #formal mathematics

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
arXiv AI Papersoai:arXiv.org:2612.02458v1https://arxiv.org/abs/2612.02458 Read discussion