Lune

POPL2023顶会

DimSum: A Decentralized Approach to Multi-language Semantics and Verification

Michael Sammler, Simon Spies, Youngju Song, Emanuele D'Osualdo, Robbert Krebbers, Deepak Garg, Derek Dreyer

摘要

Prior work on multi-language program verification has achieved impressive results, including the compositional verification of complex compilers. But the existing approaches to this problem impose a variety of restrictions on the overall structure of multi-language programs (e.g., fixing the source language, fixing the set of involved languages, fixing the memory model, or fixing the semantics of interoperation). In this paper, we explore the problem of how to avoid such global restrictions.

Concretely, we present DimSum: a new, decentralized approach to multi-language semantics and verification, which we have implemented in the Coq proof assistant. Decentralization means that we can define and reason about languages independently from each other (as independent modules communicating via events), but also combine and translate between them when necessary (via a library of combinators).

We apply DimSum to a high-level imperative language Rec (with an abstract memory model and function calls), a low-level assembly language Asm (with a concrete memory model, arbitrary jumps, and syscalls), and a mathematical specification language Spec. We evaluate DimSum on two case studies: an Asm library extending Rec with support for pointer comparison, and a coroutine library for Rec written in Asm. In both cases, we show how DimSum allows the Asm libraries to be abstracted to Rec-level specifications, despite the behavior of the Asm libraries not being syntactically expressible in Rec itself. We also verify an optimizing multi-pass compiler from Rec to Asm, showing that it is compatible with these Asm libraries.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Melocoton: A Program Logic for Verified Interoperability Between OCaml and C 引用了 Iris-Wasm: Robust and Modular Verification of WebAssembly Programs
  • Melocoton: A Program Logic for Verified Interoperability Between OCaml and C 引用了 Conditional Contextual Refinement
  • Melocoton: A Program Logic for Verified Interoperability Between OCaml and C 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
  • Fully Composable and Adequate Verified Compilation with Direct Refinements between Open Modules 引用了 Conditional Contextual Refinement
  • 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
  • Conditional Contextual Refinement 引用了 Interaction trees: representing recursive and impure programs in Coq
  • Conditional Contextual Refinement 引用了 Simuliris: a separation logic framework for verifying concurrent program optimizations
  • Conditional Contextual Refinement 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
  • An Iris Instance for Verifying CompCert C Programs 引用了 Melocoton: A Program Logic for Verified Interoperability Between OCaml and C
  • An Iris Instance for Verifying CompCert C Programs 引用了 Iris-Wasm: Robust and Modular Verification of WebAssembly Programs
  • Simuliris: a separation logic framework for verifying concurrent program optimizations 引用了 Interaction trees: representing recursive and impure programs in Coq
  • Stuttering for Free 引用了 Conditional Contextual Refinement
  • 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 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. Iris-Wasm: Robust and Modular Verification of WebAssembly ProgramsXiaojia Rao, Aïna Linn Georges, Maxime Legoupil, Conrad Watt 等PLDI 2023 · 19 次引用
  2. An Iris Instance for Verifying CompCert C ProgramsWilliam Mansky, Ke DuPOPL 2024 · 14 次引用
  3. Stuttering for FreeMinki Cho, Youngju Song, Dongjae Lee, Lennard Gäher 等OOPSLA 2023 · 11 次引用
  4. Melocoton: A Program Logic for Verified Interoperability Between OCaml and CArmaël Guéneau, Johannes Hostert, Simon Spies, Michael Sammler 等OOPSLA 2023 · 10 次引用
  5. Fully Composable and Adequate Verified Compilation with Direct Refinements between Open ModulesLing Zhang, Yuting Wang, Jinhua Wu, Jérémie Koenig 等POPL 2024 · 10 次引用

它引用的 Paper9

  1. Interaction trees: representing recursive and impure programs in CoqLi-yao Xia, Yannick Zakowski, Paul He, Chung-Kil Hur 等POPL 2020 · 133 次引用
  2. CompCertM: CompCert with C-assembly linking and lightweight modular verificationYoungju Song, Minki Cho, Dongjoo Kim, Yonghyun Kim 等POPL 2020 · 49 次引用
  3. Simuliris: a separation logic framework for verifying concurrent program optimizationsLennard Gäher, Michael Sammler, Simon Spies, Ralf Jung 等POPL 2022 · 33 次引用
  4. Conditional Contextual RefinementYoungju Song, Minki Cho, Dongjae Lee, Chung-Kil Hur 等POPL 2023 · 29 次引用
  5. Islaris: verification of machine code against authoritative ISA semanticsMichael Sammler, Angus Hammond, Rodolphe Lepigre, Brian Campbell 等PLDI 2022 · 28 次引用

相关 Paper

  1. Pyrosome: Verified Compilation for Modular MetatheoryDustin Jamner, Gabriel Kammer, Ritam Nag, Adam ChlipalaOOPSLA 2025
  2. Foundational Multi-Modal Program VerifiersVladimir Gladshtein, George Pîrlea, Qiyuan Zhao, Vitaly Kurin 等POPL 2026 · 4 次引用
  3. Unifying Compositional Verification and Certified Compilation with a Three-Dimensional Refinement AlgebraYu Zhang, Jérémie Koenig, Zhong Shao, Yuting WangPOPL 2025 · 2 次引用
  4. Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processesDavid Castro-Perez, Francisco Ferreira, Lorenzo Gheri, Nobuko YoshidaPLDI 2021 · 25 次引用
  5. Generating Proof Certificates for a Language-Agnostic Deductive Program VerifierZhengyao Lin, Xiaohong Chen, Minh-Thai Trinh, John Wang 等OOPSLA 2023 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖