Sound Gradual Verification with Symbolic Execution
Conrad Zimmerman, Jenna DiVincenzo, Jonathan Aldrich
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language 引用了 Formally Validating a Practical Verification Condition Generator
- Reasoning about External Calls 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
- Formal Foundations for Translational Separation Logic Verifiers 引用了 Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language
- Formal Foundations for Translational Separation Logic Verifiers 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
- Formal Foundations for Translational Separation Logic Verifiers 引用了 Formally Validating a Practical Verification Condition Generator
- Diaframe: automated verification of fine-grained concurrent programs in Iris 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
- Sound State Encodings in Translational Separation Logic Verifiers 引用了 Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language
- Sound State Encodings in Translational Separation Logic Verifiers 引用了 Formal Foundations for Translational Separation Logic Verifiers
- Sound State Encodings in Translational Separation Logic Verifiers 引用了 Compositional Symbolic Execution for the Next 700 Memory Models
- Sound State Encodings in Translational Separation Logic Verifiers 引用了 Formally Validating a Practical Verification Condition Generator
- Compositional Symbolic Execution for the Next 700 Memory Models 引用了 Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification Language
- Compositional Symbolic Execution for the Next 700 Memory Models 引用了 Formal Foundations for Translational Separation Logic Verifiers
引用它的顶会 Paper5
- Formal Foundations for Translational Separation Logic VerifiersThibault Dardinier, Michael Sammler, Gaurav Parthasarathy, Alexander J. Summers 等POPL 2025 · 8 次引用
- Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification LanguageGaurav Parthasarathy, Thibault Dardinier, Benjamin Bonneau, Peter Müller 等PLDI 2024 · 6 次引用
- Compositional Symbolic Execution for the Next 700 Memory ModelsAndreas Lööw, Seung Hoon Park, Daniele Nantes-Sobrinho, Sacha-Élie Ayoun 等OOPSLA 2025 · 4 次引用
- 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
它引用的 Paper4
- RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian 等PLDI 2021 · 83 次引用
- Diaframe: automated verification of fine-grained concurrent programs in IrisIke Mulder, Robbert Krebbers, Herman GeuversPLDI 2022 · 27 次引用
- Formally Validating a Practical Verification Condition GeneratorGaurav Parthasarathy, Peter Müller, Alexander J. SummersCAV 2021 · 19 次引用
- Gradual verification of recursive heap data structuresJenna Wise, Johannes Bader, Cameron Wong, Jonathan Aldrich 等OOPSLA 2020 · 12 次引用
相关 Paper
- Verification Algorithms for Automated Separation Logic VerifiersMarco Eilers, Malte Schwerhoff, Peter MüllerCAV 2024 · 5 次引用
- Engineering a Formally Verified Automated Bug FinderArthur Correnson, Dominic SteinhöfelFSE 2023 · 6 次引用
- Counterexample-Guided Inference of Modular SpecificationsWilliam T. Hallahan, Ranjit Jhala, Ruzica PiskacOOPSLA 2025 · 1 次引用
- Live Verification in an Interactive Proof AssistantSamuel Gruetter, Viktor Fukala, Adam ChlipalaPLDI 2024 · 3 次引用
- Corpse reviver: sound and efficient gradual typing via contract verificationCameron Moy, Phuc C. Nguyen, Sam Tobin-Hochstadt, David Van HornPOPL 2021 · 16 次引用
