[Paper Review] Learning-Assisted Automated Reasoning with Flyspeck
This paper presents a learning-assisted automated reasoning system that integrates the Flyspeck formalized mathematics library with external automated theorem provers (ATPs) and machine learning premise selection models trained on Flyspeck proofs. By translating HOL Light logic into ATP-compatible formats and using learned advisors, the system proves 39% of 14,185 theorems automatically in 30 seconds on a 14-CPU workstation, marking a significant advance in large-theory automated reasoning.
The considerable mathematical knowledge encoded by the Flyspeck project is combined with external automated theorem provers (ATPs) and machine-learning premise selection methods trained on the proofs, producing an AI system capable of answering a wide range of mathematical queries automatically. The performance of this architecture is evaluated in a bootstrapping scenario emulating the development of Flyspeck from axioms to the last theorem, each time using only the previous theorems and proofs. It is shown that 39% of the 14185 theorems could be proved in a push-button mode (without any high-level advice and user interaction) in 30 seconds of real time on a fourteen-CPU workstation. The necessary work involves: (i) an implementation of sound translations of the HOL Light logic to ATP formalisms: untyped first-order, polymorphic typed first-order, and typed higher-order, (ii) export of the dependency information from HOL Light and ATP proofs for the machine learners, and (iii) choice of suitable representations and methods for learning from previous proofs, and their integration as advisors with HOL Light. This work is described and discussed here, and an initial analysis of the body of proofs that were found fully automatically is provided.
Motivation & Objective
- To enable fully automated proof of mathematical theorems in the large, formalized Flyspeck library using external ATPs and machine learning.
- To bridge HOL Light's higher-order logic with first-order ATPs through sound, lossless translations to first-order and typed formats.
- To train premise selection models on Flyspeck proof dependencies to guide ATPs with relevant knowledge.
- To evaluate the system in a bootstrapping scenario, emulating the incremental development of Flyspeck from axioms to final theorems.
- To demonstrate the feasibility of scalable, AI-augmented formal mathematics with minimal human intervention.
Proposed method
- Translating HOL Light proofs into untyped first-order, polymorphic typed first-order, and typed higher-order ATP formats to enable interoperability.
- Exporting dependency and proof information from HOL Light and ATPs to train machine learning models for premise selection.
- Designing and integrating learning-based advisors that suggest relevant premises to ATPs based on historical proof patterns.
- Using a diverse mix of 435 ATP and premise selector combinations to optimize performance in a large-scale evaluation.
- Employing a bootstrapping evaluation protocol where each theorem is proven using only previously proven theorems and their dependencies.
- Applying strategy-scheduling and optimized ATP configurations (e.g., E and Vampire) to improve proof search efficiency.
Experimental results
Research questions
- RQ1Can a learning-assisted system prove a significant fraction of theorems in the Flyspeck library without human guidance?
- RQ2How effective is machine learning in selecting relevant premises from a large formal library for ATPs?
- RQ3What is the performance of combined ATP and learning methods in a real-world, large-theory formalization like Flyspeck?
- RQ4How does the system scale in a bootstrapping scenario, where only prior results are available?
- RQ5Can such a system serve as a practical, scalable assistant for formal mathematics development?
Key findings
- The system successfully proved 39% of the 14,185 theorems in the Flyspeck library in a fully automated, push-button mode within 30 seconds of real time.
- The performance was achieved using a combination of 435 different ATP and premise selector configurations, demonstrating the value of method diversity.
- The success rate of 39% exceeds previous results on smaller benchmarks (e.g., 24.1% on MPTP2078 with a 30s limit), indicating scalability.
- The system outperformed the best single method by a significant margin, showing that ensemble combinations are essential for large-theory reasoning.
- The integration of learned advisors with ATPs significantly improved proof automation, reducing reliance on user expertise.
- The results suggest that AI-augmented formal mathematics can be scaled toward crowd-sourced, world-knowledge-scale formalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.