Types of Fireballs - Archive ouverte HAL
Conference Papers Year : 2018

Types of Fireballs

Abstract

The good properties of Plotkin's call-by-value lambda-calculus crucially rely on the restriction to weak evaluation and closed terms. Open call-by-value is the more general setting where evaluation is weak but terms may be open. Such an extension is delicate, and the literature contains a number of proposals. Recently, Accattoli and Guerrieri provided detailed operational and implementative studies of these proposals, showing that they are equivalent from the point of view of termination, and also at the level of time cost models. This paper explores the denotational semantics of open call-by-value, adapting de Carvalho's analysis of call-by-name via multi types (aka non-idempotent intersection types). Our type system characterises nor-malisation and thus provides an adequate relational semantics. Moreover, type derivations carry quantitative information about the cost of evaluation: their size bounds the number of evaluation steps and the size of the normal form, and we also characterise derivations giving exact bounds. The study crucially relies on a new, refined presentation of the fireball calculus, the simplest proposal for open call-by-value, that is more apt to denotational investigations.
Fichier principal
Vignette du fichier
Accattoli, Guerrieri - Types of Fireballs.pdf (422.39 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

hal-01967531 , version 1 (31-12-2018)

Identifiers

  • HAL Id : hal-01967531 , version 1

Cite

Beniamino Accattoli, Giulio Guerrieri. Types of Fireballs. APLAS 2018 - 16th Asian Symposium on Programming Languages and System, Dec 2018, Wellington, New Zealand. ⟨hal-01967531⟩
63 View
106 Download

Share

More