Skip to main content

Showing 1–18 of 18 results for author: Plotkin, G

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

    cs.LO

    Polynomial Lawvere Logic

    Authors: Giorgio Bacci, Radu Mardare, Prakash Panangaden, Gordon Plotkin

    Abstract: In this paper, we study Polynomial Lawvere logic (PL), a logic on the quantale of the extended positive reals, developed for reasoning about metric spaces. PL is appropriate for encoding quantitative reasoning principles, such as quantitative equational logic. PL formulas include the polynomial functions on the extended positive reals, and its judgements include inequalities between polynomials.… ▽ More

    Submitted 7 February, 2024; v1 submitted 5 February, 2024; originally announced February 2024.

  2. arXiv:2311.16977  [pdf, ps, other

    cs.PL cs.LG

    Bidirectional Reactive Programming for Machine Learning

    Authors: Dumitru Potop Butucaru, Albert Cohen, Gordon Plotkin, Hugo Pompougnac

    Abstract: Reactive languages are dedicated to the programming of systems which interact continuously and concurrently with their environment. Values take the form of unbounded streams modeling the (discrete) passing of time or the sequence of concurrent interactions. While conventional reactivity models recurrences forward in time, we introduce a symmetric reactive construct enabling backward recurrences. C… ▽ More

    Submitted 28 November, 2023; originally announced November 2023.

    ACM Class: D.3; D.3.1; I.2; I.2.5

  3. Propositional Logics for the Lawvere Quantale

    Authors: Giorgio Bacci, Radu Mardare, Prakash Panangaden, Gordon Plotkin

    Abstract: Lawvere showed that generalised metric spaces are categories enriched over $[0, \infty]$, the quantale of the positive extended reals. The statement of enrichment is a quantitative analogue of being a preorder. Towards seeking a logic for quantitative metric reasoning, we investigate three $[0,\infty]$-valued propositional logics over the Lawvere quantale. The basic logical connectives shared by a… ▽ More

    Submitted 17 November, 2023; v1 submitted 2 February, 2023; originally announced February 2023.

    Journal ref: Electronic Notes in Theoretical Informatics and Computer Science, Volume 3 - Proceedings of MFPS XXXIX (November 23, 2023) entics:12292

  4. arXiv:2212.11784  [pdf, ps, other

    cs.LO

    Sum and Tensor of Quantitative Effects

    Authors: Giorgio Bacci, Radu Mardare, Prakash Panangaden, Gordon Plotkin

    Abstract: Inspired by the seminal work of Hyland, Plotkin, and Power on the combination of algebraic computational effects via sum and tensor, we develop an analogous theory for the combination of quantitative algebraic effects. Quantitative algebraic effects are monadic computational effects on categories of metric spaces, which, moreover, admit an algebraic presentation in the form of quantitative equatio… ▽ More

    Submitted 22 December, 2022; originally announced December 2022.

  5. arXiv:2206.08413  [pdf, ps, other

    cs.LO

    Recursion does not always help

    Authors: Gordon Plotkin

    Abstract: We show that adding recursion does not increase the total functions definable in the typed $λβη$-calculus or the partial functions definable in the $λΩ$-calculus. As a consequence, adding recursion does not increase the class of partial or total definable functions on free algebras and so, in particular, on the natural numbers.

    Submitted 18 July, 2023; v1 submitted 16 June, 2022; originally announced June 2022.

    Comments: Improved presentation a little

  6. arXiv:2106.15932  [pdf, ps, other

    cs.LO

    Fixed-Points for Quantitative Equational Logics

    Authors: Radu Mardare, Prakash Panangaden, Gordon Plotkin

    Abstract: We develop a fixed-point extension of quantitative equational logic and give semantics in one-bounded complete quantitative algebras. Unlike previous related work about fixed-points in metric spaces, we are working with the notion of approximate equality rather than exact equality. The result is a novel theory of fixed points which can not only provide solutions to the traditional fixed-point equa… ▽ More

    Submitted 30 June, 2021; originally announced June 2021.

    Journal ref: 36th Anual Symposium on Logics in Computer Science, ACM/IEEE LICS 2021

  7. Smart Choices and the Selection Monad

    Authors: Martin Abadi, Gordon Plotkin

    Abstract: Describing systems in terms of choices and their resulting costs and rewards offers the promise of freeing algorithm designers and programmers from specifying how those choices should be made; in implementations, the choices can be realized by optimization techniques and, increasingly, by machine-learning methods. We study this approach from a programming-language perspective. We define two small… ▽ More

    Submitted 19 April, 2023; v1 submitted 17 July, 2020; originally announced July 2020.

    Journal ref: Logical Methods in Computer Science, Volume 19, Issue 2 (April 20, 2023) lmcs:8372

  8. arXiv:2006.06415  [pdf, ps, other

    cs.LO

    A complete equational axiomatisation of partial differentiation

    Authors: Gordon D. Plotkin

    Abstract: We formalise the well-known rules of partial differentiation in a version of equational logic with function variables and binding constructs. We prove the resulting theory is complete with respect to polynomial interpretations. The proof makes use of Severi's interpolation theorem that all multivariate Hermite problems are solvable. We also present a number of related results, such as decidability… ▽ More

    Submitted 3 August, 2020; v1 submitted 11 June, 2020; originally announced June 2020.

  9. arXiv:1911.04523  [pdf, ps, other

    cs.PL cs.LG

    A Simple Differentiable Programming Language

    Authors: Martin Abadi, Gordon D. Plotkin

    Abstract: Automatic differentiation plays a prominent role in scientific computing and in modern machine learning, often in the context of powerful programming systems. The relation of the various embodiments of automatic differentiation to the mathematical notion of derivative is not always entirely clear---discrepancies can arise, sometimes inadvertently. In order to study automatic differentiation in suc… ▽ More

    Submitted 1 February, 2020; v1 submitted 11 November, 2019; originally announced November 2019.

    Comments: In POPL2020

  10. arXiv:1910.07065  [pdf, ps, other

    cs.LO math.CT

    Reverse derivative categories

    Authors: Robin Cockett, Geoffrey Cruttwell, Jonathan Gallagher, Jean-Simon Pacaud Lemay, Benjamin MacAdam, Gordon Plotkin, Dorette Pronk

    Abstract: The reverse derivative is a fundamental operation in machine learning and automatic differentiation. This paper gives a direct axiomatization of a category with a reverse derivative operation, in a similar style to that given by Cartesian differential categories for a forward derivative. Intriguingly, a category with a reverse derivative also has a forward derivative, but the converse is not true.… ▽ More

    Submitted 15 October, 2019; originally announced October 2019.

    Comments: Extended version of paper to appear at CSL 2020

    ACM Class: F.3.2; D.3.1

  11. arXiv:1804.01682  [pdf, ps, other

    cs.LO

    On the Axiomatizability of Quantitative Algebras

    Authors: Radu Mardare, Prakash Panangaden, Gordon Plotkin

    Abstract: Quantitative algebras (QAs) are algebras over metric spaces defined by quantitative equational theories as introduced by the same authors in a related paper presented at LICS 2016. These algebras provide the mathematical foundation for metric semantics of probabilistic, stochastic and other quantitative systems. This paper considers the issue of axiomatizability of QAs. We investigate the entire s… ▽ More

    Submitted 5 April, 2018; originally announced April 2018.

    Comments: 34 pages, this is an extended version of the paper with the same title presented at LICS 2017

    MSC Class: 03B70

  12. Free complete Wasserstein algebras

    Authors: Radu Mardare, Prakash Panangaden, Gordon D. Plotkin

    Abstract: We present an algebraic account of the Wasserstein distances $W_p$ on complete metric spaces, for $p \geq 1$. This is part of a program of a quantitative algebraic theory of effects in programming languages. In particular, we give axioms, parametric in $p$, for algebras over metric spaces equipped with probabilistic choice operations. The axioms say that the operations form a barycentric algebra a… ▽ More

    Submitted 13 September, 2018; v1 submitted 20 February, 2018; originally announced February 2018.

    Journal ref: Logical Methods in Computer Science, Volume 14, Issue 3 (September 14, 2018) lmcs:4312

  13. Mixed powerdomains for probability and nondeterminism

    Authors: Klaus Keimel, Gordon D. Plotkin

    Abstract: We consider mixed powerdomains combining ordinary nondeterminism and probabilistic nondeterminism. We characterise them as free algebras for suitable (in)equation-al theories; we establish functional representation theorems; and we show equivalencies between state transformers and appropriately healthy predicate transformers. The extended nonnegative reals serve as `truth-values'. As usual with po… ▽ More

    Submitted 20 January, 2017; v1 submitted 3 December, 2016; originally announced December 2016.

    Journal ref: Logical Methods in Computer Science, Volume 13, Issue 1 (January 24, 2017) lmcs:2578

  14. arXiv:1608.06499  [pdf, other

    cs.PL

    Dijkstra Monads for Free

    Authors: Danel Ahman, Catalin Hritcu, Kenji Maillard, Guido Martinez, Gordon Plotkin, Jonathan Protzenko, Aseem Rastogi, Nikhil Swamy

    Abstract: Dijkstra monads enable a dependent type theory to be enhanced with support for specifying and verifying effectful code via weakest preconditions. Together with their closely related counterparts, Hoare monads, they provide the basis on which verification tools like F*, Hoare Type Theory (HTT), and Ynot are built. We show that Dijkstra monads can be derived "for free" by applying a continuation-p… ▽ More

    Submitted 12 October, 2019; v1 submitted 23 August, 2016; originally announced August 2016.

    Comments: extended pre-print for POPL 2017 final version with the missing ERC acknowledgement

  15. Handling Algebraic Effects

    Authors: Gordon D Plotkin, Matija Pretnar

    Abstract: Algebraic effects are computational effects that can be represented by an equational theory whose operations produce the effects at hand. The free model of this theory induces the expected computational monad for the corresponding effect. Algebraic effects include exceptions, state, nondeterminism, interactive input/output, and time, and their combinations. Exception handling, however, has so far… ▽ More

    Submitted 16 December, 2013; v1 submitted 4 December, 2013; originally announced December 2013.

    Comments: 36 pages

    Journal ref: Logical Methods in Computer Science, Volume 9, Issue 4 (December 17, 2013) lmcs:705

  16. A Model of Cooperative Threads

    Authors: Martín Abadi, Gordon D. Plotkin

    Abstract: We develop a model of concurrent imperative programming with threads. We focus on a small imperative language with cooperative threads which execute without interruption until they terminate or explicitly yield control. We define and study a trace-based denotational semantics for this language; this semantics is fully abstract but mathematically elementary. We also give an equational theory for t… ▽ More

    Submitted 20 October, 2010; v1 submitted 13 September, 2010; originally announced September 2010.

    Comments: 39 pages, 5 figures

    ACM Class: D.1.3, F.3.2

    Journal ref: Logical Methods in Computer Science, Volume 6, Issue 4 (October 20, 2010) lmcs:700

  17. On CSP and the Algebraic Theory of Effects

    Authors: Rob van Glabbeek, Gordon Plotkin

    Abstract: We consider CSP from the point of view of the algebraic theory of effects, which classifies operations as effect constructors or effect deconstructors; it also provides a link with functional programming, being a refinement of Moggi's seminal monadic point of view. There is a natural algebraic theory of the constructors whose free algebra functor is Moggi's monad; we illustrate this by characteris… ▽ More

    Submitted 30 July, 2010; originally announced July 2010.

  18. Configuration Structures, Event Structures and Petri Nets

    Authors: R. J. van Glabbeek, G. D. Plotkin

    Abstract: In this paper the correspondence between safe Petri nets and event structures, due to Nielsen, Plotkin and Winskel, is extended to arbitrary nets without self-loops, under the collective token interpretation. To this end we propose a more general form of event structure, matching the expressive power of such nets. These new event structures and nets are connected by relating both notions with co… ▽ More

    Submitted 20 December, 2009; originally announced December 2009.

    Comments: Contributed to the Festschrift for Mogens Nielsen's 60th birthday

    ACM Class: F.3.2

    Journal ref: Theoretical Computer Science 410(41), 2009, pp. 4111-4159