On the Fair Termination of Client-Server Sessions

L. Padovani
{"title":"On the Fair Termination of Client-Server Sessions","authors":"L. Padovani","doi":"10.48550/arXiv.2212.05457","DOIUrl":null,"url":null,"abstract":"Client-server sessions are based on a variation of the traditional interpretation of linear logic propositions as session types in which non-linear channels (those regulating the interaction between a pool of clients and a single server) are typed by coexponentials instead of the usual exponentials. Coexponentials enable the modeling of racing interactions, whereby clients compete to interact with a single server whose internal state (and thus the offered service) may change as the server processes requests sequentially. In this work we present a fair termination result for CSLL$^\\infty$, a core calculus of client-server sessions. We design a type system such that every well-typed term corresponds to a valid derivation in $\\mu$MALL$^\\infty$, the infinitary proof theory of linear logic with least and greatest fixed points. We then establish a correspondence between reductions in the calculus and principal reductions in $\\mu$MALL$^\\infty$. Fair termination in CSLL$^\\infty$ follows from cut elimination in $\\mu$MALL$^\\infty$.","PeriodicalId":131421,"journal":{"name":"Types for Proofs and Programs","volume":"272 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Types for Proofs and Programs","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2212.05457","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Client-server sessions are based on a variation of the traditional interpretation of linear logic propositions as session types in which non-linear channels (those regulating the interaction between a pool of clients and a single server) are typed by coexponentials instead of the usual exponentials. Coexponentials enable the modeling of racing interactions, whereby clients compete to interact with a single server whose internal state (and thus the offered service) may change as the server processes requests sequentially. In this work we present a fair termination result for CSLL$^\infty$, a core calculus of client-server sessions. We design a type system such that every well-typed term corresponds to a valid derivation in $\mu$MALL$^\infty$, the infinitary proof theory of linear logic with least and greatest fixed points. We then establish a correspondence between reductions in the calculus and principal reductions in $\mu$MALL$^\infty$. Fair termination in CSLL$^\infty$ follows from cut elimination in $\mu$MALL$^\infty$.
浅谈客户端-服务器会话的公平终止
客户机-服务器会话基于线性逻辑命题作为会话类型的传统解释的一种变体,其中非线性通道(那些调节客户机池和单个服务器之间的交互的通道)通过协指数而不是通常的指数类型进行类型。协指数支持对竞赛交互进行建模,其中客户机竞争与单个服务器交互,该服务器的内部状态(以及所提供的服务)可能随着服务器顺序处理请求而改变。在这项工作中,我们提出了CSLL $^\infty$的公平终止结果,这是客户端-服务器会话的核心演算。我们设计了一个类型系统,使得每个类型良好的项对应于最小不动点和最大不动点线性逻辑的无穷证明理论$\mu$ MALL $^\infty$中的一个有效导数。然后,我们在$\mu$ MALL $^\infty$中建立了演算的减少与主要减少之间的对应关系。CSLL的公平终止$^\infty$是在$\mu$ MALL $^\infty$的裁撤之后进行的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信