Lune

OOPSLA2025Top-tier venue

Semantics of Sets of Programs

Jinwoo Kim, Shaan Nagy, Thomas Reps, Loris D'Antoni

Abstract

Applications like program synthesis sometimes require proving that a property holds for all of the infinitely many programs described by a grammar—i.e., an inductively defined set of programs. Current verification frameworks overapproximate programs’ behavior when sets of programs contain loops, including two Hoare-style logics that fail to be relatively complete when loops are allowed. In this work, we prove that compositionally verifying simple properties for infinite sets of programs requires tracking distinct program behaviors over unboundedly many executions. Tracking this information is both necessary and sufficient for verification. We prove this fact in a general, reusable theory of denotational semantics that can model the expressivity and compositionality of verification techniques over infinite sets of programs. We construct the minimal compositional semantics that captures simple properties of sets of programs and use it to derive the first sound and relatively complete Hoare-style logic for infinite sets of programs. Thus, our methods can be used to design minimally complex, compositional verification techniques for sets of programs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ChopChop: A Programmable Framework for Semantically Constraining the Output of Language Models cites Unrealizability Logic
  • Unrealizability Logic cites Semantics-guided synthesis
  • Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties cites Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning
  • Outcome Logic: A Unifying Foundation for Correctness and Incorrectness Reasoning cites Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
  • Automating Unrealizability Logic: Hoare-Style Proof Synthesis for Infinite Sets of Programs cites Unrealizability Logic
  • Automating Unrealizability Logic: Hoare-Style Proof Synthesis for Infinite Sets of Programs cites Semantics-guided synthesis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. ChopChop: A Programmable Framework for Semantically Constraining the Output of Language ModelsShaan Nagy, Timothy Zhou, Nadia Polikarpova, Loris D'AntoniPOPL 2026 · 1 citation

Builds on6

  1. Outcome Logic: A Unifying Foundation for Correctness and Incorrectness ReasoningNoam Zilberstein, Derek Dreyer, Alexandra SilvaOOPSLA 2023 · 39 citations
  2. Semantics-guided synthesisJinwoo Kim, Qinheping Hu, Loris D'Antoni, Thomas W. RepsPOPL 2021 · 31 citations
  3. Hyper Hoare Logic: (Dis-)Proving Program HyperpropertiesThibault Dardinier, Peter MüllerPLDI 2024 · 28 citations
  4. Unrealizability LogicJinwoo Kim, Loris D'Antoni, Thomas W. RepsPOPL 2023 · 12 citations
  5. Automating Unrealizability Logic: Hoare-Style Proof Synthesis for Infinite Sets of ProgramsShaan Nagy, Jinwoo Kim, Thomas W. Reps, Loris D'AntoniOOPSLA 2024 · 4 citations

Related papers

  1. Structural Temporal Logic for Mechanized Program VerificationEleftherios Ioannidis, Yannick Zakowski, Steve Zdancewic, Sebastian AngelOOPSLA 2025 · 1 citation
  2. Calculational Design of [In]Correctness Transformational Program Logics by Abstract InterpretationPatrick CousotPOPL 2024 · 11 citations
  3. Proving hypersafety compositionallyEmanuele D'Osualdo, Azadeh Farzan, Derek DreyerOOPSLA 2022 · 16 citations
  4. Hypra: A Deductive Program Verifier for Hyper Hoare LogicThibault Dardinier, Anqi Li, Peter MüllerOOPSLA 2024 · 6 citations
  5. A Hoare Logic for Symmetry PropertiesVaibhav Mehta, Justin HsuOOPSLA 2025
Dusk over the sea between two cliffs drawn in fine vertical lines