Abstract Nonsense and Programming: Uses of Category Theory in Computer Science
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Topics in Geometric Group Theory. Part I
Topics in Geometric Group Theory. Part I Daniele Ettore Otera∗ and Valentin Po´enaru† April 17, 2018 Abstract This survey paper concerns mainly with some asymptotic topological properties of finitely presented discrete groups: quasi-simple filtration (qsf), geometric simple connec- tivity (gsc), topological inverse-representations, and the notion of easy groups. As we will explain, these properties are central in the theory of discrete groups seen from a topo- logical viewpoint at infinity. Also, we shall outline the main steps of the achievements obtained in the last years around the very general question whether or not all finitely presented groups satisfy these conditions. Keywords: Geometric simple connectivity (gsc), quasi-simple filtration (qsf), inverse- representations, finitely presented groups, universal covers, singularities, Whitehead manifold, handlebody decomposition, almost-convex groups, combings, easy groups. MSC Subject: 57M05; 57M10; 57N35; 57R65; 57S25; 20F65; 20F69. Contents 1 Introduction 2 1.1 Acknowledgments................................... 2 arXiv:1804.05216v1 [math.GT] 14 Apr 2018 2 Topology at infinity, universal covers and discrete groups 2 2.1 The Φ/Ψ-theoryandzippings ............................ 3 2.2 Geometric simple connectivity . 4 2.3 TheWhiteheadmanifold............................... 6 2.4 Dehn-exhaustibility and the QSF property . .... 8 2.5 OnDehn’slemma................................... 10 2.6 Presentations and REPRESENTATIONS of groups . ..... 13 2.7 Good-presentations of finitely presented groups . ........ 16 2.8 Somehistoricalremarks .............................. 17 2.9 Universalcovers................................... 18 2.10 EasyREPRESENTATIONS . 21 ∗Vilnius University, Institute of Data Science and Digital Technologies, Akademijos st. 4, LT-08663, Vilnius, Lithuania. e-mail: [email protected] - [email protected] †Professor Emeritus at Universit´eParis-Sud 11, D´epartement de Math´ematiques, Bˆatiment 425, 91405 Orsay, France. -
Experience Implementing a Performant Category-Theory Library in Coq
Experience Implementing a Performant Category-Theory Library in Coq Jason Gross, Adam Chlipala, and David I. Spivak Massachusetts Institute of Technology, Cambridge, MA, USA [email protected], [email protected], [email protected] Abstract. We describe our experience implementing a broad category- theory library in Coq. Category theory and computational performance are not usually mentioned in the same breath, but we have needed sub- stantial engineering effort to teach Coq to cope with large categorical constructions without slowing proof script processing unacceptably. In this paper, we share the lessons we have learned about how to repre- sent very abstract mathematical objects and arguments in Coq and how future proof assistants might be designed to better support such rea- soning. One particular encoding trick to which we draw attention al- lows category-theoretic arguments involving duality to be internalized in Coq's logic with definitional equality. Ours may be the largest Coq development to date that uses the relatively new Coq version developed by homotopy type theorists, and we reflect on which new features were especially helpful. Keywords: Coq · category theory · homotopy type theory · duality · performance 1 Introduction Category theory [36] is a popular all-encompassing mathematical formalism that casts familiar mathematical ideas from many domains in terms of a few unifying concepts. A category can be described as a directed graph plus algebraic laws stating equivalences between paths through the graph. Because of this spar- tan philosophical grounding, category theory is sometimes referred to in good humor as \formal abstract nonsense." Certainly the popular perception of cat- egory theory is quite far from pragmatic issues of implementation. -
A Category-Theoretic Approach to Representation and Analysis of Inconsistency in Graph-Based Viewpoints
A Category-Theoretic Approach to Representation and Analysis of Inconsistency in Graph-Based Viewpoints by Mehrdad Sabetzadeh A thesis submitted in conformity with the requirements for the degree of Master of Science Graduate Department of Computer Science University of Toronto Copyright c 2003 by Mehrdad Sabetzadeh Abstract A Category-Theoretic Approach to Representation and Analysis of Inconsistency in Graph-Based Viewpoints Mehrdad Sabetzadeh Master of Science Graduate Department of Computer Science University of Toronto 2003 Eliciting the requirements for a proposed system typically involves different stakeholders with different expertise, responsibilities, and perspectives. This may result in inconsis- tencies between the descriptions provided by stakeholders. Viewpoints-based approaches have been proposed as a way to manage incomplete and inconsistent models gathered from multiple sources. In this thesis, we propose a category-theoretic framework for the analysis of fuzzy viewpoints. Informally, a fuzzy viewpoint is a graph in which the elements of a lattice are used to specify the amount of knowledge available about the details of nodes and edges. By defining an appropriate notion of morphism between fuzzy viewpoints, we construct categories of fuzzy viewpoints and prove that these categories are (finitely) cocomplete. We then show how colimits can be employed to merge the viewpoints and detect the inconsistencies that arise independent of any particular choice of viewpoint semantics. Taking advantage of the same category-theoretic techniques used in defining fuzzy viewpoints, we will also introduce a more general graph-based formalism that may find applications in other contexts. ii To my mother and father with love and gratitude. Acknowledgements First of all, I wish to thank my supervisor Steve Easterbrook for his guidance, support, and patience. -
Motivating Abstract Nonsense
Lecture 1: Motivating abstract nonsense Nilay Kumar May 28, 2014 This summer, the UMS lectures will focus on the basics of category theory. Rather dry and substanceless on its own (at least at first), category theory is difficult to grok without proper motivation. With the proper motivation, however, category theory becomes a powerful language that can concisely express and abstract away the relationships between various mathematical ideas and idioms. This is not to say that it is purely a tool { there are many who study category theory as a field of mathematics with intrinsic interest, but this is beyond the scope of our lectures. Functoriality Let us start with some well-known mathematical examples that are unrelated in content but similar in \form". We will then make this rather vague similarity more precise using the language of categories. Example 1 (Galois theory). Recall from algebra the notion of a finite, Galois field extension K=F and its associated Galois group G = Gal(K=F ). The fundamental theorem of Galois theory tells us that there is a bijection between subfields E ⊂ K containing F and the subgroups H of G. The correspondence sends E to all the elements of G fixing E, and conversely sends H to the fixed field of H. Hence we draw the following diagram: K 0 E H F G I denote the Galois correspondence by squiggly arrows instead of the usual arrows. Unlike most bijections we usually see between say elements of two sets (or groups, vector spaces, etc.), the fundamental theorem gives us a one-to-one correspondence between two very different types of objects: fields and groups. -
Knowledge Representation in Bicategories of Relations
Knowledge Representation in Bicategories of Relations Evan Patterson Department of Statistics, Stanford University Abstract We introduce the relational ontology log, or relational olog, a knowledge representation system based on the category of sets and relations. It is inspired by Spivak and Kent’s olog, a recent categorical framework for knowledge representation. Relational ologs interpolate between ologs and description logic, the dominant formalism for knowledge representation today. In this paper, we investigate relational ologs both for their own sake and to gain insight into the relationship between the algebraic and logical approaches to knowledge representation. On a practical level, we show by example that relational ologs have a friendly and intuitive—yet fully precise—graphical syntax, derived from the string diagrams of monoidal categories. We explain several other useful features of relational ologs not possessed by most description logics, such as a type system and a rich, flexible notion of instance data. In a more theoretical vein, we draw on categorical logic to show how relational ologs can be translated to and from logical theories in a fragment of first-order logic. Although we make extensive use of categorical language, this paper is designed to be self-contained and has considerable expository content. The only prerequisites are knowledge of first-order logic and the rudiments of category theory. 1. Introduction arXiv:1706.00526v2 [cs.AI] 1 Nov 2017 The representation of human knowledge in computable form is among the oldest and most fundamental problems of artificial intelligence. Several recent trends are stimulating continued research in the field of knowledge representation (KR). -
NICOLAS WU Department of Computer Science, University of Bristol (E-Mail: [email protected], [email protected])
Hinze, R., & Wu, N. (2016). Unifying Structured Recursion Schemes. Journal of Functional Programming, 26, [e1]. https://doi.org/10.1017/S0956796815000258 Peer reviewed version Link to published version (if available): 10.1017/S0956796815000258 Link to publication record in Explore Bristol Research PDF-document University of Bristol - Explore Bristol Research General rights This document is made available in accordance with publisher policies. Please cite only the published version using the reference above. Full terms of use are available: http://www.bristol.ac.uk/red/research-policy/pure/user-guides/ebr-terms/ ZU064-05-FPR URS 15 September 2015 9:20 Under consideration for publication in J. Functional Programming 1 Unifying Structured Recursion Schemes An Extended Study RALF HINZE Department of Computer Science, University of Oxford NICOLAS WU Department of Computer Science, University of Bristol (e-mail: [email protected], [email protected]) Abstract Folds and unfolds have been understood as fundamental building blocks for total programming, and have been extended to form an entire zoo of specialised structured recursion schemes. A great number of these schemes were unified by the introduction of adjoint folds, but more exotic beasts such as recursion schemes from comonads proved to be elusive. In this paper, we show how the two canonical derivations of adjunctions from (co)monads yield recursion schemes of significant computational importance: monadic catamorphisms come from the Kleisli construction, and more astonishingly, the elusive recursion schemes from comonads come from the Eilenberg-Moore construction. Thus we demonstrate that adjoint folds are more unifying than previously believed. 1 Introduction Functional programmers have long realised that the full expressive power of recursion is untamable, and so intensive research has been carried out into the identification of an entire zoo of structured recursion schemes that are well-behaved and more amenable to program comprehension and analysis (Meijer et al., 1991). -
Oka Manifolds: from Oka to Stein and Back
ANNALES DE LA FACULTÉ DES SCIENCES Mathématiques FRANC FORSTNERICˇ Oka manifolds: From Oka to Stein and back Tome XXII, no 4 (2013), p. 747-809. <http://afst.cedram.org/item?id=AFST_2013_6_22_4_747_0> © Université Paul Sabatier, Toulouse, 2013, tous droits réservés. L’accès aux articles de la revue « Annales de la faculté des sci- ences de Toulouse Mathématiques » (http://afst.cedram.org/), implique l’accord avec les conditions générales d’utilisation (http://afst.cedram. org/legal/). Toute reproduction en tout ou partie de cet article sous quelque forme que ce soit pour tout usage autre que l’utilisation à fin strictement personnelle du copiste est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit contenir la présente mention de copyright. cedram Article mis en ligne dans le cadre du Centre de diffusion des revues académiques de mathématiques http://www.cedram.org/ Annales de la Facult´e des Sciences de Toulouse Vol. XXII, n◦ 4, 2013 pp. 747–809 Oka manifolds: From Oka to Stein and back Franc Forstnericˇ(1) ABSTRACT. — Oka theory has its roots in the classical Oka-Grauert prin- ciple whose main result is Grauert’s classification of principal holomorphic fiber bundles over Stein spaces. Modern Oka theory concerns holomor- phic maps from Stein manifolds and Stein spaces to Oka manifolds. It has emerged as a subfield of complex geometry in its own right since the appearance of a seminal paper of M. Gromov in 1989. In this expository paper we discuss Oka manifolds and Oka maps. We de- scribe equivalent characterizations of Oka manifolds, the functorial prop- erties of this class, and geometric sufficient conditions for being Oka, the most important of which is Gromov’s ellipticity. -
Arxiv:Math/9703207V1 [Math.GT] 20 Mar 1997
ON INVARIANTS AND HOMOLOGY OF SPACES OF KNOTS IN ARBITRARY MANIFOLDS V. A. VASSILIEV Abstract. The construction of finite-order knot invariants in R3, based on reso- lutions of discriminant sets, can be carried out immediately to the case of knots in an arbitrary three-dimensional manifold M (may be non-orientable) and, moreover, to the calculation of cohomology groups of spaces of knots in arbitrary manifolds of dimension ≥ 3. Obstructions to the integrability of admissible weight systems to well-defined knot invariants in M are identified as 1-dimensional cohomology classes of certain generalized loop spaces of M. Unlike the case M = R3, these obstructions can be non-trivial and provide invariants of the manifold M itself. The corresponding algebraic machinery allows us to obtain on the level of the “abstract nonsense” some of results and problems of the theory, and to extract from others the essential topological (in particular, low-dimensional) part. Introduction Finite-order invariants of knots in R3 appeared in [V2] from a topological study of the discriminant subset of the space of curves in R3 (i.e., the set of all singular curves). In [L], [K], finite-order invariants of knots in 3-manifolds satisfying some conditions were considered: in [L] it was done for manifolds with π1 = π2 = 0, and in [K] for closed irreducible orientable manifolds. In particular, in [L] it is shown that the theory of finite-order invariants of knots in two-connected manifolds is isomorphic to that for R3; the main theorem of [K] asserts that for every closed oriented irreducible 3- manifold M and any connected component of the space C∞(S1, M) the group of finite- arXiv:math/9703207v1 [math.GT] 20 Mar 1997 order invariants of knots from this component contains a subgroup isomorphic to the group of finite-order invariants in R3. -
Approaches and Applications of Inductive Programming
Report from Dagstuhl Seminar 17382 Approaches and Applications of Inductive Programming Edited by Ute Schmid1, Stephen H. Muggleton2, and Rishabh Singh3 1 Universität Bamberg, DE, [email protected] 2 Imperial College London, GB, [email protected] 3 Microsoft Research – Redmond, US, [email protected] Abstract This report documents the program and the outcomes of Dagstuhl Seminar 17382 “Approaches and Applications of Inductive Programming”. After a short introduction to the state of the art to inductive programming research, an overview of the introductory tutorials, the talks, program demonstrations, and the outcomes of discussion groups is given. Seminar September 17–20, 2017 – http://www.dagstuhl.de/17382 1998 ACM Subject Classification I.2.2 Automatic Programming, Program Synthesis Keywords and phrases inductive program synthesis, inductive logic programming, probabilistic programming, end-user programming, human-like computing Digital Object Identifier 10.4230/DagRep.7.9.86 Edited in cooperation with Sebastian Seufert 1 Executive summary Ute Schmid License Creative Commons BY 3.0 Unported license © Ute Schmid Inductive programming (IP) addresses the automated or semi-automated generation of computer programs from incomplete information such as input-output examples, constraints, computation traces, demonstrations, or problem-solving experience [5]. The generated – typically declarative – program has the status of a hypothesis which has been generalized by induction. That is, inductive programming can be seen as a special approach to machine learning. In contrast to standard machine learning, only a small number of training examples is necessary. Furthermore, learned hypotheses are represented as logic or functional programs, that is, they are represented on symbol level and therefore are inspectable and comprehensible [17, 8, 18]. -
Perspective the PNAS Way Back Then
Proc. Natl. Acad. Sci. USA Vol. 94, pp. 5983–5985, June 1997 Perspective The PNAS way back then Saunders Mac Lane, Chairman Proceedings Editorial Board, 1960–1968 Department of Mathematics, University of Chicago, Chicago, IL 60637 Contributed by Saunders Mac Lane, March 27, 1997 This essay is to describe my experience with the Proceedings of ings. Bronk knew that the Proceedings then carried lots of math. the National Academy of Sciences up until 1970. Mathemati- The Council met. Detlev was not a man to put off till to cians and other scientists who were National Academy of tomorrow what might be done today. So he looked about the Science (NAS) members encouraged younger colleagues by table in that splendid Board Room, spotted the only mathe- communicating their research announcements to the Proceed- matician there, and proposed to the Council that I be made ings. For example, I can perhaps cite my own experiences. S. Chairman of the Editorial Board. Then and now the Council Eilenberg and I benefited as follows (communicated, I think, did not often disagree with the President. Probably nobody by M. H. Stone): ‘‘Natural isomorphisms in group theory’’ then knew that I had been on the editorial board of the (1942) Proc. Natl. Acad. Sci. USA 28, 537–543; and “Relations Transactions, then the flagship journal of the American Math- between homology and homotopy groups” (1943) Proc. Natl. ematical Society. Acad. Sci. USA 29, 155–158. Soon after this, the Treasurer of the Academy, concerned The second of these papers was the first introduction of a about costs, requested the introduction of page charges for geometrical object topologists now call an “Eilenberg–Mac papers published in the Proceedings. -
Logic and Categories As Tools for Building Theories
Logic and Categories As Tools For Building Theories Samson Abramsky Oxford University Computing Laboratory 1 Introduction My aim in this short article is to provide an impression of some of the ideas emerging at the interface of logic and computer science, in a form which I hope will be accessible to philosophers. Why is this even a good idea? Because there has been a huge interaction of logic and computer science over the past half-century which has not only played an important r^olein shaping Computer Science, but has also greatly broadened the scope and enriched the content of logic itself.1 This huge effect of Computer Science on Logic over the past five decades has several aspects: new ways of using logic, new attitudes to logic, new questions and methods. These lead to new perspectives on the question: What logic is | and should be! Our main concern is with method and attitude rather than matter; nevertheless, we shall base the general points we wish to make on a case study: Category theory. Many other examples could have been used to illustrate our theme, but this will serve to illustrate some of the points we wish to make. 2 Category Theory Category theory is a vast subject. It has enormous potential for any serious version of `formal philosophy' | and yet this has hardly been realized. We shall begin with introduction to some basic elements of category theory, focussing on the fascinating conceptual issues which arise even at the most elementary level of the subject, and then discuss some its consequences and philosophical ramifications. -
Categorical Databases
Categorical databases David I. Spivak [email protected] Mathematics Department Massachusetts Institute of Technology Presented on 2014/02/28 at Oracle David I. Spivak (MIT) Categorical databases Presented on 2014/02/28 1 / 1 Introduction Purpose of the talk Purpose of the talk There is an fundamental connection between databases and categories. Category theory can simplify how we think about and use databases. We can clearly see all the working parts and how they fit together. Powerful theorems can be brought to bear on classical DB problems. David I. Spivak (MIT) Categorical databases Presented on 2014/02/28 2 / 1 Introduction The pros and cons of relational databases The pros and cons of relational databases Relational databases are reliable, scalable, and popular. They are provably reliable to the extent that they strictly adhere to the underlying mathematics. Make a distinction between the system you know and love, vs. the relational model, as a mathematical foundation for this system. David I. Spivak (MIT) Categorical databases Presented on 2014/02/28 3 / 1 Introduction The pros and cons of relational databases You're not really using the relational model. Current implementations have departed from the strict relational formalism: Tables may not be relational (duplicates, e.g from a query). Nulls (and labeled nulls) are commonly used. The theory of relations (150 years old) is not adequate to mathematically describe modern DBMS. The relational model does not offer guidance for schema mappings and data migration. Databases have been intuitively moving toward what's best described with a more modern mathematical foundation. David I.