paper-with-me

홈 › Papers

FVEL: Interactive Formal Verification Environment with Large Language Models via Theorem Proving

2024-06-20 · Xiaohan Lin, Qingxing Cao, Yinya Huang, Haiming Wang, Jianqiao Lu, Zhengying Liu, Linqi Song, Xiaodan Liang

Formal verification (FV) has witnessed growing significance with current emerging program synthesis by the evolving large language models (LLMs). However, current formal verification mainly resorts to symbolic verifiers or hand-craft rules, resulting in limitations for extensive and flexible verification. On the other hand, formal languages for automated theorem proving, such as Isabelle, as another line of rigorous verification, are maintained with comprehensive rules and theorems. In this paper, we propose FVEL, an interactive Formal Verification Environment with LLMs. Specifically, FVEL transforms a given code to be verified into Isabelle, and then conducts verification via neural automated theorem proving with an LLM. The joined paradigm leverages the rigorous yet abundant formulated and organized rules in Isabelle and is also convenient for introducing and adjusting cutting-edge LLMs. To achieve this goal, we extract a large-scale FVELER3. The FVELER dataset includes code dependencies and verification processes that are formulated in Isabelle, containing 758 theories, 29,125 lemmas, and 200,646 proof steps in total with in-depth dependencies. We benchmark FVELER in the FVEL environment by first fine-tuning LLMs with FVELER and then evaluating them on Code2Inv and SV-COMP. The results show that FVEL with FVELER fine-tuned Llama3- 8B solves 17.39% (69 -> 81) more problems, and Mistral-7B 12% (75 -> 84) more problems in SV-COMP. And the proportion of proof errors is reduced. Project page: https://fveler.github.io/.

📄 PDF Abstract BibTeX arXiv:2406.14408

Code (1)

fveler/fvel 공식 구현 pytorch

Tasks

Automated Theorem ProvingProgram Synthesis

Similar Papers 제목 키워드 기반

Neuro-Symbolic Proof Generation for Scaling Systems Software Verification

2026-03-20 · Baoding He, Zenan Li, Wei Sun, Yuan Yao 외 arxiv

Formal verification via interactive theorem proving is increasingly used to ensure the correctness of critical systems, yet constructing large proof scripts remains highly manual and limits scalability. Advances in large…

Mathematical Reasoning

Neural Theorem Proving: Generating and Structuring Proofs for Formal Verification

2025-04-23 · Balaji Rao, William Eiers, Carlo Lipizzi

Formally verifying properties of software code has been a highly desirable task, especially with the emergence of LLM-generated code. In the same vein, they provide an interesting avenue for the exploration of formal ver…

Automated Theorem Proving

Formally Verified Approximate Policy Iteration

2024-06-11 · Maximilian Schäffeler, Mohammad Abdulaziz

We formally verify an algorithm for approximate policy iteration on Factored Markov Decision Processes using the interactive theorem prover Isabelle/HOL. Next, we show how the formalized algorithm can be refined to an ex…

OpenProver: Agentic and Interactive Theorem Proving with Lean 4

2026-07-10 · Matěj Kripner, Milan Straka arxiv

In this system paper, we present OpenProver, an open-source system for LLM-driven automated theorem proving (ATP) with integrated Lean 4 formal verification. OpenProver integrates a Planner-Worker-Verifier architecture i…

Automated Theorem ProvingCode Generation

StepProof: Step-by-step verification of natural language mathematical proofs

2025-06-12 · Xiaolin Hu, Qinghua Zhou, Bogdan Grechuk, Ivan Y. Tyukin

Interactive theorem provers (ITPs) are powerful tools for the formal verification of mathematical proofs down to the axiom level. However, their lack of a natural language interface remains a significant limitation. Rece…

Mathematical ProofsSentence