Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
4767c8f9
Commit
4767c8f9
authored
Jul 14, 2019
by
Dan Frumin
Committed by
Robbert Krebbers
Jul 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `head_prim_fill_reducible`.
A more general implication from `head_reducible` to `reducible`.
parent
9b77b750
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
theories/program_logic/ectx_language.v
theories/program_logic/ectx_language.v
+15
-0
No files found.
theories/program_logic/ectx_language.v
View file @
4767c8f9
...
...
@@ -151,8 +151,23 @@ Section ectx_language.
Lemma
not_head_reducible
e
σ
:
¬
head_reducible
e
σ
↔
head_irreducible
e
σ
.
Proof
.
unfold
head_reducible
,
head_irreducible
.
naive_solver
.
Qed
.
Lemma
fill_prim_step
K
e1
σ
1
κ
e2
σ
2
efs
:
prim_step
e1
σ
1
κ
e2
σ
2
efs
→
prim_step
(
fill
K
e1
)
σ
1
κ
(
fill
K
e2
)
σ
2
efs
.
Proof
.
destruct
1
as
[
K'
e1'
e2'
->
->].
rewrite
!
fill_comp
.
by
econstructor
.
Qed
.
Lemma
fill_reducible
K
e
σ
:
reducible
e
σ
→
reducible
(
fill
K
e
)
σ
.
Proof
.
intros
(
κ
&
e'
&
σ
'
&
efs
&?).
exists
κ
,
(
fill
K
e'
),
σ
'
,
efs
.
by
apply
fill_prim_step
.
Qed
.
Lemma
head_prim_reducible
e
σ
:
head_reducible
e
σ
→
reducible
e
σ
.
Proof
.
intros
(
κ
&
e'
&
σ
'
&
efs
&?).
eexists
κ
,
e'
,
σ
'
,
efs
.
by
apply
head_prim_step
.
Qed
.
Lemma
head_prim_fill_reducible
e
K
σ
:
head_reducible
e
σ
→
reducible
(
fill
K
e
)
σ
.
Proof
.
intro
.
by
apply
fill_reducible
,
head_prim_reducible
.
Qed
.
Lemma
head_prim_reducible_no_obs
e
σ
:
head_reducible_no_obs
e
σ
→
reducible_no_obs
e
σ
.
Proof
.
intros
(
e'
&
σ
'
&
efs
&?).
eexists
e'
,
σ
'
,
efs
.
by
apply
head_prim_step
.
Qed
.
Lemma
head_prim_irreducible
e
σ
:
irreducible
e
σ
→
head_irreducible
e
σ
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment