An End-to-End Theory for Compositional Symbolic Execution: From Expressive Specifications to SMT (Extended Version)
Abstract
Compositional symbolic execution (CSE) is a powerful technique for program verification and bug-finding, yet existing formal theories of CSE do not sufficiently bridge the gap between idealised models and real-world tools. We present progress towards a foundational, realistic, end-to-end theory of CSE in the Rocq proof assistant. Our theory advances realism at both ends of the CSE pipeline: it supports an expressive frontend with algebraic data types, logical functions, and lemmas; it also provides a verified connection to SMT-LIB compliant SMT solvers. Our contributions include: (1) a CSE theory that captures practical verification patterns; (2) a standalone, reusable Rocq mechanisation of the SMT-LIB standard; (3) a proven-correct encoding from CSE backend queries to SMT-LIB queries that accounts for semantic discrepancies and optimises using type information; and (4) empirical evidence for the backend by extracting our verified SMT-LIB encoding and running it alongside the CSE tool Gillian's own encoding on a majority of its solver queries.
Create a lesson
Metadata
- Journal
- POPL 2027
Related papers
On the Expressive Power of Hook-Indexed State: Comprehending State in the React UI Library (Extended Version)
Shared title terminologycs.PLToby Ueno, Ezra Cooper, Simon Fowler et al.
On the Expressiveness of Asynchronous Processes with Nested Session Types (Extended Version)
Shared title terminologycs.PLSjors Wortelboer, Dan Frumin, Jorge A. Pérez
Compositional Temporal Specifications for Interaction Trees
Shared title terminologycs.PLLinyu Yang, Jianwei Yin, Mingshuai Chen
Validating Concurrent Correctness Witnesses with Ghosts by Thread-Modular Abstract Interpretation (Extended Version)
Shared title terminologycs.PLMichael Schwarz, Zhendong Ang, Umang Mathur
SymFC: Configurable Semantics for All Paths Symbolic Execution in Haskell via Embeddings
Shared title terminologycs.PLRobin Webbers, Wind Wong, Klaus v. Gleissenthall
SAFE: Formal Specification and Implementation of a Scalable Analysis Framework for ECMAScript
Shared title terminologycs.PLHongki Lee, Sooncheol Won, Joonho Jin et al.