Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Actris
Commits
22cc3588
Commit
22cc3588
authored
Mar 25, 2020
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some bad names.
parent
02ff4a94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
theories/channel/proto.v
theories/channel/proto.v
+4
-4
No files found.
theories/channel/proto.v
View file @
22cc3588
...
...
@@ -504,7 +504,7 @@ Section proto.
iModIntro
.
iExists
p3'
.
iIntros
"{$Hpc} !>"
.
by
iApply
(
"IH"
with
"Hle"
).
Qed
.
Lemma
iProto_send
_le
{
TT1
TT2
}
(
pc1
:
TT1
→
V
*
iProp
Σ
*
iProto
Σ
V
)
Lemma
iProto_
le_
send
{
TT1
TT2
}
(
pc1
:
TT1
→
V
*
iProp
Σ
*
iProto
Σ
V
)
(
pc2
:
TT2
→
V
*
iProp
Σ
*
iProto
Σ
V
)
:
(
∀
..
x2
:
TT2
,
▷
(
pc2
x2
).
1
.
2
-
∗
◇
∃
..
x1
:
TT1
,
⌜
(
pc1
x1
).
1
.
1
=
(
pc2
x2
).
1
.
1
⌝
∗
...
...
@@ -521,7 +521,7 @@ Section proto.
iExists
x1
.
iSplit
;
[
done
|].
iSplit
;
[
by
iApply
"Hpc"
|
done
].
Qed
.
Lemma
iProto_recv
_le
{
TT1
TT2
}
(
pc1
:
TT1
→
V
*
iProp
Σ
*
iProto
Σ
V
)
Lemma
iProto_
le_
recv
{
TT1
TT2
}
(
pc1
:
TT1
→
V
*
iProp
Σ
*
iProto
Σ
V
)
(
pc2
:
TT2
→
V
*
iProp
Σ
*
iProto
Σ
V
)
:
(
∀
..
x1
:
TT1
,
▷
(
pc1
x1
).
1
.
2
-
∗
◇
∃
..
x2
:
TT2
,
⌜
(
pc1
x1
).
1
.
1
=
(
pc2
x2
).
1
.
1
⌝
∗
...
...
@@ -576,7 +576,7 @@ Section proto.
do
2
(
iSplit
;
[
done
|]).
do
2
(
iSplitR
;
[
iApply
iProto_le_refl
|]).
by
iFrame
.
Qed
.
Lemma
iProto_dual
_le
p1
p2
:
Lemma
iProto_
le_
dual
p1
p2
:
iProto_le
p2
p1
-
∗
iProto_le
(
iProto_dual
p1
)
(
iProto_dual
p2
).
Proof
.
iIntros
"H"
.
iL
ö
b
as
"IH"
forall
(
p1
p2
).
...
...
@@ -745,7 +745,7 @@ Section proto.
iInduction
(
lt_wf
n
)
as
[
n
_
]
"IH"
forall
(
pcl
vsl
vsr
pr
pl'
Hn
)
;
subst
.
rewrite
{
1
}
iProto_interp_unfold
.
iDestruct
"H"
as
"[H|[H|H]]"
.
-
iClear
"IH"
.
iDestruct
"H"
as
(
p
->
->)
"[Hp Hp'] /="
.
iDestruct
(
iProto_dual
_le
with
"Hp"
)
as
"Hp"
.
iDestruct
(
iProto_
le_
dual
with
"Hp"
)
as
"Hp"
.
iDestruct
(
iProto_le_trans
with
"Hp Hp'"
)
as
"Hp"
.
rewrite
/
iProto_dual
proto_map_message
/=.
iApply
iProto_interp_unfold
.
iRight
;
iLeft
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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