Sound Gradual Verification with Symbolic Execution
Conrad Zimmerman, Jenna DiVincenzo, Jonathan Aldrich
Abstract
Gradual verification, which supports explicitly partial specifications and verifies them with a combination of static and dynamic checks, makes verification more incremental and provides earlier feedback to developers. While an abstract, weakest precondition-based approach to gradual verification was previously proven sound, the approach did not provide sufficient guidance for implementation and optimization of the required run-time checks. More recently, gradual verification was implemented using symbolic execution techniques, but the soundness of the approach (as with related static checkers based on implicit dynamic frames) was an open question. This paper puts practical gradual verification on a sound footing with a formalization of symbolic execution, optimized run-time check generation, and run time execution. We prove our approach is sound; our proof also covers a core subset of the Viper tool, for which we are aware of no previous soundness result. Our formalization enabled us to find a soundness bug in an implemented gradual verification tool and describe the fix necessary to make it sound.
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.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language cites Formally Validating a Practical Verification Condition Generator
- Reasoning about External Calls cites RefinedC: automating the foundational verification of C code with refined ownership types
- Formal Foundations for Translational Separation Logic Verifiers cites Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language
- Formal Foundations for Translational Separation Logic Verifiers cites RefinedC: automating the foundational verification of C code with refined ownership types
- Formal Foundations for Translational Separation Logic Verifiers cites Formally Validating a Practical Verification Condition Generator
- Diaframe: automated verification of fine-grained concurrent programs in Iris cites RefinedC: automating the foundational verification of C code with refined ownership types
- Sound State Encodings in Translational Separation Logic Verifiers cites Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language
- Sound State Encodings in Translational Separation Logic Verifiers cites Formal Foundations for Translational Separation Logic Verifiers
- Sound State Encodings in Translational Separation Logic Verifiers cites Compositional Symbolic Execution for the Next 700 Memory Models
- Sound State Encodings in Translational Separation Logic Verifiers cites Formally Validating a Practical Verification Condition Generator
- Compositional Symbolic Execution for the Next 700 Memory Models cites Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language
- Compositional Symbolic Execution for the Next 700 Memory Models cites Formal Foundations for Translational Separation Logic Verifiers
Cited by top-tier papers5
- Formal Foundations for Translational Separation Logic VerifiersThibault Dardinier, Michael Sammler, Gaurav Parthasarathy, Alexander J. Summers et al.POPL 2025 · 8 citations
- Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification LanguageGaurav Parthasarathy, Thibault Dardinier, Benjamin Bonneau, Peter Müller et al.PLDI 2024 · 6 citations
- Compositional Symbolic Execution for the Next 700 Memory ModelsAndreas Lööw, Seung Hoon Park, Daniele Nantes-Sobrinho, Sacha-Élie Ayoun et al.OOPSLA 2025 · 4 citations
- Reasoning about External CallsSophia Drossopoulou, Julian Mackay, Susan Eisenbach, James NobleOOPSLA 2025
- Sound State Encodings in Translational Separation Logic VerifiersHongyi Ling, Thibault Dardinier, Ellen Arlt, Peter MüllerOOPSLA 2026
Builds on4
- RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian et al.PLDI 2021 · 83 citations
- Diaframe: automated verification of fine-grained concurrent programs in IrisIke Mulder, Robbert Krebbers, Herman GeuversPLDI 2022 · 27 citations
- Formally Validating a Practical Verification Condition GeneratorGaurav Parthasarathy, Peter Müller, Alexander J. SummersCAV 2021 · 19 citations
- Gradual verification of recursive heap data structuresJenna Wise, Johannes Bader, Cameron Wong, Jonathan Aldrich et al.OOPSLA 2020 · 12 citations
Related papers
- Verification Algorithms for Automated Separation Logic VerifiersMarco Eilers, Malte Schwerhoff, Peter MüllerCAV 2024 · 5 citations
- Engineering a Formally Verified Automated Bug FinderArthur Correnson, Dominic SteinhöfelFSE 2023 · 6 citations
- Counterexample-Guided Inference of Modular SpecificationsWilliam T. Hallahan, Ranjit Jhala, Ruzica PiskacOOPSLA 2025 · 1 citation
- Live Verification in an Interactive Proof AssistantSamuel Gruetter, Viktor Fukala, Adam ChlipalaPLDI 2024 · 3 citations
- Corpse reviver: sound and efficient gradual typing via contract verificationCameron Moy, Phuc C. Nguyen, Sam Tobin-Hochstadt, David Van HornPOPL 2021 · 16 citations
