Types of Fireballs (Extended Version)
Beniamino Accattoli, Giulio Guerrieri

TL;DR
This paper develops a denotational semantics for open call-by-value lambda calculus using multi types, providing a quantitative analysis of evaluation costs and normalisation properties.
Contribution
It introduces a type system for open call-by-value that characterises normalisation and quantifies evaluation costs, extending prior operational studies.
Findings
Type derivations bound evaluation steps and normal form size.
The type system characterises normalisation and provides exact cost bounds.
A refined fireball calculus facilitates denotational analysis.
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 normalisation and thus provides an adequate relational semantics. Moreover, type derivations carry quantitative information about the cost of evaluation:…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Advanced Algebra and Logic
