Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tej Chajed
iris
Commits
61af23a7
Commit
61af23a7
authored
Jul 27, 2016
by
Robbert Krebbers
Browse files
FP update for auth without frame.
parent
24c28e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
algebra/auth.v
View file @
61af23a7
...
...
@@ -183,8 +183,7 @@ Lemma auth_both_op a b : Auth (Excl' a) b ≡ ● a ⋅ ◯ b.
Proof
.
by
rewrite
/
op
/
auth_op
/=
left_id
.
Qed
.
Lemma
auth_update
a
af
b
:
a
~l
~>
b
@
Some
af
→
●
(
a
⋅
af
)
⋅
◯
a
~~>
●
(
b
⋅
af
)
⋅
◯
b
.
a
~l
~>
b
@
Some
af
→
●
(
a
⋅
af
)
⋅
◯
a
~~>
●
(
b
⋅
af
)
⋅
◯
b
.
Proof
.
intros
[
Hab
Hab'
]
;
apply
cmra_total_update
.
move
=>
n
[[[?|]|]
bf1
]
//
=>-[[
bf2
Ha
]
?]
;
do
2
red
;
simpl
in
*.
...
...
@@ -192,6 +191,11 @@ Proof.
exists
bf2
.
rewrite
-
assoc
.
apply
(
Hab'
_
(
Some
_
))
;
auto
.
by
rewrite
/=
assoc
.
Qed
.
Lemma
auth_update_no_frame
a
b
:
a
~l
~>
b
@
Some
∅
→
●
a
⋅
◯
a
~~>
●
b
⋅
◯
b
.
Proof
.
intros
.
rewrite
-{
1
}(
right_id
_
_
a
)
-{
1
}(
right_id
_
_
b
).
by
apply
auth_update
.
Qed
.
End
cmra
.
Arguments
authR
:
clear
implicits
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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