会议类型的混合选择

IF 0.8 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS
Kirstin Peters , Nobuko Yoshida
{"title":"会议类型的混合选择","authors":"Kirstin Peters ,&nbsp;Nobuko Yoshida","doi":"10.1016/j.ic.2024.105164","DOIUrl":null,"url":null,"abstract":"<div><p>Session types provide a flexible programming style for structuring interaction, and are used to guarantee a safe and consistent composition of distributed processes. Traditional session types include only one-directional input (external) and output (internal) guarded choices. This prevents the session-processes to explore the full expressive power of the <em>π</em>-calculus where mixed choice was proved more expressive. Recently Casal, Mordido, and Vasconcelos proposed binary session types with mixed choices (<span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span>). Surprisingly, in spite of an inclusion of unrestricted channels with mixed choice, <span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span>'s mixed choice is rather separate and not mixed. We prove this negative result using two methodologies (using either the leader election problem or a synchronisation pattern as distinguishing feature), showing that there exists no good encoding from the <em>π</em>-calculus into <span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span>, preserving distribution. We then close their open problem on the encoding from <span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span> into <span><math><mi>CMV</mi></math></span> (without mixed choice), proving its soundness.</p></div>","PeriodicalId":54985,"journal":{"name":"Information and Computation","volume":"298 ","pages":"Article 105164"},"PeriodicalIF":0.8000,"publicationDate":"2024-03-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0890540124000294/pdfft?md5=9b67e36d131b28461aba20580ca397f6&pid=1-s2.0-S0890540124000294-main.pdf","citationCount":"0","resultStr":"{\"title\":\"Mixed choice in session types\",\"authors\":\"Kirstin Peters ,&nbsp;Nobuko Yoshida\",\"doi\":\"10.1016/j.ic.2024.105164\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Session types provide a flexible programming style for structuring interaction, and are used to guarantee a safe and consistent composition of distributed processes. Traditional session types include only one-directional input (external) and output (internal) guarded choices. This prevents the session-processes to explore the full expressive power of the <em>π</em>-calculus where mixed choice was proved more expressive. Recently Casal, Mordido, and Vasconcelos proposed binary session types with mixed choices (<span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span>). Surprisingly, in spite of an inclusion of unrestricted channels with mixed choice, <span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span>'s mixed choice is rather separate and not mixed. We prove this negative result using two methodologies (using either the leader election problem or a synchronisation pattern as distinguishing feature), showing that there exists no good encoding from the <em>π</em>-calculus into <span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span>, preserving distribution. We then close their open problem on the encoding from <span><math><msup><mrow><mi>CMV</mi></mrow><mrow><mo>+</mo></mrow></msup></math></span> into <span><math><mi>CMV</mi></math></span> (without mixed choice), proving its soundness.</p></div>\",\"PeriodicalId\":54985,\"journal\":{\"name\":\"Information and Computation\",\"volume\":\"298 \",\"pages\":\"Article 105164\"},\"PeriodicalIF\":0.8000,\"publicationDate\":\"2024-03-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.sciencedirect.com/science/article/pii/S0890540124000294/pdfft?md5=9b67e36d131b28461aba20580ca397f6&pid=1-s2.0-S0890540124000294-main.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Information and Computation\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0890540124000294\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information and Computation","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0890540124000294","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

摘要

会话类型为结构化交互提供了一种灵活的编程方式,用于保证分布式进程的安全和一致。传统的会话类型只包括单向输入(外部)和输出(内部)保护选择。这就阻碍了会话进程探索-算式的全部表现力,而混合选择被证明比(非混合)受保护选择更具表现力。为了解决这个问题,卡萨尔、莫尔迪多和瓦斯康塞洛斯最近提出了具有混合选择的二元会话类型()。这篇论文带来了一个令人吃惊和遗憾的结果:尽管包含有混合选择的无限制通道,但''的混合选择是独立的,而不是混合的。我们用两种方法(使用领导者选举问题或同步模式作为区分特征)证明了这一否定结果,表明不存在从-算术到Ⅳ保留分布的良好编码。然后,我们结束了他们关于编码从入(无混合选择)的开放问题,证明了它的合理性,从而证明了编码在耦合相似性上是好的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Mixed choice in session types

Session types provide a flexible programming style for structuring interaction, and are used to guarantee a safe and consistent composition of distributed processes. Traditional session types include only one-directional input (external) and output (internal) guarded choices. This prevents the session-processes to explore the full expressive power of the π-calculus where mixed choice was proved more expressive. Recently Casal, Mordido, and Vasconcelos proposed binary session types with mixed choices (CMV+). Surprisingly, in spite of an inclusion of unrestricted channels with mixed choice, CMV+'s mixed choice is rather separate and not mixed. We prove this negative result using two methodologies (using either the leader election problem or a synchronisation pattern as distinguishing feature), showing that there exists no good encoding from the π-calculus into CMV+, preserving distribution. We then close their open problem on the encoding from CMV+ into CMV (without mixed choice), proving its soundness.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Information and Computation
Information and Computation 工程技术-计算机:理论方法
CiteScore
2.30
自引率
0.00%
发文量
119
审稿时长
140 days
期刊介绍: Information and Computation welcomes original papers in all areas of theoretical computer science and computational applications of information theory. Survey articles of exceptional quality will also be considered. Particularly welcome are papers contributing new results in active theoretical areas such as -Biological computation and computational biology- Computational complexity- Computer theorem-proving- Concurrency and distributed process theory- Cryptographic theory- Data base theory- Decision problems in logic- Design and analysis of algorithms- Discrete optimization and mathematical programming- Inductive inference and learning theory- Logic & constraint programming- Program verification & model checking- Probabilistic & Quantum computation- Semantics of programming languages- Symbolic computation, lambda calculus, and rewriting systems- Types and typechecking
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信