Pith. sign in

REVIEW 6 cited by

An In-Context Learning Agent for Formal Theorem-Proving

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2310.04353 v5 pith:S6LTEQWP submitted 2023-10-06 cs.LG cs.AIcs.LOcs.PL

classification cs.LGcs.AIcs.LOcs.PL
keywords copraleanagentapproachdatafinetunedformalgpt-4
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

We present an in-context learning agent for formal theorem-proving in environments like Lean and Coq. Current state-of-the-art models for the problem are finetuned on environment-specific proof data. By contrast, our approach, called COPRA, repeatedly asks a high-capacity, general-purpose large language model (GPT-4) to propose tactic applications from within a stateful backtracking search. Proposed tactics are executed in the underlying proof environment. Feedback from the execution is used to build the prompt for the next model query, along with selected information from the search history and lemmas retrieved from an external database. We evaluate our implementation of COPRA on the miniF2F benchmark for Lean and a set of Coq tasks from the CompCert project. On these benchmarks, COPRA significantly outperforms few-shot invocations of GPT-4. It also compares favorably against finetuning-based approaches, outperforming ReProver, a state-of-the-art finetuned approach for Lean, in terms of the pass@1 metric. Our code and data are available at https://github.com/trishullab/copra.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 6 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Discovering New Theorems via LLMs with In-Context Proof Learning in Lean

    cs.LG 2025-09 unverdicted novelty 6.0 of 10

    LLMs in a conjecturing-proving loop that conditions on their own prior verified Lean proofs discover more hard-to-prove theorems than baselines that generate statements and proofs together.

  2. MATP-BENCH: Can MLLM Be a Good Automated Theorem Prover for Multimodal Problems?

    cs.CL 2025-06 conditional novelty 6.0 of 10

    MATP-BENCH pairs 1,056 multimodal math problems with formal theorem statements in Lean 4, Coq, and Isabelle; the strongest tested model solves only 5.68% of Lean 4 end-to-end proving tasks at pass@10.

  3. Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Proving

    cs.LG 2025-02 conditional novelty 6.0 of 10

    An open-source theorem-proving model reaches state-of-the-art scores on miniF2F (57.6% Pass@32) and PutnamBench by training on 800K formal proofs synthesized through autoformalization and expert iteration.

  4. Solving Formal Math Problems by Decomposition and Iterative Reflection

    cs.AI 2025-07 conditional novelty 5.0 of 10

    An agent that decomposes Lean 4 goals into subproblems and iteratively repairs proofs achieves a 95.9% pass rate on miniF2F-test using a stock Gemini model.

  5. Faithful and Robust LLM-Driven Theorem Proving for NLI Explanations

    cs.CL 2025-05 conditional novelty 5.0 of 10

    The proposed Faithful-Refiner, combining syntactic parsing, quantifier and consistency checks, logical-relation guidance, and detailed proof feedback, raises explanation refinement rates on three NLI benchmarks by lar...

  6. Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning Tasks

    cs.CL 2025-05 reject novelty 5.0 of 10

    A grammar-based model of LLM-generated SMT-LIB code produces uncertainty signals that predict formalization errors on some reasoning tasks, with fused signals giving large error reductions only in an in-sample evaluation.

Pith tools