Reference. Passport: Improving Automated Formal Verification Using Identifiers

Formally verifying system properties is one of the most effective ways of improving system quality, but its high manual effort requirements often render it prohibitively expensive. Tools that automate formal verification by learning from proof corpora to synthesize proofs have just begun to show their promise. These tools are effective because of the richness of the data the proof corpora contain. This richness comes from the stylistic conventions followed by communities of proof developers, together with the powerful logical systems beneath proof assistants. However, this richness remains underexploited, with most work thus far focusing on architecture rather than on how to make the most of the proof data. This article systematically explores how to most effectively exploit one aspect of that proof data: identifiers. We develop the Passport approach, a method for enriching the predictive Coq model used by an existing proof-synthesis tool with three new encoding mechanisms for identifiers: category vocabulary indexing, subword sequence modeling, and path elaboration. We evaluate our approach’s enrichment effect on three existing base tools: ASTactic, Tac, and Tok. In head-to-head comparisons, Passport automatically proves 29% more theorems than the best-performing of these base tools. Combining the three tools enhanced by the Passport approach automatically proves 38% more theorems than combining the three base tools. Finally, together, these base tools and their enhanced versions prove 45% more theorems than the combined base tools. Overall, our findings suggest that modeling identifiers can play a significant role in improving proof synthesis, leading to higher-quality software.

Cite

Cite as @sanchezstern-2023-passport (helia, typst) · \cite{sanchezstern-2023-passport} (LaTeX)
BibTeX
bibtex · 1 line
@article{sanchezstern-2023-passport, title={Passport: Improving Automated Formal Verification Using Identifiers}, volume={45}, ISSN={1558-4593}, url={http://dx.doi.org/10.1145/3593374}, DOI={10.1145/3593374}, number={2}, journal={ACM Transactions on Programming Languages and Systems}, publisher={Association for Computing Machinery (ACM)}, author={Sanchez-Stern, Alex and First, Emily and Zhou, Timothy and Kaufman, Zhanna and Brun, Yuriy and Ringer, Talia}, year={2023}, month=June, pages={1–30} }
hayagriva YAML (typst)
yaml · 20 lines
sanchezstern-2023-passport:
  type: article
  title: 'Passport: Improving Automated Formal Verification Using Identifiers'
  author:
  - Sanchez-Stern, Alex
  - First, Emily
  - Zhou, Timothy
  - Kaufman, Zhanna
  - Brun, Yuriy
  - Ringer, Talia
  date: 2023-06
  page-range: 1-30
  serial-number:
    doi: 10.1145/3593374
  parent:
    type: periodical
    title: ACM Transactions on Programming Languages and Systems
    publisher: Association for Computing Machinery (ACM)
    issue: 2
    volume: 45
Cited by (4)

Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verification kasibatla-2026-cobblestone

DOI · arXiv

QEDCartographer: Automating Formal Verification Using Reward-Free Reinforcement Learning sanchezstern-2025-qedcartographer

PDF · DOI · arXiv · pldb

Baldur: Whole-Proof Generation and Repair with Large Language Models first-2023-baldur

PDF · DOI · pldb

PRoofster: Automated Formal Verification agrawal-2023-proofster

DOI
Cites 78 works (7 here)
With notes (7)

Baldur: Whole-Proof Generation and Repair with Large Language Models first-2023-baldur

PDF · DOI · pldb

PRoofster: Automated Formal Verification agrawal-2023-proofster

DOI

Proof repair across type equivalences ringer-2021-proof

PDF · DOI · pldb

REPLica: REPL instrumentation for Coq analysis ringer-2020-replica

PDF · DOI · pldb

QED at Large: A Survey of Engineering of Formally Verified Software ringer-2019-qed

Development of formal proofs of correctness of programs can increase actual and perceived reliability and facilitate better understanding of program specifications and their underlying assumptions. Tools supporting such development have been available for over 40 years, but have only recently seen wide practical use. Projects based on construction of machine-checked formal proofs are now reaching an unprecedented scale, comparable to large software projects, which leads to new challenges in proof development and maintenance. Despite its increasing importance, the field of proof engineering is seldom considered in its own right; related theories, techniques, and tools span many fields and venues. This survey of the literature presents a holistic understanding of proof engineering for program correctness, covering impact in practice, foundations, proof automation, proof organization, and practical proof development.
DOI

Verified Software Toolchain appel_vst_2011

Formal verification of a realistic compiler leroy_formal_2009

This paper reports on the development and formal verification (proof of semantic preservation) of CompCert, a compiler from Clight (a large subset of the C programming language) to PowerPC assembly code, using the Coq proof assistant both for programming the compiler and for proving its correctness. Such a verified compiler is useful in the context of critical software and its formal verification: the verification of the compiler guarantees that the safety properties proved on the source code hold for the executable compiled code as well.
DOI
External (71)
sanchezstern-2023-passport reference entries/refs/sanchezstern-2023-passport/sanchezstern-2023-passport.hel