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.
View on arXiv@article{khramov2025_2505.22846, title={ RocqStar: Leveraging Similarity-driven Retrieval and Agentic Systems for Rocq generation }, author={ Nikita Khramov and Andrei Kozyrev and Gleb Solovev and Anton Podkopaev }, journal={arXiv preprint arXiv:2505.22846}, year={ 2025 } }