Opening book details…
Can I read Choice Trees: Representing Nondeterministic, Recursive, and Impure Programs in Coq on EtoBox?
Choice Trees: Representing Nondeterministic, Recursive, and Impure Programs in Coq by Chappe, Nicolas; He, Paul; Henrio, Ludovic; Zakowski, Yannick; Zdancewic, Steve is a scholarly article available to read on EtoBox.
What is Choice Trees: Representing Nondeterministic, Recursive, and Impure Programs in Coq about?
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.
- Author
- Chappe, Nicolas; He, Paul; Henrio, Ludovic; Zakowski, Yannick; Zdancewic, Steve
- Published
- 2022
- Language
- EN
More by Chappe, Nicolas; He, Paul; Henrio, Ludovic; Zakowski, Yannick; Zdancewic, Steve
Browse all works by Chappe, Nicolas; He, Paul; Henrio, Ludovic; Zakowski, Yannick; Zdancewic, Steve