Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pierre Roux
Iris
Commits
31afcab0
Commit
31afcab0
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
reorder arguments to remain consistent with what was already there before
parent
6704f088
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iris/algebra/big_op.v
+2
-2
2 additions, 2 deletions
iris/algebra/big_op.v
iris/bi/big_op.v
+12
-12
12 additions, 12 deletions
iris/bi/big_op.v
with
14 additions
and
14 deletions
iris/algebra/big_op.v
+
2
−
2
View file @
31afcab0
...
...
@@ -396,7 +396,7 @@ Section gmap.
([
^
o
map
]
k
↦
y
∈
<
[
i
:=
x
]
>
m
,
<
[
i
:=
P
]
>
f
k
)
≡
(
P
`
o
`
[
^
o
map
]
k
↦
y
∈
m
,
f
k
)
.
Proof
.
apply
(
big_opM_fn_insert
(
λ
_
_,
id
))
.
Qed
.
Lemma
big_opM_filter'
f
(
φ
:
K
*
A
→
Prop
)
`{
∀
kx
,
Decision
(
φ
kx
)}
m
:
Lemma
big_opM_filter'
(
φ
:
K
*
A
→
Prop
)
`{
∀
kx
,
Decision
(
φ
kx
)}
f
m
:
([
^
o
map
]
k
↦
x
∈
filter
φ
m
,
f
k
x
)
≡
([
^
o
map
]
k
↦
x
∈
m
,
if
decide
(
φ
(
k
,
x
))
then
f
k
x
else
monoid_unit
)
.
Proof
.
...
...
@@ -536,7 +536,7 @@ Section gset.
by
induction
X
using
set_ind_L
;
rewrite
/=
?big_opS_insert
?left_id
//
big_opS_eq
.
Qed
.
Lemma
big_opS_filter'
f
(
φ
:
A
→
Prop
)
`{
∀
x
,
Decision
(
φ
x
)}
X
:
Lemma
big_opS_filter'
(
φ
:
A
→
Prop
)
`{
∀
x
,
Decision
(
φ
x
)}
f
X
:
([
^
o
set
]
y
∈
filter
φ
X
,
f
y
)
≡
([
^
o
set
]
y
∈
X
,
if
decide
(
φ
y
)
then
f
y
else
monoid_unit
)
.
Proof
.
...
...
This diff is collapsed.
Click to expand it.
iris/bi/big_op.v
+
12
−
12
View file @
31afcab0
...
...
@@ -1137,12 +1137,12 @@ Section map.
([
∗
map
]
k
↦
y
∈
<
[
i
:=
x
]
>
m
,
<
[
i
:=
P
]
>
Φ
k
)
⊣⊢
(
P
∗
[
∗
map
]
k
↦
y
∈
m
,
Φ
k
)
.
Proof
.
apply
big_opM_fn_insert'
.
Qed
.
Lemma
big_sepM_filter'
Φ
(
φ
:
K
*
A
→
Prop
)
`{
∀
kx
,
Decision
(
φ
kx
)}
m
:
Lemma
big_sepM_filter'
(
φ
:
K
*
A
→
Prop
)
`{
∀
kx
,
Decision
(
φ
kx
)}
Φ
m
:
([
∗
map
]
k
↦
x
∈
filter
φ
m
,
Φ
k
x
)
⊣⊢
([
∗
map
]
k
↦
x
∈
m
,
if
decide
(
φ
(
k
,
x
))
then
Φ
k
x
else
emp
)
.
Proof
.
apply
:
big_opM_filter'
.
Qed
.
Lemma
big_sepM_filter
`{
BiAffine
PROP
}
Φ
(
φ
:
K
*
A
→
Prop
)
`{
∀
kx
,
Decision
(
φ
kx
)}
m
:
(
φ
:
K
*
A
→
Prop
)
`{
∀
kx
,
Decision
(
φ
kx
)}
Φ
m
:
([
∗
map
]
k
↦
x
∈
filter
φ
m
,
Φ
k
x
)
⊣⊢
([
∗
map
]
k
↦
x
∈
m
,
⌜
φ
(
k
,
x
)
⌝
→
Φ
k
x
)
.
Proof
.
setoid_rewrite
<-
decide_emp
.
apply
big_sepM_filter'
.
Qed
.
...
...
@@ -1819,7 +1819,7 @@ Section gset.
Lemma
big_sepS_singleton
Φ
x
:
([
∗
set
]
y
∈
{[
x
]},
Φ
y
)
⊣⊢
Φ
x
.
Proof
.
apply
big_opS_singleton
.
Qed
.
Lemma
big_sepS_filter'
Φ
(
φ
:
A
→
Prop
)
`{
∀
x
,
Decision
(
φ
x
)}
X
:
Lemma
big_sepS_filter'
(
φ
:
A
→
Prop
)
`{
∀
x
,
Decision
(
φ
x
)}
Φ
X
:
([
∗
set
]
y
∈
filter
φ
X
,
Φ
y
)
⊣⊢
([
∗
set
]
y
∈
X
,
if
decide
(
φ
y
)
then
Φ
y
else
emp
)
.
Proof
.
apply
:
big_opS_filter'
.
Qed
.
...
...
@@ -1828,23 +1828,23 @@ Section gset.
([
∗
set
]
y
∈
filter
φ
X
,
Φ
y
)
⊣⊢
([
∗
set
]
y
∈
X
,
⌜
φ
y
⌝
→
Φ
y
)
.
Proof
.
setoid_rewrite
<-
decide_emp
.
apply
big_sepS_filter'
.
Qed
.
Lemma
big_sepS_filter_acc'
(
P
:
A
→
Prop
)
`{
∀
y
,
Decision
(
P
y
)}
Φ
X
Y
:
(
∀
y
,
y
∈
Y
→
P
y
→
y
∈
X
)
→
Lemma
big_sepS_filter_acc'
(
φ
:
A
→
Prop
)
`{
∀
y
,
Decision
(
φ
y
)}
Φ
X
Y
:
(
∀
y
,
y
∈
Y
→
φ
y
→
y
∈
X
)
→
([
∗
set
]
y
∈
X
,
Φ
y
)
-∗
([
∗
set
]
y
∈
Y
,
if
decide
(
P
y
)
then
Φ
y
else
emp
)
∗
(([
∗
set
]
y
∈
Y
,
if
decide
(
P
y
)
then
Φ
y
else
emp
)
-∗
[
∗
set
]
y
∈
X
,
Φ
y
)
.
([
∗
set
]
y
∈
Y
,
if
decide
(
φ
y
)
then
Φ
y
else
emp
)
∗
(([
∗
set
]
y
∈
Y
,
if
decide
(
φ
y
)
then
Φ
y
else
emp
)
-∗
[
∗
set
]
y
∈
X
,
Φ
y
)
.
Proof
.
intros
?
.
destruct
(
proj1
(
subseteq_disjoint_union_L
(
filter
P
Y
)
X
))
intros
?
.
destruct
(
proj1
(
subseteq_disjoint_union_L
(
filter
φ
Y
)
X
))
as
(
Z
&
->
&
?);
first
set_solver
.
rewrite
big_sepS_union
//
big_sepS_filter'
.
by
apply
sep_mono_r
,
wand_intro_l
.
Qed
.
Lemma
big_sepS_filter_acc
`{
BiAffine
PROP
}
(
P
:
A
→
Prop
)
`{
∀
y
,
Decision
(
P
y
)}
Φ
X
Y
:
(
∀
y
,
y
∈
Y
→
P
y
→
y
∈
X
)
→
(
φ
:
A
→
Prop
)
`{
∀
y
,
Decision
(
φ
y
)}
Φ
X
Y
:
(
∀
y
,
y
∈
Y
→
φ
y
→
y
∈
X
)
→
([
∗
set
]
y
∈
X
,
Φ
y
)
-∗
([
∗
set
]
y
∈
Y
,
⌜
P
y
⌝
→
Φ
y
)
∗
(([
∗
set
]
y
∈
Y
,
⌜
P
y
⌝
→
Φ
y
)
-∗
[
∗
set
]
y
∈
X
,
Φ
y
)
.
([
∗
set
]
y
∈
Y
,
⌜
φ
y
⌝
→
Φ
y
)
∗
(([
∗
set
]
y
∈
Y
,
⌜
φ
y
⌝
→
Φ
y
)
-∗
[
∗
set
]
y
∈
X
,
Φ
y
)
.
Proof
.
intros
.
setoid_rewrite
<-
decide_emp
.
by
apply
big_sepS_filter_acc'
.
Qed
.
Lemma
big_sepS_list_to_set
Φ
(
l
:
list
A
)
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment