MLFMF: Data Sets for Machine Learning for Mathematical Formalization
Not on the map. Why?
Abstract (arXiv)
We introduce MLFMF, a collection of data sets for benchmarking recommendation systems used to support formalization of mathematics with proof assistants. These systems help humans identify which previous entries (theorems, constructions, datatypes, and postulates) are relevant in proving a new theorem or carrying out a new construction. Each data set is derived from a library of formalized mathematics written in proof assistants Agda or Lean. The collection includes the largest Lean~4 library Mathlib, and some of the largest Agda libraries: the standard library, the library of univalent mathematics Agda-unimath, and the TypeTopology library. Each data set represents the corresponding library in two ways: as a heterogeneous network, and as a list of s-expressions representing the syntax trees of all the entries in the library. The network contains the (modular) structure of the library and the references between entries, while the s-expressions give complete and easily parsed information about every entry. We report baseline results using standard graph and word embeddings, tree ensembles, and instance-based learning algorithms. The MLFMF data sets provide solid benchmarking support for further investigation of the numerous machine learning approaches to formalized mathematics. The methodology used to extract the networks and the s-expressions readily applies to other libraries, and is applicable to other proof assistants. With more than 250,000 entries in total, this is currently the largest collection of formalized mathematical knowledge in machine learnable format.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Oct 2023.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 4; 2025: 4; 2026: 2.
10 papers.
- 2024A Survey on Deep Learning for Theorem Provingcited by 55
- 2024Process-Driven Autoformalization in Lean 4cited by 45
- 2024FormalAlign: Automated Alignment Evaluation for Autoformalizationcited by 19
- 2024A Triumvirate of AI Driven Theoretical Discoverycited by 5
- 2026TheoremGraph: Bridging Formal and Informal Mathematicscited by 4
- 2026Artificial Intelligence and the Structure of Mathematicscited by 2
- 2025Hierarchical Attention Generates Better Proofscited by 1
- 2025Approximating the universal thermal climate index using sparse regression with orthogonal polynomialscited by 1
- 2025Combining Textual and Structural Information for Premise Selection in Leancited by 1
- 2025Benchmarking Foundation Models with Retrieval-Augmented Generation in Olympic-Level Physics Problem Solvingcited by 0
- 2026TheoremGraph: Bridging Formal and Informal Mathematics24 Jun 2026
- 2026Artificial Intelligence and the Structure of Mathematics7 Apr 2026
- 2025Combining Textual and Structural Information for Premise Selection in Lean24 Oct 2025
- 2025Benchmarking Foundation Models with Retrieval-Augmented Generation in Olympic-Level Physics Problem Solving1 Oct 2025
- 2025Approximating the universal thermal climate index using sparse regression with orthogonal polynomials15 Aug 2025
- 2025Hierarchical Attention Generates Better Proofs27 Apr 2025
- 2024FormalAlign: Automated Alignment Evaluation for Autoformalization14 Oct 2024
- 2024Process-Driven Autoformalization in Lean 44 Jun 2024
- 2024A Triumvirate of AI Driven Theoretical Discovery30 May 2024
- 2024A Survey on Deep Learning for Theorem Proving15 Apr 2024