Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
0d69828b
Commit
0d69828b
authored
Nov 18, 2015
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Owning units.
parent
764f0e4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
iris/logic.v
iris/logic.v
+9
-0
No files found.
iris/logic.v
View file @
0d69828b
...
...
@@ -471,6 +471,15 @@ Proof.
rewrite
(
associative
op
),
<-(
commutative
op
z1
),
<-!(
associative
op
),
<-
Hy2
.
by
rewrite
(
associative
op
),
(
commutative
op
z1
),
<-
Hy1
.
Qed
.
Lemma
uPred_own_unit
(
a
:
M
)
:
uPred_own
(
unit
a
)
≡
(
□
uPred_own
(
unit
a
))%
I
.
Proof
.
intros
x
n
;
split
;
[
intros
[
a'
Hx
]|
by
apply
uPred_always_necessity
].
assert
(
∃
a''
,
unit
(
unit
a
⋅
a'
)
≡
unit
(
unit
a
)
⋅
a''
)
as
[
a''
Ha
]
by
(
rewrite
<-
ra_included_spec
;
auto
using
ra_unit_weaken
).
by
exists
a''
;
rewrite
Hx
,
Ha
,
ra_unit_idempotent
.
Qed
.
Lemma
uPred_own_empty
`
{
Empty
M
,
!
RAEmpty
M
}
:
True
%
I
⊆
uPred_own
∅
.
Proof
.
intros
x
[|
n
]
??
;
[
done
|].
by
exists
x
;
rewrite
(
left_id
_
_
).
Qed
.
Lemma
uPred_own_valid
(
a
:
M
)
:
uPred_own
a
⊆
uPred_valid
a
.
Proof
.
intros
x
n
Hv
[
a'
Hx
]
;
simpl
;
rewrite
Hx
in
Hv
;
eauto
using
cmra_valid_op_l
.
...
...
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