RocqSmith: Can Automatic Optimization Forge Better Proof Agents?

Andrei Kozyrev, Nikita Khramov, Denis Lochmelis, Valerio Morelli, Gleb Solovev +1 more
2/5/2026
cs.AIcs.LGcs.LO

No confident code implementation found for this paper.

Abstract

This work studies the applicability of automatic AI agent optimization methods to real-world agents in formal verification settings, focusing on automated theorem proving in Rocq as a representative and challenging domain. We evaluate how different automatic agent optimizers perform when applied to the task of optimizing a Rocq proof-generation agent, and assess whether parts of the fine-grained tuning of agentic systems, such as prompt design, contextual knowledge, and control strategies, can be automated. Our results show that while several optimizers yield measurable improvements, simple few-shot bootstrapping is the most consistently effective; however, none of the studied methods matches the performance of a carefully engineered state-of-the-art proof agent.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kozyrev2026rocqsmith,
  title  = {RocqSmith: Can Automatic Optimization Forge Better Proof Agents?},
  author = {Andrei Kozyrev and Nikita Khramov and Denis Lochmelis and Valerio Morelli and Gleb Solovev and Anton Podkopaev},
  year   = {2026},
  eprint = {2602.05762},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.05762v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.05762.svg)](https://codeofpaper.com/paper/2602.05762)

Discussion