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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
tlsomers
Actris
Commits
3ade9b42
Commit
3ade9b42
authored
4 years ago
by
Jonas Kastberg
Browse files
Options
Downloads
Patches
Plain Diff
Added left/right rules to dual subtyping
parent
93449c7a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/channel/proto.v
+14
-0
14 additions, 0 deletions
theories/channel/proto.v
theories/logrel/subtyping.v
+6
-0
6 additions, 0 deletions
theories/logrel/subtyping.v
with
20 additions
and
0 deletions
theories/channel/proto.v
+
14
−
0
View file @
3ade9b42
...
@@ -797,6 +797,20 @@ Section proto.
...
@@ -797,6 +797,20 @@ Section proto.
iNext
.
by
iRewrite
"Hp2d"
.
iNext
.
by
iRewrite
"Hp2d"
.
Qed
.
Qed
.
Lemma
iProto_le_dual_l
p1
p2
:
iProto_le
(
iProto_dual
p2
)
p1
-∗
iProto_le
(
iProto_dual
p1
)
p2
.
Proof
.
iIntros
"H"
.
iEval
(
rewrite
-
(
iProto_dual_involutive
p2
))
.
by
iApply
iProto_le_dual
.
Qed
.
Lemma
iProto_le_dual_r
p1
p2
:
iProto_le
p2
(
iProto_dual
p1
)
-∗
iProto_le
p1
(
iProto_dual
p2
)
.
Proof
.
iIntros
"H"
.
iEval
(
rewrite
-
(
iProto_dual_involutive
p1
))
.
by
iApply
iProto_le_dual
.
Qed
.
Lemma
iProto_le_app
p1
p2
p3
p4
:
Lemma
iProto_le_app
p1
p2
p3
p4
:
iProto_le
p1
p2
-∗
iProto_le
p3
p4
-∗
iProto_le
(
p1
<++>
p3
)
(
p2
<++>
p4
)
.
iProto_le
p1
p2
-∗
iProto_le
p3
p4
-∗
iProto_le
(
p1
<++>
p3
)
(
p2
<++>
p4
)
.
Proof
.
Proof
.
...
...
This diff is collapsed.
Click to expand it.
theories/logrel/subtyping.v
+
6
−
0
View file @
3ade9b42
...
@@ -295,6 +295,12 @@ Section subtype.
...
@@ -295,6 +295,12 @@ Section subtype.
Lemma
lsty_le_dual
S1
S2
:
S2
<
s
:
S1
-∗
lsty_dual
S1
<
s
:
lsty_dual
S2
.
Lemma
lsty_le_dual
S1
S2
:
S2
<
s
:
S1
-∗
lsty_dual
S1
<
s
:
lsty_dual
S2
.
Proof
.
iIntros
"#H !>"
.
by
iApply
iProto_le_dual
.
Qed
.
Proof
.
iIntros
"#H !>"
.
by
iApply
iProto_le_dual
.
Qed
.
Lemma
lsty_le_dual_l
S1
S2
:
lsty_dual
S2
<
s
:
S1
-∗
lsty_dual
S1
<
s
:
S2
.
Proof
.
iIntros
"#H !>"
.
by
iApply
iProto_le_dual_l
.
Qed
.
Lemma
lsty_le_dual_r
S1
S2
:
S2
<
s
:
lsty_dual
S1
-∗
S1
<
s
:
lsty_dual
S2
.
Proof
.
iIntros
"#H !>"
.
by
iApply
iProto_le_dual_r
.
Qed
.
Lemma
lsty_le_rec_1
(
C
:
lsty
Σ
→
lsty
Σ
)
`{
!
Contractive
C
}
:
Lemma
lsty_le_rec_1
(
C
:
lsty
Σ
→
lsty
Σ
)
`{
!
Contractive
C
}
:
⊢
lsty_rec
C
<
s
:
C
(
lsty_rec
C
)
.
⊢
lsty_rec
C
<
s
:
C
(
lsty_rec
C
)
.
Proof
.
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