Adaptive Proof Refinement with LLM-Guided Strategy Selection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Lu, Minghai, Zhou, Zhe, Xie, Danning, Jia, Songlin, Delaware, Benjamin, Zhang, Tianyi
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915585236926464
author Lu, Minghai
Zhou, Zhe
Xie, Danning
Jia, Songlin
Delaware, Benjamin
Zhang, Tianyi
author_facet Lu, Minghai
Zhou, Zhe
Xie, Danning
Jia, Songlin
Delaware, Benjamin
Zhang, Tianyi
contents Formal verification via theorem proving enables the expressive specification and rigorous proof of software correctness, but it is difficult to scale due to the significant manual effort and expertise required. While Large Language Models (LLMs) show potential in proof generation, they frequently produce incorrect proofs on the first attempt and require additional strategies for iterative refinement. However, existing approaches employ fixed refinement strategies and cannot dynamically choose an effective strategy based on the particular issues in a generated proof, which limits their performance. To overcome this limitation, we introduce Adapt, a novel proof refinement framework that leverages an LLM-guided decision-maker to dynamically select a suitable refinement strategy according to the state of the proof assistant and available context of an incorrect proof. We evaluate Adapt on two benchmarks against four existing methods and find that it significantly outperforms the best baseline on both by proving 16.63% and 18.58% more theorems, respectively. Furthermore, we demonstrate Adapt's generalizability by evaluating it across five different LLMs. We also conduct ablation studies to measure the contribution of each component and compare the trade-offs of alternative decision-maker designs.
format Preprint
id arxiv_https___arxiv_org_abs_2510_25103
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Proof Refinement with LLM-Guided Strategy Selection
Lu, Minghai
Zhou, Zhe
Xie, Danning
Jia, Songlin
Delaware, Benjamin
Zhang, Tianyi
Software Engineering
D.2.4
Formal verification via theorem proving enables the expressive specification and rigorous proof of software correctness, but it is difficult to scale due to the significant manual effort and expertise required. While Large Language Models (LLMs) show potential in proof generation, they frequently produce incorrect proofs on the first attempt and require additional strategies for iterative refinement. However, existing approaches employ fixed refinement strategies and cannot dynamically choose an effective strategy based on the particular issues in a generated proof, which limits their performance. To overcome this limitation, we introduce Adapt, a novel proof refinement framework that leverages an LLM-guided decision-maker to dynamically select a suitable refinement strategy according to the state of the proof assistant and available context of an incorrect proof. We evaluate Adapt on two benchmarks against four existing methods and find that it significantly outperforms the best baseline on both by proving 16.63% and 18.58% more theorems, respectively. Furthermore, we demonstrate Adapt's generalizability by evaluating it across five different LLMs. We also conduct ablation studies to measure the contribution of each component and compare the trade-offs of alternative decision-maker designs.
title Adaptive Proof Refinement with LLM-Guided Strategy Selection
topic Software Engineering
D.2.4
url https://arxiv.org/abs/2510.25103