SOTAVerified

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

2025-05-28Unverified0· sign in to hype

Nikita Khramov, Andrei Kozyrev, Gleb Solovev, Anton Podkopaev

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

Interactive Theorem Proving was repeatedly shown to be fruitful combined with Generative Artificial Intelligence. This paper assesses multiple approaches to Rocq generation and illuminates potential avenues for improvement. We highlight the importance of thorough premise selection for generating Rocq proofs and propose a novel approach, leveraging retrieval via 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 show the use of multi-agent debate on the planning stage of proof synthesis.

Tasks

Reproductions