M. Bartoletti, T. Cimoli, M. Murgia, A. S. Podda, and L. Pompianu, Compliance and Subtyping in Timed Session Types, Proceedings of FORTE'15, pp.161-177, 2015.
DOI : 10.1007/978-3-319-19195-9_11

L. Bocchi, R. Tzu-chun-chen, K. Demangeon, N. Honda, and . Yoshida, Monitoring networks through multiparty session types, Proceedings of FMOODS/- FORTE'13, pp.50-65, 2013.
DOI : 10.1007/978-3-642-38592-6_5

URL : https://hal.archives-ouvertes.fr/hal-01213683

V. Bono and L. Padovani, Typing Copyless Message Passing, Logical Methods in Computer Science, vol.8, pp.1-50, 2012.
DOI : 10.1007/978-3-642-19718-5_4

URL : http://arxiv.org/abs/1202.2086

V. Bono, L. Padovani, and A. Tosatto, Polymorphic Types for Leak Detection in a Session-Oriented Functional Language, Proceedings of FORTE'13, pp.83-98, 2013.
DOI : 10.1007/978-3-642-38592-6_7

L. Caires and J. A. Pérez, A typeful characterization of multiparty structured conversations based on binary sessions, 2014.

L. Caires and F. Pfenning, Session Types as Intuitionistic Linear Propositions, Proceedings of CONCUR'10, pp.222-236, 2010.
DOI : 10.1007/978-3-642-15375-4_16

URL : http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.170.96

L. Tzu-chun-chen, P. Bocchi, K. Deniélou, N. Honda, and . Yoshida, Asynchronous distributed monitoring for multiparty session enforcement, Proceedings of TGC'11, pp.25-45, 2011.

B. Courcelle, Fundamental properties of infinite trees, Theoretical Computer Science, vol.25, issue.2, pp.95-169, 1983.
DOI : 10.1016/0304-3975(83)90059-2

O. Dardha, E. Giachino, and D. Sangiorgi, Session types revisited, Proceedings of PPDP'12, pp.139-150, 2012.
URL : https://hal.archives-ouvertes.fr/hal-00909389

R. Demangeon and K. Honda, Full Abstraction in a Subtyped pi-Calculus with Linear Types, Proceedings of CONCUR'11, pp.280-296, 2011.
DOI : 10.1016/j.ic.2003.08.004

R. Demangeon, K. Honda, R. Hu, R. Neykova, and N. Yoshida, Practical interruptible conversations: distributed dynamic verification with multiparty session types and python. Formal Methods in System Design, pp.197-225, 2015.
URL : https://hal.archives-ouvertes.fr/hal-01146168

J. Garrigue, Programming with polymorphic variants, Informal proceedings of ACM SIGPLAN Workshop on ML, 1998.

S. Gay and M. Hole, Subtyping for session types in the pi calculus, Acta Informatica, vol.Analysis, issue.1, pp.191-225, 2005.
DOI : 10.1007/s00236-005-0177-z

J. Simon, V. Gay, and . Vasconcelos, Linear type theory for asynchronous session types, J. Funct. Program, vol.20, issue.1, pp.19-50, 2010.

K. Honda, Types for dyadic interaction, Proceedings of CONCUR'93, pp.509-523, 1993.
DOI : 10.1007/3-540-57208-2_35

K. Honda, V. T. Vasconcelos, and M. Kubo, Language primitives and type discipline for structured communication-based programming, Proceedings of ESOP'98, pp.122-138, 1998.
DOI : 10.1007/BFb0053567

K. Honda, N. Yoshida, and M. Carbone, Multiparty asynchronous session types, Proceedings of POPL'08, pp.273-284, 2008.
DOI : 10.1145/1328438.1328472

URL : http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.128.7594

A. Igarashi and N. Kobayashi, Type Reconstruction for Linear ??-Calculus with I/O Subtyping, Information and Computation, vol.161, issue.1, pp.1-44, 2000.
DOI : 10.1006/inco.2000.2872

N. Kobayashi, Type Systems for Concurrent Programs, 10th Anniversary Colloquium of UNU/IIST, LNCS 2757, pp.439-453, 2002.
DOI : 10.1007/978-3-540-40007-3_26

X. Leroy, D. Doligez, A. Frisch, J. Garrigue, D. Rémy et al., The Objective Caml system, release 4.02 -Documentation and user's manual, 2014

S. Lindley and J. Morris, A Semantics for Propositions as Sessions, Proceedings of ESOP'15, pp.560-584, 2015.
DOI : 10.1007/978-3-662-46669-8_23

M. Neubauer and P. Thiemann, An Implementation of Session Types, Proceedings of PADL'04, pp.56-70, 2004.
DOI : 10.1007/978-3-540-24836-1_5

L. Padovani, Deadlock and lock freedom in the linear ??-calculus, Proceedings of the Joint Meeting of the Twenty-Third EACSL Annual Conference on Computer Science Logic (CSL) and the Twenty-Ninth Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), CSL-LICS '14, pp.1-7210, 2014.
DOI : 10.1145/2603088.2603116

URL : https://hal.archives-ouvertes.fr/hal-00932356

L. Padovani, Type reconstruction for the linear ?-calculus with composite and equirecursive types, Proceedings of FoSSaCS'14, pp.88-102, 2014.

L. Padovani, A. Tzu-chun-chen, and . Tosatto, Type Reconstruction Algorithms for Deadlock-Free and Lock-Free Linear ??-Calculi, Proceedings of COORDINATION'15, pp.83-98, 2015.
DOI : 10.1007/978-3-319-19282-6_6

URL : https://hal.archives-ouvertes.fr/hal-01105202

C. Benjamin, D. Pierce, and . Sangiorgi, Typing and subtyping for mobile processes, Mathematical Structures in Computer Science, vol.6, issue.5, pp.409-453, 1996.

R. Pucella and J. A. Tov, Haskell session types with (almost) no class, Proceedings of HASKELL'08, pp.25-36, 2008.

J. H. Reppy, Concurrent Programming in ML, 1999.
DOI : 10.1017/CBO9780511574962

P. Wadler, Propositions as sessions, Journal of Functional Programming, vol.16, issue.2-3, pp.384-418, 2014.
DOI : 10.1016/0304-3975(87)90045-4

K. Andrew, M. Wright, and . Felleisen, A syntactic approach to type soundness, Inf. and Comput, vol.115, issue.1, pp.38-94, 1994.

. Proof, Standard properties of any non-substructural type system. Structural congruence alters the basic arrangement of processes without affecting typing

. Proof, By induction on the derivation of P ?? Q and by cases on the last rule applied

[. Then and P. , | vw and = ?. From [T-THREAD] we deduce ? E [fork v w] : unit. From Lemma 3 and TypeOf(fork) we deduce that ? fork v w : unit and ? v : t ? -unit and ? w : t. From Lemma 4 we deduce ? E [()] : unit. From [T-APP] we deduce ? vw : unit. We conclude with two applications of

[. Then and P. , where a is fresh and = ?. From [T-THREAD] we deduce ? E [create()] : unit. From Lemma 3 and TypeOf(create) we deduce ? create() : t * t ? . Since a is fresh we have a + , a -, a * ? dom(? ). From Lemma 4 we deduce ?

[. Then and P. , -THREAD] we deduce ? E [close a p ] : unit and ? E [close a p ] : unit. From Lemma 3 and TypeOf(close) we deduce ? (a p ) = ? (a p ) = ??, ?? [unit] for some ? such that ? ?? ? . From Lemma 4 we deduce ? E [()] : unit and ? E [()] : unit. We conclude with two applications of [T-THREAD] and one application of [T-PAR], p.??
URL : https://hal.archives-ouvertes.fr/hal-00505256

T. Then and P. , From the hypothesis ? P and rules [T-PAR] and [T-THREAD] we deduce that ? E [left a p ] : unit and ? E [branch a p ] : unit. From Lemma 3 and TypeOf(left) and the hypothesis that ? is balanced we deduce that there exists ? such that ? = ? , a p : ?? [t + s], a p : ?? [t + s] and ? left a p : t ? . From Lemma 3 and TypeOf(branch) we deduce that ? branch a p : t + s. Let ? def = ? , a p : t ? , a p : t and observe that ? ?? ? . From Lemma 4 we derive ? E [a p ] : unit. From one application of, We conclude with two applications of

?. If and =. Ca, By Lemma 5, we deduce ? , a + : t, a -: t ? , a * : ?A.A Q and we conclude by taking ? = ? and one application of

?. If and =. Map, then by induction hypothesis we deduce that there exists s such that ? , a + : t, a -: t ? , a * : ?A.A map ?? ? , a + : s, a -: s ? , a * : ?A.A and ? , a + : s, a -: s ? , a * : ?A.A Q