arXiv AI

DAISY: Fault-Guided Assertion Inference for Dafny

DAISY is a tool that automatically infers missing helper assertions in Dafny programs by localizing likely assertion sites using verifier diagnostics and/or large language model (LLM) guidance. It then generates candidate assertions with an LLM, validates them with the Dafny verifier, and annotates the program accordingly. In evaluations on a benchmark derived from DafnyBench, DAISY successfully verifies 86% of programs with one missing assertion and 36% with two missing assertions, demonstrating that fault‑guided LLM inference can reduce proof‑engineering effort.

arXiv Computation and Language
Oct 16

Reasoning without Gold Standards: A Proxy-Judge Theory of Autoformalization

The paper introduces a reference‑free proxy‑judge framework for autoformalization, separating correctness into grounding, statement faithfulness, coverage, and inference. It presents three theoretical results linking proxy error rates to pass‑but‑wrong rates, the impact of false rejections on refinement, and a decomposition of final pass rates. The framework is instantiated with eight proxies and evaluated on ProofNet, miniF2F, e‑SNLI, and ProntoQA, showing that the predictions hold and identifying failure routes.

By Lei Xu, Xin Quan, Andr\'e Freitas
arXiv AI
Oct 1

Self-Spec Verifiable Code Generation

arXiv:2609.39568v1 Announce Type: cross Abstract: Large language models (LLMs) may generate unreliable code on corner cases missed by testing, while formal verification can provide machine-checkable...

By Jiaru Qian, Yihong Dong, Yongmin Li, Hao Zhu, Bin Gu, Ge Li
arXiv AI
Aug 28

FaithSieve: Fine-Grained Evaluation of Math Proofs with Faithful Formal Evidence

FaithSieve is a Lean‑assisted framework that fine‑grains natural‑language mathematical proofs into local reasoning units, extracts typed proof obligations, and verifies them with formal evidence gated by semantic alignment. It introduces two expert‑verified datasets—ProofLoc‑Olympiad and ProofLoc‑University—to benchmark first‑error localization. On these benchmarks, FaithSieve outperforms direct‑judging baselines, achieving 81.43% and 84.5% exact first‑error accuracy respectively.

By Ziyu Wang, Qiming Dai, Yishan Wu, Zaiwen Wen
arXiv AI
Aug 20

Coverage-Driven RTL Assertion Generation with Formal Exploration and Neuro-Symbolic Refinement

The paper introduces NeuroAssertion, a coverage-driven framework for generating RTL assertions that integrates formal trace generation, syntax-guided synthesis, and a two-step large language model (LLM) refinement process. It transforms hard-to-reach control-flow conditions into formal reachability goals, uses model checking to produce diverse traces, and mines initial assertions via SyGuS. The refinement stage employs one LLM to propose candidate assertions for uncovered regions and a second LLM to generate repair grammars that guide symbolic synthesis, resulting in roughly twice as many assertions and higher mutation coverage compared to traditional methods.

By Zhiyuan Yan, Ziyue Zheng, Hongce Zhang