Client-Server Sessions in Linear Logic
Zesen Qian, G. A. Kavvos, Lars Birkedal

TL;DR
This paper introduces coexponentials in Classical Linear Logic to model distributed client-server interactions, and develops a session-typed programming language based on this logic for server-client programming.
Contribution
It presents the novel concept of coexponentials as duals to exponentials, enabling logical modeling of client-server communication patterns.
Findings
Coexponentials effectively model distributed server requests.
A session-typed language based on coexponentials is developed.
The system accurately captures client-server interaction protocols.
Abstract
We introduce coexponentials, a new set of modalities for Classical Linear Logic. As duals to exponentials, the coexponentials codify a distributed form of the structural rules of weakening and contraction. This makes them a suitable logical device for encapsulating the pattern of a server receiving requests from an arbitrary number of clients on a single channel. Guided by this intuition we formulate a system of session types based on Classical Linear Logic with coexponentials, which is suited to modelling client-server interactions. We also present a session-typed functional programming language for server-client programming, which we translate to our system of coexponentials.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Formal Methods in Verification
