mlsanityData to 14 Oct 2026

RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generation

arXiv 2505.22846 ↗First posted 28 May 2025cs.LG cs.AI cs.LOcited by 4

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

  1. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  3. 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 1,011
  4. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
  5. 2017A Structured Self-attentive Sentence Embeddingcited by 318
  6. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
  7. 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 109
  8. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 81
  9. 2024A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasonerscited by 73
  10. 2019Generating Correctness Proofs with Neural Networkscited by 37
  11. 2024InternLM2.5-StepProver: Advancing Automated Theorem Proving via Critic-Guided Searchcited by 34
  12. 2024Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verificationcited by 27
6 more
  1. 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 24
  2. 2021Rethinking InfoNCE: How Many Negative Samples Do You Need?cited by 19
  3. 2024CoqPilot, a plugin for LLM-based generation of proofscited by 11
  4. 2020Tactic Learning and Proving for the Coq Proof Assistantcited by 8
  5. 2018Bridging the Gap between Programming Languages and Hardware Weak Memory Modelscited by 2
  6. 2024Learning Structure-Aware Representations of Dependent Typescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026On Reasoning-Centric LLM-based Automated Theorem Proving
  2. 2026Growing an Agent/Prover Interface: Evolutionary Tool Design for Cost-Efficient Theorem Proving in Rocq and Lean
  3. 2026A Minimal Agent for Automated Theorem Proving
  4. 2026Efficient Test-Time Optimization for Multi-Agent Proof Autoformalization
  5. 2026RMA: an Agentic System for Research-Level Mathematical Problems
  6. 2025Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs
  7. 2026Self-Supervised Theorem Discovery in a Formal Axiomatic System
  8. 2026Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics