Overview of ∞-Operads As Analytic Monads
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Ambiguity and Incomplete Information in Categorical Models of Language
Ambiguity and Incomplete Information in Categorical Models of Language Dan Marsden University of Oxford [email protected] We investigate notions of ambiguity and partial information in categorical distributional models of natural language. Probabilistic ambiguity has previously been studied in [27, 26, 16] using Selinger’s CPM construction. This construction works well for models built upon vector spaces, as has been shown in quantum computational applications. Unfortunately, it doesn’t seem to provide a satis- factory method for introducing mixing in other compact closed categories such as the category of sets and binary relations. We therefore lack a uniform strategy for extending a category to model imprecise linguistic information. In this work we adopt a different approach. We analyze different forms of ambiguous and in- complete information, both with and without quantitative probabilistic data. Each scheme then cor- responds to a suitable enrichment of the category in which we model language. We view different monads as encapsulating the informational behaviour of interest, by analogy with their use in mod- elling side effects in computation. Previous results of Jacobs then allow us to systematically construct suitable bases for enrichment. We show that we can freely enrich arbitrary dagger compact closed categories in order to capture all the phenomena of interest, whilst retaining the important dagger compact closed structure. This allows us to construct a model with real convex combination of binary relations that makes non-trivial use of the scalars. Finally we relate our various different enrichments, showing that finite subconvex algebra enrichment covers all the effects under consideration. -
Lecture 10. Functors and Monads Functional Programming
Lecture 10. Functors and monads Functional Programming [Faculty of Science Information and Computing Sciences] 0 Goals I Understand the concept of higher-kinded abstraction I Introduce two common patterns: functors and monads I Simplify code with monads Chapter 12 from Hutton’s book, except 12.2 [Faculty of Science Information and Computing Sciences] 1 Functors [Faculty of Science Information and Computing Sciences] 2 Map over lists map f xs applies f over all the elements of the list xs map :: (a -> b) -> [a] -> [b] map _ [] = [] map f (x:xs) = f x : map f xs > map (+1)[1,2,3] [2,3,4] > map even [1,2,3] [False,True,False] [Faculty of Science Information and Computing Sciences] 3 mapTree _ Leaf = Leaf mapTree f (Node l x r) = Node (mapTree f l) (f x) (mapTree f r) Map over binary trees Remember binary trees with data in the inner nodes: data Tree a = Leaf | Node (Tree a) a (Tree a) deriving Show They admit a similar map operation: mapTree :: (a -> b) -> Tree a -> Tree b [Faculty of Science Information and Computing Sciences] 4 Map over binary trees Remember binary trees with data in the inner nodes: data Tree a = Leaf | Node (Tree a) a (Tree a) deriving Show They admit a similar map operation: mapTree :: (a -> b) -> Tree a -> Tree b mapTree _ Leaf = Leaf mapTree f (Node l x r) = Node (mapTree f l) (f x) (mapTree f r) [Faculty of Science Information and Computing Sciences] 4 Map over binary trees mapTree also applies a function over all elements, but now contained in a binary tree > t = Node (Node Leaf 1 Leaf) 2 Leaf > mapTree (+1) t Node -
An Introduction to Operad Theory
AN INTRODUCTION TO OPERAD THEORY SAIMA SAMCHUCK-SCHNARCH Abstract. We give an introduction to category theory and operad theory aimed at the undergraduate level. We first explore operads in the category of sets, and then generalize to other familiar categories. Finally, we develop tools to construct operads via generators and relations, and provide several examples of operads in various categories. Throughout, we highlight the ways in which operads can be seen to encode the properties of algebraic structures across different categories. Contents 1. Introduction1 2. Preliminary Definitions2 2.1. Algebraic Structures2 2.2. Category Theory4 3. Operads in the Category of Sets 12 3.1. Basic Definitions 13 3.2. Tree Diagram Visualizations 14 3.3. Morphisms and Algebras over Operads of Sets 17 4. General Operads 22 4.1. Basic Definitions 22 4.2. Morphisms and Algebras over General Operads 27 5. Operads via Generators and Relations 33 5.1. Quotient Operads and Free Operads 33 5.2. More Examples of Operads 38 5.3. Coloured Operads 43 References 44 1. Introduction Sets equipped with operations are ubiquitous in mathematics, and many familiar operati- ons share key properties. For instance, the addition of real numbers, composition of functions, and concatenation of strings are all associative operations with an identity element. In other words, all three are examples of monoids. Rather than working with particular examples of sets and operations directly, it is often more convenient to abstract out their common pro- perties and work with algebraic structures instead. For instance, one can prove that in any monoid, arbitrarily long products x1x2 ··· xn have an unambiguous value, and thus brackets 2010 Mathematics Subject Classification. -
1. Language of Operads 2. Operads As Monads
OPERADS, APPROXIMATION, AND RECOGNITION MAXIMILIEN PEROUX´ All missing details can be found in [May72]. 1. Language of operads Let S = (S; ⊗; I) be a (closed) symmetric monoidal category. Definition 1.1. An operad O in S is a collection of object fO(j)gj≥0 in S endowed with : • a right-action of the symmetric group Σj on O(j) for each j, such that O(0) = I; • a unit map I ! O(1) in S; • composition operations that are morphisms in S : γ : O(k) ⊗ O(j1) ⊗ · · · ⊗ O(jk) −! O(j1 + ··· + jk); defined for each k ≥ 0, j1; : : : ; jk ≥ 0, satisfying natural equivariance, unit and associativity relations. 0 0 A morphism of operads : O ! O is a sequence j : O(j) ! O (j) of Σj-equivariant morphisms in S compatible with the unit map and γ. Example 1.2. ⊗j Let X be an object in S. The endomorphism operad EndX is defined to be EndX (j) = HomS(X ;X), ⊗j with unit idX , and the Σj-right action is induced by permuting on X . Example 1.3. Define Assoc(j) = ` , the associative operad, where the maps γ are defined by equivariance. Let σ2Σj I Com(j) = I, the commutative operad, where γ are the canonical isomorphisms. Definition 1.4. Let O be an operad in S. An O-algebra (X; θ) in S is an object X together with a morphism of operads ⊗j θ : O ! EndX . Using adjoints, this is equivalent to a sequence of maps θj : O(j) ⊗ X ! X such that they are associative, unital and equivariant. -
Arxiv:Math/0701299V1 [Math.QA] 10 Jan 2007 .Apiain:Tfs F,S N Oooyagba 11 Algebras Homotopy and Tqfts ST CFT, Tqfts, 9.1
FROM OPERADS AND PROPS TO FEYNMAN PROCESSES LUCIAN M. IONESCU Abstract. Operads and PROPs are presented, together with examples and applications to quantum physics suggesting the structure of Feynman categories/PROPs and the corre- sponding algebras. Contents 1. Introduction 2 2. PROPs 2 2.1. PROs 2 2.2. PROPs 3 2.3. The basic example 4 3. Operads 4 3.1. Restricting a PROP 4 3.2. The basic example 5 3.3. PROP generated by an operad 5 4. Representations of PROPs and operads 5 4.1. Morphisms of PROPs 5 4.2. Representations: algebras over a PROP 6 4.3. Morphisms of operads 6 5. Operations with PROPs and operads 6 5.1. Free operads 7 5.1.1. Trees and forests 7 5.1.2. Colored forests 8 5.2. Ideals and quotients 8 5.3. Duality and cooperads 8 6. Classical examples of operads 8 arXiv:math/0701299v1 [math.QA] 10 Jan 2007 6.1. The operad Assoc 8 6.2. The operad Comm 9 6.3. The operad Lie 9 6.4. The operad Poisson 9 7. Examples of PROPs 9 7.1. Feynman PROPs and Feynman categories 9 7.2. PROPs and “bi-operads” 10 8. Higher operads: homotopy algebras 10 9. Applications: TQFTs, CFT, ST and homotopy algebras 11 9.1. TQFTs 11 1 9.1.1. (1+1)-TQFTs 11 9.1.2. (0+1)-TQFTs 12 9.2. Conformal Field Theory 12 9.3. String Theory and Homotopy Lie Algebras 13 9.3.1. String backgrounds 13 9.3.2. -
Categories of Coalgebras with Monadic Homomorphisms Wolfram Kahl
Categories of Coalgebras with Monadic Homomorphisms Wolfram Kahl To cite this version: Wolfram Kahl. Categories of Coalgebras with Monadic Homomorphisms. 12th International Workshop on Coalgebraic Methods in Computer Science (CMCS), Apr 2014, Grenoble, France. pp.151-167, 10.1007/978-3-662-44124-4_9. hal-01408758 HAL Id: hal-01408758 https://hal.inria.fr/hal-01408758 Submitted on 5 Dec 2016 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Distributed under a Creative Commons Attribution| 4.0 International License Categories of Coalgebras with Monadic Homomorphisms Wolfram Kahl McMaster University, Hamilton, Ontario, Canada, [email protected] Abstract. Abstract graph transformation approaches traditionally con- sider graph structures as algebras over signatures where all function sym- bols are unary. Attributed graphs, with attributes taken from (term) algebras over ar- bitrary signatures do not fit directly into this kind of transformation ap- proach, since algebras containing function symbols taking two or more arguments do not allow component-wise construction of pushouts. We show how shifting from the algebraic view to a coalgebraic view of graph structures opens up additional flexibility, and enables treat- ing term algebras over arbitrary signatures in essentially the same way as unstructured label sets. -
Algebra + Homotopy = Operad
Symplectic, Poisson and Noncommutative Geometry MSRI Publications Volume 62, 2014 Algebra + homotopy = operad BRUNO VALLETTE “If I could only understand the beautiful consequences following from the concise proposition d 2 0.” —Henri Cartan D This survey provides an elementary introduction to operads and to their ap- plications in homotopical algebra. The aim is to explain how the notion of an operad was prompted by the necessity to have an algebraic object which encodes higher homotopies. We try to show how universal this theory is by giving many applications in algebra, geometry, topology, and mathematical physics. (This text is accessible to any student knowing what tensor products, chain complexes, and categories are.) Introduction 229 1. When algebra meets homotopy 230 2. Operads 239 3. Operadic syzygies 253 4. Homotopy transfer theorem 272 Conclusion 283 Acknowledgements 284 References 284 Introduction Galois explained to us that operations acting on the solutions of algebraic equa- tions are mathematical objects as well. The notion of an operad was created in order to have a well defined mathematical object which encodes “operations”. Its name is a portemanteau word, coming from the contraction of the words “operations” and “monad”, because an operad can be defined as a monad encoding operations. The introduction of this notion was prompted in the 60’s, by the necessity of working with higher operations made up of higher homotopies appearing in algebraic topology. Algebra is the study of algebraic structures with respect to isomorphisms. Given two isomorphic vector spaces and one algebra structure on one of them, 229 230 BRUNO VALLETTE one can always define, by means of transfer, an algebra structure on the other space such that these two algebra structures become isomorphic. -
Algebraic Structures Lecture 18 Thursday, April 4, 2019 1 Type
Harvard School of Engineering and Applied Sciences — CS 152: Programming Languages Algebraic structures Lecture 18 Thursday, April 4, 2019 In abstract algebra, algebraic structures are defined by a set of elements and operations on those ele- ments that satisfy certain laws. Some of these algebraic structures have interesting and useful computa- tional interpretations. In this lecture we will consider several algebraic structures (monoids, functors, and monads), and consider the computational patterns that these algebraic structures capture. We will look at Haskell, a functional programming language named after Haskell Curry, which provides support for defin- ing and using such algebraic structures. Indeed, monads are central to practical programming in Haskell. First, however, we consider type constructors, and see two new type constructors. 1 Type constructors A type constructor allows us to create new types from existing types. We have already seen several different type constructors, including product types, sum types, reference types, and parametric types. The product type constructor × takes existing types τ1 and τ2 and constructs the product type τ1 × τ2 from them. Similarly, the sum type constructor + takes existing types τ1 and τ2 and constructs the product type τ1 + τ2 from them. We will briefly introduce list types and option types as more examples of type constructors. 1.1 Lists A list type τ list is the type of lists with elements of type τ. We write [] for the empty list, and v1 :: v2 for the list that contains value v1 as the first element, and v2 is the rest of the list. We also provide a way to check whether a list is empty (isempty? e) and to get the head and the tail of a list (head e and tail e). -
The Expectation Monad in Quantum Foundations
The Expectation Monad in Quantum Foundations Bart Jacobs and Jorik Mandemaker Institute for Computing and Information Sciences (iCIS), Radboud University Nijmegen, The Netherlands. fB.Jacobs,[email protected] The expectation monad is introduced abstractly via two composable adjunctions, but concretely cap- tures measures. It turns out to sit in between known monads: on the one hand the distribution and ultrafilter monad, and on the other hand the continuation monad. This expectation monad is used in two probabilistic analogues of fundamental results of Manes and Gelfand for the ultrafilter monad: algebras of the expectation monad are convex compact Hausdorff spaces, and are dually equivalent to so-called Banach effect algebras. These structures capture states and effects in quantum foundations, and the duality between them. Moreover, the approach leads to a new re-formulation of Gleason’s theorem, expressing that effects on a Hilbert space are free effect modules on projections, obtained via tensoring with the unit interval. 1 Introduction Techniques that have been developed over the last decades for the semantics of programming languages and programming logics gain wider significance. In this way a new interdisciplinary area has emerged where researchers from mathematics, (theoretical) physics and (theoretical) computer science collabo- rate, notably on quantum computation and quantum foundations. The article [6] uses the phrase “Rosetta Stone” for the language and concepts of category theory that form an integral part of this common area. The present article is also part of this new field. It uses results from programming semantics, topology and (convex) analysis, category theory (esp. monads), logic and probability, and quantum foundations. -
Notes on the Lie Operad
Notes on the Lie Operad Todd H. Trimble Department of Mathematics University of Chicago These notes have been reLATEXed by Tim Hosgood, who takes responsibility for any errors. The purpose of these notes is to compare two distinct approaches to the Lie operad. The first approach closely follows work of Joyal [9], which gives a species-theoretic account of the relationship between the Lie operad and homol- ogy of partition lattices. The second approach is rooted in a paper of Ginzburg- Kapranov [7], which generalizes within the framework of operads a fundamental duality between commutative algebras and Lie algebras. Both approaches in- volve a bar resolution for operads, but in different ways: we explain the sense in which Joyal's approach involves a \right" resolution and the Ginzburg-Kapranov approach a \left" resolution. This observation is exploited to yield a precise com- parison in the form of a chain map which induces an isomorphism in homology, between the two approaches. 1 Categorical Generalities Let FB denote the category of finite sets and bijections. FB is equivalent to the permutation category P, whose objects are natural numbers and whose set of P morphisms is the disjoint union Sn of all finite symmetric groups. P (and n>0 therefore also FB) satisfies the following universal property: given a symmetric monoidal category C and an object A of C, there exists a symmetric monoidal functor P !C which sends the object 1 of P to A and this functor is unique up to a unique monoidal isomorphism. (Cf. the corresponding property for the braid category in [11].) Let V be a symmetric monoidal closed category, with monoidal product ⊕ and unit 1. -
Beck's Theorem Characterizing Algebras
BECK'S THEOREM CHARACTERIZING ALGEBRAS SOFI GJING JOVANOVSKA Abstract. In this paper, I will construct a proof of Beck's Theorem char- acterizing T -algebras. Suppose we have an adjoint pair of functors F and G between categories C and D. It determines a monad T on C. We can associate a T -algebra to the monad, and Beck's Theorem demonstrates when the catego- ry of T -algebras is equivalent to the category D. We will arrive at this result by rst de ning categories, and a few relevant concepts and theorems that will be useful for proving our result; these will include natural tranformations, adjoints, monads and more. Contents 1. Introduction 1 2. Categories 2 3. Adjoints 4 3.1. Isomorphisms and Natural Transformations 4 3.2. Adjoints 5 3.3. Triangle Identities 5 4. Monads and Algebras 7 4.1. Monads and Adjoints 7 4.2. Algebras for a monad 8 4.3. The Comparison with Algebras 9 4.4. Coequalizers 11 4.5. Beck's Threorem 12 Acknowledgments 15 References 15 1. Introduction Beck's Theorem characterizing algebras is one direction of Beck's Monadicity Theorem. Beck's Monadicity Theorem is most useful in studying adjoint pairs of functors. Adjunction is a type of relation between two functors that has some very important properties, such as preservation of limits or colimits, which, unfortunate- ly, we will not touch upon in this paper. However, we need to know that it is indeed a topic of interest, and therefore worth studying. Here, we state Beck's Monadicity Theorem. -
Monads and Side Effects in Haskell
Monads and Side Effects in Haskell Alan Davidson October 2, 2013 In this document, I will attempt to explain in simple terms what monads are, how they work, and how they are used to perform side effects in the Haskell programming language. I assume you already have some familiarity with Haskell syntax. I will start from relatively simple, familiar ideas, and work my way up to our actual goals. In particular, I will start by discussing functors, then applicative functors, then monads, and finally how to have side effects in Haskell. I will finish up by discussing the functor and monad laws, and resources to learn more details. 1 Functors A functor is basically a data structure that can be mapped over: class Functor f where fmap :: (a -> b) -> f a -> f b This is to say, fmap takes a function that takes an a and returns a b, and a data structure full of a’s, and it returns a data structure with the same format but with every piece of data replaced with the result of running it through that function. Example 1. Lists are functors. instance Functor [] where fmap _ [] = [] fmap f (x : xs) = (f x) : (fmap f xs) We could also have simply made fmap equal to map, but that would hide the implemen- tation, and this example is supposed to illustrate how it all works. Example 2. Binary trees are functors. data BinaryTree t = Empty | Node t (BinaryTree t) (BinaryTree t) instance Functor BinaryTree where fmap _ Empty = Empty fmap f (Node x left right) = Node (f x) (fmap f left) (fmap f right) 1 Note that these are not necessarily binary search trees; the elements in a tree returned from fmap are not guaranteed to be in sorted order (indeed, they’re not even guaranteed to hold sortable data).