mlsanityData to 7 Oct 2026

Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification

arXiv 2412.14063 ↗First posted 18 Dec 2024cs.SE cs.AIcited by 25

On the map: Retrieval-augmented generation → Agentic RAG, agents and memory

Abstract (arXiv)

Formal verification using proof assistants, such as Coq, enables the creation of high-quality software. However, the verification process requires significant expertise and manual effort to write proofs. Recent work has explored automating proof synthesis using machine learning and large language models (LLMs). This work has shown that identifying relevant premises, such as lemmas and definitions, can aid synthesis. We present Rango, a fully automated proof synthesis tool for Coq that automatically identifies relevant premises and also similar proofs from the current project and uses them during synthesis. Rango uses retrieval augmentation at every step of the proof to automatically determine which proofs and premises to include in the context of its fine-tuned LLM. In this way, Rango adapts to the project and to the evolving state of the proof. We create a new dataset, CoqStoq, of 2,226 open-source Coq projects and 196,929 theorems from GitHub, which includes both training data and a curated evaluation benchmark of well-maintained projects. On this benchmark, Rango synthesizes proofs for 32.0% of the theorems, which is 29% more theorems than the prior state-of-the-art tool Tactician. Our evaluation also shows that Rango adding relevant proofs to its context leads to a 47% increase in the number of theorems proven.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation. Builds on 47 of its 101 references that are in the map. First posted on arXiv 18 Dec 2024.

Builds on

47 of 101 references.

References · 47

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  8. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  9. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  10. 2023Llemma: An Open Language Model For Mathematicscited by 385
  11. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  12. 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 307
35 more
  1. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
  2. 2022Autoformalization with Large Language Modelscited by 252
  3. 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
  4. 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
  5. 2021Retrieval Augmented Code Generation and Summarizationcited by 148
  6. 2022Formal Mathematics Statement Curriculum Learningcited by 141
  7. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
  8. 2017Fairness Testing: Testing Software for Discriminationcited by 123
  9. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
  10. 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 108
  11. 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 107
  12. 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 97
  13. 2019TBar: Revisiting Template-based Automated Program Repaircited by 64
  14. 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
  15. 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
  16. 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 53
  17. 2018GamePad: A Learning Environment for Theorem Provingcited by 48
  18. 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 43
  19. 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
  20. 2019Generating Correctness Proofs with Neural Networkscited by 36
  21. 2019Learning to Reason in Large Theories without Imitationcited by 27
  22. 2023Lyra: Orchestrating Dual Correction in Automated Theorem Provingcited by 24
  23. 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 23
  24. 2018Causal Testing: Finding Defects' Root Causescited by 22
  25. 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
  26. 2024Towards Neural Synthesis for SMT-Assisted Proof-Oriented Programmingcited by 19
  27. 2023EditSum: A Retrieve-and-Edit Framework for Source Code Summarizationcited by 18
  28. 2024Graph2Tac: Online Representation Learning of Formal Math Conceptscited by 15
  29. 2018Learning to Reason with HOL4 tacticscited by 14
  30. 2024Learn from Failure: Fine-Tuning LLMs with Trial-and-Error Data for Intuitionistic Propositional Logic Provingcited by 11
  31. 2020Better Automatic Program Repair by Using Bug Reports and Tests Togethercited by 10
  32. 2024CoqPyt: Proof Navigation in Python in the Era of LLMscited by 5
  33. 2024QEDCartographer: Automating Formal Verification Using Reward-Free Reinforcement Learningcited by 3
  34. 2017Tortoise: Interactive System Configuration Repaircited by 2
  35. 2024Assured Automatic Programming via Large Language Modelscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 9; 2026: 16.

25 papers.

Sort:

By area:

  1. 2025VERINA: Benchmarking Verifiable Code Generationcited by 30
  2. 2026Large Language Model Reasoning Failurescited by 20
  3. 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 11
  4. 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verificationcited by 10
  5. 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theoremscited by 8
  6. 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometrycited by 7
  7. 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Leancited by 6
  8. 2025MiniF2F in Rocq: Automatic Translation Between Proof Assistants -- A Case Studycited by 5
  9. 2025Agentic Verification of Software Systemscited by 5
  10. 2026Neural Theorem Proving for Verification Conditions: A Real-World Benchmarkcited by 4
  11. 2025A Llama walks into the 'Bar': Efficient Supervised Fine-Tuning for Legal Reasoning in the Multi-state Bar Examcited by 3
  12. 2025RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generationcited by 3
13 more
  1. 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistantscited by 3
  2. 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systemscited by 3
  3. 2026Automated Lemma Discovery in Agentic Program Verificationcited by 2
  4. 2026Certified Program Synthesis with a Multi-Modal Verifiercited by 2
  5. 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verificationcited by 1
  6. 2026Harnessing Code Agents for Automatic Software Verificationcited by 1
  7. 2026Vero: Can AI Agents Build Formally Verified Software Repositories?cited by 1
  8. 2026On Reasoning-Centric LLM-based Automated Theorem Provingcited by 0
  9. 2026FVSpec: Real-World Property-Based Tests as Lean Challengescited by 0
  10. 2026Skills for the future software profession: beyond agentic AI!cited by 0
  11. 2026An Empirical Study of LLM-Generated Specifications for VeriFastcited by 0
  12. 2026Can Open-Weight LLMs Produce Kernel-Verified Coq Proofs? A Pilot Studycited by 0
  13. 2026PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Models
  2. 2026PROMISE: Proof Automation as Structural Imitation of Human Reasoning
  3. 2025LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation
  4. 2025Clarifying Before Reasoning: A Coq Prover with Structural Context
  5. 2025RAG-Verus: Repository-Level Program Verification with LLMs using Retrieval Augmented Generation
  6. 2024HunyuanProver: A Scalable Data Synthesis Framework and Guided Tree Search for Automated Theorem Proving
  7. 2025Steering LLMs for Formal Theorem Proving
  8. 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Language