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
3c7353c7
Commit
3c7353c7
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
add mono_list_auth_core_id, mono_nat_auth_core_id
parent
537d052b
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
iris/algebra/auth.v
+2
-0
2 additions, 0 deletions
iris/algebra/auth.v
iris/algebra/lib/mono_list.v
+2
-0
2 additions, 0 deletions
iris/algebra/lib/mono_list.v
iris/algebra/lib/mono_nat.v
+2
-0
2 additions, 0 deletions
iris/algebra/lib/mono_nat.v
iris/algebra/view.v
+2
-0
2 additions, 0 deletions
iris/algebra/view.v
with
8 additions
and
0 deletions
iris/algebra/auth.v
+
2
−
0
View file @
3c7353c7
...
...
@@ -134,6 +134,8 @@ Section auth.
Proof
.
rewrite
/
auth_auth
.
apply
_
.
Qed
.
Global
Instance
auth_frag_core_id
a
:
CoreId
a
→
CoreId
(
◯
a
)
.
Proof
.
rewrite
/
auth_frag
.
apply
_
.
Qed
.
Global
Instance
auth_both_core_id
a1
a2
:
CoreId
a2
→
CoreId
(
●□
a1
⋅
◯
a2
)
.
Proof
.
rewrite
/
auth_auth
/
auth_frag
.
apply
_
.
Qed
.
Global
Instance
auth_frag_is_op
a
b1
b2
:
IsOp
a
b1
b2
→
IsOp'
(
◯
a
)
(
◯
b1
)
(
◯
b2
)
.
Proof
.
rewrite
/
auth_frag
.
apply
_
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/lib/mono_list.v
+
2
−
0
View file @
3c7353c7
...
...
@@ -50,6 +50,8 @@ Section mono_list_props.
(** * Operation *)
Global
Instance
mono_list_lb_core_id
l
:
CoreId
(
◯
ML
l
)
.
Proof
.
rewrite
/
mono_list_lb
.
apply
_
.
Qed
.
Global
Instance
mono_list_auth_core_id
l
:
CoreId
(
●
ML
□
l
)
.
Proof
.
rewrite
/
mono_list_auth
.
apply
_
.
Qed
.
Lemma
mono_list_auth_dfrac_op
dq1
dq2
l
:
●
ML
{
dq1
⋅
dq2
}
l
≡
●
ML
{
dq1
}
l
⋅
●
ML
{
dq2
}
l
.
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/lib/mono_nat.v
+
2
−
0
View file @
3c7353c7
...
...
@@ -32,6 +32,8 @@ Section mono_nat.
Global
Instance
mono_nat_lb_core_id
n
:
CoreId
(
◯
MN
n
)
.
Proof
.
apply
_
.
Qed
.
Global
Instance
mono_nat_auth_core_id
l
:
CoreId
(
●
MN
□
l
)
.
Proof
.
apply
_
.
Qed
.
Lemma
mono_nat_auth_dfrac_op
dq1
dq2
n
:
●
MN
{
dq1
⋅
dq2
}
n
≡
●
MN
{
dq1
}
n
⋅
●
MN
{
dq2
}
n
.
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/view.v
+
2
−
0
View file @
3c7353c7
...
...
@@ -289,6 +289,8 @@ Section cmra.
Proof
.
do
2
constructor
;
simpl
;
auto
.
apply
:
core_id_core
.
Qed
.
Global
Instance
view_frag_core_id
b
:
CoreId
b
→
CoreId
(
◯
V
b
)
.
Proof
.
do
2
constructor
;
simpl
;
auto
.
apply
:
core_id_core
.
Qed
.
Global
Instance
view_both_core_id
a
b
:
CoreId
b
→
CoreId
(
●
V
□
a
⋅
◯
V
b
)
.
Proof
.
do
2
constructor
;
simpl
;
auto
.
rewrite
!
left_id
.
apply
:
core_id_core
.
Qed
.
Global
Instance
view_frag_is_op
b
b1
b2
:
IsOp
b
b1
b2
→
IsOp'
(
◯
V
b
)
(
◯
V
b1
)
(
◯
V
b2
)
.
Proof
.
done
.
Qed
.
...
...
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