Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
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
Simcha van Collem
Iris
Commits
12f8178f
Commit
12f8178f
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Steps are preserved by permutations.
parent
ae510d09
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
opam
+1
-1
1 addition, 1 deletion
opam
opam.pins
+1
-1
1 addition, 1 deletion
opam.pins
theories/program_logic/language.v
+10
-0
10 additions, 0 deletions
theories/program_logic/language.v
with
12 additions
and
2 deletions
opam
+
1
−
1
View file @
12f8178f
...
@@ -12,5 +12,5 @@ remove: ["sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/iris'"]
...
@@ -12,5 +12,5 @@ remove: ["sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/iris'"]
depends: [
depends: [
"coq" { >= "8.6.1" & < "8.8~" }
"coq" { >= "8.6.1" & < "8.8~" }
"coq-mathcomp-ssreflect" { (>= "1.6.1" & < "1.7~") | (= "dev") }
"coq-mathcomp-ssreflect" { (>= "1.6.1" & < "1.7~") | (= "dev") }
"coq-stdpp" { (= "dev.2017-09-2
1.2
") | (= "dev") }
"coq-stdpp" { (= "dev.2017-09-2
4.0
") | (= "dev") }
]
]
This diff is collapsed.
Click to expand it.
opam.pins
+
1
−
1
View file @
12f8178f
coq-stdpp https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp
2f9f3d3f28aa568f5cbee1be5699f163800491c0
coq-stdpp https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp
4ea9c34a9c58a13aae97b4cc7f75fc862bdfcc7c
This diff is collapsed.
Click to expand it.
theories/program_logic/language.v
+
10
−
0
View file @
12f8178f
...
@@ -83,4 +83,14 @@ Section language.
...
@@ -83,4 +83,14 @@ Section language.
Lemma
irreducible_fill
`{
LanguageCtx
Λ
K
}
e
σ
:
Lemma
irreducible_fill
`{
LanguageCtx
Λ
K
}
e
σ
:
to_val
e
=
None
→
irreducible
e
σ
→
irreducible
(
K
e
)
σ
.
to_val
e
=
None
→
irreducible
e
σ
→
irreducible
(
K
e
)
σ
.
Proof
.
rewrite
-!
not_reducible
.
naive_solver
eauto
using
reducible_fill
.
Qed
.
Proof
.
rewrite
-!
not_reducible
.
naive_solver
eauto
using
reducible_fill
.
Qed
.
Lemma
step_Permutation
(
t1
t1'
t2
:
list
(
expr
Λ
))
σ1
σ2
:
t1
≡
ₚ
t1'
→
step
(
t1
,
σ1
)
(
t2
,
σ2
)
→
∃
t2'
,
t2
≡
ₚ
t2'
∧
step
(
t1'
,
σ1
)
(
t2'
,
σ2
)
.
Proof
.
intros
Ht
[
e1
σ1'
e2
σ2'
efs
tl
tr
??
Hstep
];
simplify_eq
/=.
move
:
Ht
;
rewrite
-
Permutation_middle
(
symmetry_iff
(
≡
ₚ
))
.
intros
(
tl'
&
tr'
&
->
&
Ht
)
%
Permutation_cons_inv
.
exists
(
tl'
++
e2
::
tr'
++
efs
);
split
;
[|
by
econstructor
]
.
by
rewrite
-!
Permutation_middle
!
assoc_L
Ht
.
Qed
.
End
language
.
End
language
.
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