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
Gaëtan Gilbert
Iris
Commits
59562238
Commit
59562238
authored
6 years ago
by
Ralf Jung
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'master'
fix `head_stuck` See merge request FP/iris-coq!144
parents
a70caa4b
67bef9f9
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
theories/program_logic/ectx_language.v
+3
-4
3 additions, 4 deletions
theories/program_logic/ectx_language.v
with
3 additions
and
4 deletions
theories/program_logic/ectx_language.v
+
3
−
4
View file @
59562238
...
...
@@ -101,7 +101,7 @@ Section ectx_language.
Definition
head_irreducible
(
e
:
expr
Λ
)
(
σ
:
state
Λ
)
:=
∀
e'
σ'
efs
,
¬
head_step
e
σ
e'
σ'
efs
.
Definition
head_stuck
(
e
:
expr
Λ
)
(
σ
:
state
Λ
)
:=
to_val
e
=
None
∧
∀
K
e'
,
e
=
fill
K
e'
→
head_irreducible
e
'
σ
.
to_val
e
=
None
∧
head_irreducible
e
σ
.
(* All non-value redexes are at the root. In other words, all sub-redexes are
values. *)
...
...
@@ -168,9 +168,8 @@ Section ectx_language.
Lemma
head_stuck_stuck
e
σ
:
head_stuck
e
σ
→
sub_redexes_are_values
e
→
stuck
e
σ
.
Proof
.
move
=>[]
?
Hirr
?
.
split
;
first
done
.
apply
prim_head_irreducible
;
last
done
.
apply
(
Hirr
empty_ectx
)
.
by
rewrite
fill_empty
.
intros
[]
?
.
split
;
first
done
.
by
apply
prim_head_irreducible
.
Qed
.
Lemma
ectx_language_atomic
a
e
:
...
...
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