Skip to main content

Showing 1–5 of 5 results for author: Treglia, R

.
  1. arXiv:2401.12744  [pdf, ps, other

    cs.PL cs.LO

    Monadic Intersection Types, Relationally (Extended Version)

    Authors: Francesco Gavazzo, Riccardo Treglia, Gabriele Vanoni

    Abstract: We extend intersection types to a computational $λ$-calculus with algebraic operations à la Plotkin and Power. We achieve this by considering monadic intersections, whereby computational effects appear not only in the operational semantics, but also in the type system. Since in the effectful setting termination is not anymore the only property of interest, we want to analyze the interactive behavi… ▽ More

    Submitted 23 January, 2024; originally announced January 2024.

  2. From Semantics to Types: the Case of the Imperative lambda-Calculus

    Authors: Ugo de'Liguoro, Riccardo Treglia

    Abstract: We propose an intersection type system for an imperative lambda-calculus based on a state monad and equipped with algebraic operations to read and write to the store. The system is derived by solving a suitable domain equation in the category of omega-algebraic lattices; the solution consists of a filter-model generalizing the well-known construction for ordinary lambda-calculus. Then the type sys… ▽ More

    Submitted 28 December, 2021; originally announced December 2021.

    Comments: In Proceedings MFPS 2021, arXiv:2112.13746. arXiv admin note: substantial text overlap with arXiv:2104.01358

    ACM Class: F.3.2; F.4.1

    Journal ref: EPTCS 351, 2021, pp. 168-183

  3. arXiv:2104.10267  [pdf, ps, other

    cs.LO cs.PL

    On reduction and normalization in the computational core

    Authors: Claudia Faggian, Giulio Guerrieri, Ugo de'Liguoro, Riccardo Treglia

    Abstract: We study the reduction in a lambda-calculus derived from Moggi's computational one, that we call the computational core. The reduction relation consists of rules obtained by orienting three monadic laws. Such laws, in particular associativity and identity, introduce intricacies in the operational analysis. We investigate the central notions of returning a value versus having a normal form, and add… ▽ More

    Submitted 29 November, 2022; v1 submitted 20 April, 2021; originally announced April 2021.

    MSC Class: 68N18

  4. arXiv:2104.01358  [pdf, ps, other

    cs.LO cs.PL

    Intersection Types for a Computational Lambda-Calculus with Global State

    Authors: Ugo de'Liguoro, Riccardo Treglia

    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 und… ▽ More

    Submitted 4 September, 2022; v1 submitted 3 April, 2021; originally announced April 2021.

    ACM Class: F.3.2; F.4.1

  5. arXiv:1907.05706  [pdf, ps, other

    cs.LO

    Intersection Types for the Computational lambda-Calculus

    Authors: Ugo de'Liguoro, Riccardo Treglia

    Abstract: We study polymorphic type assignment systems for untyped lambda-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 lambda-calculus based on Wadler's variant with unit and bind combinators, and without let. We define a notion of reduction for the calculus and prove it confluent, and also w… ▽ More

    Submitted 7 February, 2020; v1 submitted 12 July, 2019; originally announced July 2019.

    ACM Class: F.3.2; F.4.1