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-coq
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
Marianna Rapoport
iris-coq
Commits
67bef9f9
Commit
67bef9f9
authored
May 03, 2018
by
Glen Mével
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix `head_stuck`
parent
1ab890fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
theories/program_logic/ectx_language.v
theories/program_logic/ectx_language.v
+3
-4
No files found.
theories/program_logic/ectx_language.v
View file @
67bef9f9
...
...
@@ -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
:
...
...
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