Conditional Contextual Refinement
Youngju Song, Minki Cho, Dongjae Lee, Chung-Kil Hur, Michael Sammler, Derek Dreyer
摘要
Much work in formal verification of low-level systems is based on one of two approaches: refinement or separation logic. These two approaches have complementary benefits: refinement supports the use of programs as specifications, as well as transitive composition of proofs, whereas separation logic supports conditional specifications, as well as modular ownership reasoning about shared state. A number of verification frameworks employ these techniques in tandem, but in all such cases the benefits of the two techniques remain separate. For example, in frameworks that use relational separation logic to prove contextual refinement, the relational separation logic judgment does not support transitive composition of proofs, while the contextual refinement judgment does not support conditional specifications. In this paper, we propose Conditional Contextual Refinement (or CCR, for short), the first verification system to not only combine refinement and separation logic in a single framework but also to truly marry them together into a unified mechanism enjoying all the benefits of refinement and separation logic simultaneously. Specifically, unlike in prior work, CCR’s refinement specifications are both conditional (with separation logic pre- and post-conditions) and transitively composable. We implement CCR in Coq and evaluate its effectiveness on a range of interesting examples.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Melocoton: A Program Logic for Verified Interoperability Between OCaml and C 引用了 DimSum: A Decentralized Approach to Multi-language Semantics and Verification
- Melocoton: A Program Logic for Verified Interoperability Between OCaml and C 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
- DimSum: A Decentralized Approach to Multi-language Semantics and Verification 引用了 Interaction trees: representing recursive and impure programs in Coq
- DimSum: A Decentralized Approach to Multi-language Semantics and Verification 引用了 Simuliris: a separation logic framework for verifying concurrent program optimizations
- DimSum: A Decentralized Approach to Multi-language Semantics and Verification 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
- Fair Operational Semantics 引用了 Interaction trees: representing recursive and impure programs in Coq
- Fair Operational Semantics 引用了 Simuliris: a separation logic framework for verifying concurrent program optimizations
- Fully Composable and Adequate Verified Compilation with Direct Refinements between Open Modules 引用了 DimSum: A Decentralized Approach to Multi-language Semantics and Verification
- Fully Composable and Adequate Verified Compilation with Direct Refinements between Open Modules 引用了 Interaction trees: representing recursive and impure programs in Coq
- Fully Composable and Adequate Verified Compilation with Direct Refinements between Open Modules 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
- Simuliris: a separation logic framework for verifying concurrent program optimizations 引用了 Interaction trees: representing recursive and impure programs in Coq
- Stuttering for Free 引用了 DimSum: A Decentralized Approach to Multi-language Semantics and Verification
- Stuttering for Free 引用了 Fair Operational Semantics
- Stuttering for Free 引用了 Interaction trees: representing recursive and impure programs in Coq
- Stuttering for Free 引用了 Simuliris: a separation logic framework for verifying concurrent program optimizations
- Stuttering for Free 引用了 Armada: low-effort verification of high-performance concurrent programs
- Stuttering for Free 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
引用它的顶会 Paper19
- DimSum: A Decentralized Approach to Multi-language Semantics and VerificationMichael Sammler, Simon Spies, Youngju Song, Emanuele D'Osualdo 等POPL 2023 · 18 次引用
- Stuttering for FreeMinki Cho, Youngju Song, Dongjae Lee, Lennard Gäher 等OOPSLA 2023 · 11 次引用
- Melocoton: A Program Logic for Verified Interoperability Between OCaml and CArmaël Guéneau, Johannes Hostert, Simon Spies, Michael Sammler 等OOPSLA 2023 · 10 次引用
- Fair Operational SemanticsDongjae Lee, Minki Cho, Jinwoo Kim, Soonwon Moon 等PLDI 2023 · 10 次引用
- Fully Composable and Adequate Verified Compilation with Direct Refinements between Open ModulesLing Zhang, Yuting Wang, Jinhua Wu, Jérémie Koenig 等POPL 2024 · 10 次引用
它引用的 Paper6
- Interaction trees: representing recursive and impure programs in CoqLi-yao Xia, Yannick Zakowski, Paul He, Chung-Kil Hur 等POPL 2020 · 133 次引用
- A Secure and Formally Verified Linux KVM HypervisorShih-Wei Li, Xupeng Li, Ronghui Gu, Jason Nieh 等S&P 2021 · 72 次引用
- CompCertM: CompCert with C-assembly linking and lightweight modular verificationYoungju Song, Minki Cho, Dongjoo Kim, Yonghyun Kim 等POPL 2020 · 49 次引用
- Simuliris: a separation logic framework for verifying concurrent program optimizationsLennard Gäher, Michael Sammler, Simon Spies, Ralf Jung 等POPL 2022 · 33 次引用
- Armada: low-effort verification of high-performance concurrent programsJacob R. Lorch, Yixuan Chen, Manos Kapritsos, Bryan Parno 等PLDI 2020 · 25 次引用
相关 Paper
- CRIS: The Power of Imagination in Hybrid VerificationYonghee Kim, Taeyoung Yoon, Sanghyun Yi, Jaehyung Lee 等PLDI 2026
- RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian 等PLDI 2021 · 83 次引用
- Proof Automation for Linearizability in Separation LogicIke Mulder, Robbert KrebbersOOPSLA 2023 · 8 次引用
- Compositional Non-Interference for Fine-Grained Concurrent ProgramsDan Frumin, Robbert Krebbers, Lars BirkedalS&P 2021 · 20 次引用
- A Verified Foreign Function Interface between Coq and CJoomy Korkut, Kathrin Stark, Andrew W. AppelPOPL 2025 · 3 次引用
