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
d6875e7d
Commit
d6875e7d
authored
Oct 02, 2016
by
Robbert Krebbers
Browse files
Prove fact about exclusive and included.
parent
9f3a376e
Changes
1
Hide whitespace changes
Inline
Side-by-side
algebra/cmra.v
View file @
d6875e7d
...
...
@@ -344,6 +344,10 @@ Lemma exclusive_r x `{!Exclusive x} y : ✓ (y ⋅ x) → False.
Proof
.
rewrite
comm
.
by
apply
exclusive_l
.
Qed
.
Lemma
exclusiveN_opM
n
x
`
{!
Exclusive
x
}
my
:
✓
{
n
}
(
x
⋅
?
my
)
→
my
=
None
.
Proof
.
destruct
my
as
[
y
|].
move
=>
/(
exclusiveN_l
_
x
)
[].
done
.
Qed
.
Lemma
exclusive_includedN
n
x
`
{!
Exclusive
x
}
y
:
x
≼
{
n
}
y
→
✓
{
n
}
y
→
False
.
Proof
.
intros
[?
->].
by
apply
exclusiveN_l
.
Qed
.
Lemma
exclusive_included
x
`
{!
Exclusive
x
}
y
:
x
≼
y
→
✓
y
→
False
.
Proof
.
intros
[?
->].
by
apply
exclusive_l
.
Qed
.
(** ** Order *)
Lemma
cmra_included_includedN
n
x
y
:
x
≼
y
→
x
≼
{
n
}
y
.
...
...
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