We study the semantics of an untyped lambda-calculus equipped with operators representing read and write operations from and to a global store. We adopt the monadic approach to model side-effects and treat read and write as algebraic operations over a monad. We introduce operational and denotational semantics and a type assignment system of intersection types and prove that types are invariant under the reduction and expansion of term and state configurations. Finally, we characterize convergent terms via their typings, establishing the adequacy of the denotational semantics w.r.t. the operational semantics.
Intersection Types for a Computational Lambda-Calculus with Global State
de'Liguoro, Ugo;Treglia, Riccardo
2025-01-01
Abstract
We study the semantics of an untyped lambda-calculus equipped with operators representing read and write operations from and to a global store. We adopt the monadic approach to model side-effects and treat read and write as algebraic operations over a monad. We introduce operational and denotational semantics and a type assignment system of intersection types and prove that types are invariant under the reduction and expansion of term and state configurations. Finally, we characterize convergent terms via their typings, establishing the adequacy of the denotational semantics w.r.t. the operational semantics.File in questo prodotto:
| File | Dimensione | Formato | |
|---|---|---|---|
|
2104.01358.pdf
Accesso aperto
Tipo di file:
PDF EDITORIALE
Dimensione
519.35 kB
Formato
Adobe PDF
|
519.35 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.



