POPL 2027
Sun 10 - Sat 16 January 2027 Mexico City, Mexico

Linear session types provide a strong foundation for message-passing concurrency. By building the type systems on an underlying linear logic, they deliver strong safety properties. Prior work has augmented these type systems with further checks to enforce security, in the form of noninterference: the guarantee that an observer of a program’s public channels learns nothing about its confidential ones. Noninterference, however, is all-or-nothing. In particular, it rules out the many practical situations where a protocol leaks by design, or where a programmer is willing to leak so long as the amount is bounded. For these situations, the line of work on Quantitative Information Flow (QIF) measures not whether a program leaks but how much, e.g., the gain an adversary derives, under a chosen gain function, from observing the program’s outputs. We bring QIF to session types by returning to their linear-logic roots. Drawing on the close connection between linear logic and probabilistic coherence spaces, we give a denotational semantics for probabilistic linear session types in which a graded type discipline records each program’s joint distribution over its secret and observable channels, and keeps that distribution well-defined even under interaction with an active attacker. QIF then transfers to session types directly.