atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

Graph2Tac: Online Representation Learning of Formal Math Concepts

ICML 2024 · Learning theory and algorithms › Combinatorial and search optimization · approach: Logic and answer set programming theory · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Graph2Tac, a GNN with a definition-embedding task that builds hierarchical representations of new Coq definitions online, and benchmarks it against an online k-NN solver and other Coq provers in Tactician.

Problem

Neural theorem provers for Coq struggle to use definitions and lemmas introduced in new packages unseen during training; offline models cannot incorporate online information from new definitions and proofs.

Approach

Exploit locality of formal libraries: a graph neural network encodes Coq's global knowledge as a mono-graph and computes hierarchical embeddings for new definitions via a co-trained definition embedding task, while an online k-NN learns from recent proofs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add online learning from recent proofs instead of searching the offline training proofsk-NN solver · Coq test theorems, 10-minute evaluationpass rate: 15.0% to 25.8% (1.72x)Helped
Add the definition task to compute embeddings for new definitions (ablation)Graph2Tac · Coq test theorems, 10-minute evaluationpass rate: 17.4% vs 26.1%Helped
Add definition name embeddings (ablation)G2T-Anon-Update · Coq test theorems, 10-minute evaluationpass rate: 0.261 -> 0.241Hurt
Combine online definition learning with online learning from recent proofsG2T-Anon-Update and kNN-online · Coq test theorems, 10-minute evaluationpass rate: 1.27×Helped

Surprising findings

Limitations

Experimental setup

Datasets: Coq dataset of 120 Opam packages (Tactician graph dataset)

Benchmarks: randomly sampled 2000 test theorems from Coq packages held out by package split

Metrics: fraction of theorems proved pass rate over time pass rate over model calls

Baselines: k-NN offline CoqHammer Transformer-CPU Transformer-GPU firstorder auto with * G2T-NoDef-Frozen

Builds on: Tactician CoqHammer GPT-2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy