paper-with-me

Papers

Laurel: Unblocking Automated Verification with Large Language Models

2024-05-27 · Eric Mugnier, Emmanuel Anaya Gonzalez, Ranjit Jhala, Nadia Polikarpova, Yuanyuan Zhou

Program verifiers such as Dafny automate proofs by outsourcing them to an SMT solver. This automation is not perfect, however, and the solver often requires hints in the form of assertions, creating a burden for the proof engineer. In this paper, we propose Laurel, a tool that alleviates this burden by automatically generating assertions using large language models (LLMs). To improve the success rate of LLMs in this task, we design two domain-specific prompting techniques. First, we help the LLM determine the location of the missing assertion by analyzing the verifier's error message and inserting an assertion placeholder at that location. Second, we provide the LLM with example assertions from the same codebase, which we select based on a new proof similarity metric. We evaluate our techniques on our new benchmark DafnyGym, a dataset of complex lemmas we extracted from three real-world Dafny codebases. Our evaluation shows that Laurel is able to generate over 56.6\% of the required assertions given only a few attempts, making LLMs an affordable tool for unblocking program verifiers without human intervention.

📄 PDF Abstract BibTeX arXiv:2405.16792

Code (0)

등록된 구현이 없습니다.

Tasks

LEMMA

Similar Papers 제목 키워드 기반

Beyond Laurel/Yanny: An Autoencoder-Enabled Search for Polyperceivable Audio

2021-08-01 · ACL 2021 5 · Kartik Chandra, Chuma Kabaghe, Gregory Valiant

The famous {``}laurel/yanny{''} phenomenon references an audio clip that elicits dramatically different responses from different listeners. For the original clip, roughly half the population hears the word {``}laurel,{''…

LAuReL: Learned Augmented Residual Layer

2024-11-12 · Gaurav Menghani, Ravi Kumar, Sanjiv Kumar

One of the core pillars of efficient deep learning methods is architectural improvements such as the residual/skip connection, which has led to significantly better model convergence and quality. Since then the residual …

LURE: Latent Space Unblocking for Multi-Concept Reawakening in Diffusion Models

2026-01-20 · Mengyu Sun, Ziyuan Yang, Andrew Beng Jin Teoh, Junxu Liu 외 arxiv

Concept erasure aims to suppress sensitive content in diffusion models, but recent studies show that erased concepts can still be reawakened, revealing vulnerabilities in erasure methods. Existing reawakening methods mai…

Lemur: Integrating Large Language Models in Automated Program Verification

2023-10-07 · Haoze Wu, Clark Barrett, Nina Narodytska

The demonstrated code-understanding capability of LLMs raises the question of whether they can be used for automated program verification, a task that demands high-level abstract reasoning about program properties that i…

Neural Theorem Proving for Verification Conditions: A Real-World Benchmark

2026-01-26 · Qiyuan Xu, Xiaokun Luan, Renxi Wang, Joshua Ong Jun Leang 외 arxiv

Theorem proving is fundamental to program verification, where the automated proof of Verification Conditions (VCs) remains a primary bottleneck. Real-world program verification frequently encounters hard VCs that existin…