Skip to content

Commit

Permalink
Add reference to the language codatatype
Browse files Browse the repository at this point in the history
  • Loading branch information
jeltsch committed Aug 9, 2023
1 parent 216895b commit 80366ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Ouroboros-Mini_Protocols.thy
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ text \<open>
codatatype 'm possibilities =
Possibilities (agent: \<open>party\<close>) (can_finish: \<open>bool\<close>) (next_possibilities: \<open>'m \<rightharpoonup> 'm possibilities\<close>)

text \<open>
Note that besides the additional \<^const>\<open>agent\<close> field, the \<^type>\<open>possibilities\<close> type
corresponds exactly to the \<open>language\<close> type introduced in Subsection~2.2 of the \<^emph>\<open>corec\<close>
tutorial.
\<close>

text \<open>
Possibilities always denote a situation where at least one message will still be transmitted. The
\<^const>\<open>can_finish\<close> field being \<^const>\<open>True\<close> signals that it is possible for adonemessage
Expand Down

0 comments on commit 80366ba

Please sign in to comment.