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
ec11ab91
Commit
ec11ab91
authored
Feb 15, 2016
by
Robbert Krebbers
Browse files
Stronger saved_prop_agree with equality instead of iff.
parent
e86b6558
Changes
1
Hide whitespace changes
Inline
Side-by-side
program_logic/saved_prop.v
View file @
ec11ab91
...
...
@@ -24,12 +24,12 @@ Section saved_prop.
Proof
.
by
apply
own_alloc
.
Qed
.
Lemma
saved_prop_agree
γ
P
Q
:
(
saved_prop_own
SPI
γ
P
★
saved_prop_own
SPI
γ
Q
)
⊑
▷
(
P
↔
Q
).
(
saved_prop_own
SPI
γ
P
★
saved_prop_own
SPI
γ
Q
)
⊑
▷
(
P
≡
Q
).
Proof
.
rewrite
/
saved_prop_own
-
own_op
own_valid
agree_validI
.
rewrite
agree_equivI
later_equivI
/=
;
apply
later_mono
.
rewrite
-{
2
}(
iProp_fold_unfold
P
)
-{
2
}(
iProp_fold_unfold
Q
).
apply
(
eq_rewrite
(
iProp_unfold
P
)
(
iProp_unfold
Q
)
(
λ
Q'
:
iPreProp
Λ
_
,
iProp_fold
(
iProp_unfold
P
)
↔
iProp_fold
Q'
)%
I
)
;
solve_ne
||
auto
with
I
.
iProp_fold
(
iProp_unfold
P
)
≡
iProp_fold
Q'
)%
I
)
;
solve_ne
||
auto
with
I
.
Qed
.
End
saved_prop
.
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