21 research outputs found
On Compositionality of Dinatural Transformations
Natural transformations are ubiquitous in mathematics, logic and computer science. For operations of mixed variance, such as currying and evaluation in the lambda-calculus, Eilenberg and Kelly\u27s notion of extranatural transformation, and often the even more general dinatural transformation, is required. Unfortunately dinaturals are not closed under composition except in special circumstances. This paper presents a new sufficient condition for composability.
We propose a generalised notion of dinatural transformation in many variables, and extend the Eilenberg-Kelly account of composition for extranaturals to these transformations. Our main result is that a composition of dinatural transformations which creates no cyclic connections between arguments yields a dinatural transformation.
We also extend the classical notion of horizontal composition to our generalized dinaturals and demonstrate that it is associative and has identities
Composing dinatural transformations: Towards a calculus of substitution
Dinatural transformations, which generalise the ubiquitous natural
transformations to the case where the domain and codomain functors are of mixed
variance, fail to compose in general; this has been known since they were
discovered by Dubuc and Street in 1970. Many ad hoc solutions to this
remarkable shortcoming have been found, but a general theory of
compositionality was missing until Petric, in 2003, introduced the concept of
g-dinatural transformations, that is, dinatural transformations together with
an appropriate graph: he showed how acyclicity of the composite graph of two
arbitrary dinatural transformations is a sufficient and essentially necessary
condition for the composite transformation to be in turn dinatural. Here we
propose an alternative, semantic rather than syntactic, proof of Petric's
theorem, which the authors independently rediscovered with no knowledge of its
prior existence; we then use it to define a generalised functor category, whose
objects are functors of mixed variance in many variables, and whose morphisms
are transformations that happen to be dinatural only in some of their
variables. We also define a notion of horizontal composition for dinatural
transformations, extending the well known version for natural transformations,
and prove it is associative and unitary. Horizontal composition embodies
substitution of functors into transformations and vice-versa, and is
intuitively reflected from the string-diagram point of view by substitution of
graphs into graphs
Compositional Game Theory, compositionally
We present a new compositional approach to compositional game theory (CGT) based upon Arrows, a concept originally from functional programming, closely related to Tambara modules, and operators to build new Arrows from old. We model equilibria as a module over an Arrow and define an operator to build a new Arrow from such a module over an existing Arrow. We also model strategies as graded Arrows and define an operator which builds a new Arrow by taking the colimit of a graded Arrow. A final operator builds a graded Arrow from a graded bimodule. We use this compositional approach to CGT to show how known and previously unknown variants of open games can be proven to form symmetric monoidal categories
Logic of fusion
The starting point of this work is the observation that the Curry-Howard
isomorphism, relating types and propositions, programs and proofs, composition
and cut, extends to the correspondence of program fusion and cut elimination.
This simple idea suggests logical interpretations of some of the basic methods
of generic and transformational programming. In the present paper, we provide a
logical analysis of the general form of build fusion, also known as
deforestation, over the inductive and the coinductive datatypes, regular or
nested. The analysis is based on a novel logical interpretation of
parametricity in terms of the paranatural transformations, introduced in the
paper.Comment: 17 pages, 6 diagrams; Andre Scedrov FestSchrif
Promonads and String Diagrams for Effectful Categories
Premonoidal and Freyd categories are both generalized by non-cartesian Freyd
categories: effectful categories. We construct string diagrams for effectful
categories in terms of the string diagrams for a monoidal category with a
freely added object. We show that effectful categories are pseudomonoids in a
monoidal bicategory of promonads with a suitable tensor product.Comment: In Proceedings ACT 2022, arXiv:2307.1551
Weak Similarity in Higher-Order Mathematical Operational Semantics
Higher-order abstract GSOS is a recent extension of Turi and Plotkin's
framework of Mathematical Operational Semantics to higher-order languages. The
fundamental well-behavedness property of all specifications within the
framework is that coalgebraic strong (bi)similarity on their operational model
is a congruence. In the present work, we establish a corresponding congruence
theorem for weak similarity, which is shown to instantiate to well-known
concepts such as Abramsky's applicative similarity for the lambda-calculus. On
the way, we develop several techniques of independent interest at the level of
abstract categories, including relation liftings of mixed-variance bifunctors
and higher-order GSOS laws, as well as Howe's method
FICS 2010
International audienceInformal proceedings of the 7th workshop on Fixed Points in Computer Science (FICS 2010), held in Brno, 21-22 August 201
On the Pre- and Promonoidal Structure of Spacetime
The notion of a joint system, as captured by the monoidal (a.k.a. tensor)
product, is fundamental to the compositional, process-theoretic approach to
physical theories. Promonoidal categories generalise monoidal categories by
replacing the functors normally used to form joint systems with profunctors.
Intuitively, this allows the formation of joint systems which may not always
give a system again, but instead a generalised system given by a presheaf. This
extra freedom gives a new, richer notion of joint systems that can be applied
to categorical formulations of spacetime. Whereas previous formulations have
relied on partial monoidal structure that is only defined on pairs of
independent (i.e. spacelike separated) systems, here we give a concrete
formulation of spacetime where the notion of a joint system is defined for any
pair of systems as a presheaf. The representable presheaves correspond
precisely to those actual systems that arise from combining spacelike systems,
whereas more general presheaves correspond to virtual systems which inherit
some of the logical/compositional properties of their ``actual'' counterparts.
We show that there are two ways of doing this, corresponding roughly to
relativistic versions of conjunction and disjunction. The former endows the
category of spacetime slices in a Lorentzian manifold with a promonoidal
structure, whereas the latter augments this structure with an (even more)
generalised way to combine systems that fails the interchange law.Comment: In Proceedings ACT 2022, arXiv:2307.1551