TY - GEN
T1 - Types of Fireballs
AU - Accattoli, Beniamino
AU - Guerrieri, Giulio
PY - 2018/11/15
Y1 - 2018/11/15
N2 - 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, we provided operational and implementative studies of these proposals, showing that they are equivalent with respect to 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: 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.
AB - 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, we provided operational and implementative studies of these proposals, showing that they are equivalent with respect to 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: 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.
UR - http://www.scopus.com/inward/record.url?scp=85057828397&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-02768-1_3
DO - 10.1007/978-3-030-02768-1_3
M3 - Chapter in a published conference proceeding
AN - SCOPUS:85057828397
SN - 9783030027674
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 45
EP - 66
BT - Programming Languages and Systems - 16th Asian Symposium, APLAS 2018, Proceedings
A2 - Ryu, Sukyoung
PB - Springer Verlag
T2 - 16th Asian Symposium on Programming Languages and Systems, APLAS 2018
Y2 - 2 December 2018 through 6 December 2018
ER -