Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
examples
Commits
90c46b7b
Commit
90c46b7b
authored
2 years ago
by
Felix Wiemuth
Browse files
Options
Downloads
Patches
Plain Diff
Add explanatory comments
parent
dbf236cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/lecture_notes/sfra.v
+8
-4
8 additions, 4 deletions
theories/lecture_notes/sfra.v
with
8 additions
and
4 deletions
theories/lecture_notes/sfra.v
+
8
−
4
View file @
90c46b7b
(* 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
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment