Skip to content
Snippets Groups Projects
Commit 90c46b7b authored by Felix Wiemuth's avatar Felix Wiemuth
Browse files

Add explanatory comments

parent dbf236cd
No related branches found
No related tags found
No related merge requests found
(* This file implements the "S-F" transition system resource algebra from example 8.16. *) (* This file implements the "S-F" transition system resource algebra from example 8.16.
Note that usually this resource algebra would be defined using existing abstractions,
for example via "csumR (exclR unitO) unitR". For demonstration purposes, here it is
defined from scratch.
*)
From iris.heap_lang Require Import proofmode. From iris.heap_lang Require Import proofmode.
From iris.algebra Require Import frac. From iris.algebra Require Import frac.
...@@ -7,9 +11,9 @@ From iris.prelude Require Import options. ...@@ -7,9 +11,9 @@ From iris.prelude Require Import options.
Section RADefinitions. Section RADefinitions.
Inductive SF := Inductive SF :=
| S | S (* The starting state *)
| F | F (* The final state *)
| B. | B. (* The invalid element "bottom" *)
Canonical Structure SFRAC := leibnizO SF. Canonical Structure SFRAC := leibnizO SF.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment