Skip to content
Snippets Groups Projects
Commit 236cc613 authored by Jonas Kastberg's avatar Jonas Kastberg
Browse files

Added missing transitivity rule for session type subtyping

parent 0b57bd50
No related branches found
No related tags found
No related merge requests found
......@@ -197,6 +197,9 @@ Section subtype.
Lemma lsty_le_refl P : P <p: P.
Proof. iApply iProto_le_refl. Qed.
Lemma lsty_le_trans P1 P2 P3 : P1 <p: P2 -∗ P2 <p: P3 -∗ P1 <p: P3.
Proof. iIntros "#H1 #H2 !>". by iApply iProto_le_trans. Qed.
Lemma lsty_send_le A1 A2 P1 P2 :
(A2 <: A1) -∗ (P1 <p: P2) -∗
(<!!> A1 ; P1) <p: (<!!> A2 ; P2).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment