Linearly Refined Session Types
Session types capture precise protocol structure in concurrent programming, but do not specify properties of the exchanged values beyond their basic type. Refinement types are a form of dependent types that can address this limitation, combining types with logical formulae that may refer to program...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Open Publishing Association
2012-11-01
|
Series: | Electronic Proceedings in Theoretical Computer Science |
Online Access: | http://arxiv.org/pdf/1211.4099v1 |
id |
doaj-6a824c371de14804a2d9789e23da10f1 |
---|---|
record_format |
Article |
spelling |
doaj-6a824c371de14804a2d9789e23da10f12020-11-24T21:57:26ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802012-11-01101Proc. LINEARITY 2012384910.4204/EPTCS.101.4Linearly Refined Session TypesPedro BaltazarDimitris MostrousVasco T. VasconcelosSession types capture precise protocol structure in concurrent programming, but do not specify properties of the exchanged values beyond their basic type. Refinement types are a form of dependent types that can address this limitation, combining types with logical formulae that may refer to program values and can constrain types using arbitrary predicates. We present a pi calculus with assume and assert operations, typed using a session discipline that incorporates refinement formulae written in a fragment of Multiplicative Linear Logic. Our original combination of session and refinement types, together with the well established benefits of linearity, allows very fine-grained specifications of communication protocols in which refinement formulae are treated as logical resources rather than persistent truths.http://arxiv.org/pdf/1211.4099v1 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Pedro Baltazar Dimitris Mostrous Vasco T. Vasconcelos |
spellingShingle |
Pedro Baltazar Dimitris Mostrous Vasco T. Vasconcelos Linearly Refined Session Types Electronic Proceedings in Theoretical Computer Science |
author_facet |
Pedro Baltazar Dimitris Mostrous Vasco T. Vasconcelos |
author_sort |
Pedro Baltazar |
title |
Linearly Refined Session Types |
title_short |
Linearly Refined Session Types |
title_full |
Linearly Refined Session Types |
title_fullStr |
Linearly Refined Session Types |
title_full_unstemmed |
Linearly Refined Session Types |
title_sort |
linearly refined session types |
publisher |
Open Publishing Association |
series |
Electronic Proceedings in Theoretical Computer Science |
issn |
2075-2180 |
publishDate |
2012-11-01 |
description |
Session types capture precise protocol structure in concurrent programming, but do not specify properties of the exchanged values beyond their basic type. Refinement types are a form of dependent types that can address this limitation, combining types with logical formulae that may refer to program values and can constrain types using arbitrary predicates. We present a pi calculus with assume and assert operations, typed using a session discipline that incorporates refinement formulae written in a fragment of Multiplicative Linear Logic. Our original combination of session and refinement types, together with the well established benefits of linearity, allows very fine-grained specifications of communication protocols in which refinement formulae are treated as logical resources rather than persistent truths. |
url |
http://arxiv.org/pdf/1211.4099v1 |
work_keys_str_mv |
AT pedrobaltazar linearlyrefinedsessiontypes AT dimitrismostrous linearlyrefinedsessiontypes AT vascotvasconcelos linearlyrefinedsessiontypes |
_version_ |
1725855538059673600 |