Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Actris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Iris
Actris
Commits
d8122f69
Commit
d8122f69
authored
1 year ago
by
Jonas Kastberg
Browse files
Options
Downloads
Patches
Plain Diff
Minor cleanup
parent
22e341f4
No related branches found
Branches containing commit
No related tags found
1 merge request
!39
Multiparty synchronous
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
multi_actris/channel/proto.v
+6
-7
6 additions, 7 deletions
multi_actris/channel/proto.v
with
6 additions
and
7 deletions
multi_actris/channel/proto.v
+
6
−
7
View file @
d8122f69
...
...
@@ -636,6 +636,11 @@ Proof. solve_contractive. Qed.
Global
Instance
iProto_own_contractive
`{
protoG
Σ
V
}
γ
i
:
Contractive
(
iProto_own
γ
i
)
.
Proof
.
solve_contractive
.
Qed
.
Global
Instance
iProto_own_ne
`{
protoG
Σ
V
}
γ
s
:
NonExpansive
(
iProto_own
γ
s
)
.
Proof
.
solve_proper
.
Qed
.
Global
Instance
iProto_own_proper
`{
protoG
Σ
V
}
γ
s
:
Proper
((
≡
)
==>
(
≡
))
(
iProto_own
γ
s
)
.
Proof
.
apply
(
ne_proper
_)
.
Qed
.
(** * Proofs *)
Section
proto
.
...
...
@@ -889,7 +894,6 @@ Section proto.
inversion
Htag
.
simplify_eq
.
iIntros
(
v
p
)
"Hm1'"
.
iDestruct
(
iProto_le_recv_inv_r
with
"Hle"
)
as
"Hle"
.
(* iRewrite -"Hm2" in "Hm2'". *)
iDestruct
"Hle"
as
(
m'
)
"[#Heq Hle]"
.
iDestruct
(
"Hprot"
$!
i'
with
"[] [] Hm1'"
)
as
"Hprot"
.
{
done
.
}
...
...
@@ -977,7 +981,7 @@ Section proto.
-
iApply
iProto_le_recv
.
auto
10
with
iFrame
.
Qed
.
Lemma
iProto_le_dual
p1
p2
:
p2
⊑
p1
-∗
iProto_dual
p1
⊑
iProto_dual
p2
.
Lemma
iProto_le_dual
p1
p2
:
p2
⊑
p1
-∗
iProto_dual
p1
⊑
iProto_dual
p2
.
Proof
.
iIntros
"H"
.
iLöb
as
"IH"
forall
(
p1
p2
)
.
destruct
(
iProto_case
p1
)
as
[
->
|([]
&
i
&
m1
&
->
)]
.
...
...
@@ -1173,11 +1177,6 @@ Lemma iProto_le_dual p1 p2 : p2 ⊑ p1 -∗ iProto_dual p1 ⊑ iProto_dual p2.
iFrame
.
rewrite
-
fmap_insert
.
done
.
Qed
.
Global
Instance
iProto_own_ne
γ
s
:
NonExpansive
(
iProto_own
γ
s
)
.
Proof
.
solve_proper
.
Qed
.
Global
Instance
iProto_own_proper
γ
s
:
Proper
((
≡
)
==>
(
≡
))
(
iProto_own
γ
s
)
.
Proof
.
apply
(
ne_proper
_)
.
Qed
.
Lemma
iProto_own_auth_alloc
ps
:
⊢
|
==>
∃
γ
,
iProto_own_auth
γ
ps
∗
[
∗
map
]
i
↦
p
∈
ps
,
iProto_own
γ
i
p
.
Proof
.
...
...
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