Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Joshua Yanovski
iris-coq
Commits
0024ac1f
Commit
0024ac1f
authored
Sep 20, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mononicity of own.
parent
4f0acc79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
program_logic/ghost_ownership.v
program_logic/ghost_ownership.v
+5
-2
No files found.
program_logic/ghost_ownership.v
View file @
0024ac1f
...
...
@@ -50,8 +50,11 @@ Global Instance own_proper γ :
Lemma
own_op
γ
a1
a2
:
own
γ
(
a1
⋅
a2
)
⊣⊢
own
γ
a1
★
own
γ
a2
.
Proof
.
by
rewrite
!
own_eq
/
own_def
-
ownM_op
iRes_singleton_op
.
Qed
.
Global
Instance
own_mono
γ
:
Proper
(
flip
(
≼
)
==>
(
⊢
))
(
@
own
Σ
A
_
γ
).
Proof
.
move
=>
a
b
[
c
->
].
rewrite
own_op
.
eauto
with
I
.
Qed
.
Lemma
own_mono
γ
a1
a2
:
a2
≼
a1
→
own
γ
a1
⊢
own
γ
a2
.
Proof
.
move
=>
[
c
->
].
rewrite
own_op
.
eauto
with
I
.
Qed
.
Global
Instance
own_mono
'
γ
:
Proper
(
flip
(
≼
)
==>
(
⊢
))
(
@
own
Σ
A
_
γ
).
Proof
.
intros
a1
a2
.
apply
own_mono
.
Qed
.
Lemma
own_valid
γ
a
:
own
γ
a
⊢
✓
a
.
Proof
.
...
...
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