Graph2Tac: Online Representation Learning of Formal Math Concepts
Not on the map. Why?
Abstract (arXiv)
In proof assistants, the physical proximity between two formal mathematical concepts is a strong predictor of their mutual relevance. Furthermore, lemmas with close proximity regularly exhibit similar proof structures. We show that this locality property can be exploited through online learning techniques to obtain solving agents that far surpass offline learners when asked to prove theorems in an unseen mathematical setting. We extensively benchmark two such online solvers implemented in the Tactician platform for the Coq proof assistant: First, Tactician's online k-nearest neighbor solver, which can learn from recent proofs, shows a 1.72× improvement in theorems proved over an offline equivalent. Second, we introduce a graph neural network, Graph2Tac, with a novel approach to build hierarchical representations for new definitions. Graph2Tac's online definition task realizes a 1.5× improvement in theorems solved over an offline baseline. The k-NN and Graph2Tac solvers rely on orthogonal online data, making them highly complementary. Their combination improves 1.27× over their individual performances. Both solvers outperform all other general-purpose provers for Coq, including CoqHammer, Proverbot9001, and a transformer baseline by at least 1.48× and are available for practical use by end-users.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 24 of its 46 references that are in the map. First posted on arXiv 5 Jan 2024.
Builds on
24 of 46 references.
References · 24
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 107
- 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 97
- 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
- 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 50
- 2018GamePad: A Learning Environment for Theorem Provingcited by 48
- 2019Generating Correctness Proofs with Neural Networkscited by 36
- 2017ENIGMA: Efficient Learning-based Inference Guiding Machinecited by 26
- 2020ENIGMA Anonymous: Symbol-Independent Inference Guiding Machine (system description)cited by 26
12 more
- 2019ENIGMA-NG: Efficient Neural and Gradient-Boosted Inference Guidance for Ecited by 24
- 2013MizAR 40 for Mizar 40cited by 23
- 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 23
- 2022TF-GNN: Graph Neural Networks in TensorFlowcited by 21
- 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
- 2018Learning to Reason with HOL4 tacticscited by 14
- 2023Machine-Learned Premise Selection for Leancited by 10
- 2020Tactic Learning and Proving for the Coq Proof Assistantcited by 8
- 2022The Isabelle ENIGMAcited by 8
- 2021Online Machine Learning Techniques for Coq: A Comparisoncited by 7
- 2015SEPIA: Search for Proofs Using Inferred Automatacited by 4
- 2014Machine Learning of Coq Proof Guidance: First Experimentscited by 1
Built on by
Citing papers per year: 2024: 7; 2025: 5; 2026: 3.
15 papers.
Sort:
By area:
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 153
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
- 2024A Survey on Deep Learning for Theorem Provingcited by 55
- 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 35
- 2024Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verificationcited by 25
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
- 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verificationcited by 8
- 2025Premise Selection for a Lean Hammercited by 6
- 2024Learning Structure-Aware Representations of Dependent Typescited by 2
- 2025Local Look-Ahead Guidance via Verifier-in-the-Loop for Automated Theorem Provingcited by 2
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunitiescited by 2
- 2025ProofWala: A Framework for Multilingual Proof Data Synthesis and Theorem-Provingcited by 1
- 2026PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMs13 Aug 2026
- 2026Harnessing Code Agents for Automatic Software Verification7 Jul 2026
- 2026What are the Right Symmetries for Formal Theorem Proving?21 May 2026
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunities8 Sep 2025
- 2025Premise Selection for a Lean Hammer9 Jun 2025
- 2025Local Look-Ahead Guidance via Verifier-in-the-Loop for Automated Theorem Proving12 Mar 2025
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoning19 Feb 2025
- 2025ProofWala: A Framework for Multilingual Proof Data Synthesis and Theorem-Proving7 Feb 2025
- 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec 2024
- 2024Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification18 Dec 2024
- 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verification25 Oct 2024
- 2024miniCTX: Neural Theorem Proving with (Long-)Contexts5 Aug 2024
3 more
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 153
- 2024A Survey on Deep Learning for Theorem Provingcited by 55
- 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 35
- 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verificationcited by 8
- 2025Premise Selection for a Lean Hammercited by 6
- 2024Learning Structure-Aware Representations of Dependent Typescited by 2
- 2025Local Look-Ahead Guidance via Verifier-in-the-Loop for Automated Theorem Provingcited by 2
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunitiescited by 2
- 2025ProofWala: A Framework for Multilingual Proof Data Synthesis and Theorem-Provingcited by 1
- 2026What are the Right Symmetries for Formal Theorem Proving?cited by 0
- 2026PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMscited by 0
- 2026PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMs13 Aug 2026
- 2026What are the Right Symmetries for Formal Theorem Proving?21 May 2026
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunities8 Sep 2025
- 2025Premise Selection for a Lean Hammer9 Jun 2025
- 2025Local Look-Ahead Guidance via Verifier-in-the-Loop for Automated Theorem Proving12 Mar 2025
- 2025ProofWala: A Framework for Multilingual Proof Data Synthesis and Theorem-Proving7 Feb 2025
- 2024Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verification25 Oct 2024
- 2024miniCTX: Neural Theorem Proving with (Long-)Contexts5 Aug 2024
- 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competition15 Jul 2024
- 2024A Survey on Deep Learning for Theorem Proving15 Apr 2024
- 2024Learning Structure-Aware Representations of Dependent Types3 Feb 2024