Composing Dinatural Transformations: Towards a Calculus of Substitution
Guy McCusker, Alessio Santamaria

TL;DR
This paper advances the theory of dinatural transformations by providing a semantic proof of Petric's theorem, defining a generalized functor category, and establishing a compositional calculus with associative horizontal composition.
Contribution
It introduces a semantic proof of Petric's theorem, constructs a generalized functor category, and defines a compositional calculus for dinatural transformations with associative horizontal composition.
Findings
Semantic proof of Petric's theorem
Definition of a generalized functor category
Establishment of associative horizontal composition
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
