Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simuliris
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
simuliris
Commits
0232e6a1
Verified
Commit
0232e6a1
authored
1 month ago
by
Johannes Hostert
Browse files
Options
Downloads
Patches
Plain Diff
add comment about nsteps
parent
dd28d249
No related branches found
No related tags found
1 merge request
!18
Tree Borrows update
Pipeline
#118434
passed
1 month ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/tree_borrows/read_read_reorder/equivalence_def.v
+1
-0
1 addition, 0 deletions
theories/tree_borrows/read_read_reorder/equivalence_def.v
with
1 addition
and
0 deletions
theories/tree_borrows/read_read_reorder/equivalence_def.v
+
1
−
0
View file @
0232e6a1
...
@@ -6,6 +6,7 @@ From iris.prelude Require Import options.
...
@@ -6,6 +6,7 @@ From iris.prelude Require Import options.
(* [nsteps ... n] says that one can transition from one state to the other in exactly [n]
(* [nsteps ... n] says that one can transition from one state to the other in exactly [n]
primitive steps. *)
primitive steps. *)
(* This is similar to stdpp's [nsteps], except that this one computes more nicely for fixed [n]. *)
Fixpoint
nsteps
P
(
e
:
expr
)
σ
e''
σ''
n
:
Prop
:=
match
n
with
Fixpoint
nsteps
P
(
e
:
expr
)
σ
e''
σ''
n
:
Prop
:=
match
n
with
0
=>
e
=
e''
∧
σ
=
σ''
0
=>
e
=
e''
∧
σ
=
σ''
|
S
n
=>
∃
e'
σ'
,
prim_step
P
e
σ
e'
σ'
nil
∧
nsteps
P
e'
σ'
e''
σ''
n
end
.
|
S
n
=>
∃
e'
σ'
,
prim_step
P
e
σ
e'
σ'
nil
∧
nsteps
P
e'
σ'
e''
σ''
n
end
.
...
...
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