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
Jonas Kastberg
iris
Commits
949f6755
Commit
949f6755
authored
Jan 18, 2016
by
Robbert Krebbers
Browse files
Property about validN and big_opM.
parent
9ffa68a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
modures/cmra.v
View file @
949f6755
...
...
@@ -220,6 +220,17 @@ Qed.
Lemma
cmra_empty_least
`
{
Empty
A
,
!
RAIdentity
A
}
n
x
:
∅
≼
{
n
}
x
.
Proof
.
by
exists
x
;
rewrite
(
left_id
_
_
).
Qed
.
(** ** big ops *)
Section
bigop
.
Context
`
{
Empty
A
,
!
RAIdentity
A
,
FinMap
K
M
}.
Lemma
big_opM_lookup_valid
n
m
i
x
:
✓
{
n
}
(
big_opM
m
)
→
m
!!
i
=
Some
x
→
✓
{
n
}
x
.
Proof
.
intros
Hm
?
;
revert
Hm
;
rewrite
-(
big_opM_delete
_
i
x
)
//.
apply
cmra_valid_op_l
.
Qed
.
End
bigop
.
(** ** Properties of [(⇝)] relation *)
Global
Instance
cmra_update_preorder
:
PreOrder
(@
cmra_update
A
).
Proof
.
split
.
by
intros
x
y
.
intros
x
y
y'
??
z
?
;
naive_solver
.
Qed
.
...
...
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