Logical Relations for Session-Typed Concurrency

09/01/2023
by   Stephanie Balzer, et al.
0

Program equivalence is the fulcrum for reasoning about and proving properties of programs. For noninterference, for example, program equivalence up to the secrecy level of an observer is shown. A powerful enabler for such proofs are logical relations. Logical relations only recently were adopted for session types – but exclusively for terminating languages. This paper scales logical relations to general recursive session types. It develops a logical relation for progress-sensitive noninterference (PSNI) for intuitionistic linear logic session types (ILLST), tackling the challenges non-termination and concurrency pose, and shows that logical equivalence is sound and complete with regard to closure of weak bisimilarity under parallel composition, using a biorthogonality argument. A distinguishing feature of the logical relation is its stratification with an observation index (as opposed to a step or unfolding index), a crucial shift to make the logical relation closed under parallel composition in a concurrent setting. To demonstrate practicality of the logical relation, the paper develops an information flow control (IFC) refinement type system for ILLST, with support of secrecy-polymorphic processes, and shows that well-typed programs are self-related by the logical relation and thus enjoy PSNI. The refinement type system has been implemented in a type checker, featuring local security theories to support secrecy-polymorphic processes.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/29/2022

Recursive Session Logical Relations

Program equivalence is the fulcrum for reasoning about and proving prope...
research
04/29/2021

Session Logical Relations for Noninterference

Information flow control type systems statically restrict the propagatio...
research
04/13/2023

A Logical Account of Subtyping for Session Types

We study the notion of subtyping for session types in a logical setting,...
research
02/22/2023

Logical Equivalences, Homomorphism Indistinguishability, and Forbidden Minors

Two graphs G and H are homomorphism indistinguishable over a class of gr...
research
09/12/2023

Modeling Reachability Types with Logical Relations

Reachability types are a recent proposal to bring Rust-style reasoning a...
research
09/05/2023

The Index and Core of a Relation. With Applications to the Axiomatics of Relation Algebra

We introduce the general notions of an index and a core of a relation. W...
research
07/25/2019

An Introduction to Logical Relations

Logical relations (LR) have been around for many years, and today they a...

Please sign up or login with your details

Forgot password? Click here to reset