Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tej Chajed
iris
Commits
fa3141d2
Commit
fa3141d2
authored
Dec 08, 2016
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add lemma about readucing ectxi-languages
parent
6f093ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
program_logic/ectxi_language.v
program_logic/ectxi_language.v
+13
-0
No files found.
program_logic/ectxi_language.v
View file @
fa3141d2
...
...
@@ -86,4 +86,17 @@ Section ectxi_language.
Global
Instance
ectxi_lang_ctx_item
Ki
:
LanguageCtx
(
ectx_lang
expr
)
(
fill_item
Ki
).
Proof
.
change
(
LanguageCtx
_
(
fill
[
Ki
])).
apply
_
.
Qed
.
Lemma
step_is_head
K
e
σ
:
to_val
e
=
None
→
(
∀
Ki
K
e'
,
e
=
fill
(
Ki
::
K
)
e'
→
¬
head_reducible
e'
σ
)
→
reducible
(
fill
K
e
)
σ
→
head_reducible
e
σ
.
Proof
.
intros
Hnonval
Hnondecomp
(
e'
&
σ
''
&
ef
&
Hstep
).
change
fill
with
ectx_language
.
fill
in
Hstep
.
apply
fill_step_inv
in
Hstep
;
last
done
.
destruct
Hstep
as
(
e2'
&
_
&
Hstep
).
clear
K
.
destruct
Hstep
as
[
K
e1'
e2''
??
Hstep
].
subst
.
destruct
K
as
[|
K0
K
].
{
rewrite
fill_empty
in
Hnonval
.
subst
.
eexists
;
eauto
.
}
exfalso
.
eapply
Hnondecomp
;
first
done
.
do
3
eexists
.
done
.
Qed
.
End
ectxi_language
.
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