TY - GEN
T1 - Quantitative Types for the Functional Machine Calculus
AU - Heijltjes, Willem
PY - 2025/7/7
Y1 - 2025/7/7
N2 - The Functional Machine Calculus (FMC, Heijltjes 2022) extends the lambda-calculus with the computational effects of global mutable store, input/output, and probabilistic choice while maintaining confluent reduction and simply-typed strong normalization. Based in a simple call-by-name stack machine in the style of Krivine, the FMC models effects through additional argument stacks, and introduces sequential composition through a continuation stack to encode call-by-value behaviour, where simple types guarantee termination of the machine. The present paper provides a discipline of quantitative types, also known as non-idempotent intersection types, for the FMC, in two variants. In the weak variant, typeability coincides with termination of the stack machine and with spine normalization, while exactly measuring the transitions in machine evaluation. The strong variant characterizes strong normalization through a notion of perpetual evaluation, while giving an upper bound to the length of reductions. Through the encoding of effects, quantitative typeability coincides with termination for higher-order mutable store, input/output, and probabilistic choice.
AB - The Functional Machine Calculus (FMC, Heijltjes 2022) extends the lambda-calculus with the computational effects of global mutable store, input/output, and probabilistic choice while maintaining confluent reduction and simply-typed strong normalization. Based in a simple call-by-name stack machine in the style of Krivine, the FMC models effects through additional argument stacks, and introduces sequential composition through a continuation stack to encode call-by-value behaviour, where simple types guarantee termination of the machine. The present paper provides a discipline of quantitative types, also known as non-idempotent intersection types, for the FMC, in two variants. In the weak variant, typeability coincides with termination of the stack machine and with spine normalization, while exactly measuring the transitions in machine evaluation. The strong variant characterizes strong normalization through a notion of perpetual evaluation, while giving an upper bound to the length of reductions. Through the encoding of effects, quantitative typeability coincides with termination for higher-order mutable store, input/output, and probabilistic choice.
KW - computational effects
KW - intersection types
KW - lambda-calculus
UR - https://www.scopus.com/pages/publications/105010679296
U2 - 10.4230/LIPIcs.FSCD.2025.24
DO - 10.4230/LIPIcs.FSCD.2025.24
M3 - Chapter in a published conference proceeding
AN - SCOPUS:105010679296
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 10th International Conference on Formal Structures for Computation and Deduction, FSCD 2025
A2 - Fernandez, Maribel
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
CY - Germany
T2 - 10th International Conference on Formal Structures for Computation and Deduction, FSCD 2025
Y2 - 14 July 2025 through 20 July 2025
ER -