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
623b6232
Commit
623b6232
authored
4 years ago
by
Jonas Kastberg
Browse files
Options
Downloads
Patches
Plain Diff
Notation nits and fixed subtyping oversight
parent
08545a5e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#27523
passed
4 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/logrel/session_types.v
+9
-8
9 additions, 8 deletions
theories/logrel/session_types.v
theories/logrel/subtyping_rules.v
+4
-4
4 additions, 4 deletions
theories/logrel/subtyping_rules.v
with
13 additions
and
12 deletions
theories/logrel/session_types.v
+
9
−
8
View file @
623b6232
...
...
@@ -39,16 +39,17 @@ Notation "∃ x .. y , m" :=
Notation
"'END'"
:=
lty_end
:
lty_scope
.
Notation
"<!!> M"
:=
(
lty_message
Send
M
)
(
at
level
200
,
M
at
level
200
)
:
lty_scope
.
Notation
"<!! x1 .. xn > M"
:=
(
lty_message
Send
(
∃
x1
,
.
.
(∃
xn
,
M
)
..))
(
at
level
200
,
x1
closed
binder
,
xn
closed
binder
,
M
at
level
200
,
format
"<!! x1 .. xn > M"
)
:
lty_scope
.
Notation
"<!! X .. Y > M"
:=
(
<!!>
∃
X
,
.
.
(∃
Y
,
M
)
..)
%
lty
(
at
level
200
,
X
closed
binder
,
Y
closed
binder
,
M
at
level
200
,
format
"<!! X .. Y > M"
)
:
lty_scope
.
Notation
"<??> M"
:=
(
lty_message
Recv
M
)
(
at
level
200
,
M
at
level
200
)
:
lty_scope
.
Notation
"<??
x1
..
xn
> M"
:=
(
lty_message
Recv
(
∃
x1
,
.
.
(∃
xn
,
M
)
..)
)
(
at
level
200
,
x1
closed
binder
,
xn
closed
binder
,
M
at
level
200
,
format
"<??
x1
..
xn
> M"
)
:
lty_scope
.
Notation
"<??
X
..
Y
> M"
:=
(
<
??
>
∃
X
,
.
.
(∃
Y
,
M
)
..)
%
lty
(
at
level
200
,
X
closed
binder
,
Y
closed
binder
,
M
at
level
200
,
format
"<??
X
..
Y
> M"
)
:
lty_scope
.
Notation
lty_select
:=
(
lty_choice
Send
)
.
Notation
lty_branch
:=
(
lty_choice
Recv
)
.
Infix
"<++>"
:=
lty_app
(
at
level
60
)
:
lty_scope
.
...
...
This diff is collapsed.
Click to expand it.
theories/logrel/subtyping_rules.v
+
4
−
4
View file @
623b6232
...
...
@@ -260,12 +260,12 @@ Section subtyping_rules.
Proof
.
iIntros
"#Hle !>"
.
iApply
(
iProto_le_exist_elim_r_inhabited
_
M
)
.
auto
.
Qed
.
Lemma
lty_le_exist_intro_l
k
(
M
:
lty
Σ
k
→
lmsg
Σ
)
(
A
:
lty
Σ
k
)
:
⊢
(
<!
X
>
M
X
)
⊑
(
<!>
M
A
)
.
Proof
.
by
iApply
(
iProto_le_exist_intro_l
)
.
Qed
.
⊢
(
<!
!
X
>
M
X
)
<:
(
<!
!
>
M
A
)
.
Proof
.
iIntros
"!>"
.
iApply
(
iProto_le_exist_intro_l
)
.
Qed
.
Lemma
lty_le_exist_intro_r
k
(
M
:
lty
Σ
k
→
lmsg
Σ
)
(
A
:
lty
Σ
k
)
:
⊢
(
<
?
>
M
A
)
⊑
(
<
?
X
>
M
X
)
.
Proof
.
by
iApply
(
iProto_le_exist_intro_r
)
.
Qed
.
⊢
(
<
?
?
>
M
A
)
<:
(
<
?
?
X
>
M
X
)
.
Proof
.
iIntros
"!>"
.
iApply
(
iProto_le_exist_intro_r
)
.
Qed
.
Lemma
lty_le_swap_recv_send
A1
A2
S
:
⊢
(
<
??
>
TY
A1
;
<!!>
TY
A2
;
S
)
<:
(
<!!>
TY
A2
;
<
??
>
TY
A1
;
S
)
.
...
...
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