Skip to main content
Kent Academic Repository

Safe and Asynchronous Mixed-Choice for Timed Interactions

Pears, Jonah (2025) Safe and Asynchronous Mixed-Choice for Timed Interactions. Doctor of Philosophy (PhD) thesis, University of Kent,. (doi:10.22024/UniKent/01.02.109393) (KAR id:109393)

Abstract

Mixed-choice has long been barred from models of asynchronous communication since it compromises the decidability of key properties of communicating finite-state machines. Session types inherit this restriction, which precludes them from fully modelling timeouts and thus, greatly limits their applications to real-world systems. This thesis aims to address this deficiency by presenting Timeout Asynchronous Session Types (TOAST for short) which model timed, asynchronous communication in the binary setting. In this thesis we explore the relationship between timeouts and mixed-choice, and show how timing constraints can be deployed to ensure that a given mixed-choice is safe and does not compromise the decidability of properties of timed, asynchronous session types. TOAST extends prior works on asynchronous timed session types with the means to describe these safe mixed-choice. The formal theory of TOAST features new behavioural semantics for timed, asynchronous mixed-choice and a process calculus featuring timeout processes, process timers and time-sensitive conditional statements to facilitate the implementation of not just timeouts, but more broadly safe mixed-choice. The unique features of the TOAST process calculus are based upon the structures found in real programming languages, such as the receive-after expression in Erlang. Following the theory of TOAST, this thesis presents a proof-of-concept toolchain implemented in Erlang for generating program stubs from TOAST.

Item Type: Thesis (Doctor of Philosophy (PhD))
Thesis advisor: Bocchi, Laura
DOI/Identification number: 10.22024/UniKent/01.02.109393
Uncontrolled keywords: session types timeouts process calculus erlang concurrency mixed choice mixed-choice time asynchronous communication type theory interaction TOAST
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Institutional Unit: Schools > School of Computing
Former Institutional Unit:
Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Funders: Engineering and Physical Sciences Research Council (https://ror.org/0439y7842)
SWORD Depositor: System Moodle
Depositing User: System Moodle
Date Deposited: 25 Mar 2025 15:10 UTC
Last Modified: 20 May 2025 10:29 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/109393 (The current URI for this page, for reference purposes)

University of Kent Author Information

Pears, Jonah.

Creator's ORCID:
CReDIT Contributor Roles:
  • Depositors only (login required):

Total unique views of this page since July 2020. For more details click on the image.