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
2407263c
Commit
2407263c
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Optimize proof of step_is_head.
parent
05c16632
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
program_logic/ectxi_language.v
+5
-6
5 additions, 6 deletions
program_logic/ectxi_language.v
with
5 additions
and
6 deletions
program_logic/ectxi_language.v
+
5
−
6
View file @
2407263c
...
...
@@ -88,15 +88,14 @@ Section ectxi_language.
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'
σ
)
→
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
.
apply
fill_step_inv
in
Hstep
as
(
e2'
&
_
&
Hstep
);
last
done
.
clear
K
.
destruct
Hstep
as
[[|
Ki
K
]
e1'
e2''
->
->
Hstep
];
[
red
;
eauto
|]
.
destruct
(
Hnondecomp
Ki
K
e1'
);
unfold
head_reducible
;
eauto
.
Qed
.
End
ectxi_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