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
William Mansky
Iris
Commits
77d3a42e
Commit
77d3a42e
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
add some missing IsOp instances and remove accidental instance for mono_nat and mono_list
parent
537d052b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+3
-0
3 additions, 0 deletions
CHANGELOG.md
iris/algebra/lib/mono_list.v
+3
-2
3 additions, 2 deletions
iris/algebra/lib/mono_list.v
iris/algebra/lib/mono_nat.v
+7
-0
7 additions, 0 deletions
iris/algebra/lib/mono_nat.v
with
13 additions
and
2 deletions
CHANGELOG.md
+
3
−
0
View file @
77d3a42e
...
...
@@ -28,6 +28,9 @@ lemma.
-
Add
`frac_auth_frag_op_validN`
and
`frac_auth_frag_op_valid`
, which are
bi-implications with arbitrary fractions.
-
Add
`ufrac_auth_frag_op_validN`
and
`ufrac_auth_frag_op_valid`
.
*
Remove
`mono_list_lb_is_op`
instance for
`IsOp' (◯ML l) (◯ML l) (◯ML l)`
; we
don't usually have such instances for duplicable resources and it was added by
accident.
**Changes in `bi`:**
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/lib/mono_list.v
+
3
−
2
View file @
77d3a42e
...
...
@@ -68,8 +68,9 @@ Section mono_list_props.
by
rewrite
/
mono_list_auth
/
mono_list_lb
-!
assoc
-
auth_frag_op
-
core_id_dup
.
Qed
.
Global
Instance
mono_list_lb_is_op
l
:
IsOp'
(
◯
ML
l
)
(
◯
ML
l
)
(
◯
ML
l
)
.
Proof
.
by
rewrite
/
IsOp'
/
IsOp
-
core_id_dup
.
Qed
.
Global
Instance
mono_list_auth_dfrac_is_op
dq
dq1
dq2
l
:
IsOp
dq
dq1
dq2
→
IsOp'
(
●
ML
{
dq
}
l
)
(
●
ML
{
dq1
}
l
)
(
●
ML
{
dq2
}
l
)
.
Proof
.
rewrite
/
IsOp'
/
IsOp
=>
->
.
rewrite
mono_list_auth_dfrac_op
//.
Qed
.
(** * Validity *)
Lemma
mono_list_auth_dfrac_validN
n
dq
l
:
✓
{
n
}
(
●
ML
{
dq
}
l
)
↔
✓
dq
.
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/lib/mono_nat.v
+
7
−
0
View file @
77d3a42e
...
...
@@ -53,6 +53,13 @@ Section mono_nat.
rewrite
Nat
.
max_id
//.
Qed
.
Global
Instance
mono_nat_auth_dfrac_is_op
dq
dq1
dq2
n
:
IsOp
dq
dq1
dq2
→
IsOp'
(
●
MN
{
dq
}
n
)
(
●
MN
{
dq1
}
n
)
(
●
MN
{
dq2
}
n
)
.
Proof
.
rewrite
/
IsOp'
/
IsOp
=>
->
.
rewrite
mono_nat_auth_dfrac_op
//.
Qed
.
Global
Instance
mono_nat_lb_max_is_op
n
n1
n2
:
IsOp
(
MaxNat
n
)
(
MaxNat
n1
)
(
MaxNat
n2
)
→
IsOp'
(
◯
MN
n
)
(
◯
MN
n1
)
(
◯
MN
n2
)
.
Proof
.
rewrite
/
IsOp'
/
IsOp
/
mono_nat_lb
=>
->
.
done
.
Qed
.
(** rephrasing of [mono_nat_lb_op] useful for weakening a fragment to a
smaller lower-bound *)
Lemma
mono_nat_lb_op_le_l
n
n'
:
...
...
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