We study a Curry style type assignment system for untyped λ-calculi with effects, based on Moggi’s monadic approach. Moving from the abstract definition of monads, we introduce a version of the call-by-value computational λ-calculus based on Wadler’s variant, without let, and with unit and bind operators. We define a notion of reduction for the calculus and prove it confluent. We then introduce an intersection type system inspired by Barendregt, Coppo and Dezani system for ordinary untyped λ-calculus, establishing type invariance under conversion. Finally, we introduce a notion of convergence, which is precisely related to reduction, and characterize convergent terms via their types.

The untyped computational λ-calculus and its intersection type discipline

de'Liguoro, Ugo
;
Treglia, Riccardo
2020-01-01

Abstract

We study a Curry style type assignment system for untyped λ-calculi with effects, based on Moggi’s monadic approach. Moving from the abstract definition of monads, we introduce a version of the call-by-value computational λ-calculus based on Wadler’s variant, without let, and with unit and bind operators. We define a notion of reduction for the calculus and prove it confluent. We then introduce an intersection type system inspired by Barendregt, Coppo and Dezani system for ordinary untyped λ-calculus, establishing type invariance under conversion. Finally, we introduce a notion of convergence, which is precisely related to reduction, and characterize convergent terms via their types.
2020
1
19
https://doi.org/10.1016/j.tcs.2020.09.029
Monads, Reduction, Type assignment systems
de'Liguoro, Ugo; Treglia, Riccardo
File in questo prodotto:
File Dimensione Formato  
2020 dL Treglia - The untyped computational lambda calculus (preprint).pdf

Accesso aperto

Descrizione: Articolo principale
Tipo di file: PREPRINT (PRIMA BOZZA)
Dimensione 843.13 kB
Formato Adobe PDF
843.13 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/1759632
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 6
  • ???jsp.display-item.citation.isi??? 2
social impact