Skip to main content

Showing 1–10 of 10 results for author: Vanoni, G

.
  1. arXiv:2402.05854  [pdf, other

    cs.FL cs.LO

    (Almost) Affine Higher-Order Tree Transducers

    Authors: Lê Thành Dũng Tito Nguyên, Gabriele Vanoni

    Abstract: We investigate the tree-to-tree functions computed by \enquote{affine$λ$-transducers}: tree automata whose memory consists of an affine $λ$-term instead of a finite state. They can be seen as variations on Gallot, Lemay and Salvati's Linear High-Order Deterministic Tree Transducers. When the memory is almost purely affine (\textit{à la} Kanazawa), we show that these machines can be translated to t… ▽ More

    Submitted 8 February, 2024; originally announced February 2024.

  2. 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.

  3. Higher-Order Bayesian Networks, Exactly (Extended version)

    Authors: Claudia Faggian, Daniele Pautasso, Gabriele Vanoni

    Abstract: Bayesian networks (BNs) are graphical \emph{first-order} probabilistic models that allow for a compact representation of large probability distributions, and for efficient inference, both exact and approximate. We introduce a \emph{higher-order} programming language -- in the idealized form of a $λ$-calculus -- which we prove \emph{sound and complete} w.r.t. BNs: each BN can be encoded as a term,… ▽ More

    Submitted 11 December, 2023; v1 submitted 8 November, 2023; originally announced November 2023.

    Journal ref: Proc. ACM Program. Lang. 8, POPL, Article 84 (January 2024)

  4. arXiv:2301.12556  [pdf, ps, other

    cs.LO cs.PL

    A Log-Sensitive Encoding of Turing Machines in the $λ$-Calculus

    Authors: Beniamino Accattoli, Ugo Dal Lago, Gabriele Vanoni

    Abstract: This note modifies the reference encoding of Turing machines in the $λ$-calculus by Dal Lago and Accattoli, which is tuned for time efficiency, as to accommodate logarithmic space. There are two main changes: Turing machines now have *two* tapes, an input tape and a work tape, and the input tape is encoded differently, because the reference encoding comes with a linear space overhead for managing… ▽ More

    Submitted 29 January, 2023; originally announced January 2023.

    Comments: arXiv admin note: substantial text overlap with arXiv:2203.00362

  5. arXiv:2207.08795  [pdf, ps, other

    cs.PL cs.LO

    Multi Types and Reasonable Space (Long Version)

    Authors: Beniamino Accattoli, Ugo Dal Lago, Gabriele Vanoni

    Abstract: Accattoli, Dal Lago, and Vanoni have recently proved that the space used by the Space KAM, a variant of the Krivine abstract machine, is a reasonable space cost model for the lambda-calculus accounting for logarithmic space, solving a longstanding open problem. In this paper, we provide a new system of multi types (a variant of intersection types) and extract from multi type derivations the space… ▽ More

    Submitted 18 July, 2022; originally announced July 2022.

  6. arXiv:2203.00362  [pdf, ps, other

    cs.LO cs.CC cs.PL

    Reasonable Space for the $λ$-Calculus, Logarithmically

    Authors: Beniamino Accattoli, Ugo Dal Lago, Gabriele Vanoni

    Abstract: Can the $λ$-calculus be considered a reasonable computational model? Can we use it for measuring the time $\textit{and}$ space consumption of algorithms? While the literature contains positive answers about time, much less is known about space. This paper presents a new reasonable space cost model for the $λ$-calculus, based on a variant over the Krivine abstract machine. For the first time, this… ▽ More

    Submitted 8 May, 2024; v1 submitted 1 March, 2022; originally announced March 2022.

  7. arXiv:2104.13795  [pdf, other

    cs.LO cs.PL

    The Space of Interaction (long version)

    Authors: Beniamino Accattoli, Ugo Dal Lago, Gabriele Vanoni

    Abstract: The space complexity of functional programs is not well understood. In particular, traditional implementation techniques are tailored to time efficiency, and space efficiency induces time inefficiencies, as it prefers re-computing to saving. Girard's geometry of interaction underlies an alternative approach based on the interaction abstract machine (IAM), claimed as space efficient in the literatu… ▽ More

    Submitted 28 April, 2021; originally announced April 2021.

  8. arXiv:2010.12988  [pdf, other

    cs.PL cs.LO

    The (In)Efficiency of Interaction

    Authors: Beniamino Accattoli, Ugo Dal Lago, Gabriele Vanoni

    Abstract: Evaluating higher-order functional programs through abstract machines inspired by the geometry of the interaction is known to induce $\textit{space}$ efficiencies, the price being $\textit{time}$ performances often poorer than those obtainable with traditional, environment-based, abstract machines. Although families of lambda-terms for which the former is exponentially less efficient than the latt… ▽ More

    Submitted 24 October, 2020; originally announced October 2020.

  9. arXiv:2002.05649  [pdf, ps, other

    cs.LO cs.PL

    The Abstract Machinery of Interaction (Long Version)

    Authors: Beniamino Accattoli, Ugo Dal Lago, Gabriele Vanoni

    Abstract: This paper revisits the Interaction Abstract Machine (IAM), a machine based on Girard's Geometry of Interaction, introduced by Mackie and Danos & Regnier. It is an unusual machine, not relying on environments, presented on linear logic proof nets, and whose soundness proof is convoluted and passes through various other formalisms. Here we provide a new direct proof of its correctness, based on a v… ▽ More

    Submitted 9 July, 2020; v1 submitted 13 February, 2020; originally announced February 2020.

    Comments: Accepted at PPDP 2020

  10. arXiv:1805.03934  [pdf, ps, other

    cs.LO

    On randomised strategies in the $λ$-calculus (long version)

    Authors: Ugo Dal Lago, Gabriele Vanoni

    Abstract: In this work we study randomised reduction strategies,a notion already known in the context of abstract reduction systems, for the $λ$-calculus. We develop a simple framework that allows us to prove a randomised strategy to be positive almost-surely normalising. Then we propose a simple example of randomised strategy for the $λ$-calculus that has such a property and we show why it is non-trivial w… ▽ More

    Submitted 8 November, 2019; v1 submitted 10 May, 2018; originally announced May 2018.