RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generation
On the map: LLM agents and tool use → Educational agents and math problem solving
Abstract (arXiv)
Interactive Theorem Proving was repeatedly shown to be fruitful when combined with Generative Artificial Intelligence. This paper assesses multiple approaches to Rocq generation and illuminates potential avenues for improvement. We identify retrieval-based premise selection as a central component of effective Rocq proof generation and propose a novel approach based on a self-attentive embedder model. The evaluation of the designed approach shows up to 28% relative increase of the generator's performance. We tackle the problem of writing Rocq proofs using a multi-stage agentic system, tailored for formal verification, and demonstrate its high effectiveness. We conduct an ablation study and demonstrate that incorporating multi-agent debate during the planning stage increases the proof success rate by 20% overall and nearly doubles it for complex theorems, while the reflection mechanism further enhances stability and consistency.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 18 of its 39 references that are in the map. First posted on arXiv 28 May 2025.
Builds on
18 of 39 references.
References · 18
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 1,011
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
- 2017A Structured Self-attentive Sentence Embeddingcited by 318
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 109
- 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 81
- 2024A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasonerscited by 73
- 2019Generating Correctness Proofs with Neural Networkscited by 37
- 2024InternLM2.5-StepProver: Advancing Automated Theorem Proving via Critic-Guided Searchcited by 34
- 2024Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verificationcited by 27
6 more
- 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 24
- 2021Rethinking InfoNCE: How Many Negative Samples Do You Need?cited by 19
- 2024CoqPilot, a plugin for LLM-based generation of proofscited by 11
- 2020Tactic Learning and Proving for the Coq Proof Assistantcited by 8
- 2018Bridging the Gap between Programming Languages and Hardware Weak Memory Modelscited by 2
- 2024Learning Structure-Aware Representations of Dependent Typescited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflowcited by 1
- 2026RocqSmith: Can Automatic Optimization Forge Better Proof Agents?cited by 1
- 2026SABER-Math: Automated Benchmark for Information Retrieval Evaluation in Mathematicscited by 1
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agentscited by 0
- 2026ProsaBuddy: Assisting Mechanized Real-Time Schedulability Analysis with LLM-based Agents1 Oct 2026
- 2026SABER-Math: Automated Benchmark for Information Retrieval Evaluation in Mathematics29 Jun 2026
- 2026RocqSmith: Can Automatic Optimization Forge Better Proof Agents?5 Feb 2026
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow24 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026On Reasoning-Centric LLM-based Automated Theorem Proving
- 2026Growing an Agent/Prover Interface: Evolutionary Tool Design for Cost-Efficient Theorem Proving in Rocq and Lean
- 2026A Minimal Agent for Automated Theorem Proving
- 2026Efficient Test-Time Optimization for Multi-Agent Proof Autoformalization
- 2026RMA: an Agentic System for Research-Level Mathematical Problems
- 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs
- 2026Self-Supervised Theorem Discovery in a Formal Axiomatic System
- 2026Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics