Semantics of Sets of Programs
Jinwoo Kim, Shaan Nagy, Thomas Reps, Loris D'Antoni

TL;DR
This paper develops a compositional semantics framework for verifying properties of infinite sets of programs, addressing limitations of existing overapproximations and providing a sound, relatively complete Hoare-style logic.
Contribution
It introduces a minimal, compositional denotational semantics for infinite program sets and derives the first sound, relatively complete Hoare logic for such sets.
Findings
Proves tracking distinct behaviors is necessary and sufficient for verification.
Constructs a minimal compositional semantics for infinite program sets.
Derives a sound, relatively complete Hoare-style logic for infinite sets.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Business Process Modeling and Analysis · Service-Oriented Architecture and Web Services
