Computer Science > Machine Learning
Title:Bipartite Edge Recovery in Formalized Mathematics
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.
| Comments: | 10 pages, comments welcome |
|---|---|
| Subjects: | Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2612.02458 [cs.LG] |
| (or arXiv:2612.02458v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.02458 arXiv-issued DOI via DataCite |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.