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
e6356d68
Commit
e6356d68
authored
4 years ago
by
Jonas Kastberg
Browse files
Options
Downloads
Patches
Plain Diff
Bumped master
parent
fcf2343c
No related branches found
Branches containing commit
No related tags found
1 merge request
!12
Session Type-level Polymorphism
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/logrel/session_types.v
+4
-9
4 additions, 9 deletions
theories/logrel/session_types.v
with
4 additions
and
9 deletions
theories/logrel/session_types.v
+
4
−
9
View file @
e6356d68
...
...
@@ -64,19 +64,14 @@ Section session_types.
Global
Instance
lty_msg_exist_proper
k
:
Proper
(
pointwise_relation
_
(
≡
)
==>
(
≡
))
(
@
lty_msg_exist
Σ
k
)
.
Proof
.
solve_proper
.
Qed
.
Global
Instance
lty_msg_base_ne
a
:
NonExpansive2
(
@
lty_msg_base
Σ
a
)
.
Global
Instance
lty_msg_base_ne
:
NonExpansive2
(
@
lty_msg_base
Σ
)
.
Proof
.
rewrite
/
lty_msg_base
.
solve_proper
.
Qed
.
Global
Instance
lty_msg_base_proper
a
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
))
(
@
lty_msg_base
Σ
a
)
.
Global
Instance
lty_msg_base_proper
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
))
(
@
lty_msg_base
Σ
)
.
Proof
.
rewrite
/
lty_msg_base
.
apply
ne_proper_2
,
_
.
Qed
.
Global
Instance
lty_msg_base_contractive
n
:
Proper
(
dist_later
n
==>
dist_later
n
==>
dist
n
)
(
@
lty_msg_base
Σ
)
.
Proof
.
intros
A1
A2
HA
S1
S2
HS
.
rewrite
/
lty_msg_base
.
f_equiv
=>
w
.
by
repeat
f_contractive
.
Qed
.
Proof
.
solve_contractive
.
Qed
.
Global
Instance
lty_message_ne
a
:
NonExpansive
(
@
lty_message
Σ
a
)
.
Proof
.
solve_proper
.
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