Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Iris
Commits
8c6c9404
Commit
8c6c9404
authored
Nov 24, 2017
by
Ralf Jung
Browse files
pure_exec_ctx is a too general instance
parent
b4d7c4ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
theories/program_logic/ectx_language.v
View file @
8c6c9404
...
...
@@ -205,6 +205,12 @@ Section ectx_language.
eexists
e2'
,
σ
2
,
efs
.
by
apply
head_prim_step
.
-
intros
σ
1 e2
'
σ
2
efs
?
?%
head_reducible_prim_step
;
eauto
.
Qed
.
Global
Instance
pure_exec_fill
K
e1
e2
φ
:
PureExec
φ
e1
e2
→
PureExec
φ
(
fill
K
e1
)
(
fill
K
e2
).
Proof
.
apply
:
pure_exec_ctx
.
Qed
.
End
ectx_language
.
Arguments
ectx_lang
:
clear
implicits
.
...
...
theories/program_logic/language.v
View file @
8c6c9404
...
...
@@ -140,7 +140,8 @@ Section language.
PureExec
P
e1
e2
.
Proof
.
intros
HPE
.
split
;
intros
;
eapply
HPE
;
eauto
.
Qed
.
Global
Instance
pure_exec_ctx
K
`
{
LanguageCtx
Λ
K
}
e1
e2
φ
:
(* We do not make this an instance because it is awfully general. *)
Lemma
pure_exec_ctx
K
`
{
LanguageCtx
Λ
K
}
e1
e2
φ
:
PureExec
φ
e1
e2
→
PureExec
φ
(
K
e1
)
(
K
e2
).
Proof
.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment