Lune

POPL2023顶会

Choice Trees: Representing Nondeterministic, Recursive, and Impure Programs in Coq

Nicolas Chappe, Paul He, Ludovic Henrio, Yannick Zakowski, Steve Zdancewic

摘要

This paper introduces Choice Trees (CTrees), a monad for modeling nondeterministic, recursive, and impure programs in Coq. Inspired by Xia et al.'s ITrees, this novel data structure embeds computations into coinductive trees with three kind of nodes: external events, and two variants of nondeterministic branching. This apparent redundancy allows us to provide shallow embedding of denotational models with internal choice in the style of ccs, while recovering an inductive LTS view of the computation. CTrees inherit a vast collection of bisimulation and refinement tools, with respect to which we establish a rich equational theory.

We connect CTrees to the ITrees infrastructure by showing how a monad morphism embedding the former into the latter permits to use CTrees to implement nondeterministic effects. We demonstrate the utility of CTrees by using them to model concurrency semantics in two case studies: ccs and cooperative multithreading.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A HAT Trick: Automatically Verifying Representation Invariants using Symbolic Finite Automata 引用了 Interaction trees: representing recursive and impure programs in Coq
  • ArchSem: Reusable Rigorous Semantics of Relaxed Architectures 引用了 Interaction trees: representing recursive and impure programs in Coq
  • Refinement-Based Game Semantics for Certified Abstraction Layers 引用了 Interaction trees: representing recursive and impure programs in Coq
  • 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 引用了 Promising 2.0: global optimizations in relaxed memory concurrency
  • Program Logics à la Carte 引用了 Interaction trees: representing recursive and impure programs in Coq
  • C4: verified transactional objects 引用了 Interaction trees: representing recursive and impure programs in Coq
  • Stuttering for Free 引用了 Refinement-Based Game Semantics for Certified Abstraction Layers
  • Stuttering for Free 引用了 Interaction trees: representing recursive and impure programs in Coq
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Stuttering for FreeMinki Cho, Youngju Song, Dongjae Lee, Lennard Gäher 等OOPSLA 2023 · 11 次引用
  2. Fully Composable and Adequate Verified Compilation with Direct Refinements between Open ModulesLing Zhang, Yuting Wang, Jinhua Wu, Jérémie Koenig 等POPL 2024 · 10 次引用
  3. A HAT Trick: Automatically Verifying Representation Invariants using Symbolic Finite AutomataZhe Zhou, Qianchuan Ye, Benjamin Delaware, Suresh JagannathanPLDI 2024 · 7 次引用
  4. Program Logics à la CarteMax Vistrup, Michael Sammler, Ralf JungPOPL 2025 · 4 次引用
  5. ArchSem: Reusable Rigorous Semantics of Relaxed ArchitecturesThibaut Pérami, Thomas Bauereiss, Brian Campbell, Zongyuan Liu 等POPL 2026 · 1 次引用

它引用的 Paper6

  1. Interaction trees: representing recursive and impure programs in CoqLi-yao Xia, Yannick Zakowski, Paul He, Chung-Kil Hur 等POPL 2020 · 133 次引用
  2. Promising 2.0: global optimizations in relaxed memory concurrencySung-Hwan Lee, Minki Cho, Anton Podkopaev, Soham Chakraborty 等PLDI 2020 · 48 次引用
  3. The next 700 relational program logicsKenji Maillard, Catalin Hritcu, Exequiel Rivas, Antoine Van MuylderPOPL 2020 · 41 次引用
  4. C4: verified transactional objectsMohsen Lesani, Li-yao Xia, Anders Kaseorg, Christian J. Bell 等OOPSLA 2022 · 27 次引用
  5. Refinement-Based Game Semantics for Certified Abstraction LayersJérémie Koenig, Zhong ShaoLICS 2020 · 17 次引用

相关 Paper

  1. Dijkstra monads forever: termination-sensitive specifications for interaction treesLucas Silver, Steve ZdancewicPOPL 2021 · 17 次引用
  2. Reasoning about recursive tree traversalsYanjun Wang, Jinwei Liu, Dalin Zhang, Xiaokang QiuPPoPP 2021 · 4 次引用
  3. Probabilistic Strategies: Definability and the Tensor Completeness ProblemNathan J. Bowler, Sergey Goncharov, Paul Blain LevyLICS 2025
  4. Thin Coalgebraic Behaviours Are InductiveAnton Chernev, Corina Cîrstea, Helle Hvid Hansen, Clemens KupkeLICS 2025
  5. Combining Nondeterminism, Probability, and Termination: Equational and Metric ReasoningMatteo Mio, Ralph Sarkis, Valeria VignudelliLICS 2021 · 14 次引用
黄昏的海面,两侧是细线勾勒的悬崖