CoqPilot, a plugin for LLM-based generation of proofs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kozyrev, Andrei, Solovev, Gleb, Khramov, Nikita, Podkopaev, Anton
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909365175320576
author Kozyrev, Andrei
Solovev, Gleb
Khramov, Nikita
Podkopaev, Anton
author_facet Kozyrev, Andrei
Solovev, Gleb
Khramov, Nikita
Podkopaev, Anton
contents We present CoqPilot, a VS Code extension designed to help automate writing of Coq proofs. The plugin collects the parts of proofs marked with the admit tactic in a Coq file, i.e., proof holes, and combines LLMs along with non-machine-learning methods to generate proof candidates for the holes. Then, CoqPilot checks if each proof candidate solves the given subgoal and, if successful, replaces the hole with it. The focus of CoqPilot is twofold. Firstly, we want to allow users to seamlessly combine multiple Coq generation approaches and provide a zero-setup experience for our tool. Secondly, we want to deliver a platform for LLM-based experiments on Coq proof generation. We developed a benchmarking system for Coq generation methods, available in the plugin, and conducted an experiment using it, showcasing the framework's possibilities. Demo of CoqPilot is available at: https://youtu.be/oB1Lx-So9Lo. Code at: https://github.com/JetBrains-Research/coqpilot
format Preprint
id arxiv_https___arxiv_org_abs_2410_19605
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CoqPilot, a plugin for LLM-based generation of proofs
Kozyrev, Andrei
Solovev, Gleb
Khramov, Nikita
Podkopaev, Anton
Software Engineering
Artificial Intelligence
Logic in Computer Science
We present CoqPilot, a VS Code extension designed to help automate writing of Coq proofs. The plugin collects the parts of proofs marked with the admit tactic in a Coq file, i.e., proof holes, and combines LLMs along with non-machine-learning methods to generate proof candidates for the holes. Then, CoqPilot checks if each proof candidate solves the given subgoal and, if successful, replaces the hole with it. The focus of CoqPilot is twofold. Firstly, we want to allow users to seamlessly combine multiple Coq generation approaches and provide a zero-setup experience for our tool. Secondly, we want to deliver a platform for LLM-based experiments on Coq proof generation. We developed a benchmarking system for Coq generation methods, available in the plugin, and conducted an experiment using it, showcasing the framework's possibilities. Demo of CoqPilot is available at: https://youtu.be/oB1Lx-So9Lo. Code at: https://github.com/JetBrains-Research/coqpilot
title CoqPilot, a plugin for LLM-based generation of proofs
topic Software Engineering
Artificial Intelligence
Logic in Computer Science
url https://arxiv.org/abs/2410.19605