arXiv:2611.20943cs.PLNov 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2611.20943

From Strong Normalization to WhatsApp: the Journey of an Axiom

Giuseppe Castagna

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Twenty years ago, Mariangiola Dezani-Ciancaglini, Daniele Varacca and I showed that Milner's classic encoding of functions into processes does not respect one of the laws of intersection types, the one stating that (σ→τ)∧(σ→ρ)(σ\toτ)\land(σ\toρ) is a subtype of σ→(τ∧ρ)σ\to(τ\landρ), which Barendregt, Coppo and Dezani-Ciancaglini had stated in 1983 for their filter λλ-model. In this essay I show that this observation is the key to closing what a colleague at Meta calls ``the main typing gap in Erlang''---the language in which the servers of WhatsApp are written: the type of the function that implements a server is not related to the type of the server, so that a client may expect from the server a reply that the server will never send. Actually, closing this gap is just an excuse to follow the journey of the law above, and of some of its relatives, from the study of strong normalization in the λλ-calculus to the type systems of Elixir and Erlang: a journey that shows how much the practical typing of these languages owes to the work of Mario Coppo, Mariangiola Dezani-Ciancaglini and Simona Ronchi Della Rocca, to whom this essay is dedicated for their eightieth birthdays.

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.