摘要
Intermediate verification languages like Why3 and Boogie have made it much easier to build program verifiers, transforming the process into a logic compilation problem rather than a proof automation one. Why3 in particular implements a rich logic for program specification with polymorphism, algebraic data types, recursive functions and predicates, and inductive predicates; it translates this logic to over a dozen solvers and proof assistants. Accordingly, it serves as a backend for many tools, including Frama-C, EasyCrypt, and GNATProve for Ada SPARK. But how can we be sure that these tools are correct? The alternate foundational approach, taken by tools like VST and CakeML, provides strong guarantees by implementing the entire toolchain in a proof assistant, but these tools are harder to build and cannot directly take advantage of SMT solver automation. As a first step toward enabling automated tools with similar foundational guarantees, we give a formal semantics in Coq for the logic fragment of Why3. We show that our semantics are useful by giving a correct-by-construction natural deduction proof system for this logic, using this proof system to verify parts of Why3’s standard library, and proving sound two of Why3’s transformations used to convert terms and formulas into the simpler logics supported by the backend solvers.
问 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
- RefinedC: automating the foundational verification of C code with refined ownership types 引用了 VST-A: A Foundationally Sound Annotation Verifier
- VST-A: A Foundationally Sound Annotation Verifier 引用了 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
- 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
- VST-A: A Foundationally Sound Annotation VerifierLitao Zhou, Jianxing Qin, Qinshi Wang, Andrew W. Appel 等POPL 2024 · 12 次引用
- 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 次引用
- 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 次引用
- Integration verification across software and hardware for a simple embedded systemAndres Erbsen, Samuel Gruetter, Joonwon Choi, Clark Wood 等PLDI 2021 · 29 次引用
- Formally Validating a Practical Verification Condition GeneratorGaurav Parthasarathy, Peter Müller, Alexander J. SummersCAV 2021 · 19 次引用
- VST-A: A Foundationally Sound Annotation VerifierLitao Zhou, Jianxing Qin, Qinshi Wang, Andrew W. Appel 等POPL 2024 · 12 次引用
相关 Paper
- Foundational Multi-Modal Program VerifiersVladimir Gladshtein, George Pîrlea, Qiyuan Zhao, Vitaly Kurin 等POPL 2026 · 4 次引用
- Generically Automating Separation Logic by Functors, Homomorphisms, and ModulesQiyuan Xu, David Sanán, Zhe Hou, Xiaokun Luan 等POPL 2025
- Generating Proof Certificates for a Language-Agnostic Deductive Program VerifierZhengyao Lin, Xiaohong Chen, Minh-Thai Trinh, John Wang 等OOPSLA 2023 · 12 次引用
- Diaframe: automated verification of fine-grained concurrent programs in IrisIke Mulder, Robbert Krebbers, Herman GeuversPLDI 2022 · 27 次引用
- An Iris Instance for Verifying CompCert C ProgramsWilliam Mansky, Ke DuPOPL 2024 · 14 次引用
