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
cd6af6f0
Verified
Commit
cd6af6f0
authored
7 months ago
by
Johannes Hostert
Browse files
Options
Downloads
Patches
Plain Diff
actually split simulation def and proof
parent
a7398640
No related branches found
No related tags found
1 merge request
!18
Tree Borrows update
Pipeline
#111130
passed
7 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/tree_borrows/read_read_reorder/refinement.v
+1
-11
1 addition, 11 deletions
theories/tree_borrows/read_read_reorder/refinement.v
with
1 addition
and
11 deletions
theories/tree_borrows/read_read_reorder/refinement.v
+
1
−
11
View file @
cd6af6f0
From
iris
.
prelude
Require
Import
prelude
options
.
From
stdpp
Require
Export
gmap
.
From
simuliris
.
tree_borrows
Require
Import
defs
lang_base
lang
notation
bor_semantics
tree
tree_lemmas
bor_lemmas
steps_preserve
tactics
class_instances
refinement_def
.
From
simuliris
.
tree_borrows
.
read_read_reorder
Require
Import
low_level
.
From
simuliris
.
tree_borrows
.
read_read_reorder
Require
Import
low_level
refinement_def
.
From
iris
.
prelude
Require
Import
options
.
Fixpoint
nsteps
P
(
e
:
expr
)
σ
e''
σ''
n
:
Prop
:=
match
n
with
0
=>
e
=
e''
∧
σ
=
σ''
|
S
n
=>
∃
e'
σ'
,
prim_step
P
e
σ
e'
σ'
nil
∧
nsteps
P
e'
σ'
e''
σ''
n
end
.
(* An extremely simple simulation relation: After n steps, all actions on one side are reproducible in the other *)
Definition
identical_states_after
P
e1
e2
σ
n
:=
∀
e'
σ'
,
nsteps
P
e1
σ
e'
σ'
n
→
nsteps
P
e2
σ
e'
σ'
n
.
Definition
source
(
x1
x2
:
string
)
l1
tg1
sz1
l2
tg2
sz2
erest
:
expr
:=
let
:
x1
:=
Copy
(
Place
l1
tg1
sz1
)
in
let
:
x2
:=
Copy
(
Place
l2
tg2
sz2
)
in
...
...
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