58 results on '"Lago, Ugo Dal"'
Search Results
2. REASONABLE SPACE FOR THE γ-CALCULUS, LOGARITHMICALLY.
- Author
-
ACCATTOLI, BENIAMINO, LAGO, UGO DAL, and VANONI, GABRIELE
- Subjects
MACHINE theory ,ALGORITHMS ,COST - Abstract
Can the γ-calculus be considered a reasonable computational model? Can we use it for measuring the time 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 cost model is able to accommodate logarithmic space. Moreover, we study the time behavior of our machine, which is unreasonable but it can be turned into a reasonable one using known techniques. Finally, we show how to transport our results to the call-by-value γ-calculus. [ABSTRACT FROM AUTHOR]
- Published
- 2024
- Full Text
- View/download PDF
3. On Bisimilarity in Lambda Calculi with Continuous Probabilistic Choice
- Author
-
Lago, Ugo Dal and Gavazzo, Francesco
- Published
- 2019
- Full Text
- View/download PDF
4. Contextual behavioural Metrics (Extended Version)
- Author
-
Lago, Ugo Dal and Murgia, Maurizio
- Subjects
FOS: Computer and information sciences ,Computer Science - Programming Languages ,Formal Languages and Automata Theory (cs.FL) ,Computer Science - Formal Languages and Automata Theory ,Programming Languages (cs.PL) - Abstract
We introduce contextual behavioural metrics (CBMs) as a novel way of measuring the discrepancy in behaviour between processes, taking into account both quantitative aspects and contextual information. This way, process distances by construction take the environment into account: two (non-equivalent) processes may still exhibit very similar behaviour in some contexts, e.g., when certain actions are never performed. We first show how CBMs capture many well-known notions of equivalence and metric, including Larsen's environmental parametrized bisimulation. We then study compositional properties of CBMs with respect to some common process algebraic operators, namely prefixing, restriction, non-deterministic sum, parallel composition and replication., Extended version of a paper accepted for publication in proc. CONCUR 2023
- Published
- 2023
5. A Log-Sensitive Encoding of Turing Machines in the $\lambda$-Calculus
- Author
-
Accattoli, Beniamino, Lago, Ugo Dal, and Vanoni, Gabriele
- Subjects
Computer Science - Logic in Computer Science ,Computer Science - Programming Languages - Abstract
This note modifies the reference encoding of Turing machines in the $\lambda$-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 tapes, which is excessive for studying logarithmic space., Comment: arXiv admin note: substantial text overlap with arXiv:2203.00362
- Published
- 2023
6. Open Higher-Order Logic (Long Version)
- Author
-
Lago, Ugo Dal, Gavazzo, Francesco, and Ghyselen, Alexis
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Logic in Computer Science (cs.LO) - Abstract
We introduce a variation on Barthe et al.'s higher-order logic in which formulas are interpreted as predicates over open rather than closed objects. This way, concepts which have an intrinsically functional nature, like continuity, differentiability, or monotonicity, can be expressed and reasoned about in a very natural way, following the structure of the underlying program. We give open higher-order logic in distinct flavors, and in particular in its relational and local versions, the latter being tailored for situations in which properties hold only in part of the underlying function's domain of definition.
- Published
- 2022
7. Multi Types and Reasonable Space (Long Version)
- Author
-
Accattoli, Beniamino, Lago, Ugo Dal, and Vanoni, Gabriele
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages ,Programming Languages (cs.PL) ,Logic in Computer Science (cs.LO) - 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 used by the Space KAM, capturing into a type system the space complexity of the abstract machine. Additionally, we show how to capture also the time of the Space KAM, which is a reasonable time cost model, via minor changes to the type system.
- Published
- 2022
8. On Reinforcement Learning, Effect Handlers, and the State Monad
- Author
-
Lago, Ugo Dal, Gavazzo, Francesco, and Ghyselen, Alexis
- Subjects
Computer Science - Machine Learning ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages - Abstract
We study the algebraic effects and handlers as a way to support decision-making abstractions in functional programs, whereas a user can ask a learning algorithm to resolve choices without implementing the underlying selection mechanism, and give a feedback by way of rewards. Differently from some recently proposed approach to the problem based on the selection monad [Abadi and Plotkin, LICS 2021], we express the underlying intelligence as a reinforcement learning algorithm implemented as a set of handlers for some of these algebraic operations, including those for choices and rewards. We show how we can in practice use algebraic operations and handlers -- as available in the programming language EFF -- to clearly separate the learning algorithm from its environment, thus allowing for a good level of modularity. We then show how the host language can be taken as a lambda-calculus with handlers, this way showing what the essential linguistic features are. We conclude by hinting at how type and effect systems could ensure safety properties, at the same time pointing at some directions for further work.
- Published
- 2022
9. Proceedings Second Joint International Workshop on Linearity & Trends in Linear Logic and Applications
- Author
-
Lago, Ugo Dal and de Paiva, Valeria
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages ,Logic in Computer Science (cs.LO) ,Programming Languages (cs.PL) - Abstract
This volume contains a selection of papers presented at Linearity&TLLA 2020, namely the Second Joint International Workshop on Linearity & Trends in Linear Logic and Applications, held on June 29-30, 2020 online. (The workshop was supposed to take place in Paris as part of FSCD 2020, but due to the COVID pandemic it was decided not to hold the event live.) Linearity is a central concept in many theoretical and practical approaches to computer science. On the theoretical side, there is much work stemming from linear logic and dealing with resource control, complexity classes, and more recently quantum computation. On the practical side there is certainly work on program analysis, operational semantics, logic programming languages, program transformations, and efficient implementation techniques. Linear logic is not only a theoretical tool for the analysis of resource usage in logic and computation. It is also a corpus of distinct approaches and methodologies (e.g., proof nets, geometry of interaction, coherent spaces, relational models) that were originally developed for the study of linear logic's syntax and semantics have nowadays found applications in several other fields.
- Published
- 2021
10. The Space of Interaction (long version)
- Author
-
Accattoli, Beniamino, Lago, Ugo Dal, and Vanoni, Gabriele
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages ,Logic in Computer Science (cs.LO) ,Programming Languages (cs.PL) - 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 literature. It has also been conjectured to provide a reasonable notion of space for the lambda-calculus, but such an important result seems to be elusive. In this paper we introduce a new intersection type system precisely measuring the space consumption of the IAM on the typed term. Intersection types have been repeatedly used to measure time, which they achieve by dropping idempotency, turning intersections into multisets. Here we show that the space consumption of the IAM is connected to a further structural modification, turning multisets into trees. Tree intersection types lead to a finer understanding of some space complexity results from the literature. They also shed new light on the conjecture about reasonable space: we show that the usual way of encoding Turing machines into the lambda calculus cannot be used to prove that the space of the IAM is a reasonable cost model.
- Published
- 2021
11. On the Versatility of Open Logical Relations
- Author
-
Barthe, Gilles, Crubillé, Raphaëlle, Lago, Ugo Dal, Gavazzo, Francesco, Max Planck Institute for Security and Privacy [Bochum] (MPI Security and Privacy), Institute IMDEA Software [Madrid], Alma Mater Studiorum University of Bologna (UNIBO), Foundations of Component-based Ubiquitous Systems (FOCUS), Inria Sophia Antipolis - Méditerranée (CRISAM), Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Dipartimento di Informatica - Scienza e Ingegneria [Bologna] (DISI), and Alma Mater Studiorum Università di Bologna [Bologna] (UNIBO)-Alma Mater Studiorum Università di Bologna [Bologna] (UNIBO)
- Subjects
[INFO.INFO-PL]Computer Science [cs]/Programming Languages [cs.PL] ,Automatic Differentiation ,Lambda Calculus ,Logical Relations ,Continuity Analysis ,Article - Abstract
Logical relations are one among the most powerful techniques in the theory of programming languages, and have been used extensively for proving properties of a variety of higher-order calculi. However, there are properties that cannot be immediately proved by means of logical relations, for instance program continuity and differentiability in higher-order languages extended with real-valued functions. Informally, the problem stems from the fact that these properties are naturally expressed on terms of non-ground type (or, equivalently, on open terms of base type), and there is no apparent good definition for a base case (i.e. for closed terms of ground types). To overcome this issue, we study a generalization of the concept of a logical relation, called open logical relation, and prove that it can be fruitfully applied in several contexts in which the property of interest is about expressions of first-order type. Our setting is a simply-typed \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\lambda $$\end{document}λ-calculus enriched with real numbers and real-valued first-order functions from a given set, such as the one of continuous or differentiable functions. We first prove a containment theorem stating that for any collection of real-valued first-order functions including projection functions and closed under function composition, any well-typed term of first-order type denotes a function belonging to that collection. Then, we show by way of open logical relations the correctness of the core of a recently published algorithm for forward automatic differentiation. Finally, we define a refinement-based type system for local continuity in an extension of our calculus with conditionals, and prove the soundness of the type system using open logical relations.
- Published
- 2020
12. On Higher-Order Cryptography (Long Version)
- Author
-
Barak, Boaz, Crubill��, Rapha��lle, and Lago, Ugo Dal
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Cryptography and Security ,Cryptography and Security (cs.CR) ,Logic in Computer Science (cs.LO) ,Computer Science::Cryptography and Security - Abstract
Type-two constructions abound in cryptography: adversaries for encryption and authentication schemes, if active, are modeled as algorithms having access to oracles, i.e. as second-order algorithms. But how about making cryptographic schemes themselves higher-order? This paper gives an answer to this question, by first describing why higher-order cryptography is interesting as an object of study, then showing how the concept of probabilistic polynomial time algorithm can be generalized so as to encompass algorithms of order strictly higher than two, and finally proving some positive and negative results about the existence of higher-order cryptographic primitives, namely authentication schemes and pseudorandom functions.
- Published
- 2020
13. The Abstract Machinery of Interaction (Long Version)
- Author
-
Accattoli, Beniamino, Lago, Ugo Dal, and Vanoni, Gabriele
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES ,Computer Science - Programming Languages ,TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS ,Computer Science::Logic in Computer Science ,Logic in Computer Science (cs.LO) ,Programming Languages (cs.PL) - 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 variant of Sands's improvements, a natural notion of bisimulation. Moreover, our proof is carried out on a new presentation of the IAM, defined as a machine acting directly on $\lambda$-terms, rather than on linear logic proof nets., Comment: Accepted at PPDP 2020
- Published
- 2020
14. On the Taylor Expansion of Probabilistic $\lambda$-Terms (Long Version)
- Author
-
Lago, Ugo Dal and Leventis, Thomas
- Subjects
Physics::Fluid Dynamics ,Computer Science - Logic in Computer Science ,Computer Science::Logic in Computer Science - Abstract
We generalise Ehrhard and Regnier's Taylor expansion from pure to probabilistic $\lambda$-terms through notions of probabilistic resource terms and explicit Taylor expansion. We prove that the Taylor expansion is adequate when seen as a way to give semantics to probabilistic $\lambda$-terms, and that there is a precise correspondence with probabilistic B\"ohm trees, as introduced by the second author.
- Published
- 2019
15. ON HIGHER-ORDER PROBABILISTIC SUBRECURSION.
- Author
-
BREUVART, FLAVIEN, LAGO, UGO DAL, and HERROU, AGATHE
- Subjects
LAMBDA calculus ,CALCULI ,CALCULUS - Abstract
We study the expressive power of subrecursive probabilistic higher-order calculi. More specifically, we show that endowing a very expressive deterministic calculus like Gödel's T with various forms of probabilistic choice operators may result in calculi which are not equivalent as for the class of distributions they give rise to, although they all guarantee almost-sure termination. Along the way, we introduce a probabilistic variation of the classic reducibility technique, and we prove that the simplest form of probabilistic choice leaves the expressive power of T essentially unaltered. The paper ends with some observations about the functional expressive power: expectedly, all the considered calculi capture the functions which T itself represents, at least when standard notions of observations are considered. [ABSTRACT FROM AUTHOR]
- Published
- 2021
- Full Text
- View/download PDF
16. On randomised strategies in the $\lambda$-calculus (long version)
- Author
-
Lago, Ugo Dal and Vanoni, Gabriele
- Subjects
Computer Science - Logic in Computer Science - Abstract
In this work we study randomised reduction strategies,a notion already known in the context of abstract reduction systems, for the $\lambda$-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 $\lambda$-calculus that has such a property and we show why it is non-trivial with respect to classical deterministic strategies such as leftmost-outermost or rightmost-innermost. We conclude studying this strategy for two sub-$\lambda$-calculi, namely those where duplication and erasure are syntactically forbidden, showing some non-trivial properties.
- Published
- 2018
17. Encoding Turing Machines into the Deterministic Lambda-Calculus
- Author
-
Lago, Ugo Dal and Accattoli, Beniamino
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,TheoryofComputation_COMPUTATIONBYABSTRACTDEVICES ,TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES ,TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS ,Computer Science::Logic in Computer Science ,TheoryofComputation_GENERAL ,Computer Science::General Literature ,Data_CODINGANDINFORMATIONTHEORY ,Computer Science::Computational Complexity ,Computer Science::Formal Languages and Automata Theory ,Logic in Computer Science (cs.LO) - Abstract
This note is about encoding Turing machines into the lambda-calculus.
- Published
- 2017
18. Automating Sized Type Inference for Complexity Analysis (Technical Report)
- Author
-
Avanzini, Martin and Lago, Ugo Dal
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Computational Complexity ,Computational Complexity (cs.CC) ,Logic in Computer Science (cs.LO) - Abstract
This paper introduces a new methodology for the complexity analysis of higher-order functional programs, which is based on three ingredients: a powerful type system for size analysis and a sound type inference procedure for it, a ticking monadic transformation, and constraint solving. Noticeably, the presented methodology can be fully automated, and is able to analyse a series of examples which cannot be handled by most competitor methodologies. This is possible due to the choice of adopting an abstract index language and index polymorphism at higher ranks. A prototype implementation is available., Technical report of http://dx.doi.org/10.1145/3110287
- Published
- 2017
19. The Geometry of Concurrent Interaction: Handling Multiple Ports by Way of Multiple Tokens (Long Version)
- Author
-
Lago, Ugo Dal, Tanaka, Ryo, and Yoshimizu, Akira
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Logic in Computer Science (cs.LO) - Abstract
We introduce a geometry of interaction model for Mazza's multiport interaction combinators, a graph-theoretic formalism which is able to faithfully capture concurrent computation as embodied by process algebras like the $\pi$-calculus. The introduced model is based on token machines in which not one but multiple tokens are allowed to traverse the underlying net at the same time. We prove soundness and adequacy of the introduced model. The former is proved as a simulation result between the token machines one obtains along any reduction sequence. The latter is obtained by a fine analysis of convergence, both in nets and in token machines.
- Published
- 2017
20. ON THE TERMINATION PROBLEM FOR PROBABILISTIC HIGHER-ORDER RECURSIVE PROGRAMS.
- Author
-
NAOKI KOBAYASHI, LAGO, UGO DAL, and GRELLOIS, CHARLES
- Subjects
MARKOV processes ,PROGRAMMING languages ,PROBABILITY theory - Abstract
In the last two decades, there has been much progress on model checking of both probabilistic systems and higher-order programs. In spite of the emergence of higher-order probabilistic programming languages, not much has been done to combine those two approaches. In this paper, we initiate a study on the probabilistic higher-order model checking problem, by giving some first theoretical and experimental results. As a first step towards our goal, we introduce PHORS, a probabilistic extension of higher-order recursion schemes (HORS), as a model of probabilistic higher-order programs. The model of PHORS may alternatively be viewed as a higher-order extension of recursive Markov chains. We then investigate the probabilistic termination problem | or, equivalently, the probabilistic reachability problem. We prove that almost sure termination of order-2 PHORS is undecidable. We also provide a fixpoint characterization of the termination probability of PHORS, and develop a sound (although possibly incomplete) procedure for approximately computing the termination probability. We have implemented the procedure for order-2 PHORS, and confirmed that the procedure works well through preliminary experiments. [ABSTRACT FROM AUTHOR]
- Published
- 2020
- Full Text
- View/download PDF
21. Metric Reasoning About $\lambda$-Terms: The General Case (Long Version)
- Author
-
Crubillé, Raphaëlle and Lago, Ugo Dal
- Subjects
Computer Science - Logic in Computer Science ,Computer Science::Programming Languages - Abstract
In any setting in which observable properties have a quantitative flavour, it is natural to compare computational objects by way of \emph{metrics} rather than equivalences or partial orders. This holds, in particular, for probabilistic higher-order programs. A natural notion of comparison, then, becomes context distance, the metric analogue of Morris' context equivalence. In this paper, we analyze the main properties of the context distance in fully-fledged probabilistic $\lambda$-calculi, this way going beyond the state of the art, in which only affine calculi were considered. We first of all study to which extent the context distance trivializes, giving a sufficient condition for trivialization. We then characterize context distance by way of a coinductively defined, tuple-based notion of distance in one of those calculi, called $\Lambda^\oplus_!$. We finally derive pseudometrics for call-by-name and call-by-value probabilistic $\lambda$-calculi, and prove them fully-abstract.
- Published
- 2017
22. Infinitary $\lambda$-Calculi from a Linear Perspective (Long Version)
- Author
-
Lago, Ugo Dal
- Subjects
Mathematics::Logic ,Computer Science - Logic in Computer Science ,Computer Science::Logic in Computer Science - Abstract
We introduce a linear infinitary $\lambda$-calculus, called $\ell\Lambda_{\infty}$, in which two exponential modalities are available, the first one being the usual, finitary one, the other being the only construct interpreted coinductively. The obtained calculus embeds the infinitary applicative $\lambda$-calculus and is universal for computations over infinite strings. What is particularly interesting about $\ell\Lambda_{\infty}$, is that the refinement induced by linear logic allows to restrict both modalities so as to get calculi which are terminating inductively and productive coinductively. We exemplify this idea by analysing a fragment of $\ell\Lambda$ built around the principles of $\mathsf{SLL}$ and $\mathsf{4LL}$. Interestingly, it enjoys confluence, contrarily to what happens in ordinary infinitary $\lambda$-calculi.
- Published
- 2016
23. Applicative Bisimulation and Quantum $\lambda$-Calculi (Long Version)
- Author
-
Lago, Ugo Dal and Rioli, Alessandro
- Subjects
Computer Science - Logic in Computer Science ,TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES ,TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS ,Computer Science::Logic in Computer Science ,Computer Science::Programming Languages - Abstract
Applicative bisimulation is a coinductive technique to check program equivalence in higher-order functional languages. It is known to be sound, and sometimes complete, with respect to context equivalence. In this paper we show that applicative bisimulation also works when the underlying language of programs takes the form of a linear $\lambda$-calculus extended with features such as probabilistic binary choice, but also quantum data, the latter being a setting in which linearity plays a role. The main results are proofs of soundness for the obtained notions of bisimilarity.
- Published
- 2015
24. Analysing the Complexity of Functional Programs: Higher-Order Meets First-Order (Long Version)
- Author
-
Avanzini, Martin, Lago, Ugo Dal, and Moser, Georg
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Computational Complexity ,F.3.2 ,Computational Complexity (cs.CC) ,Logic in Computer Science (cs.LO) - Abstract
We show how the complexity of higher-order functional programs can be analysed automatically by applying program transformations to a defunctionalized versions of them, and feeding the result to existing tools for the complexity analysis of first-order term rewrite systems. This is done while carefully analysing complexity preservation and reflection of the employed transformations such that the complexity of the obtained term rewrite system reflects on the complexity of the initial program. Further, we describe suitable strategies for the application of the studied transformations and provide ample experimental data for assessing the viability of our method., Long version of paper presented at ICFP 2015
- Published
- 2015
25. On Equivalences, Metrics, and Polynomial Time (Long Version)
- Author
-
Cappai, Alberto and Lago, Ugo Dal
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES ,TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS ,Logic in Computer Science (cs.LO) - Abstract
Interactive behaviors are ubiquitous in modern cryptography, but are also present in $\lambda$-calculi, in the form of higher-order constructions. Traditionally, however, typed $\lambda$-calculi simply do not fit well into cryptography, being both deterministic and too powerful as for the complexity of functions they can express. We study interaction in a $\lambda$-calculus for probabilistic polynomial time computable functions. In particular, we show how notions of context equivalence and context metric can both be characterized by way of traces when defined on linear contexts. We then give evidence on how this can be turned into a proof methodology for computational indistinguishability, a key notion in modern cryptography. We also hint at what happens if a more general notion of a context is used.
- Published
- 2015
26. Metric Reasoning about $\lambda$-Terms: the Affine Case (Long Version)
- Author
-
Crubillé, Raphaëlle and Lago, Ugo Dal
- Subjects
Computer Science - Logic in Computer Science - Abstract
Terms of Church's $\lambda$-calculus can be considered equivalent along many different definitions, but context equivalence is certainly the most direct and universally accepted one. If the underlying calculus becomes probabilistic, however, equivalence is too discriminating: terms which have totally unrelated behaviours are treated the same as terms which behave very similarly. We study the problem of evaluating the distance between affine $\lambda$-terms. The most natural definition for it, namely a natural generalisation of context equivalence, is shown to be characterised by a notion of trace distance, and to be bounded from above by a coinductively defined distance based on the Kantorovich metric on distributions. A different, again fully-abstract, tuple-based notion of trace distance is shown to be able to handle nontrivial examples., Comment: 46 pages
- Published
- 2015
27. Parallelism and Synchronization in an Infinitary Context (Long Version)
- Author
-
Lago, Ugo Dal, Faggian, Claudia, Valiron, Benoit, and Yoshimizu, Akira
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Logic in Computer Science (cs.LO) - Abstract
We study multitoken interaction machines in the context of a very expressive logical system with exponentials, fixpoints and synchronization. The advantage of such machines is to provide models in the style of the Geometry of Interaction, i.e., an interactive semantics which is close to low-level implementation. On the one hand, we prove that despite the inherent complexity of the framework, interaction is guaranteed to be deadlock free. On the other hand, the resulting logical system is powerful enough to embed PCF and to adequately model its behaviour, both when call-by-name and when call-by-value evaluation are considered. This is not the case for single-token stateless interactive machines., 40 pages
- Published
- 2015
28. Proceedings Tenth International Workshop on Developments in Computational Models
- Author
-
Lago, Ugo Dal and Harmer, Russ
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages ,Formal Languages and Automata Theory (cs.FL) ,Computer Science - Formal Languages and Automata Theory ,Logic in Computer Science (cs.LO) ,Programming Languages (cs.PL) - Abstract
This volume contains the papers presented at the Tenth International Workshop on Developments in Computational Models (DCM) held in Vienna, Austria on 13th July 2014, as part of the Vienna Summer of Logic. Several new models of computation have emerged in the last years, and many developments of traditional computational models have been proposed with the aim of taking into account the new demands of computer systems users and the new capabilities of computation engines. A new computational model, or a new feature in a traditional one, usually is reflected in a new family of programming languages, and new paradigms of software development. The aim of this workshop is to bring together researchers who are currently developing new computational models or new features for traditional computational models, in order to foster their interaction, to provide a forum for presenting new ideas and work in progress, and to enable newcomers to learn about current activities in this area. Topics of interest include all abstract models of computation and their applications to the development of programming languages and systems.
- Published
- 2015
29. On Intersection Types and Probabilistic Lambda Calculi.
- Author
-
Breuvart, Flavien and Lago, Ugo Dal
- Published
- 2018
- Full Text
- View/download PDF
30. Probabilistic Termination by Monadic Affine Sized Typing.
- Author
-
Lago, Ugo Dal and Grellois, Charles
- Subjects
- *
MONADS (Mathematics) , *AFFINE differential geometry , *PROBABILISTIC databases , *COMPUTER programming , *COMPUTER software - Abstract
We introduce a system of monadic affine sized types, which substantially generalizes usual sized types and allows in this way to capture probabilistic higher-order programs that terminate almost surely. Going beyond plain, strong normalization without losing soundness turns out to be a hard task, which cannot be accomplished without a richer, quantitative notion of types, but also without imposing some affinity constraints. The proposed type system is powerful enough to type classic examples of probabilistically terminating programs such as random walks. The way typable programs are proved to be almost surely terminating is based on reducibility but requires a substantial adaptation of the technique. [ABSTRACT FROM AUTHOR]
- Published
- 2019
- Full Text
- View/download PDF
31. On Sharing, Memoization, and Polynomial Time (Long Version)
- Author
-
Avanzini, Martin and Lago, Ugo Dal
- Subjects
FOS: Computer and information sciences ,Computer Science - Computational Complexity ,F.3.2 ,F.4.1 ,F.4.2 ,Computational Complexity (cs.CC) ,F.1.3 - Abstract
We study how the adoption of an evaluation mechanism with sharing and memoization impacts the class of functions which can be computed in polynomial time. We first show how a natural cost model in which lookup for an already computed value has no cost is indeed invariant. As a corollary, we then prove that the most general notion of ramified recurrence is sound for polynomial time, this way settling an open problem in implicit computational complexity.
- Published
- 2015
32. The Geometry of Synchronization (Long Version)
- Author
-
Lago, Ugo Dal, Faggian, Claudia, Hasuo, Ichiro, and Yoshimizu, Akira
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,F.3.2 ,F.4.1 ,Logic in Computer Science (cs.LO) - Abstract
We graft synchronization onto Girard's Geometry of Interaction in its most concrete form, namely token machines. This is realized by introducing proof-nets for SMLL, an extension of multiplicative linear logic with a specific construct modeling synchronization points, and of a multi-token abstract machine model for it. Interestingly, the correctness criterion ensures the absence of deadlocks along reduction and in the underlying machine, this way linking logical and operational properties., 26 pages
- Published
- 2014
33. On Probabilistic Applicative Bisimulation and Call-by-Value $\lambda$-Calculi (Long Version)
- Author
-
Crubille, Raphaelle and Lago, Ugo Dal
- Subjects
Computer Science - Logic in Computer Science ,TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES ,TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS ,Computer Science::Logic in Computer Science ,Computer Science::Programming Languages ,F.1.2 ,F.3.1 - Abstract
Probabilistic applicative bisimulation is a recently introduced coinductive methodology for program equivalence in a probabilistic, higher-order, setting. In this paper, the technique is applied to a typed, call-by-value, lambda-calculus. Surprisingly, the obtained relation coincides with context equivalence, contrary to what happens when call-by-name evaluation is considered. Even more surprisingly, full-abstraction only holds in a symmetric setting., Comment: 30 pages
- Published
- 2014
34. The Geometry of Types (Long Version)
- Author
-
Lago, Ugo Dal and Petit, Barbara
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages ,Logic in Computer Science (cs.LO) ,Programming Languages (cs.PL) - Abstract
We show that time complexity analysis of higher-order functional programs can be effectively reduced to an arguably simpler (although computationally equivalent) verification problem, namely checking first-order inequalities for validity. This is done by giving an efficient inference algorithm for linear dependent types which, given a PCF term, produces in output both a linear dependent type and a cost expression for the term, together with a set of proof obligations. Actually, the output type judgement is derivable iff all proof obligations are valid. This, coupled with the already known relative completeness of linear dependent types, ensures that no information is lost, i.e., that there are no false positives or negatives. Moreover, the procedure reflects the difficulty of the original problem: simple PCF terms give rise to sets of proof obligations which are easy to solve. The latter can then be put in a format suitable for automatic or semi-automatic verification by external solvers. Ongoing experimental evaluation has produced encouraging results, which are briefly presented in the paper., 27 pages, 1 figure
- Published
- 2012
35. Linear Dependent Types in a Call-by-Value Scenario (Long Version)
- Author
-
Lago, Ugo Dal and Petit, Barbara
- Subjects
FOS: Computer and information sciences ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages ,F.3.2 ,Logic in Computer Science (cs.LO) ,Programming Languages (cs.PL) - Abstract
Linear dependent types allow to precisely capture both the extensional behaviour and the time complexity of lambda terms, when the latter are evaluated by Krivine's abstract machine. In this work, we show that the same paradigm can be applied to call-by-value evaluation. A system of linear dependent types for Plotkin's PCF is introduced, called dlPCFV, whose types reflect the complexity of evaluating terms in the so-called CEK machine. dlPCFV is proved to be sound, but also relatively complete: every true statement about the extensional and intentional behaviour of terms can be derived, provided all true index term inequalities can be used as assumptions., 22 pages
- Published
- 2012
36. On the Invariance of the Unitary Cost Model for Head Reduction
- Author
-
Accattoli, Beniamino, Lago, Ugo Dal, Proof search and reasoning with logic specifications (PARSIFAL), Laboratoire d'informatique de l'École polytechnique [Palaiseau] (LIX), Centre National de la Recherche Scientifique (CNRS)-École polytechnique (X)-Centre National de la Recherche Scientifique (CNRS)-École polytechnique (X)-Inria Saclay - Ile de France, Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria), Centre National de la Recherche Scientifique (CNRS)-École polytechnique (X), Department of Computer Science and Engineering [Bologna] (DISI), Alma Mater Studiorum Università di Bologna [Bologna] (UNIBO), Foundations of Component-based Ubiquitous Systems (FOCUS), Inria Sophia Antipolis - Méditerranée (CRISAM), Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Dipartimento di Informatica - Scienza e Ingegneria [Bologna] (DISI), Alma Mater Studiorum Università di Bologna [Bologna] (UNIBO)-Alma Mater Studiorum Università di Bologna [Bologna] (UNIBO), This work was partially supported by the ARC INRIA project 'ETERNAL'., École polytechnique (X)-Centre National de la Recherche Scientifique (CNRS)-École polytechnique (X)-Centre National de la Recherche Scientifique (CNRS)-Inria Saclay - Ile de France, and École polytechnique (X)-Centre National de la Recherche Scientifique (CNRS)
- Subjects
[INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO] - Abstract
International audience; The lambda-calculus is a widely accepted computational model of higher-order functional programs, yet there is not any direct and universally accepted cost model for it. As a consequence, the computational difficulty of reducing lambda-terms to their normal form is typically studied by reasoning on concrete implementation algorithms. In this paper, we show that when head reduction is the underlying dynamics, the unitary cost model is indeed invariant. This improves on known results, which only deal with weak (call-by-value or call-by-name) reduction. Invariance is proved by way of a linear calculus of explicit substitutions, which allows to nicely decompose any head reduction step in the lambda-calculus into more elementary substitution steps, thus making the combinatorics of head-reduction easier to reason about. The technique is also a promising tool to attack what we see as the main open problem, namely understanding for which normalizing strategies the unitary cost model is invariant, if any.
- Published
- 2012
37. Infinitary Lambda Calculi from a Linear Perspective.
- Author
-
Lago, Ugo Dal
- Published
- 2016
- Full Text
- View/download PDF
38. Parallelism and Synchronization in an Infinitary Context.
- Author
-
Lago, Ugo Dal, Faggian, Claudia, Valiron, Benoit, and Yoshimizu, Akira
- Published
- 2015
- Full Text
- View/download PDF
39. Implicit Computational Complexity of Subrecursive Definitions and Applications to Cryptographic Proofs.
- Author
-
Baillot, Patrick, Barthe, Gilles, and Lago, Ugo Dal
- Published
- 2015
- Full Text
- View/download PDF
40. Metric Reasoning about ?-Terms: The Affine Case.
- Author
-
Crubille, Raphaelle and Lago, Ugo Dal
- Published
- 2015
- Full Text
- View/download PDF
41. (LEFTMOST-OUTERMOST) BETA REDUCTION IS INVARIANT, INDEED.
- Author
-
ACCATTOLI, BENIAMINO and LAGO, UGO DAL
- Subjects
MATHEMATICAL invariants ,MATHEMATICAL simplification ,POLYNOMIALS ,CALCULUS ,COMPUTATIONAL complexity ,TURING machines - Abstract
Slot and van Emde Boas' weak invariance thesis states that reasonable machines can simulate each other within a polynomial overhead in time. Is λ-calculus a reasonable machine? Is there a way to measure the computational complexity of a λ-term? This paper presents the first complete positive answer to this long-standing problem. Moreover, our answer is completely machine-independent and based on a standard notion in the theory of λ-calculus: the length of a leftmost-outermost derivation to normal form is an invariant, i.e. reasonable, cost model. Such a theorem cannot be proved by directly relating λ-calculus with Turing machines or random access machines, because of the size-explosion problem: there are terms that in a linear number of steps produce an exponentially large output. The first step towards the solution is to shift to a notion of evaluation for which the length and the size of the output are linearly related. This is done by adopting the linear substitution calculus (LSC), a calculus of explicit substitutions modeled after linear logic proof nets and admitting a decomposition of leftmost-outermost derivations with the desired property. Thus, the LSC is invariant with respect to, say, random access machines. The second step is to show that the LSC is invariant with respect to the λ-calculus. The size explosion problem seems to imply that this is not possible: having the same notions of normal form, evaluation in the LSC is exponentially longer than in the λ-calculus. We solve such an impasse by introducing a new form of shared normal form and shared reduction, called useful. Useful evaluation produces a compact, shared representation of the normal form, by avoiding those steps that only unshare the output without contributing to β-redexes, i.e. the steps that cause the blow-up in size. The main technical contribution of the paper is indeed the definition of useful reductions and the thorough analysis of their properties. [ABSTRACT FROM AUTHOR]
- Published
- 2016
- Full Text
- View/download PDF
42. A Semantic Proof of Polytime Soundness of Light Affine Logic.
- Author
-
Lago, Ugo Dal and Hofmann, Martin
- Abstract
We define a denotational semantics for Light Affine Logic (LAL) which has the property that denotations of functions are polynomial time computable by construction of the model. This gives a new proof of polytime-soundness of LAL which is considerably simpler than the standard proof based on proof nets and also is entirely semantical in nature. The model construction uses a new instance of a resource monoid; a general method for interpreting variations of linear logic with complexity restrictions introduced earlier by the authors. [ABSTRACT FROM AUTHOR]
- Published
- 2008
- Full Text
- View/download PDF
43. An Invariant Cost Model for the Lambda Calculus.
- Author
-
Beckmann, Arnold, Berger, Ulrich, Löwe, Benedikt, Tucker, John V., Lago, Ugo Dal, and Martini, Simone
- Abstract
We define a new cost model for the call-by-value lambda-calculus satisfying the invariance thesis. That is, under the proposed cost model, Turing machines and the call-by-value lambda-calculus can simulate each other within a polynomial time overhead. The model only relies on combinatorial properties of usual beta-reduction, without any reference to a specific machine or evaluator. In particular, the cost of a single beta reduction is proportional to the difference between the size of the redex and the size of the reduct. In this way, the total cost of normalizing a lambda term will take into account the size of all intermediate results (as well as the number of steps to normal form). [ABSTRACT FROM AUTHOR]
- Published
- 2006
- Full Text
- View/download PDF
44. Elementary Affine Logic and the Call-by-Value Lambda Calculus.
- Author
-
Urzyczyn, Paweł, Coppola, Paolo, Lago, Ugo Dal, and Rocca, Simona Ronchi Della
- Abstract
The so-called light logics [1,2,3] have been introduced as logical systems enjoying quite remarkable normalization properties. Designing a type assignment system for pure lambda calculus from these logics, however, is problematic, as discussed in [4]. In this paper we show that shifting from usual call-by-name to call-by-value lambda calculus allows regaining strong connections with the underlying logic. This will be done in the context of Elementary Affine Logic (EAL), designing a type system in natural deduction style assigning EAL formulae to lambda terms. [ABSTRACT FROM AUTHOR]
- Published
- 2005
- Full Text
- View/download PDF
45. Planning with a language for extended goals.
- Author
-
Lago, Ugo Dal, Pistore, Marco, and Traverso, Paolo
- Published
- 2002
46. Calendars, Time Granularities, and Automata.
- Author
-
Lago, Ugo Dal and Montanari, Angelo
- Abstract
The notion of time granularity comes into play in a variety of problems involving time representation and management in database applications, including temporal database design, temporal data conversion, temporal database inter-operability, temporal constraint reasoning, data mining, and time management in workflow systems. According to a commonly accepted view, any time granularity can be viewed as the partitioning of a temporal domain in groups of elements, where each group is perceived as an indivisible unit (a granule). Most granularities of practical interest are modeled as infinite sequences of time granules, that present a repeating pattern and, possibly, temporal gaps within and between granules. Even though conceptually clean, this definition does not address the problem of providing infinite granularities with a finite representation to make it possible to deal with them in an effective way. In this paper, we present an automata-theoretic solution to such a problem that revises and extends the string-based model recently proposed by Wijsen [13]. We illustrate the basic features of our formalism and discuss its application to the fundamental problems of equivalence and classification of time granularities. [ABSTRACT FROM AUTHOR]
- Published
- 2001
- Full Text
- View/download PDF
47. Probabilistic operational semantics for the lambda calculus.
- Author
-
Lago, Ugo Dal and Zorzi, Margherita
- Subjects
LAMBDA calculus ,PROBABILITY theory ,SEMANTICS ,DISTRIBUTION (Probability theory) ,COMPUTATIONAL complexity ,CRYPTOGRAPHY ,STOCHASTIC programming - Abstract
Probabilistic operational semantics for a nondeterministic extension of pure λ-calculus is studied. In this semantics, a term evaluates to a (finite or infinite) distribution of values. Small-step and big-step semantics, inductively and coinductively defined, are given. Moreover, small-step and big-step semantics are shown to produce identical outcomes, both in call-by-value and in call-by-name. Plotkin’s CPS translation is extended to accommodate the choice operator and shown correct with respect to the operational semantics. Finally, the expressive power of the obtained system is studied: the calculus is shown to be sound and complete with respect to computable probability distributions. [ABSTRACT FROM AUTHOR]
- Published
- 2012
- Full Text
- View/download PDF
48. A Semantic Proof of Polytime Soundness of Light Affine Logic.
- Author
-
Lago, Ugo Dal and Hofmann, Martin
- Subjects
- *
SEMANTICS , *LOGIC , *POLYNOMIALS , *MONOIDS , *REASONING - Abstract
We define realizability semantics for Light Affine Logic ( $\mathsf{LAL}$ ) which has the property that denotations of functions are polynomial time computable by construction of the model. This gives a new proof of polytime-soundness of $\mathsf{LAL}$ which is considerably simpler than the standard proof based on proof nets and is entirely semantical in nature. The model construction uses a new instance of a resource monoid; a general method for interpreting systems based on Linear Logic introduced earlier by the authors. [ABSTRACT FROM AUTHOR]
- Published
- 2010
- Full Text
- View/download PDF
49. Context Semantics, Linear Logic, and Computational Complexity.
- Author
-
Lago, Ugo Dal
- Subjects
GEOMETRY ,IMPLICIT functions ,LINEAR algebra ,SEMANTICS ,QUANTITATIVE research ,POLYNOMIALS - Abstract
We show that context semantics can be fruitfully applied to the quantitative analysis of proof normalization in linear logic. In particular, context semantics lets us define the weight of a proofnet as a measure of its inherent complexity: it is both an upper bound to normalization time (modulo a polynomial overhead, independently on the reduction strategy) and a lower bound to the amount of resources needed to compute the normal form. Weights are then exploited in proving strong soundness theorems for various subsystems of linear logic, namely elementary linear logic, soft linear logic, and light linear logic. [ABSTRACT FROM AUTHOR]
- Published
- 2009
- Full Text
- View/download PDF
50. The Geometry of Linear Higher-Order Recursion.
- Author
-
Lago, Ugo Dal
- Subjects
RECURSION theory ,MATHEMATICAL logic ,LINEAR dependence (Mathematics) ,POLYNOMIALS ,LAMBDA calculus - Abstract
Imposing linearity and ramification constraints allows to weaken higher-order (primitive) recursion in such a way that the class of representable functions equals the class of polynomial-time computable functions, as the works by Leivant, Hofmann, and others show. This article shows that fine-tuning these two constraints leads to different expressive strengths, some of them lying well beyond polynomial time. This is done by introducing a new semantics, called algebraic context semantics. The framework stems from Gonthier's original work (itself a model of Girard's geometry of interaction) and turns out to be a versatile and powerful tool for the quantitative analysis of normalization in the lambda calculus with constants and higher-order recursion. [ABSTRACT FROM AUTHOR]
- Published
- 2009
- Full Text
- View/download PDF
Catalog
Discovery Service for Jio Institute Digital Library
For full access to our library's resources, please sign in.