Towards a Flowchart Diagrammatic Language for Monad-based Semantics

Size: px
Start display at page:

Download "Towards a Flowchart Diagrammatic Language for Monad-based Semantics"

Transcription

1 Towards a Flowchart Diagrammatic Language or Monad-based Semantics Julian Jakob Friedrich-Alexander-Universität Erlangen-Nürnberg julian.jakob@au.de

2 Introductory Examples while do What is the most general ormalization or such diagrams?

3 Overview 1 Basic Deinitions 2 Traces, Fixpoints and Iteration 3 Algebraic Operations and Generic Eects

4 Diagrammatic Language edges: nodes: crossing: eedback node: strict node:

5 Deinition Deinition as in algebraic type theory: edges = base edge base edge parallel to edge nodes = base node crossing eedback node node sequential to base node strict nodes

6 Categories In short, a category C is given by: Collection o objects Ob(C) Collection o morphisms Hom(C) Two operations assigning to each morphism its source src( ) Ob(C) and its target tar( ) Ob(C), written : src( ) tar( ). There is an operation assigning to each pair o composable morphisms and g their composition which is a morphism denoted by g or just g and such that src(g ) = src( ) and tar(g ) = tar(g). There is also an operation assigning to each object A Ob(C) an identity morphism id A : A A. These operations are required to be unitary and associative.

7 Diagrams or Categories Object A: A Morphism : A B: Identity id A : A A: A A B Composition g : A C or : A B and g : B C: A B C g

8 Formal Descriptions Deinition (Selinger (2011), Signature) A simple categorical signature Σ consists o a set Σ 0 o object variables, a set Σ 1 o morphism variables, and a pair o unctions dom, cod : Σ 1 Σ 0. Object variables are usually written A,B,C,..., morphism variables are usually written,g,h,..., and we write : A B i dom( ) = A and cod( ) = B. Deinition (Selinger (2011), Interpretation) An interpretation i o a signature Σ a category C consists o a unction i 0 : Σ 0 Ob(C), and or any Σ 1 a morphism i 1 ( ) : i 0 (cod( )) i 0 (dom( )).

9 Coherence Deinition (Selinger (2011), Coherence) A graphical language is coherent, i it is sound and complete. It is sound, i all the axioms o the category are automatically satisied in the graphical language up to isomorphism o diagrams. It is complete i the ollowing condition is true: every equation that is true in the graphical language is a consequence o the axioms.

10 Soundness o the Diagrammatic Language or Categories Let Identity: A B A = B Right Identity: A B A = B Associativity: A B C D g h A B C D = g h

11 Monoidal Categories A monoidal category M has additional structure: A unctor : M M M called the tensor product. An object 1 Ob(M) called the unit object. A natural isomorphism a x,y,z : (x y) z x (y z) called the associator. A natural isomorphism λ x : 1 x x called the let unitor. A natural isomorphism ρ x : x 1 x called the right unitor.

12 Diagrammatic Language or Monoidal Categories Tensor product A B: A Tensor product g : A C B D: Unit object I : A C B g B D

13 Coherence or Monoidal Categories Theorem (Joyal/Street (1991), Coherence or Monoidal Categories) A well-ormed equation between morphism terms in the language o monoidal categories ollows rom the axioms o monoidal categories i and only i it holds, up to planar isotopy, in the graphical language.

14 Symmetry A symmetric monoidal category additionally is equipped with a natural isomorphism, called symmetry B x,y : x y y x Symmetry B A,B : A B B A

15 Coherence or Symmetric Monoidal Categories Theorem (Selinger (2011), Coherence or Symmetric Monoidal Categories) A well-ormed equation between morphisms in the language o symmetric monoidal categories ollows rom the axioms o symmetric monoidal categories i and only i it holds, up to isomorphism o diagrams, in the graphical language.

16 Traced Monoidal Categories Deinition (Traced Monoidal Categories) A symmetric monoidal category (C,, 1, b) (where b is the symmetry) is said to be traced i it is equipped with a natural amily o unctions TrA,B : C(A, B ) C(A, B) satisying ive axioms: it is natural in A and B (let/right tightening), and dinatural in (sliding) vanishing: Tr Y A,B ( ) = Tr A,B (Tr A Y,B ( ))( : A Y B Y ) superposing: TrC A,C B (id C ) = id C TrA,B ( )( : A B ) yanking: Tr, (b, ) = id

17 Axioms or Traced Categories Trace: Naturality (Let Tightening): h = h Naturality (Right Tightening): h = h

18 Axioms or Traced Categories Dinaturality (Sliding): h = h Vanishing(I): = I Vanishing ( ): =

19 Axioms or Traced Categories Superposing: = Yanking: =

20 Coherence or Traced Categories Theorem (Joyal/Street (1991), Coherence or Traced Monoidal Categories) A well-ormed equation between morphisms in the language o symmetric traced categories ollows rom the axioms o symmetric traced categories i and only i it holds in the graphical language up to isomorphism o diagrams.

21 Strictness Deinition (Hasegawa (2003), Strictness) Consider a traced monoidal category C with trace Tr. We say h : Y is strict in C (with respect to the trace Tr) i the ollowing condition holds: For any : A B and g : A Y B Y, (id B h) = g (id A g) : A B Y A B A Y id A h g B Y id B h implies TrA,B ( ) = Tr A,B Y (g) : A B.

22 Strictness Strictness: A B A Y h = Y h g B Y A B A B = g

23 Uniormity Deinition (Hasegawa (2003), Uniormity) Let C be a traced monoidal category with trace Tr, and S be a class o arrows o C. We say Tr is uniorm (or: Tr satisies the uniormity principle) or S i, or any h : Y o S, the condition o strictness holds.

24 Trace-Fixpoint Correspondence Theorem (Hasegawa (1997), Conway Operator Correspondence to Traces) For any category with inite products, to give a Conway operator is to give a trace (where inite products are taken as the monoidal structure). : A = Tr A, ( ) : A g : A B Tr A,B (g) = π B, (g (id A π B, )) : A B

25 Diagrammatic Language or Product Categories A inite product category can be described as a symmetric monoidal category, together with natural amilies o copy and erase maps, with a number o axioms (omitted here, see Selinger (2011)). A : A A A (copy) A A A! A : A 1 (erase) A

26 Some Axioms or the Graphical Language = = = =

27 Coherence or Traced Product Categories Theorem (Selinger (2011), Coherence or Traced Product Categories) A well-ormed equation between morphism terms in the language o traced product categories ollows rom the respective axioms i and only i it holds in the graphical language, up to isomorphism o diagrams, and the diagrammatic manipulations corresponding to the axioms.

28 Conway Operators Deinition (Simpson/Plotkin (2000), Conway Operator) A parameterized ixpoint operator on C is a amily o unctions ( ) : C(A, ) C(A, ) which is natural in A and satisies the ixpoint equation = id A, : A or : A. A Conway operator on C is a parameterized ixpoint operator ( ) which satisies dinaturality: ( st A,, g ) = id A, (g st A,Y, ) : A or : A Y and g : A Y diagonal property: ( (id A )) = ( ) : A or : A.

29 Uniormity or Conway Operators Deinition (Hasegawa (2003), Plotkin s Principle) Let ( ) be a parameterized ixpoint operator on a category with inite products. We say h : Y is strict (with respect to ( ) ) i the ollowing condition holds: For any : A and g : A Y Y,h = g (id A h) A A Y id A h implies g = h : A Y. g Y h

30 Dualities Products are dual to coproducts. Traced coproduct categories can be constructed in the same way as product categories, i.e. a symmetric monoidal category plus maps A : A + A A and! A : 0 A (given a coproduct structure). The axioms are dual to the axioms or traced product categories. The distinction does not matter or deinitions o Conway operators or similar notions.

31 Monads Deinition (Moggi (1991), Kleisli Triple) A Kleisli triple over a category C is a triple (T ; η; ), where T : Ob(C) Ob(C), η A : A TA or A Ob(C), : TA TB or : A TB and the ollowing equations hold: ηa = id TA (1) η A = or : A TB (2) g = (g ) or : A TB and g : B TC (3)

32 Elgot Monads Deinition (Complete Elgot Monad) A monad T over C is a complete Elgot monad i it possesses an operator, called iteration, sending any : T (Y + ) to : TY satisying the ollowing conditions: ixpoint: [η, ] = ; naturality: g = ([T (inl) g, η inr] ) or any g : Y TZ; codiagonal: (T ([id, inr]) g) = g or any g : T ((Y + ) + ); uniormity: h = T (id h) g h = g or any g : Z T (Y + Z) and h : Z

33 Elgot Monads Fixpoint: Y = Y Y Naturality: Y g Z = g Y Z

34 Elgot Monads Uniormity: Z h Y Z = g h Y Z Z h Y Z = g Y Z

35 Elgot Monads Codiagonal: g Y = g Y

36 Elgot Monads g Y = g Y = g Y = g Y

37 Elgot Monads g Y = g Y

38 Algebraic Operations Deinition (Algebraic Operation) Given a monad T on a symmetric monoidal category C, an algebraic operation α on T is a amily o maps (T ) v (T ) w, demanding that the exponentials (T ) v and (T ) w exist in C, such that ( ) id α = α Y ( ) id : T ( Y ) w T ( Y ) w. Further, the ollowing interaction between exponentials and the strength must commute: τ w (id α Y ) = α v τ v : TY T ( Y ) w, where τ z = curry(τ(id ev) assoc) : A TB z T (A B) z or any z, assoc being the obvious associativity o the tensor.

39 Algebraic Operations (T ) v α (T ) w ( ) id ( ) id (TY ) v TY v α Y id α Y (TY ) w TY w τ v τ w T ( Y ) v α v T ( Y ) w

40 Example: Nondeterminism To express nondeterminism we can use the powerset monad T = P. The algebraic operation is v : (T ) 2 T with v(u, v) = u v. This means, or two possible continuations both are possible or put dierently one is chosen nondeterministically.

41 Generic Eect Deinition (Generic Eect) Given an monad T, a generic eect is any Kleisli morphism : n Tm. Equivalently, i C = Sets, and n N, : n Tm is given by a tuple ( 1 Tm,..., n Tm).

42 Generic Eects or the Nondeterminism Monad In nondeterminism the generic eects are: stop : 1 T 0 toss : 1 T 2 Our monad is the powerset monad, so T 0 = P0 corresponds to the set with the single element being the empty set and T 2 = P2 is the powerset o the set {1, 2}, which is {, {1}, {2}, {1, 2}}.

43 Diagrammatic Representation or Generic Eects Example: Nondeterminism. From toss : 1 T 2, where T 2 = T (1 + 1), one can construct Toss : T ( + ) in the ollowing way id toss τ 1 T 2 T ( (1 + 1)) T dist T ( (1 + 1)) T ( + ) Toss: Toss

44 Duality Theorem (Duality) To construct an algebraic operation α x : (T ) v (T ) w rom a generic eect g : w Tv, there is the sequence id,id uncurry(α v curry(η snd)) w w w Tv with curry(η snd) w (Tv) v α v (Tv) w uncurried. To ind a term α x : (T ) v (T ) w given g : w Tv, we need to curry the ollowing: (T ) v id g w (T ) v τ Tv T ((T ) v ev v) T

45 Proo For the proo the ollowing equations have been veriied: α x = curry(ev τ(id g)) g = uncurry(α v curry(η snd)) id, id ( ) id curry(ev τ(id g)) = curry(ev τ(id g)) ( ) id τ w (id curry(ev τ(id g))) = curry(ev τ(id g))τ v

46 Reerences Peter Selinger (2011) A Survey o Graphical Languages or Monoidal Categories New Structures or Physics Lecture Notes in Physics Volume 813, pp Springer Verlag. Andre Joyal, Ross Street (1991) The geometry o tensor calculus I Advances in Mathematics 88(1), pp Masahito Hasegawa (2003) The Uniormity Principle on Traced Monoidal Categories Electronic Notes in Theoretical Computer Science Volume 69, pp Masahito Hasegawa (1997) Recursion rom cyclic sharing: traced monoidal categories and models o cyclic lambda calculi Proc. Typed Lambda Calculi and Applications (TLCA?97) Springer Lecture Notes in Computer Science 1210, pp 196?213.. Eugenio Moggi (1991) Notions o Computation and Monads Inormation and Computation Volume 93, pp Alex Simpson, Gordon Plotkin (2000) Complete axioms or categorical ixed-point operators Proc. 15th Logic in Computer Science LICS 2000, pp 30?41.

47 The End

The Uniformity Principle on Traced Monoidal Categories

The Uniformity Principle on Traced Monoidal Categories Electronic Notes in Theoretical Computer Science 69 (2003) URL: http://www.elsevier.nl/locate/entcs/volume69.html 19 pages The Uniormity Principle on Traced Monoidal Categories Masahito Hasegawa Research

More information

Programming Languages in String Diagrams. [ one ] String Diagrams. Paul-André Melliès. Oregon Summer School in Programming Languages June 2011

Programming Languages in String Diagrams. [ one ] String Diagrams. Paul-André Melliès. Oregon Summer School in Programming Languages June 2011 Programming Languages in String Diagrams [ one ] String Diagrams Paul-ndré Melliès Oregon Summer School in Programming Languages June 2011 String diagrams diagrammatic account o logic and programming 2

More information

Finite Dimensional Hilbert Spaces are Complete for Dagger Compact Closed Categories (Extended Abstract)

Finite Dimensional Hilbert Spaces are Complete for Dagger Compact Closed Categories (Extended Abstract) Electronic Notes in Theoretical Computer Science 270 (1) (2011) 113 119 www.elsevier.com/locate/entcs Finite Dimensional Hilbert Spaces are Complete or Dagger Compact Closed Categories (Extended bstract)

More information

Categories and Natural Transformations

Categories and Natural Transformations Categories and Natural Transormations Ethan Jerzak 17 August 2007 1 Introduction The motivation or studying Category Theory is to ormalise the underlying similarities between a broad range o mathematical

More information

A categorical view of computational effects

A categorical view of computational effects Emily Riehl Johns Hopkins University A categorical view of computational effects C mp se::conference 1. Functions, composition, and categories 2. Categories for computational effects (monads) 3. Categories

More information

Parameterizations and Fixed-Point Operators on Control Categories

Parameterizations and Fixed-Point Operators on Control Categories Parameterizations and Fixed-Point Operators on Control Categories oshihiko Kakutani 1 and Masahito Hasegawa 12 1 Research Institute for Mathematical Sciences, Kyoto University {kakutani,hassei}@kurims.kyoto-u.ac.jp

More information

Logic for Computational Effects: work in progress

Logic for Computational Effects: work in progress 1 Logic for Computational Effects: work in progress Gordon Plotkin and John Power School of Informatics University of Edinburgh King s Buildings Mayfield Road Edinburgh EH9 3JZ Scotland gdp@inf.ed.ac.uk,

More information

CATEGORIES. 1.1 Introduction

CATEGORIES. 1.1 Introduction 1 CATEGORIES 1.1 Introduction What is category theory? As a irst approximation, one could say that category theory is the mathematical study o (abstract) algebras o unctions. Just as group theory is the

More information

GENERALIZED ABSTRACT NONSENSE: CATEGORY THEORY AND ADJUNCTIONS

GENERALIZED ABSTRACT NONSENSE: CATEGORY THEORY AND ADJUNCTIONS GENERALIZED ABSTRACT NONSENSE: CATEGORY THEORY AND ADJUNCTIONS CHRIS HENDERSON Abstract. This paper will move through the basics o category theory, eventually deining natural transormations and adjunctions

More information

Diagrammatic Methods for the Specification and Verification of Quantum Algorithms

Diagrammatic Methods for the Specification and Verification of Quantum Algorithms Diagrammatic Methods or the Speciication and Veriication o Quantum lgorithms William Zeng Quantum Group Department o Computer Science University o Oxord Quantum Programming and Circuits Workshop IQC, University

More information

Semantics for algebraic operations

Semantics for algebraic operations MFPS 17 Preliminary Version Semantics for algebraic operations Gordon Plotkin and John Power 1 Laboratory for the Foundations of Computer Science University of Edinburgh King s Buildings, Edinburgh EH9

More information

Abstract structure of unitary oracles for quantum algorithms

Abstract structure of unitary oracles for quantum algorithms Abstract structure o unitary oracles or quantum algorithms William Zeng 1 Jamie Vicary 2 1 Department o Computer Science University o Oxord 2 Centre or Quantum Technologies, University o Singapore and

More information

LIMITS AND COLIMITS. m : M X. in a category G of structured sets of some sort call them gadgets the image subset

LIMITS AND COLIMITS. m : M X. in a category G of structured sets of some sort call them gadgets the image subset 5 LIMITS ND COLIMITS In this chapter we irst briely discuss some topics namely subobjects and pullbacks relating to the deinitions that we already have. This is partly in order to see how these are used,

More information

Category Theory. Course by Dr. Arthur Hughes, Typset by Cathal Ormond

Category Theory. Course by Dr. Arthur Hughes, Typset by Cathal Ormond Category Theory Course by Dr. Arthur Hughes, 2010 Typset by Cathal Ormond Contents 1 Types, Composition and Identities 3 1.1 Programs..................................... 3 1.2 Functional Laws.................................

More information

A categorical model for a quantum circuit description language

A categorical model for a quantum circuit description language A categorical model for a quantum circuit description language Francisco Rios (joint work with Peter Selinger) Department of Mathematics and Statistics Dalhousie University CT July 16th 22th, 2017 What

More information

1 Categories, Functors, and Natural Transformations. Discrete categories. A category is discrete when every arrow is an identity.

1 Categories, Functors, and Natural Transformations. Discrete categories. A category is discrete when every arrow is an identity. MacLane: Categories or Working Mathematician 1 Categories, Functors, and Natural Transormations 1.1 Axioms or Categories 1.2 Categories Discrete categories. A category is discrete when every arrow is an

More information

Joseph Muscat Categories. 1 December 2012

Joseph Muscat Categories. 1 December 2012 Joseph Muscat 2015 1 Categories joseph.muscat@um.edu.mt 1 December 2012 1 Objects and Morphisms category is a class o objects with morphisms : (a way o comparing/substituting/mapping/processing to ) such

More information

M, N ::= x λp : A.M MN (M, N) () c A. x : b p x : b

M, N ::= x λp : A.M MN (M, N) () c A. x : b p x : b A PATTERN-MATCHING CALCULUS FOR -AUTONOMOUS CATEGORIES ABSTRACT. This article sums up the details of a linear λ-calculus that can be used as an internal language of -autonomous categories. The coherent

More information

Introduction to Categorical Quantum Mechanics. Chris Heunen and Jamie Vicary

Introduction to Categorical Quantum Mechanics. Chris Heunen and Jamie Vicary Introduction to Categorical Quantum Mechanics Chris Heunen and Jamie Vicary February 20, 2013 ii Preace Physical systems cannot be studied in isolation, since we can only observe their behaviour with respect

More information

Gabriel-Ulmer Duality and Lawvere Theories Enriched over a General Base

Gabriel-Ulmer Duality and Lawvere Theories Enriched over a General Base Under consideration or publication in J. Functional Programming 1 Gabriel-Ulmer Duality and Lawvere Theories Enriched over a General Base STEPHEN LACK School o Computing and Mathematics, University o Western

More information

HSP SUBCATEGORIES OF EILENBERG-MOORE ALGEBRAS

HSP SUBCATEGORIES OF EILENBERG-MOORE ALGEBRAS HSP SUBCATEGORIES OF EILENBERG-MOORE ALGEBRAS MICHAEL BARR Abstract. Given a triple T on a complete category C and a actorization system E /M on the category o algebras, we show there is a 1-1 correspondence

More information

Categorical quantum mechanics

Categorical quantum mechanics Categorical quantum mechanics Chris Heunen 1 / 76 Categorical Quantum Mechanics? Study of compositional nature of (physical) systems Primitive notion: forming compound systems 2 / 76 Categorical Quantum

More information

Categories and Quantum Informatics: Monoidal categories

Categories and Quantum Informatics: Monoidal categories Cateories and Quantum Inormatics: Monoidal cateories Chris Heunen Sprin 2018 A monoidal cateory is a cateory equipped with extra data, describin how objects and morphisms can be combined in parallel. This

More information

The algebraicity of the lambda-calculus

The algebraicity of the lambda-calculus The algebraicity of the lambda-calculus André Hirschowitz 1 and Marco Maggesi 2 1 Université de Nice Sophia Antipolis http://math.unice.fr/~ah 2 Università degli Studi di Firenze http://www.math.unifi.it/~maggesi

More information

SEPARATED AND PROPER MORPHISMS

SEPARATED AND PROPER MORPHISMS SEPARATED AND PROPER MORPHISMS BRIAN OSSERMAN The notions o separatedness and properness are the algebraic geometry analogues o the Hausdor condition and compactness in topology. For varieties over the

More information

Elements of Category Theory

Elements of Category Theory Elements of Category Theory Robin Cockett Department of Computer Science University of Calgary Alberta, Canada robin@cpsc.ucalgary.ca Estonia, Feb. 2010 Functors and natural transformations Adjoints and

More information

Mathematical Synthesis of Equational Deduction Systems. Marcelo Fiore. Computer Laboratory University of Cambridge

Mathematical Synthesis of Equational Deduction Systems. Marcelo Fiore. Computer Laboratory University of Cambridge Mathematical Synthesis of Equational Deduction Systems Marcelo Fiore Computer Laboratory University of Cambridge TLCA 2009 3.VII.2009 Context concrete theories meta-theories Context concrete theories meta-theories

More information

Grothendieck construction for bicategories

Grothendieck construction for bicategories Grothendieck construction or bicategories Igor Baković Rudjer Bošković Institute Abstract In this article, we give the generalization o the Grothendieck construction or pseudo unctors given in [5], which

More information

CS 361 Meeting 28 11/14/18

CS 361 Meeting 28 11/14/18 CS 361 Meeting 28 11/14/18 Announcements 1. Homework 9 due Friday Computation Histories 1. Some very interesting proos o undecidability rely on the technique o constructing a language that describes the

More information

MADE-TO-ORDER WEAK FACTORIZATION SYSTEMS

MADE-TO-ORDER WEAK FACTORIZATION SYSTEMS MADE-TO-ORDER WEAK FACTORIZATION SYSTEMS EMILY RIEHL The aim o this note is to briely summarize techniques or building weak actorization systems whose right class is characterized by a particular liting

More information

What are Iteration Theories?

What are Iteration Theories? What are Iteration Theories? Jiří Adámek and Stefan Milius Institute of Theoretical Computer Science Technical University of Braunschweig Germany adamek,milius @iti.cs.tu-bs.de Jiří Velebil Department

More information

A [Monad-Based] Semantics for Hybrid Iteration

A [Monad-Based] Semantics for Hybrid Iteration A [Monad-Based] Semantics for Hybrid Iteration Sergey Goncharov a Julian Jakob a Renato Neves b CONCUR 2018, September 4-7, Beijing a Friedrich-Alexander-Universität Erlangen-Nürnberg b INESC TEC (HASLab)

More information

Span, Cospan, and Other Double Categories

Span, Cospan, and Other Double Categories ariv:1201.3789v1 [math.ct] 18 Jan 2012 Span, Cospan, and Other Double Categories Susan Nieield July 19, 2018 Abstract Given a double category D such that D 0 has pushouts, we characterize oplax/lax adjunctions

More information

On Categorical Models of Classical Logic and the Geometry of Interaction

On Categorical Models of Classical Logic and the Geometry of Interaction On Categorical Models o Classical Logic and the Geometry o Interaction Carsten Führmann David Pym January 18, 2005 bstract It is well-known that weakening and contraction cause naïve categorical models

More information

arxiv: v1 [cs.lo] 4 Aug 2016

arxiv: v1 [cs.lo] 4 Aug 2016 arxiv:1608.01560v1 [cs.lo] 4 Aug 2016 On partial traces and compactification of -autonomous Mix-categories Sergey Slavnov National Research University Higher School of Economics Moscow, Russia sslavnov@yandex.ru

More information

Representation Theory of Hopf Algebroids. Atsushi Yamaguchi

Representation Theory of Hopf Algebroids. Atsushi Yamaguchi Representation Theory o H Algebroids Atsushi Yamaguchi Contents o this slide 1. Internal categories and H algebroids (7p) 2. Fibered category o modules (6p) 3. Representations o H algebroids (7p) 4. Restrictions

More information

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello.

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello. logic s Lectures 17-20: logic in 2 / 40 logic s Interpreting first-order logic in In Logic, first-order s are a wide class of formal s used for talking about structures of any kind (where the restriction

More information

SEPARATED AND PROPER MORPHISMS

SEPARATED AND PROPER MORPHISMS SEPARATED AND PROPER MORPHISMS BRIAN OSSERMAN Last quarter, we introduced the closed diagonal condition or a prevariety to be a prevariety, and the universally closed condition or a variety to be complete.

More information

Categories and Functors (Lecture Notes for Midlands Graduate School, 2013) Uday S. Reddy The University of Birmingham

Categories and Functors (Lecture Notes for Midlands Graduate School, 2013) Uday S. Reddy The University of Birmingham Categories and Functors (Lecture Notes for Midlands Graduate School, 2013) Uday S. Reddy The University of Birmingham April 7, 2013 2 Contents 1 Categories 5 1.1 Categories with and without elements.......................

More information

GENERAL ABSTRACT NONSENSE

GENERAL ABSTRACT NONSENSE GENERAL ABSTRACT NONSENSE MARCELLO DELGADO Abstract. In this paper, we seek to understand limits, a uniying notion that brings together the ideas o pullbacks, products, and equalizers. To do this, we will

More information

Probabilistic Observations and Valuations (Extended Abstract) 1

Probabilistic Observations and Valuations (Extended Abstract) 1 Replace this ile with prentcsmacro.sty or your meeting, or with entcsmacro.sty or your meeting. Both can be ound at the ENTCS Macro Home Page. Probabilistic Observations and Valuations (Extended Abstract)

More information

Reconsidering MacLane. Peter M. Hines

Reconsidering MacLane. Peter M. Hines Reconsidering MacLane Coherence for associativity in infinitary and untyped settings Peter M. Hines Oxford March 2013 Topic of the talk: Pure category theory... for its own sake. This talk is about the

More information

VALUATIVE CRITERIA BRIAN OSSERMAN

VALUATIVE CRITERIA BRIAN OSSERMAN VALUATIVE CRITERIA BRIAN OSSERMAN Intuitively, one can think o separatedness as (a relative version o) uniqueness o limits, and properness as (a relative version o) existence o (unique) limits. It is not

More information

Control Categories and Duality: on the Categorical Semantics of the Lambda-Mu Calculus

Control Categories and Duality: on the Categorical Semantics of the Lambda-Mu Calculus Math. Struct. in Comp. Science (2001), vol. 11, pp. 207 260. c 2001 Cambridge University Press Printed in the United Kingdom Control Categories and Duality: on the Categorical Semantics of the Lambda-Mu

More information

How to combine diagrammatic logics

How to combine diagrammatic logics How to combine diagrammatic logics Dominique Duval To cite this version: Dominique Duval. How to combine diagrammatic logics. 2009. HAL Id: hal-00432330 https://hal.archives-ouvertes.fr/hal-00432330v2

More information

Conservation of Information

Conservation of Information Conservation of Information Amr Sabry (in collaboration with Roshan P. James) School of Informatics and Computing Indiana University May 8, 2012 Amr Sabry (in collaboration with Roshan P. James) (IU SOIC)

More information

A fully abstract semantics for a nondeterministic functional language with monadic types

A fully abstract semantics for a nondeterministic functional language with monadic types A fully abstract semantics for a nondeterministic functional language with monadic types Alan Jeffrey 1 School of Cognitive and Computing Sciences University of Sussex, Brighton BN1 9QH, UK alanje@cogs.susx.ac.uk

More information

Categories and Functors (Lecture Notes for Midlands Graduate School, 2012) Uday S. Reddy The University of Birmingham

Categories and Functors (Lecture Notes for Midlands Graduate School, 2012) Uday S. Reddy The University of Birmingham Categories and Functors (Lecture Notes for Midlands Graduate School, 2012) Uday S. Reddy The University of Birmingham April 18, 2012 2 Contents 1 Categories 5 1.1 Categories with and without elements.......................

More information

Complete Partial Orders, PCF, and Control

Complete Partial Orders, PCF, and Control Complete Partial Orders, PCF, and Control Andrew R. Plummer TIE Report Draft January 2010 Abstract We develop the theory of directed complete partial orders and complete partial orders. We review the syntax

More information

(C) The rationals and the reals as linearly ordered sets. Contents. 1 The characterizing results

(C) The rationals and the reals as linearly ordered sets. Contents. 1 The characterizing results (C) The rationals and the reals as linearly ordered sets We know that both Q and R are something special. When we think about about either o these we usually view it as a ield, or at least some kind o

More information

Control Categories and Duality: on the Categorical Semantics of the Lambda-Mu Calculus

Control Categories and Duality: on the Categorical Semantics of the Lambda-Mu Calculus Math. Struct. in Comp. Science (2001), vol. 11, pp. 207 260. c 2001 Cambridge University Press Printed in the United Kingdom Control Categories and Duality: on the Categorical Semantics of the Lambda-Mu

More information

On a Monadic Encoding of Continuous Behaviour

On a Monadic Encoding of Continuous Behaviour On a Monadic Encoding of Continuous Behaviour Renato Neves joint work with: Luís Barbosa, Manuel Martins, Dirk Hofmann INESC TEC (HASLab) & Universidade do Minho October 1, 2015 1 / 27 The main goal A

More information

Tangent Categories. David M. Roberts, Urs Schreiber and Todd Trimble. September 5, 2007

Tangent Categories. David M. Roberts, Urs Schreiber and Todd Trimble. September 5, 2007 Tangent Categories David M Roberts, Urs Schreiber and Todd Trimble September 5, 2007 Abstract For any n-category C we consider the sub-n-category T C C 2 o squares in C with pinned let boundary This resolves

More information

Category Theory for Linear Logicians

Category Theory for Linear Logicians Category Theory for Linear Logicians Richard Blute Philip Scott September 10, 2003 Abstract This paper presents an introduction to category theory with an emphasis on those aspects relevant to the analysis

More information

Theories With Duality DRAFT VERSION ONLY

Theories With Duality DRAFT VERSION ONLY Theories With Duality DRAFT VERSION ONLY John C. Baez Department of athematics, University of California Riverside, CA 9252 USA Paul-André elliès Laboratoire PPS Université Paris 7 - Denis Diderot Case

More information

Notions of Computation Determine Monads

Notions of Computation Determine Monads Notions of Computation Determine Monads Gordon Plotkin and John Power Division of Informatics, University of Edinburgh, King s Buildings, Edinburgh EH9 3JZ, Scotland Abstract. We model notions of computation

More information

THE SNAIL LEMMA ENRICO M. VITALE

THE SNAIL LEMMA ENRICO M. VITALE THE SNIL LEMM ENRICO M. VITLE STRCT. The classical snake lemma produces a six terms exact sequence starting rom a commutative square with one o the edge being a regular epimorphism. We establish a new

More information

VALUATIVE CRITERIA FOR SEPARATED AND PROPER MORPHISMS

VALUATIVE CRITERIA FOR SEPARATED AND PROPER MORPHISMS VALUATIVE CRITERIA FOR SEPARATED AND PROPER MORPHISMS BRIAN OSSERMAN Recall that or prevarieties, we had criteria or being a variety or or being complete in terms o existence and uniqueness o limits, where

More information

Teooriaseminar. TTÜ Küberneetika Instituut. May 10, Categorical Models. for Two Intuitionistic Modal Logics. Wolfgang Jeltsch.

Teooriaseminar. TTÜ Küberneetika Instituut. May 10, Categorical Models. for Two Intuitionistic Modal Logics. Wolfgang Jeltsch. TTÜ Küberneetika Instituut Teooriaseminar May 10, 2012 1 2 3 4 1 2 3 4 Modal logics used to deal with things like possibility, belief, and time in this talk only time two new operators and : ϕ now and

More information

Descent on the étale site Wouter Zomervrucht, October 14, 2014

Descent on the étale site Wouter Zomervrucht, October 14, 2014 Descent on the étale site Wouter Zomervrucht, October 14, 2014 We treat two eatures o the étale site: descent o morphisms and descent o quasi-coherent sheaves. All will also be true on the larger pp and

More information

Math 216A. A gluing construction of Proj(S)

Math 216A. A gluing construction of Proj(S) Math 216A. A gluing construction o Proj(S) 1. Some basic deinitions Let S = n 0 S n be an N-graded ring (we ollows French terminology here, even though outside o France it is commonly accepted that N does

More information

The Clifford algebra and the Chevalley map - a computational approach (detailed version 1 ) Darij Grinberg Version 0.6 (3 June 2016). Not proofread!

The Clifford algebra and the Chevalley map - a computational approach (detailed version 1 ) Darij Grinberg Version 0.6 (3 June 2016). Not proofread! The Cliord algebra and the Chevalley map - a computational approach detailed version 1 Darij Grinberg Version 0.6 3 June 2016. Not prooread! 1. Introduction: the Cliord algebra The theory o the Cliord

More information

What are Iteration Theories?

What are Iteration Theories? What are Iteration Theories? Jiří Adámek 1, Stefan Milius 1 and Jiří Velebil 2 1 Institute of Theoretical Computer Science, TU Braunschweig, Germany {adamek,milius}@iti.cs.tu-bs.de 2 Department of Mathematics,

More information

Math 248B. Base change morphisms

Math 248B. Base change morphisms Math 248B. Base change morphisms 1. Motivation A basic operation with shea cohomology is pullback. For a continuous map o topological spaces : X X and an abelian shea F on X with (topological) pullback

More information

1 No-Cloning In Categorical Quantum Mechanics

1 No-Cloning In Categorical Quantum Mechanics Edited by 1 No-Cloning In Categorical Quantum Mechanics Samson bramsky bstract The No-Cloning theorem is a basic limitative result or quantum mechanics, with particular signiicance or quantum inormation.

More information

Categorical coherence in the untyped setting. Peter M. Hines

Categorical coherence in the untyped setting. Peter M. Hines Categorical coherence in the untyped setting Peter M. Hines SamsonFest Oxford May 2013 The Untyped Setting Untyped categories Categories with only one object (i.e. monoids) with additional categorical

More information

Monads and More: Part 4

Monads and More: Part 4 Monads and More: Part 4 Tarmo Uustalu, Tallinn Nottingham, 14-18 May 2007 Coeffectful computation and comonads For coeffectful notions of computation, we have a comonad (D, ε, δ) on the base category C

More information

Semantics for a Higher Order Functional Programming Language for Quantum Computation

Semantics for a Higher Order Functional Programming Language for Quantum Computation Semantics for a Higher Order Functional Programming Language for Quantum Computation Benoît Valiron To cite this version: Benoît Valiron. Semantics for a Higher Order Functional Programming Language for

More information

Quantum groupoids and logical dualities

Quantum groupoids and logical dualities Quantum groupoids and logical dualities (work in progress) Paul-André Melliès CNS, Université Paris Denis Diderot Categories, ogic and Foundations of Physics ondon 14 May 2008 1 Proof-knots Aim: formulate

More information

Towards a Formal Theory of Graded Monads

Towards a Formal Theory of Graded Monads Towards a Formal Theory of Graded Monads Soichiro Fujii 1, Shin-ya Katsumata 2, and Paul-André Melliès 3 1 Department of Computer Science, The University of Tokyo 2 RIMS, Kyoto University 3 Laboratoire

More information

University of Cape Town

University of Cape Town The copyright o this thesis rests with the. No quotation rom it or inormation derived rom it is to be published without ull acknowledgement o the source. The thesis is to be used or private study or non-commercial

More information

About Translations of Classical Logic into Polarized Linear Logic

About Translations of Classical Logic into Polarized Linear Logic About Translations of Classical Logic into Polarized Linear Logic Olivier Laurent Preuves Programmes Systèmes CNRS - Paris 7 OlivierLaurent@ppsjussieufr Laurent Regnier Institut de Mathématiques de Luminy

More information

Monads and More: Part 4

Monads and More: Part 4 Monads and More: Part 4 Tarmo Uustalu, Institute of Cybernetics, Tallinn University of Nottingham, 14 18 May 2007 University of Udine, 2 6 July 2007 Comonads Comonads are the dual of monads. A comonad

More information

Towards a quantum calculus

Towards a quantum calculus QPL 2006 Preliminary Version Towards a quantum calculus (work in progress, extended abstract) Philippe Jorrand 1 Simon Perdrix 2 Leibniz Laboratory IMAG-INPG Grenoble, France Abstract The aim of this paper

More information

NON-SYMMETRIC -AUTONOMOUS CATEGORIES

NON-SYMMETRIC -AUTONOMOUS CATEGORIES NON-SYMMETRIC -AUTONOMOUS CATEGORIES MICHAEL BARR 1. Introduction In [Barr, 1979] (hereafter known as SCAT) the theory of -autonomous categories is outlined. Basically such a category is a symmetric monoidal

More information

and one into the linear calculus, yielding a semantics in L. For we use a trivial mapping into the monadic calculus and Girard's translation into the

and one into the linear calculus, yielding a semantics in L. For we use a trivial mapping into the monadic calculus and Girard's translation into the Linear Logic, Monads and the Lambda Calculus Nick Benton University of Cambridge Computer Laboratory New Museums Site Pembroke Street Cambridge CB2 3QG, UK Nick.Benton@cl.cam.ac.uk Philip Wadler University

More information

A quantum double construction in Rel

A quantum double construction in Rel Under consideration for publication in Math. Struct. in Comp. Science A quantum double construction in Rel M A S A H I T O H A S E G A W A Research Institute for Mathematical Sciences, Kyoto University,

More information

Note on models of polarised intuitionistic logic

Note on models of polarised intuitionistic logic Note on models of polarised intuitionistic logic Guillaume Munch-Maccagnoni Team Gallinette, Inria Bretagne Atlantique, Univ. Nantes, LS2N, Nantes, France Guillaume.Munch-Maccagnoni@Inria.fr 3rd June 2017

More information

CARTESIAN DIFFERENTIAL CATEGORIES

CARTESIAN DIFFERENTIAL CATEGORIES Theory and Applications o Categories, Vol. 22, No. 23, 2009, pp. 622 672. CARTESIAN DIFFERENTIAL CATEGORIES R.F. BLUTE, J.R.B. COCKETT AND R.A.G. SEELY Abstract. This paper revisits the authors notion

More information

Monads Need Not Be Endofunctors

Monads Need Not Be Endofunctors Monads Need Not Be Endofunctors Thorsten Altenkirch, University of Nottingham James Chapman, Institute of Cybernetics, Tallinn Tarmo Uustalu, Institute of Cybernetics, Tallinn ScotCats, Edinburgh, 21 May

More information

Example: When describing where a function is increasing, decreasing or constant we use the x- axis values.

Example: When describing where a function is increasing, decreasing or constant we use the x- axis values. Business Calculus Lecture Notes (also Calculus With Applications or Business Math II) Chapter 3 Applications o Derivatives 31 Increasing and Decreasing Functions Inormal Deinition: A unction is increasing

More information

Relative Hilbert-Post completeness for exceptions

Relative Hilbert-Post completeness for exceptions Relative Hilbert-Post completeness for exceptions Dominique Duval with J.-G. Dumas, B. Ekici, D. Pous, J.-C. Reynaud LJK University of Grenoble-Alpes and ENS Lyon November 12., 2015 MACIS 2015, Berlin

More information

MONADS ON DAGGER CATEGORIES

MONADS ON DAGGER CATEGORIES MONDS ON DGGER CTEGORIES CHRIS HEUNEN ND MRTTI KRVONEN bstract. The theory of monads on categories equipped with a dagger (a contravariant identity-on-objects involutive endofunctor) works best when everything

More information

Functors for the Piagetian Robotics Paper

Functors for the Piagetian Robotics Paper Functors or the Piagetian Robotics Paper Joshua Taylor 1 and Selmer Bringsjord 1,2 tayloj@cs.rpi.edu, selmer@rpi.edu Rensselaer AI & Reasoning (RAIR) Lab Department o Cognitive Science 2 Department o Computer

More information

The Elements for Logic In Compositional Distributional Models of Meaning

The Elements for Logic In Compositional Distributional Models of Meaning The Elements for Logic In Compositional Distributional Models of Meaning Joshua Steves: 1005061 St Peter s College University of Oxford A thesis submitted for the degree of MSc Mathematics and Foundations

More information

Power-Set Functors and Saturated Trees

Power-Set Functors and Saturated Trees Power-Set Functors and Saturated Trees Jiří Adámek 1, Stean Milius 1, Lawrence S. Moss 2, and Lurdes Sousa 3 1 Institut ür Theoretische Inormatik, Technische Universität Braunschweig Germany 2 Department

More information

A Compositional Distributional Model of Meaning

A Compositional Distributional Model of Meaning Compositional Distributional Model o Meaning Stephen Clark ob Coecke Mehrnoosh Sadrzadeh Oxord University Computing Laboratory Wolson uilding, Parks Road, OX1 3QD Oxord, UK stephen.clark@comlab.ox.ac.uk

More information

Categories and Quantum Informatics

Categories and Quantum Informatics Categories and Quantum Informatics Week 6: Frobenius structures Chris Heunen 1 / 41 Overview Frobenius structure: interacting co/monoid, self-duality Normal forms: coherence theorem Frobenius law: coherence

More information

CATEGORY THEORY. Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths.

CATEGORY THEORY. Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths. CATEGORY THEORY PROFESSOR PETER JOHNSTONE Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths. Definition 1.1. A category C consists

More information

Mix Unitary Categories

Mix Unitary Categories 1/31 Mix Unitary Categories Robin Cockett, Cole Comfort, and Priyaa Srinivasan CT2018, Ponta Delgada, Azores Dagger compact closed categories Dagger compact closed categories ( -KCC) provide a categorical

More information

MFPS LICS Special Session Honouring Dana Scott. Symmetric Scott. Andrew Pitts. Computer Laboratory MFPS/LICS /14

MFPS LICS Special Session Honouring Dana Scott. Symmetric Scott. Andrew Pitts. Computer Laboratory MFPS/LICS /14 MFPS/LICS 2013 1/14 MFPS LICS Special Session Honouring Dana Scott Symmetric Scott Andrew Pitts Computer Laboratory 80 years of Dana Scott MFPS/LICS 2013 2/14 automata theory set theory sheaves & logic

More information

What s category theory, anyway? Dedicated to the memory of Dietmar Schumacher ( )

What s category theory, anyway? Dedicated to the memory of Dietmar Schumacher ( ) What s category theory, anyway? Dedicated to the memory of Dietmar Schumacher (1935-2014) Robert Paré November 7, 2014 Many subjects How many subjects are there in mathematics? Many subjects How many subjects

More information

sset(x, Y ) n = sset(x [n], Y ).

sset(x, Y ) n = sset(x [n], Y ). 1. Symmetric monoidal categories and enriched categories In practice, categories come in nature with more structure than just sets of morphisms. This extra structure is central to all of category theory,

More information

Skew-closed objects, typings of linear lambda terms, and flows on trivalent graphs

Skew-closed objects, typings of linear lambda terms, and flows on trivalent graphs Skew-closed objects, typings of linear lambda terms, and flows on trivalent graphs Noam Zeilberger University of Birmingham STRING 2017, Jericho Tavern 10 September 2017 [work in progress, in part based

More information

arxiv: v1 [gr-qc] 29 Jul 2011

arxiv: v1 [gr-qc] 29 Jul 2011 Causal categories: relativistically interacting processes arxiv:1107.6019v1 [gr-qc] 29 Jul 2011 Bob Coecke and Raymond Lal University o Oxord, Computer Science, Quantum Group, Wolson Building, Parks Road,

More information

What is a categorical model for Linear Logic?

What is a categorical model for Linear Logic? What is a categorical model for Linear Logic? ndrea Schalk Department of Computer Science University of Manchester October 15, 2004 The aim of these notes is to give an outline of the categorical structure

More information

Modèles des langages de programmation Domaines, catégories, jeux. Programme de cette seconde séance:

Modèles des langages de programmation Domaines, catégories, jeux. Programme de cette seconde séance: Modèles des langages de programmation Domaines, catégories, jeux Programme de cette seconde séance: Modèle ensembliste du lambda-calcul ; Catégories cartésiennes fermées 1 Synopsis 1 the simply-typed λ-calculus,

More information

2-DIMENSIONAL TOPOLOGICAL QUANTUM FIELD THEORIES AND FROBENIUS ALGEBRAS. Contents 1. The main theorem 1

2-DIMENSIONAL TOPOLOGICAL QUANTUM FIELD THEORIES AND FROBENIUS ALGEBRAS. Contents 1. The main theorem 1 2-DIMENSIONL TOPOLOGICL QUNTUM FIELD THEORIES ND FROBENIUS LGEBRS CROLINE TERRY bstract. Category theory provides a more abstract and thus more general setting for considering the structure of mathematical

More information

A Graph Theoretic Perspective on CPM(Rel)

A Graph Theoretic Perspective on CPM(Rel) A Graph Theoretic Perspective on CPM(Rel) Daniel Marsden Mixed states are of interest in quantum mechanics for modelling partial information. More recently categorical approaches to linguistics have also

More information

Category theory and set theory: algebraic set theory as an example of their interaction

Category theory and set theory: algebraic set theory as an example of their interaction Category theory and set theory: algebraic set theory as an example of their interaction Brice Halimi May 30, 2014 My talk will be devoted to an example of positive interaction between (ZFC-style) set theory

More information