2023
DOI: 10.1145/3571254
|View full text |Cite
|
Sign up to set email alerts
|

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

Abstract: This paper introduces 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 coll… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
6
0

Year Published

2023
2023
2024
2024

Publication Types

Select...
5
1

Relationship

0
6

Authors

Journals

citations
Cited by 8 publications
(6 citation statements)
references
References 42 publications
0
6
0
Order By: Relevance
“…It is possible that a transition of the LAGC scheduler semantics has no counterpart in the original LAGC semantics. This is the case for rule (8) and will get more pronounced in the next section, where some tasks might not be able to progress.…”
Section: A Concrete Weakly Fair Scheduler For Spawnmentioning
confidence: 80%
See 4 more Smart Citations
“…It is possible that a transition of the LAGC scheduler semantics has no counterpart in the original LAGC semantics. This is the case for rule (8) and will get more pronounced in the next section, where some tasks might not be able to progress.…”
Section: A Concrete Weakly Fair Scheduler For Spawnmentioning
confidence: 80%
“…Existence. The application of the rotation rule (10) gives rise to a new case that is completely analogous to that of rule (8). The rest of the existence proof is unchanged.…”
Section: Lemma 3 (Scheduling Distance) Case 2 Of Lemma 2 Is Restated ...mentioning
confidence: 99%
See 3 more Smart Citations