paper-with-me

Papers

Diversifying to Verify: When Task-Equivalent Programs Differ in Verifiability

2026-07-10 · Shirley Yu, Ruben Martins arxiv

Program verification is crucial for software correctness, but producing fully verified programs remains difficult in practice. This paper studies whether implementation structure affects automated verifiability when multiple generated programs are intended to satisfy the same task-level semantics. We present Diversify2Verify, a staged LLM-based pipeline for Why3 that infers representation-specific contracts, generates and tests diverse recursive and imperative array/list implementations, and attempts verification with bounded verifier-guided annotation repair. We also construct a verification-oriented benchmark of 73 tasks over integers, arrays, and lists, yielding 292 implementation variants. Diversify2Verify verifies 96 artifacts initially and 154 after two repair passes, improving artifact-level verification from 32.9% to 52.7%. At the task level, at least one variant verifies for 49 of 73 tasks, a 67.1% success rate. These results show that task-equivalent implementations can differ substantially in verifiability and that implementation diversity helps find verification-friendly artifacts.

📄 PDF Abstract BibTeX arXiv:2607.09366

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Self-Supervised Learning to Prove Equivalence Between Straight-Line Programs via Rewrite Rules

2021-09-22 · Steve Kommrusch, Martin Monperrus, Louis-Noël Pouchet

We target the problem of automatically synthesizing proofs of semantic equivalence between two programs made of sequences of statements. We represent programs using abstract syntax trees (AST), where a given set of seman…

Self-Supervised Learningvalid

Vehicle: Bridging the Embedding Gap in the Verification of Neuro-Symbolic Programs

2024-01-12 · Matthew L. Daggitt, Wen Kokke, Robert Atkey, Natalia Slusarz 외

Neuro-symbolic programs -- programs containing both machine learning components and traditional symbolic code -- are becoming increasingly widespread. However, we believe that there is still a lack of a general methodolo…

Automated Verification of Equivalence Properties in Advanced Logic Programs -- Bachelor Thesis

2023-10-11 · Jan Heuer

With the increase in industrial applications using Answer Set Programming, the need for formal verification tools, particularly for critical applications, has also increased. During the program optimisation process, it w…

NegationTranslation

Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-step

2024-02-25 · Li Zhong, Zilong Wang, Jingbo Shang

Large language models (LLMs) are leading significant progress in code generation. Beyond one-pass code generation, recent works further integrate unit tests and program verifiers into LLMs to iteratively refine the gener…

Code GenerationHumanEvalLanguage ModelingLanguage Modelling+2

Incremental Answer Set Programming with Overgrounding

2019-07-22 · Francesco Calimeri, Giovambattista Ianni, Francesco Pacenza, Simona Perri 외

Repeated executions of reasoning tasks for varying inputs are necessary in many applicative settings, such as stream reasoning. In this context, we propose an incremental grounding approach for the answer set semantics. …