Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification
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
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2023GPT-4 Technical Reportcited by 18,132
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2023Llemma: An Open Language Model For Mathematicscited by 385
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 307
35 more
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
- 2022Autoformalization with Large Language Modelscited by 252
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2021Retrieval Augmented Code Generation and Summarizationcited by 148
- 2022Formal Mathematics Statement Curriculum Learningcited by 141
- 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
- 2017Fairness Testing: Testing Software for Discriminationcited by 123
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
- 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 108
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 107
- 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 97
- 2019TBar: Revisiting Template-based Automated Program Repaircited by 64
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
- 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 53
- 2018GamePad: A Learning Environment for Theorem Provingcited by 48
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 43
- 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
- 2019Generating Correctness Proofs with Neural Networkscited by 36
- 2019Learning to Reason in Large Theories without Imitationcited by 27
- 2023Lyra: Orchestrating Dual Correction in Automated Theorem Provingcited by 24
- 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 23
- 2018Causal Testing: Finding Defects' Root Causescited by 22
- 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
- 2024Towards Neural Synthesis for SMT-Assisted Proof-Oriented Programmingcited by 19
- 2023EditSum: A Retrieve-and-Edit Framework for Source Code Summarizationcited by 18
- 2024Graph2Tac: Online Representation Learning of Formal Math Conceptscited by 15
- 2018Learning to Reason with HOL4 tacticscited by 14
- 2024Learn from Failure: Fine-Tuning LLMs with Trial-and-Error Data for Intuitionistic Propositional Logic Provingcited by 11
- 2020Better Automatic Program Repair by Using Bug Reports and Tests Togethercited by 10
- 2024CoqPyt: Proof Navigation in Python in the Era of LLMscited by 5
- 2024QEDCartographer: Automating Formal Verification Using Reward-Free Reinforcement Learningcited by 3
- 2017Tortoise: Interactive System Configuration Repaircited by 2
- 2024Assured Automatic Programming via Large Language Modelscited by 1
Built on by
Citing papers per year: 2025: 9; 2026: 16.
25 papers.
Sort:
By area:
- 2025VERINA: Benchmarking Verifiable Code Generationcited by 30
- 2026Large Language Model Reasoning Failurescited by 20
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 11
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verificationcited by 10
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theoremscited by 8
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometrycited by 7
- 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Leancited by 6
- 2025MiniF2F in Rocq: Automatic Translation Between Proof Assistants -- A Case Studycited by 5
- 2025Agentic Verification of Software Systemscited by 5
- 2026Neural Theorem Proving for Verification Conditions: A Real-World Benchmarkcited by 4
- 2025A Llama walks into the 'Bar': Efficient Supervised Fine-Tuning for Legal Reasoning in the Multi-state Bar Examcited by 3
- 2025RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generationcited by 3
13 more
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistantscited by 3
- 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systemscited by 3
- 2026Automated Lemma Discovery in Agentic Program Verificationcited by 2
- 2026Certified Program Synthesis with a Multi-Modal Verifiercited by 2
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verificationcited by 1
- 2026Harnessing Code Agents for Automatic Software Verificationcited by 1
- 2026Vero: Can AI Agents Build Formally Verified Software Repositories?cited by 1
- 2026On Reasoning-Centric LLM-based Automated Theorem Provingcited by 0
- 2026FVSpec: Real-World Property-Based Tests as Lean Challengescited by 0
- 2026Skills for the future software profession: beyond agentic AI!cited by 0
- 2026An Empirical Study of LLM-Generated Specifications for VeriFastcited by 0
- 2026Can Open-Weight LLMs Produce Kernel-Verified Coq Proofs? A Pilot Studycited by 0
- 2026PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMscited by 0
- 2026Vero: Can AI Agents Build Formally Verified Software Repositories?13 Aug 2026
- 2026PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMs13 Aug 2026
- 2026Can Open-Weight LLMs Produce Kernel-Verified Coq Proofs? A Pilot Study5 Aug 2026
- 2026Harnessing Code Agents for Automatic Software Verification7 Jul 2026
- 2026An Empirical Study of LLM-Generated Specifications for VeriFast25 Jun 2026
- 2026Skills for the future software profession: beyond agentic AI!20 Jun 2026
- 2026FVSpec: Real-World Property-Based Tests as Lean Challenges31 May 2026
- 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systems22 May 2026
- 2026On Reasoning-Centric LLM-based Automated Theorem Proving21 Apr 2026
- 2026Certified Program Synthesis with a Multi-Modal Verifier17 Apr 2026
- 2026Automated Lemma Discovery in Agentic Program Verification23 Mar 2026
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verification20 Mar 2026
13 more
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verification18 Mar 2026
- 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Lean20 Feb 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2026Neural Theorem Proving for Verification Conditions: A Real-World Benchmark26 Jan 2026
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systems20 Dec 2025
- 2025Agentic Verification of Software Systems21 Nov 2025
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theorems12 Oct 2025
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistants26 Aug 2025
- 2025VERINA: Benchmarking Verifiable Code Generation29 May 2025
- 2025RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generation28 May 2025
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometry20 May 2025
- 2025A Llama walks into the 'Bar': Efficient Supervised Fine-Tuning for Legal Reasoning in the Multi-state Bar Exam7 Apr 2025
- 2025MiniF2F in Rocq: Automatic Translation Between Proof Assistants -- A Case Study11 Feb 2025
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 11
- 2025Agentic Verification of Software Systemscited by 5
- 2025RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generationcited by 3
- 2026Automated Lemma Discovery in Agentic Program Verificationcited by 2
- 2026Harnessing Code Agents for Automatic Software Verificationcited by 1
- 2026Harnessing Code Agents for Automatic Software Verification7 Jul 2026
- 2026Automated Lemma Discovery in Agentic Program Verification23 Mar 2026
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systems20 Dec 2025
- 2025Agentic Verification of Software Systems21 Nov 2025
- 2025RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generation28 May 2025
- 2026Large Language Model Reasoning Failurescited by 20
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometrycited by 7
- 2025A Llama walks into the 'Bar': Efficient Supervised Fine-Tuning for Legal Reasoning in the Multi-state Bar Examcited by 3
- 2026On Reasoning-Centric LLM-based Automated Theorem Provingcited by 0
- 2026On Reasoning-Centric LLM-based Automated Theorem Proving21 Apr 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometry20 May 2025
- 2025A Llama walks into the 'Bar': Efficient Supervised Fine-Tuning for Legal Reasoning in the Multi-state Bar Exam7 Apr 2025
- 2025VERINA: Benchmarking Verifiable Code Generationcited by 30
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verificationcited by 10
- 2025DRIFT: Decompose, Retrieve, Illustrate, then Formalize Theoremscited by 8
- 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Leancited by 6
- 2025MiniF2F in Rocq: Automatic Translation Between Proof Assistants -- A Case Studycited by 5
- 2026Neural Theorem Proving for Verification Conditions: A Real-World Benchmarkcited by 4
- 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistantscited by 3
- 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systemscited by 3
- 2026Certified Program Synthesis with a Multi-Modal Verifiercited by 2
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verificationcited by 1
- 2026Vero: Can AI Agents Build Formally Verified Software Repositories?cited by 1
- 2026FVSpec: Real-World Property-Based Tests as Lean Challengescited by 0
12 most cited of 16 All 16 (JSON)
- 2026Vero: Can AI Agents Build Formally Verified Software Repositories?13 Aug 2026
- 2026PROVE-RT: Generating Mechanized Theorem Prover Scripts for Real-Time Systems using LLMs13 Aug 2026
- 2026Can Open-Weight LLMs Produce Kernel-Verified Coq Proofs? A Pilot Study5 Aug 2026
- 2026An Empirical Study of LLM-Generated Specifications for VeriFast25 Jun 2026
- 2026Skills for the future software profession: beyond agentic AI!20 Jun 2026
- 2026FVSpec: Real-World Property-Based Tests as Lean Challenges31 May 2026
- 2026Inductive Deductive Synthesis: Enabling AI to Generate Formally Verified Systems22 May 2026
- 2026Certified Program Synthesis with a Multi-Modal Verifier17 Apr 2026
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verification20 Mar 2026
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verification18 Mar 2026
- 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Lean20 Feb 2026
- 2026Neural Theorem Proving for Verification Conditions: A Real-World Benchmark26 Jan 2026
12 newest of 16 All 16 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Models
- 2026PROMISE: Proof Automation as Structural Imitation of Human Reasoning
- 2025LLM-based Automated Theorem Proving Hinges on Scalable Synthetic Data Generation
- 2025Clarifying Before Reasoning: A Coq Prover with Structural Context
- 2025RAG-Verus: Repository-Level Program Verification with LLMs using Retrieval Augmented Generation
- 2024HunyuanProver: A Scalable Data Synthesis Framework and Guided Tree Search for Automated Theorem Proving
- 2025Steering LLMs for Formal Theorem Proving
- 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Language