Pith. sign in

REVIEW 4 cited by

miniCTX: Neural Theorem Proving with (Long-)Contexts

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 2408.03350 v3 pith:62LJAXOL submitted 2024-08-05 cs.AI cs.CLcs.LG

classification cs.AIcs.CLcs.LG
keywords minictxtheoremcontextprovingabilitycontainscontextsduring
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Real-world formal theorem proving often depends on a wealth of context, including definitions, lemmas, comments, file structure, and other information. We introduce miniCTX, which tests a model's ability to prove formal mathematical theorems that depend on new context that is not seen during training. miniCTX contains theorems sourced from real Lean projects and textbooks, each associated with a context that can span tens of thousands of tokens. Models are tasked with proving a theorem given access to code from the theorem's repository, which contains context that is needed for the proof. As a baseline for miniCTX, we tested fine-tuning and prompting methods that condition theorem proving on preceding context. Both approaches substantially outperform traditional methods that rely solely on state information. We found that this ability to use context is not captured by previous benchmarks such as miniF2F. Alongside miniCTX, we offer ntp-toolkit for automatically extracting and annotating theorem proving data, making it easy to add new projects into miniCTX to ensure that contexts are not seen during training. miniCTX offers a challenging and realistic evaluation of neural theorem provers.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

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

  1. PriorProof: A Point-in-Time Measure of Technique Novelty for Formal Proofs

    cs.AI 2026-07 conditional novelty 7.0 of 10

    A formal proof's route novelty can be scored as the surprisal of its dependency footprint under a prior built from an earlier Mathlib snapshot; the score matches expert majority choice in 53/76 pairs and shows an endp...

  2. Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening

    cs.LG 2025-06 conditional novelty 6.0 of 10

    GRPO's rank bias reinforces likely answers and neglects rare correct proofs; an unlikeliness reward that down-weights likely correct samples improves pass@N in formal theorem proving.

  3. LeanFlow: A Case Study in Workflow-Driven Lean Autoformalization

    cs.AI 2026-06 conditional novelty 5.0 of 10

    Workflow control and a cached Lean verifier improve completion and token efficiency in document-to-project autoformalization.

  4. Formal Mathematical Reasoning: A New Frontier in AI

    cs.AI 2024-12 conditional novelty 5.0 of 10

    Machine-checkable formal proof should become the backbone of AI mathematics, and a five-task, five-level capability roadmap can measure progress toward that goal.

Pith tools