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
Janno
iris-coq
Commits
2227cd66
Commit
2227cd66
authored
Oct 03, 2016
by
Robbert Krebbers
Browse files
Non step-indexed laws about exclusive and Some.
parent
d47d99dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
algebra/cmra.v
View file @
2227cd66
...
...
@@ -1201,6 +1201,11 @@ Section option.
✓
{
n
}
(
my
⋅
Some
x
)
→
my
=
None
.
Proof
.
rewrite
comm
.
by
apply
exclusiveN_Some_l
.
Qed
.
Lemma
exclusive_Some_l
x
`
{!
Exclusive
x
}
my
:
✓
(
Some
x
⋅
my
)
→
my
=
None
.
Proof
.
destruct
my
.
move
=>
/(
exclusive_l
x
)
[].
done
.
Qed
.
Lemma
exclusive_Some_r
x
`
{!
Exclusive
x
}
my
:
✓
(
my
⋅
Some
x
)
→
my
=
None
.
Proof
.
rewrite
comm
.
by
apply
exclusive_Some_l
.
Qed
.
Lemma
Some_included
x
y
:
Some
x
≼
Some
y
↔
x
≡
y
∨
x
≼
y
.
Proof
.
rewrite
option_included
;
naive_solver
.
Qed
.
Lemma
Some_included'
`
{
CMRATotal
A
}
x
y
:
Some
x
≼
Some
y
↔
x
≡
y
∨
x
≼
y
.
...
...
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