Simple types for probabilistic termination

Research output: Chapter or section in a book/report/conference proceedingChapter in a published conference proceeding

Abstract

We present a new typing discipline to guarantee the probability of termination in probabilistic lambda-calculi. The main contribution is a particular naturality and simplicity: our probabilistic types are as simple types, but generated from probabilities as base types, representing a least probability of termination. Simple types are recovered by restricting probabilities to one.

Our vehicle is the Probabilistic Event Lambda-Calculus by Dal Lago, Guerrieri, and Heijltjes, which presents a solution to the issue of confluence in probabilistic lambda-calculi. Our probabilistic type system provides an alternative solution to that using counting quantifiers by Antonelli, Dal Lago, and Pistone, for the same calculus.

The problem that both type systems address is to give a lower bound on the probability that terms head-normalize. Following the recent Functional Machine Calculus by Heijltjes, our development takes the (simplified) Krivine machine as primary, and proceeds via an extension of the calculus with sequential composition and identity on the machine. Our type system then gives a natural account of termination probability on the Krivine machine, reflected back onto head-normalization for the original calculus. In this way we are able to avoid the use of counting quantifiers, while improving on the termination bounds given by Antonelli, Dal Lago, and Pistone.
Original languageEnglish
Title of host publication33rd EACSL Annual Conference on Computer Science Logic, CSL 2025
EditorsJorg Endrullis, Sylvain Schmitz
Place of PublicationDagstuhl, Germany
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Number of pages22
ISBN (Electronic)9783959773621
DOIs
Publication statusPublished - 3 Feb 2025
Event33rd EACSL Annual Conference on Computer Science Logic, CSL 2025 - Amsterdam, Netherlands
Duration: 10 Feb 202514 Feb 2025

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume326
ISSN (Print)1868-8969

Conference

Conference33rd EACSL Annual Conference on Computer Science Logic, CSL 2025
Country/TerritoryNetherlands
CityAmsterdam
Period10/02/2514/02/25

Keywords

  • lambda-calculus
  • probabilistic termination
  • simple types

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Simple types for probabilistic termination'. Together they form a unique fingerprint.

Cite this