Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marianna Rapoport
iris-coq
Commits
aa897a41
Commit
aa897a41
authored
Feb 23, 2016
by
Ralf Jung
Browse files
avoid a pitfall by not tying barrierG to heapG at all
parent
01984d7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
barrier/barrier.v
View file @
aa897a41
...
...
@@ -126,20 +126,20 @@ Import barrier_proto.
(** The monoids we need. *)
(* Not bundling heapG, as it may be shared with other users. *)
Class
barrierG
Σ
`
{
heapG
Σ
}
:
=
BarrierG
{
Class
barrierG
Σ
:
=
BarrierG
{
barrier_stsG
:
>
stsG
heap_lang
Σ
sts
;
barrier_savedPropG
:
>
savedPropG
heap_lang
Σ
;
}.
Definition
barrierGF
:
iFunctors
:
=
[
stsGF
sts
;
agreeF
].
Instance
inGF_barrierG
`
{
heapG
Σ
}
`
{
inGF
heap_lang
Σ
(
stsGF
sts
)}
Instance
inGF_barrierG
`
{
inGF
heap_lang
Σ
(
stsGF
sts
)}
`
{
inGF
heap_lang
Σ
agreeF
}
:
barrierG
Σ
.
Proof
.
split
;
apply
_
.
Qed
.
(** Now we come to the Iris part of the proof. *)
Section
proof
.
Context
{
Σ
:
iFunctorG
}
`
{
barrierG
Σ
}.
Context
{
Σ
:
iFunctorG
}
`
{
!
heapG
Σ
}
`
{!
barrierG
Σ
}.
Context
(
N
:
namespace
)
(
heapN
:
namespace
).
Local
Hint
Immediate
i_states_closed
low_states_closed
:
sts
.
...
...
Write
Preview
Supports
Markdown
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