The Differential -Calculus

Total Page:16

File Type:pdf, Size:1020Kb

The Differential -Calculus UNIVERSITY OF CALGARY The differential λ-calculus: syntax and semantics for differential geometry by Jonathan Gallagher A THESIS SUBMITTED TO THE FACULTY OF GRADUATE STUDIES IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHILOSOPHY GRADUATE PROGRAM IN COMPUTER SCIENCE CALGARY, ALBERTA May, 2018 c Jonathan Gallagher 2018 Abstract The differential λ-calculus was introduced to study the resource usage of programs. This thesis marks a change in that belief system; our thesis can be summarized by the analogy λ-calculus : functions :: @ λ-calculus : smooth functions To accomplish this, we will describe a precise categorical semantics for the dif- ferential λ-calculus using categories with a differential operator. We will then describe explicit models that are relevant to differential geometry, using categories like Sikorski spaces and diffeological spaces. ii Preface This thesis is the original work of the author. This thesis represents my attempt to understand the differential λ-calculus, its models and closed structures in differential geometry. I motivated to show that the differential λ-calculus should have models in all the geometrically accepted settings that combine differential calculus and function spaces. To accomplish this, I got the opportunity to learn chunks of differential ge- ometry. I became fascinated by the fact that differential geometers make use of curves and (higher order) functionals everywhere, but use these spaces of func- tions without working generally in a closed category. It is in a time like this, that one can convince oneself, that differential geometers secretly wish that there is a closed category of manifolds. There are concrete problems that become impossible to solve without closed structure. One of the first geometers to propose a generalization of manifolds was Chen, who wanted to iterate a path space construction to formalize how iterated integrals can be computed. These spaces, now called Chen spaces, and their closely related counterparts, diffeological spaces and Sikorski spaces have many properties that make them categorically more well behaved (they are Cartesian closed categories with all limits and colimits). Yet, differential geometers do not seem to have simply flocked to these generalized smooth spaces; the reason is that they have badly behaved limits – that is, they admit non-transverse intersections. Examples of badly behaved limits come from catastrophe theory: one has two submanifolds M ,N of some manifold Z , and in Z there is an intersection of M ,N where the tangent vectors at those intersections do not span Z . When taking the pullback of M ,N one obtains a space B with degenerate behaviour: there can be iii places where the dimension of B collapses leading to catastrophic behaviour. I find it exciting that these sorts of issues come up when trying to construct models of the differential λ-calculus. It seems perhaps important that a simple coherence required to model the differential λ-calculus in settings for differential geometry brings up the kind of issues with “bad” limits in differential geometry, which is the subject of part of chapter6. Chapter2 revisits the term logic developed in (Blute, Cockett, and Seely, 2009) from the point of view of a representable multicategory. The view of representable multicategory I took is based on conversations and an unpublished paper with Robin Cockett on Monoidal Turing Categories. The separation of the product from the rules of differentiation is new. The equivalence of categories between the category of differential theories and the category of Cartesian differential categories is new. The approach to type theories I take in regarding sytax as a presentation of a Cartesian multicategory is heavily influenced and shaped by the opportunity to serve as a teaching assistant for the AARMS summer school “Higher category theory and categorical logic” which was taught by Mike Shulman and Peter LeFanu Lumsdaine. Chapter3 is based on reading (Bucciarelli, Ehrhard, and Manzoneto, 2010). I discussed a bit of their paper with the third named author, Giulio Manzonetto. Their paper has no completeness theorem, and Robin Cockett suggested that the chain rule might not hold for theories with function symbols. I wrote this chap- ter to complete the story. (Bucciarelli, Ehrhard, and Manzoneto, 2010) showed soundness for the differential λ-calculus in Cartesian closed categories for a free theory with no function symbols. The soundness theorem for the differential λ-calculus with function symbols and equations is new, and the completeness theorem is new. Chapter4 is based on a review for a journal version of a paper Robin Cockett and I wrote, and have submitted to MSCS on the untyped differential λ-calculus. The reviewer wrote that it was not obvious that the type theory I used was related to the differential λ-calculus. I constructed the interpretations to ensure that they were indeed equivalent. However, this review prompted me to learn about some of the more delicate aspects of constructing categorical models for intensional cal- culi and untyped calculi. Reading papers by Scott, Koymans, Lambek, Barendregt, iv Meyers, and others leads to a much richer and nuanced history than one might expect to find. In the end, I think the objection was based on a misunderstanding, but I think this detour was important because it lead to a bit more discernment in constructing models. Chapter5 is based on a talk I gave in the Peripatetic Seminar at the University of Calgary, in which I proved that synthetic differential geometry gives a model of the differential λ-calculus. Robin Cockett verbally suggested at the end of the talk, that my proof did not involve the particulars of synthetic differential geometry, and seemed to revolve around the strength. I then spent some time analyzing the strength, and proved that indeed, a property of the strength is crucial for modelling the differential λ-calculus. Chapter6 arose from trying to understand two seemingly separate things. First was the work of Nishimura, and second was as to whether diffeological spaces have any non-trivial tangent structure. I had never managed to adequately figure out either, until I read Leung’s paper (Leung, 2017). Leung proved that tangent structures on a category X are equivalent to monoidal functors from Weil algebras (with tensor given by coproduct) into the functor category [X,X] (with tensor given by functor composition). Nishimura had been asking for what he called Weil prolongation, and I realized that Leung’s description of tangent structure could be immediately reformulated as Weil prolongation using actegories which give a categorically coherent version of Nishimura’s notion of prolongation. (Kock, 1986) also used Weil prolongation to obtain tangent structure under the name semidirect product of categories instead of actegories. I met the notion of actegory while working with an MSc student of Robin Cockett, named Masuka Yeasin, on linear protocols for message passing types. Garner also used actegories in characterizing tangent categories as enriched categories (Garner, 2018). In this thesis, I try to attribute the theorems Garner proved, to Garner. The intended audience for this thesis is people interested in the differential λ-calculus and people interested in how to obtain closed categories for differential geometry. I try to take little for granted at the level of theories, but at the level of category theory, I do take some basic material for granted. v Acknowledgments I would like to thank the PIMS organization for funding the peripatetic seminar which allowed visitors to interact with our group on differential and tangent structure. I would like to thank NSERC who, through my supervisor Robin Cockett, allowed me to travel and disseminate my research. I would like to thank my supervisor Robin Cockett for directing my thesis. I would also like to thank Kristine Bauer for years of open minded conversations and support. I would like to thank the whole peripatetic seminar with special thanks to Ben MacAdam, Chad Nester, Prashant Kumar, JS Lemay, Brett Giles, Pavel Hrubes, Geoff Cruttwell, Matthew Burke, Ximo Diaz-Boils, Masuka Yeasin, Priyaa Srinivasan, Daniel Satanove, and Cole Comfort as well as Pieter Hofstra, Rick Blute, and Robert Seely, summer visitor Matvey Soloviev, and labmates James King, Chris Jarabek, Eric Lin, and Sutapa Dey for useful conversations and great times during my stay in Calgary. vi For Mom, Dad, Grandma, Poppy, Grandma, Andrew, Jakob, BJ, Josh, and Veronika. In other words, that the so called involuntary circulation of your blood is one continuous process with the stars shining. If you find out that it’s you who circulates your blood you will at the same moment find out that you are shining the sun. Because your physical organism is one continuous process with ev- erything else that is going on. Just as the waves are continous with the ocean. Your body is continous with the total energy system of the cosmos and its all you. Only you’re playing the game that you’re only this bit of it. – Alan Watts vii Table of Contents Abstract ................................................. ii Preface .................................................. iii Acknowledgments ......................................... vi Dedication ............................................... vii Table of Contents .......................................... viii List of Tables .............................................. x 1 Introduction ..........................................
Recommended publications
  • Skew Monoidal Categories and Grothendieck's Six Operations
    Skew Monoidal Categories and Grothendieck's Six Operations by Benjamin James Fuller A thesis submitted for the degree of Doctor of Philosophy. Department of Pure Mathematics School of Mathematics and Statistics The University of Sheffield March 2017 ii Abstract In this thesis, we explore several topics in the theory of monoidal and skew monoidal categories. In Chapter 3, we give definitions of dual pairs in monoidal categories, skew monoidal categories, closed skew monoidal categories and closed mon- oidal categories. In the case of monoidal and closed monoidal categories, there are multiple well-known definitions of a dual pair. We generalise these definitions to skew monoidal and closed skew monoidal categories. In Chapter 4, we introduce semidirect products of skew monoidal cat- egories. Semidirect products of groups are a well-known and well-studied algebraic construction. Semidirect products of monoids can be defined anal- ogously. We provide a categorification of this construction, for semidirect products of skew monoidal categories. We then discuss semidirect products of monoidal, closed skew monoidal and closed monoidal categories, in each case providing sufficient conditions for the semidirect product of two skew monoidal categories with the given structure to inherit the structure itself. In Chapter 5, we prove a coherence theorem for monoidal adjunctions between closed monoidal categories, a fragment of Grothendieck's `six oper- ations' formalism. iii iv Acknowledgements First and foremost, I would like to thank my supervisor, Simon Willerton, without whose help and guidance this thesis would not have been possible. I would also like to thank the various members of J14b that have come and gone over my four years at Sheffield; the friendly office environment has helped keep me sane.
    [Show full text]
  • Master Report Conservative Extensions of Montague Semantics M2 MPRI: April-August 2017
    ENS Cachan,Universite´ Paris-Saclay Master report Conservative extensions of Montague semantics M2 MPRI: April-August 2017 Supervised by Philippe de Groote, Semagramme´ team, Loria,Inria Nancy Grand Est Mathieu Huot August 21, 2017 The general context Computational linguistics is the study of linguistic phenomena from the point of view of computer science. Many approaches have been proposed to tackle the problem. The approach of compositional semantics is that the meaning of a sentence is obtained via the meaning of its subconstituents, the basic constituents being mostly the words, with possibly some extra features which may be understood as side effects from the point of view of the computer scientist, such as interaction with a context, time dependency, etc. Montague [43, 44] has been one of the major figures to this approach, but what is today known as Montague semantics lacks a modular approach. It means that a model is usually made to deal with a particular problem such as covert movement [47], intentionalisation [12,8], or temporal modifiers [18], and those models do not necessarily interact well one with another. This problem in general is an important limitation of the computational models of linguistics that have been proposed so far. De Groote [20] has proposed a model called Abstract Categorial Grammars (ACG), which subsumes many known frameworks [20, 21, 13] such as Tree Adjoining Grammars [24], Rational Transducers and Regular Grammars [20], taking its roots in the simply typed lambda calculus [6]. The research problem The problem we are interested in is finding a more unifying model, yet close to the intuition and the previous works, which would allow more modularity while remaining in the paradigm of compositional semantics.
    [Show full text]
  • Locally Cartesian Closed Categories, Coalgebras, and Containers
    U.U.D.M. Project Report 2013:5 Locally cartesian closed categories, coalgebras, and containers Tilo Wiklund Examensarbete i matematik, 15 hp Handledare: Erik Palmgren, Stockholms universitet Examinator: Vera Koponen Mars 2013 Department of Mathematics Uppsala University Contents 1 Algebras and Coalgebras 1 1.1 Morphisms .................................... 2 1.2 Initial and terminal structures ........................... 4 1.3 Functoriality .................................... 6 1.4 (Co)recursion ................................... 7 1.5 Building final coalgebras ............................. 9 2 Bundles 13 2.1 Sums and products ................................ 14 2.2 Exponentials, fibre-wise ............................. 18 2.3 Bundles, fibre-wise ................................ 19 2.4 Lifting functors .................................. 21 2.5 A choice theorem ................................. 22 3 Enriching bundles 25 3.1 Enriched categories ................................ 26 3.2 Underlying categories ............................... 29 3.3 Enriched functors ................................. 31 3.4 Convenient strengths ............................... 33 3.5 Natural transformations .............................. 41 4 Containers 45 4.1 Container functors ................................ 45 4.2 Natural transformations .............................. 47 4.3 Strengths, revisited ................................ 50 4.4 Using shapes ................................... 53 4.5 Final remarks ................................... 56 i Introduction
    [Show full text]
  • Notions of Computation As Monoids (Extended Version)
    Notions of Computation as Monoids (extended version) EXEQUIEL RIVAS MAURO JASKELIOFF Centro Internacional Franco Argentino de Ciencias de la Informaci´ony de Sistemas CONICET, Argentina FCEIA, Universidad Nacional de Rosario, Argentina September 20, 2017 Abstract There are different notions of computation, the most popular being monads, applicative functors, and arrows. In this article we show that these three notions can be seen as instances of a unifying abstract concept: monoids in monoidal categories. We demonstrate that even when working at this high level of generality one can obtain useful results. In particular, we give conditions under which one can obtain free monoids and Cayley representations at the level of monoidal categories, and we show that their concretisation results in useful constructions for monads, applicative functors, and arrows. Moreover, by taking advantage of the uniform presentation of the three notions of computation, we introduce a principled approach to the analysis of the relation between them. 1 Introduction When constructing a semantic model of a system or when structuring computer code, there are several notions of computation that one might consider. Monads [37, 38] are the most popular notion, but other notions, such as arrows [22] and, more recently, applicative functors [35] have been gaining widespread acceptance. Each of these notions of computation has particular characteristics that makes them more suitable for some tasks than for others. Nevertheless, there is much to be gained from unifying all three different notions under a single conceptual framework. In this article we show how all three of these notions of computation can be cast as monoids in monoidal categories.
    [Show full text]
  • Building Closed Categories Cahiers De Topologie Et Géométrie Différentielle Catégoriques, Tome 19, No 2 (1978), P
    CAHIERS DE TOPOLOGIE ET GÉOMÉTRIE DIFFÉRENTIELLE CATÉGORIQUES MICHAEL BARR Building closed categories Cahiers de topologie et géométrie différentielle catégoriques, tome 19, no 2 (1978), p. 115-129. <http://www.numdam.org/item?id=CTGDC_1978__19_2_115_0> © Andrée C. Ehresmann et les auteurs, 1978, tous droits réservés. L’accès aux archives de la revue « Cahiers de topologie et géométrie différentielle catégoriques » implique l’accord avec les conditions générales d’utilisation (http://www.numdam.org/legal.php). Toute uti- lisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit contenir la présente mention de copyright. Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques http://www.numdam.org/ CAHIERS DE TOPOLOGIE Vol. XIX - 2 (1978 ) ET GEOMETRIE DIFFERENTIELLE BUILDING CLOSED CATEGORIES by Michael BARR * I am interested here in examining and generalizing the construction of the cartesian closed category of compactly generated spaces of Gabriel- Zisman [1967 . Suppose we are given a category 21 and a full subcategory 5 . Suppose E is a symmetric monoidal category in the sense of Eilenberg- Kelly [1966], Chapter II, section 1 and Chapter III, section 1. Suppose there is, in addition, a «Hom» functor lil°P X 5--+ 6 which satisfies the axioms of Eilenberg-Kelly for a closed monoidal category insofar as they make sense. Then we show that, granted certain reasonable hypotheses on lbl and 21, this can be extended to a closed monoidal structure on the full subcategory of these objects of 21 which have a Z-presentation. One additional hypo- thesis suffices to show that when the original product in 5 is the cartesian product, then the resultant category is even cartesian closed.
    [Show full text]
  • Categories of Mackey Functors
    Categories of Mackey Functors Elango Panchadcharam M ∗(p1s1) M (t2p2) M(U) / M(P) ∗ / M(W ) 8 C 8 C 88 ÖÖ 88 ÖÖ 88 ÖÖ 88 ÖÖ 8 M ∗(p1) Ö 8 M (p2) Ö 88 ÖÖ 88 ∗ ÖÖ M ∗(s1) 8 Ö 8 Ö M (t2) 8 Ö 8 Ö ∗ 88 ÖÖ 88 ÖÖ 8 ÖÖ 8 ÖÖ M(S) M(T ) 88 Mackey ÖC 88 ÖÖ 88 ÖÖ 88 ÖÖ M (s2) 8 Ö M ∗(t1) ∗ 8 Ö 88 ÖÖ 8 ÖÖ M(V ) This thesis is presented for the degree of Doctor of Philosophy. Department of Mathematics Division of Information and Communication Sciences Macquarie University New South Wales, Australia December 2006 (Revised March 2007) ii This thesis is the result of my own work and includes nothing which is the outcome of work done in collaboration except where specifically indicated in the text. This work has not been submitted for a higher degree to any other university or institution. Elango Panchadcharam In memory of my Father, T. Panchadcharam 1939 - 1991. iii iv Summary The thesis studies the theory of Mackey functors as an application of enriched category theory and highlights the notions of lax braiding and lax centre for monoidal categories and more generally for promonoidal categories. The notion of Mackey functor was first defined by Dress [Dr1] and Green [Gr] in the early 1970’s as a tool for studying representations of finite groups. The first contribution of this thesis is the study of Mackey functors on a com- pact closed category T . We define the Mackey functors on a compact closed category T and investigate the properties of the category Mky of Mackey func- tors on T .
    [Show full text]
  • TRACES in MONOIDAL CATEGORIES Contents 1
    TRANSACTIONS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 364, Number 8, August 2012, Pages 4425–4464 S 0002-9947(2012)05615-7 Article electronically published on March 29, 2012 TRACES IN MONOIDAL CATEGORIES STEPHAN STOLZ AND PETER TEICHNER Abstract. This paper contains the construction, examples and properties of a trace and a trace pairing for certain morphisms in a monoidal category with switching isomorphisms. Our construction of the categorical trace is a com- mon generalization of the trace for endomorphisms of dualizable objects in a balanced monoidal category and the trace of nuclear operators on a topolog- ical vector space with the approximation property. In a forthcoming paper, applications to the partition function of super-symmetric field theories will be given. Contents 1. Introduction 4425 2. Motivation via field theories 4429 3. Thickened morphisms and their traces 4431 3.1. Thickened morphisms 4433 3.2. The trace of a thickened morphism 4436 4. Traces in various categories 4437 4.1. The category of vector spaces 4437 4.2. Thick morphisms with semi-dualizable domain 4439 4.3. Thick morphisms with dualizable domain 4441 4.4. The category Ban of Banach spaces 4443 4.5. A category of topological vector spaces 4445 4.6. The Riemannian bordism category 4451 5. Properties of the trace pairing 4453 5.1. The symmetry property of the trace pairing 4453 5.2. Additivity of the trace pairing 4454 5.3. Braided and balanced monoidal categories 4457 5.4. Multiplicativity of the trace pairing 4461 References 4464 1. Introduction The results of this paper provide an essential step in our proof that the partition function of a Euclidean field theory of dimension 2|1 is an integral modular function [ST1].
    [Show full text]
  • Cyclic Multicategories, Multivariable Adjunctions and Mates
    J. K-Theory 13 (2014), 337–396 ©2013 ISOPP doi:10.1017/is013012007jkt250 Cyclic multicategories, multivariable adjunctions and mates by EUGENIA CHENG,NICK GURSKI AND EMILY RIEHL Abstract A multivariable adjunction is the generalisation of the notion of a 2-variable adjunction, the classical example being the hom/tensor/cotensor trio of functors, to n C 1 functors of n variables. In the presence of multivariable adjunctions, natural transformations between certain composites built from multivariable functors have “dual” forms. We refer to corresponding natural transformations as multivariable or parametrised mates, generalising the mates correspondence for ordinary adjunctions, which enables one to pass between natural transformations involving left adjoints to those involving right adjoints. A central problem is how to express the naturality (or functoriality) of the parametrised mates, giving a precise characterization of the dualities so-encoded. We present the notion of “cyclic double multicategory” as a structure in which to organise multivariable adjunctions and mates. While the standard mates correspondence is described using an isomorphism of double categories, the multivariable version requires the framework of “double multicategories”. Moreover, we show that the analogous isomorphisms of double multicate- gories give a cyclic action on the multimaps, yielding the notion of “cyclic double multicategory”. The work is motivated by and applied to Riehl’s approach to algebraic monoidal model categories. Key Words: Adjunctions, mates, multicategories. Mathematics Subject Classification 2010: 18A40, 18D99. Contents 1 Mates 343 2 Multivariable adjunctions 350 2.1 Definition of multivariable adjunctions . ............. 351 2.2 Amotivatingexample........................ 358 2.3 Composition ............................. 359 2.4 Multivariablemates.......................... 365 338 E. CHENG,N.GURSKI &E.RIEHL 3 Cyclic double multicategories 374 3.1 Plainmulticategories........................
    [Show full text]
  • MACKEY FUNCTORS on COMPACT CLOSED CATEGORIES Groups Are
    MACKEY FUNCTORS ON COMPACT CLOSED CATEGORIES ELANGO PANCHADCHARAM AND ROSS STREET Dedicated to the memory of Saunders Mac Lane ABSTRACT. We develop and extend the theory of Mackey functors as an application of enriched category theory. We define Mackey functors on a lextensive category E and investigate the properties of the category of Mackey functors on E . We show that it is a monoidal category and the monoids are Green functors. Mackey functors are seen as providing a setting in which mere numerical equations occurring in the theory of groups can be given a structural foundation. We obtain an explicit description of the objects of the Cauchy completion of a monoidal functor and apply this to examine Morita equiv- alence of Green functors. 1. INTRODUCTION Groups are used to mathematically understand symmetry in nature and in mathe- matics itself. Classically, groups were studied either directly or via their representations. In the last 40 years, arising from the latter, groups have been studied using Mackey func- tors. Let k be a field. Let Rep(G) Rep (G) be the category of k-linear representations of = k the finite group G. We will study the structure of a monoidal category Mky(G) where the objects are called Mackey functors. This provides an extension of ordinary repre- sentation theory. For example, Rep(G) can be regarded as a full reflective sub-category of Mky(G); the reflection is strong monoidal (= tensor preserving). Representations of G are equally representations of the group algebra kG; Mackey functors can be regarded as representations of the "Mackey algebra" constructed from G.
    [Show full text]
  • Mackey Functors on Compact Closed Categories 1
    Journal of Homotopy and Related Structures, vol. 2(2), 2007, pp.261–293 MACKEY FUNCTORS ON COMPACT CLOSED CATEGORIES ELANGO PANCHADCHARAM and ROSS STREET (communicated by George Janelidze) Abstract We develop and extend the theory of Mackey functors as an application of enriched category theory. We define Mackey functors on a lextensive category E and investigate the prop- erties of the category of Mackey functors on E . We show that it is a monoidal category and the monoids are Green functors. Mackey functors are seen as providing a setting in which mere numerical equations occurring in the theory of groups can be given a structural foundation. We obtain an explicit description of the objects of the Cauchy completion of a monoidal functor and apply this to examine Morita equivalence of Green func- tors. 1. Introduction Groups are used to mathematically understand symmetry in nature and in math- ematics itself. Classically, groups were studied either directly or via their represen- tations. In the last 40 years, arising from the latter, groups have been studied using Mackey functors. Let k be a field. Let Rep(G) = Repk(G) be the category of k-linear represen- tations of the finite group G. We will study the structure of a monoidal category Mky(G) where the objects are called Mackey functors. This provides an exten- sion of ordinary representation theory. For example, Rep(G) can be regarded as a full reflective sub-category of Mky(G); the reflection is strong monoidal (= tensor preserving). Representations of G are equally representations of the group algebra kG; Mackey functors can be regarded as representations of the ”Mackey algebra” constructed from G.
    [Show full text]
  • Aspects of Categorical Algebra in Initialstructure Categories Cahiers De Topologie Et Géométrie Différentielle Catégoriques, Tome 15, No 4 (1974), P
    CAHIERS DE TOPOLOGIE ET GÉOMÉTRIE DIFFÉRENTIELLE CATÉGORIQUES MANFRED BERND WISCHNEWSKY Aspects of categorical algebra in initialstructure categories Cahiers de topologie et géométrie différentielle catégoriques, tome 15, no 4 (1974), p. 419-444 <http://www.numdam.org/item?id=CTGDC_1974__15_4_419_0> © Andrée C. Ehresmann et les auteurs, 1974, tous droits réservés. L’accès aux archives de la revue « Cahiers de topologie et géométrie différentielle catégoriques » implique l’accord avec les conditions générales d’utilisation (http://www.numdam.org/conditions). Toute utilisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit contenir la présente mention de copyright. Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques http://www.numdam.org/ CAHI ERS DE TOPOLOGIE Vol. XV-4 ET GEOMETRIE DIFFERENTIELLE ASPECTS OF CATEGORICAL ALGEBRA IN INITIALSTRUCTURE CATEGORIES* by Manfred Bernd WISCHNEWSKY Initialstruc ture functors F: K - L, the categorical generalization of BOURBAKI’s notion of an « initial objects [3], equivalent to Kenni- son’s pullback stripping functors, which Wyler calls Top-functors, reflect almost all categorical properties from the base category L to the initial structure category K briefly called INS-category [1,4,5,6,8,11,12,13, 13,16,18,19,20,21,22,37]. So for instance if L is complete, cocom- plete, wellpowered, cowellpowered, if L has generators, cogenerators, proj ectives, injectives, or ( coequalizer, mono )-bicategory structures ( ==&#x3E; homomorphism theorem ) , then the same is valid for any INS-category over L . Finally all important theorems of equationally defined universal alge- bra ( e.g. existence of free K-algebras, adjointness of algebraic functors..
    [Show full text]
  • Category Theory for Programmers
    Category Theory for Programmers Bartosz Milewski Category Theory for Programmers Bartosz Milewski Version 0.1, September 2017 This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (cc by-sa 4.0). Converted to LaTeX from a series of blog posts by Bartosz Milewski. PDF compiled by Igal Tabachnik. Contents Preface xiii I Part One 1 1 Category: The Essence of Composition 2 1.1 Arrows as Functions ................... 2 1.2 Properties of Composition ................ 5 1.3 Composition is the Essence of Programming ...... 8 1.4 Challenges ......................... 10 2 Types and Functions 11 2.1 Who Needs Types? .................... 11 2.2 Types Are About Composability ............. 13 2.3 What Are Types? ..................... 14 2.4 Why Do We Need a Mathematical Model? ....... 17 2.5 Pure and Dirty Functions ................. 20 2.6 Examples of Types ..................... 21 2.7 Challenges ......................... 25 iii 3 Categories Great and Small 27 3.1 No Objects ......................... 27 3.2 Simple Graphs ....................... 28 3.3 Orders ........................... 28 3.4 Monoid as Set ....................... 29 3.5 Monoid as Category .................... 34 3.6 Challenges ......................... 37 4 Kleisli Categories 39 4.1 The Writer Category ................... 44 4.2 Writer in Haskell ..................... 48 4.3 Kleisli Categories ..................... 50 4.4 Challenge ......................... 51 5 Products and Coproducts 53 5.1 Initial Object ........................ 54 5.2 Terminal Object ...................... 56 5.3 Duality ........................... 57 5.4 Isomorphisms ....................... 58 5.5 Products .......................... 60 5.6 Coproduct ......................... 66 5.7 Asymmetry ........................ 70 5.8 Challenges ......................... 73 5.9 Bibliography ........................ 74 6 Simple Algebraic Data Types 75 6.1 Product Types ....................... 76 6.2 Records ..........................
    [Show full text]