Online Machine Learning Techniques for Coq: A Comparison
Not on the map. Why?
Abstract (arXiv)
We present a comparison of several online machine learning techniques for tactical learning and proving in the Coq proof assistant. This work builds on top of Tactician, a plugin for Coq that learns from proofs written by the user to synthesize new proofs. Learning happens in an online manner, meaning that Tactician's machine learning model is updated immediately every time the user performs a step in an interactive proof. This has important advantages compared to the more studied offline learning systems: (1) it provides the user with a seamless, interactive experience with Tactician and, (2) it takes advantage of locality of proof similarity, which means that proofs similar to the current proof are likely to be found close by. We implement two online methods, namely approximate k-nearest neighbors based on locality sensitive hashing forests and random decision forests. Additionally, we conduct experiments with gradient boosted trees in an offline setting using XGBoost. We compare the relative performance of Tactician using these three learning methods on Coq's standard library.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 11 of its 28 references that are in the map. First posted on arXiv 12 Apr 2021.
Builds on
11 of 28 references.
References · 11
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2018Reinforcement Learning of Theorem Provingcited by 69
- 2018TacticToe: Learning to Prove with Tacticscited by 43
- 2019ENIGMA-NG: Efficient Neural and Gradient-Boosted Inference Guidance for Ecited by 24
- 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 23
- 2018Learning to Reason with HOL4 tacticscited by 14
- 2018ATPboost: Learning Premise Selection in Binary Setting with ATP Feedbackcited by 12
- 2020Tactic Learning and Proving for the Coq Proof Assistantcited by 8
- 2015Premise Selection and External Provers for HOL4cited by 7
- 2018PaMpeR: Proof Method Recommendation System for Isabelle/HOLcited by 7
- 2016A Proof Strategy Language and Proof Script Generation for Isabelle/HOLcited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 5; 2025: 1.
7 papers.
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 153
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
- 2024Graph2Tac: Online Representation Learning of Formal Math Conceptscited by 15
- 2023Machine-Learned Premise Selection for Leancited by 10
- 2024Application of AI to formal methods - an analysis of current trendscited by 2
- 2024The Tactician's Web of Large-Scale Formal Knowledgecited by 1
- 2024Learning Rules Explaining Interactive Theorem Proving Tactic Predictioncited by 0
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoning19 Feb 2025
- 2024Application of AI to formal methods - an analysis of current trends22 Nov 2024
- 2024Learning Rules Explaining Interactive Theorem Proving Tactic Prediction2 Nov 2024
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competition15 Jul 2024
- 2024The Tactician's Web of Large-Scale Formal Knowledge5 Jan 2024
- 2024Graph2Tac: Online Representation Learning of Formal Math Concepts5 Jan 2024
- 2023Machine-Learned Premise Selection for Lean17 Mar 2023