Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification
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.
Code (1)
Tasks
RetrievalSimilar Papers 제목 키워드 기반
Collective Cell Movement in Cell-Scale Tension Gradient on Tissue Interface
In this paper, we examine the emergence of cell flow induced by a tension gradient on a tissue interface as in the case of the Marangoni flow on liquid interface. We consider the molecule density polarity of the heteroph…
Beyond the Embedding Bottleneck: Adaptive Retrieval-Augmented 3D CT Report Generation
Automated radiology report generation from 3D CT volumes often suffers from incomplete pathology coverage. We provide empirical evidence that this limitation stems from a representational bottleneck: contrastive 3D CT em…
Marangoni effect and cell spreading
Cells are very sensitive to the shear stress (SS). However, undesirable SS is generated during physiological process such as collective cell migration (CCM) and influences the biological processes such as morphogenesis, …
Self-adaptive Multimodal Retrieval-Augmented Generation
Traditional Retrieval-Augmented Generation (RAG) methods are limited by their reliance on a fixed number of retrieved documents, often resulting in incomplete or noisy information that undermines task performance. Althou…
Image CaptioningRAGResponse GenerationRetrieval+1DeepRAG: Thinking to Retrieval Step by Step for Large Language Models
Large Language Models (LLMs) have shown remarkable potential in reasoning while they still suffer from severe factual hallucinations due to timeliness, accuracy, and coverage of parametric knowledge. Meanwhile, integrati…
RAGRetrievalRetrieval-augmented Generation