A Subtle Introduction to Category Theory
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Notes and Solutions to Exercises for Mac Lane's Categories for The
Stefan Dawydiak Version 0.3 July 2, 2020 Notes and Exercises from Categories for the Working Mathematician Contents 0 Preface 2 1 Categories, Functors, and Natural Transformations 2 1.1 Functors . .2 1.2 Natural Transformations . .4 1.3 Monics, Epis, and Zeros . .5 2 Constructions on Categories 6 2.1 Products of Categories . .6 2.2 Functor categories . .6 2.2.1 The Interchange Law . .8 2.3 The Category of All Categories . .8 2.4 Comma Categories . 11 2.5 Graphs and Free Categories . 12 2.6 Quotient Categories . 13 3 Universals and Limits 13 3.1 Universal Arrows . 13 3.2 The Yoneda Lemma . 14 3.2.1 Proof of the Yoneda Lemma . 14 3.3 Coproducts and Colimits . 16 3.4 Products and Limits . 18 3.4.1 The p-adic integers . 20 3.5 Categories with Finite Products . 21 3.6 Groups in Categories . 22 4 Adjoints 23 4.1 Adjunctions . 23 4.2 Examples of Adjoints . 24 4.3 Reflective Subcategories . 28 4.4 Equivalence of Categories . 30 4.5 Adjoints for Preorders . 32 4.5.1 Examples of Galois Connections . 32 4.6 Cartesian Closed Categories . 33 5 Limits 33 5.1 Creation of Limits . 33 5.2 Limits by Products and Equalizers . 34 5.3 Preservation of Limits . 35 5.4 Adjoints on Limits . 35 5.5 Freyd's adjoint functor theorem . 36 1 6 Chapter 6 38 7 Chapter 7 38 8 Abelian Categories 38 8.1 Additive Categories . 38 8.2 Abelian Categories . 38 8.3 Diagram Lemmas . 39 9 Special Limits 41 9.1 Interchange of Limits . -
Category Theory
CMPT 481/731 Functional Programming Fall 2008 Category Theory Category theory is a generalization of set theory. By having only a limited number of carefully chosen requirements in the definition of a category, we are able to produce a general algebraic structure with a large number of useful properties, yet permit the theory to apply to many different specific mathematical systems. Using concepts from category theory in the design of a programming language leads to some powerful and general programming constructs. While it is possible to use the resulting constructs without knowing anything about category theory, understanding the underlying theory helps. Category Theory F. Warren Burton 1 CMPT 481/731 Functional Programming Fall 2008 Definition of a Category A category is: 1. a collection of ; 2. a collection of ; 3. operations assigning to each arrow (a) an object called the domain of , and (b) an object called the codomain of often expressed by ; 4. an associative composition operator assigning to each pair of arrows, and , such that ,a composite arrow ; and 5. for each object , an identity arrow, satisfying the law that for any arrow , . Category Theory F. Warren Burton 2 CMPT 481/731 Functional Programming Fall 2008 In diagrams, we will usually express and (that is ) by The associative requirement for the composition operators means that when and are both defined, then . This allow us to think of arrows defined by paths throught diagrams. Category Theory F. Warren Burton 3 CMPT 481/731 Functional Programming Fall 2008 I will sometimes write for flip , since is less confusing than Category Theory F. -
Compactly Accessible Categories and Quantum Key Distribution
COMPACTLY ACCESSIBLE CATEGORIES AND QUANTUM KEY DISTRIBUTION CHRIS HEUNEN Institute for Computing and Information Sciences, Radboud University, Nijmegen, the Netherlands Abstract. Compact categories have lately seen renewed interest via applications to quan- tum physics. Being essentially finite-dimensional, they cannot accomodate (co)limit-based constructions. For example, they cannot capture protocols such as quantum key distribu- tion, that rely on the law of large numbers. To overcome this limitation, we introduce the notion of a compactly accessible category, relying on the extra structure of a factorisation system. This notion allows for infinite dimension while retaining key properties of compact categories: the main technical result is that the choice-of-duals functor on the compact part extends canonically to the whole compactly accessible category. As an example, we model a quantum key distribution protocol and prove its correctness categorically. 1. Introduction Compact categories were first introduced in 1972 as a class of examples in the con- text of the coherence problem [Kel72]. They were subsequently studied first categori- cally [Day77, KL80], and later in relation to linear logic [See89]. Interest has rejuvenated since the exhibition of another aspect: compact categories provide a semantics for quantum computation [AC04, Sel07]. The main virtue of compact categories as models of quantum computation is that from very few axioms, surprisingly many consequences ensue that were postulates explicitly in the traditional Hilbert space formalism, e.g. scalars [Abr05]. More- over, the connection to linear logic provides quantum computation with a resource sensitive type theory of its own [Dun06]. Much of the structure of compact categories is due to a seemingly ingrained ‘finite- dimensionality'. -
The Morita Theory of Quantum Graph Isomorphisms
Commun. Math. Phys. Communications in Digital Object Identifier (DOI) https://doi.org/10.1007/s00220-018-3225-6 Mathematical Physics The Morita Theory of Quantum Graph Isomorphisms Benjamin Musto, David Reutter, Dominic Verdon Department of Computer Science, University of Oxford, Oxford, UK. E-mail: [email protected]; [email protected]; [email protected] Received: 31 January 2018 / Accepted: 11 June 2018 © The Author(s) 2018 Abstract: We classify instances of quantum pseudo-telepathy in the graph isomorphism game, exploiting the recently discovered connection between quantum information and the theory of quantum automorphism groups. Specifically, we show that graphs quantum isomorphic to a given graph are in bijective correspondence with Morita equivalence classes of certain Frobenius algebras in the category of finite-dimensional representations of the quantum automorphism algebra of that graph. We show that such a Frobenius algebra may be constructed from a central type subgroup of the classical automorphism group, whose action on the graph has coisotropic vertex stabilisers. In particular, if the original graph has no quantum symmetries, quantum isomorphic graphs are classified by such subgroups. We show that all quantum isomorphic graph pairs corresponding to a well-known family of binary constraint systems arise from this group-theoretical construction. We use our classification to show that, of the small order vertex-transitive graphs with no quantum symmetry, none is quantum isomorphic to a non-isomorphic graph. We show that this is in fact asymptotically almost surely true of all graphs. Contents 1. Introduction ................................. 2. Background ................................. 2.1 String diagrams, Frobenius monoids and Gelfand duality ...... -
Categories of Quantum and Classical Channels (Extended Abstract)
Categories of Quantum and Classical Channels (extended abstract) Bob Coecke∗ Chris Heunen† Aleks Kissinger∗ University of Oxford, Department of Computer Science fcoecke,heunen,[email protected] We introduce the CP*–construction on a dagger compact closed category as a generalisation of Selinger’s CPM–construction. While the latter takes a dagger compact closed category and forms its category of “abstract matrix algebras” and completely positive maps, the CP*–construction forms its category of “abstract C*-algebras” and completely positive maps. This analogy is justified by the case of finite-dimensional Hilbert spaces, where the CP*–construction yields the category of finite-dimensional C*-algebras and completely positive maps. The CP*–construction fully embeds Selinger’s CPM–construction in such a way that the objects in the image of the embedding can be thought of as “purely quantum” state spaces. It also embeds the category of classical stochastic maps, whose image consists of “purely classical” state spaces. By allowing classical and quantum data to coexist, this provides elegant abstract notions of preparation, measurement, and more general quantum channels. 1 Introduction One of the motivations driving categorical treatments of quantum mechanics is to place classical and quantum systems on an equal footing in a single category, so that one can study their interactions. The main idea of categorical quantum mechanics [1] is to fix a category (usually dagger compact) whose ob- jects are thought of as state spaces and whose morphisms are evolutions. There are two main variations. • “Dirac style”: Objects form pure state spaces, and isometric morphisms form pure state evolutions. -
Compact Inverse Categories 11
COMPACT INVERSE CATEGORIES ROBIN COCKETT AND CHRIS HEUNEN Abstract. The Ehresmann-Schein-Nambooripad theorem gives a structure theorem for inverse monoids: they are inductive groupoids. A particularly nice case due to Jarek is that commutative inverse monoids become semilattices of abelian groups. It has also been categorified by DeWolf-Pronk to a structure theorem for inverse categories as locally complete inductive groupoids. We show that in the case of compact inverse categories, this takes the particularly nice form of a semilattice of compact groupoids. Moreover, one-object com- pact inverse categories are exactly commutative inverse monoids. Compact groupoids, in turn, are determined in particularly simple terms of 3-cocycles by Baez-Lauda. 1. Introduction Inverse monoids model partial symmetry [24], and arise naturally in many com- binatorial constructions [8]. The easiest example of an inverse monoid is perhaps a group. There is a structure theorem for inverse monoids, due to Ehresmann-Schein- Nambooripad [9, 10, 27, 26], that exhibits them as inductive groupoids. The latter are groupoids internal to the category of partially ordered sets with certain ex- tra requirements. By a result of Jarek [19], the inductive groupoids corresponding to commutative inverse monoids can equivalently be described as semilattices of abelian groups. A natural typed version of an inverse monoid is an inverse category [22, 6]. This notion can for example model partial reversible functional programs [12]. The eas- iest example of an inverse category is perhaps a groupoid. DeWolf-Pronk have generalised the ESN theorem to inverse categories, exhibiting them as locally com- plete inductive groupoids. This paper investigates `the commutative case', thus fitting in the bottom right cell of Figure 1. -
Rewriting Structured Cospans: a Syntax for Open Systems
UNIVERSITY OF CALIFORNIA RIVERSIDE Rewriting Structured Cospans: A Syntax For Open Systems A Dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy in Mathematics by Daniel Cicala June 2019 Dissertation Committee: Dr. John C. Baez, Chairperson Dr. Wee Liang Gan Dr. Jacob Greenstein Copyright by Daniel Cicala 2019 The Dissertation of Daniel Cicala is approved: Committee Chairperson University of California, Riverside Acknowledgments First and foremost, I would like to thank my advisor John Baez. In these past few years, I have learned more than I could have imagined about mathematics and the job of doing mathematics. I also want to thank the past and current Baez Crew for the many wonderful discussions. I am indebted to Math Department at the University of California, Riverside, which has afforded me numerous opportunities to travel to conferences near and far. Almost certainly, I would never have had a chance to pursue my doctorate had it not been for my parents who were there for me through every twist and turn on this, perhaps, too scenic route that I traveled. Most importantly, this project would have been impossible without the full-hearted support of my love, Elizabeth. I would also like to acknowledge the previously published material in this disser- tation. The interchange law in Section 3.1 was published in [15]. The material in Sections 3.2 and 3.3 appear in [16]. Also, the ZX-calculus example in Section 4.3 appears in [18]. iv Elizabeth. It’s finally over, baby! v ABSTRACT OF THE DISSERTATION Rewriting Structured Cospans: A Syntax For Open Systems by Daniel Cicala Doctor of Philosophy, Graduate Program in Mathematics University of California, Riverside, June 2019 Dr. -
Most Human Things Go in Pairs. Alcmaeon, ∼ 450 BC
Most human things go in pairs. Alcmaeon, 450 BC ∼ true false good bad right left up down front back future past light dark hot cold matter antimatter boson fermion How can we formalize a general concept of duality? The Chinese tried yin-yang theory, which inspired Leibniz to develop binary notation, which in turn underlies digital computation! But what's the state of the art now? In category theory the fundamental duality is the act of reversing an arrow: • ! • • • We use this to model switching past and future, false and true, small and big... Every category has an opposite op, where the arrows are C C reversed. This is a symmetry of the category of categories: op : Cat Cat ! and indeed the only nontrivial one: Aut(Cat) = Z=2 In logic, the simplest duality is negation. It's order-reversing: if P implies Q then Q implies P : : and|ignoring intuitionism!|it's an involution: P = P :: Thus if is a category of propositions and proofs, we C expect a functor: : op : C ! C with a natural isomorphism: 2 = 1 : ∼ C This has two analogues in quantum theory. One shows up already in the category of finite-dimensional vector spaces, FinVect. Every vector space V has a dual V ∗. Taking the dual is contravariant: if f : V W then f : W V ! ∗ ∗ ! ∗ and|ignoring infinite-dimensional spaces!|it's an involution: V ∗∗ ∼= V This kind of duality is captured by the idea of a -autonomous ∗ category. Recall that a symmetric monoidal category is roughly a category with a unit object I and a tensor product C 2 C : ⊗ C × C ! C that is unital, associative and commutative up to coherent natural isomorphisms. -
The Way of the Dagger
The Way of the Dagger Martti Karvonen I V N E R U S E I T H Y T O H F G E R D I N B U Doctor of Philosophy Laboratory for Foundations of Computer Science School of Informatics University of Edinburgh 2018 (Graduation date: July 2019) Abstract A dagger category is a category equipped with a functorial way of reversing morph- isms, i.e. a contravariant involutive identity-on-objects endofunctor. Dagger categor- ies with additional structure have been studied under different names in categorical quantum mechanics, algebraic field theory and homological algebra, amongst others. In this thesis we study the dagger in its own right and show how basic category theory adapts to dagger categories. We develop a notion of a dagger limit that we show is suitable in the following ways: it subsumes special cases known from the literature; dagger limits are unique up to unitary isomorphism; a wide class of dagger limits can be built from a small selection of them; dagger limits of a fixed shape can be phrased as dagger adjoints to a diagonal functor; dagger limits can be built from ordinary limits in the presence of polar decomposition; dagger limits commute with dagger colimits in many cases. Using cofree dagger categories, the theory of dagger limits can be leveraged to provide an enrichment-free understanding of limit-colimit coincidences in ordinary category theory. We formalize the concept of an ambilimit, and show that it captures known cases. As a special case, we show how to define biproducts up to isomorphism in an arbitrary category without assuming any enrichment. -
Categories of Relations As Models of Quantum Theory
Categories of relations as models of quantum theory Chris Heunen∗ and Sean Tull† fheunen,[email protected] University of Oxford, Department of Computer Science Categories of relations over a regular category form a family of models of quantum theory. Using regular logic, many properties of relations over sets lift to these models, including the correspon- dence between Frobenius structures and internal groupoids. Over compact Hausdorff spaces, this lifting gives continuous symmetric encryption. Over a regular Mal’cev category, this correspondence gives a characterization of categories of completely positive maps, enabling the formulation of quan- tum features. These models are closer to Hilbert spaces than relations over sets in several respects: Heisenberg uncertainty, impossibility of broadcasting, and behavedness of rank one morphisms. 1 Introduction Many features of quantum theory can be abstracted to arbitrary compact dagger categories [1]. Thus we can compare models of quantum theory in a unified setting, and look for features that distinguish the category FHilb of finite-dimensional Hilbert spaces that forms the traditional model. The category Rel of sets and relations is an alternative model. It exhibits many features considered typical of quantum theory [2], but also refutes presumed correspondences between them [15, 21]. However, apart from Rel and its subcategory corresponding to Spekkens’ toy model [14], few alternative models have been studied in detail. We consider a new family of models by generalizing to categories Rel(C) of relations over an arbi- trary regular category C, including any algebraic category like that of groups, any abelian category like that of vector spaces, and any topos like that of sets. -
A Survey of Graphical Languages for Monoidal Categories
5 Traced categories 32 5.1 Righttracedcategories . 33 5.2 Planartracedcategories. 34 5.3 Sphericaltracedcategories . 35 A survey of graphical languages for monoidal 5.4 Spacialtracedcategories . 36 categories 5.5 Braidedtracedcategories . 36 5.6 Balancedtracedcategories . 39 5.7 Symmetrictracedcategories . 40 Peter Selinger 6 Products, coproducts, and biproducts 41 Dalhousie University 6.1 Products................................. 41 6.2 Coproducts ............................... 43 6.3 Biproducts................................ 44 Abstract 6.4 Traced product, coproduct, and biproduct categories . ........ 45 This article is intended as a reference guide to various notions of monoidal cat- 6.5 Uniformityandregulartrees . 47 egories and their associated string diagrams. It is hoped that this will be useful not 6.6 Cartesiancenter............................. 48 just to mathematicians, but also to physicists, computer scientists, and others who use diagrammatic reasoning. We have opted for a somewhat informal treatment of 7 Dagger categories 48 topological notions, and have omitted most proofs. Nevertheless, the exposition 7.1 Daggermonoidalcategories . 50 is sufficiently detailed to make it clear what is presently known, and to serve as 7.2 Otherprogressivedaggermonoidalnotions . ... 50 a starting place for more in-depth study. Where possible, we provide pointers to 7.3 Daggerpivotalcategories. 51 more rigorous treatments in the literature. Where we include results that have only 7.4 Otherdaggerpivotalnotions . 54 been proved in special cases, we indicate this in the form of caveats. 7.5 Daggertracedcategories . 55 7.6 Daggerbiproducts............................ 56 Contents 8 Bicategories 57 1 Introduction 2 9 Beyond a single tensor product 58 2 Categories 5 10 Summary 59 3 Monoidal categories 8 3.1 (Planar)monoidalcategories . 9 1 Introduction 3.2 Spacialmonoidalcategories . -
Categories with Fuzzy Sets and Relations
Categories with Fuzzy Sets and Relations John Harding, Carol Walker, Elbert Walker Department of Mathematical Sciences New Mexico State University Las Cruces, NM 88003, USA jhardingfhardy,[email protected] Abstract We define a 2-category whose objects are fuzzy sets and whose maps are relations subject to certain natural conditions. We enrich this category with additional monoidal and involutive structure coming from t-norms and negations on the unit interval. We develop the basic properties of this category and consider its relation to other familiar categories. A discussion is made of extending these results to the setting of type-2 fuzzy sets. 1 Introduction A fuzzy set is a map A : X ! I from a set X to the unit interval I. Several authors [2, 6, 7, 20, 22] have considered fuzzy sets as a category, which we will call FSet, where a morphism from A : X ! I to B : Y ! I is a function f : X ! Y that satisfies A(x) ≤ (B◦f)(x) for each x 2 X. Here we continue this path of investigation. The underlying idea is to lift additional structure from the unit interval, such as t-norms, t-conorms, and negations, to provide additional structure on the category. Our eventual aim is to provide a setting where processes used in fuzzy control can be abstractly studied, much in the spirit of recent categorical approaches to processes used in quantum computation [1]. Order preserving structure on I, such as t-norms and conorms, lifts to provide additional covariant structure on FSet. In fact, each t-norm T lifts to provide a symmetric monoidal tensor ⊗T on FSet.