Categories, functors, and profunctors are a free cocompletion

Similar documents
1 Cartesian bicategories

CONTRAVARIANCE THROUGH ENRICHMENT

1 Jim Lambek, The Lorentz Category in Six Dimensions

Theories With Duality DRAFT VERSION ONLY

Cellularity, composition, and morphisms of algebraic weak factorization systems

A 2-CATEGORIES COMPANION

Enhanced 2-categories and limits for lax morphisms

Abstracting away from cell complexes

Polynomials and Models of Type Theory

Semantics and syntax of higher inductive types

Enhanced 2-categories and limits for lax morphisms

OPERAD BIMODULE CHARACTERIZATION OF ENRICHMENT. V2

The Triple Category of Bicategories

Categories and functors

Enriched and internal categories: an extensive relationship

LAX DISTRIBUTIVE LAWS FOR TOPOLOGY, II

LAX FORMAL THEORY OF MONADS, MONOIDAL APPROACH TO BICATEGORICAL STRUCTURES AND GENERALIZED OPERADS

Algebraic model structures

arxiv: v1 [math.ct] 15 Aug 2014

Morita equivalence for regular algebras

Algebra and local presentability: how algebraic are they? (A survey)

CATEGORICAL STRUCTURES ENRICHED IN A QUANTALOID: TENSORED AND COTENSORED CATEGORIES

RELATIVE SYMMETRIC MONOIDAL CLOSED CATEGORIES I: AUTOENRICHMENT AND CHANGE OF BASE

TWO-SIDED DISCRETE FIBRATIONS IN 2-CATEGORIES AND BICATEGORIES

FAMILIAL 2-FUNCTORS AND PARAMETRIC RIGHT ADJOINTS

HOPF POLYADS, HOPF CATEGORIES AND HOPF GROUP MONOIDS VIEWED AS HOPF MONADS

Category Theory. Travis Dirle. December 12, 2017

Monads Need Not Be Endofunctors

Pseudo-distributive laws

arxiv: v1 [math.ct] 23 Oct 2016

arxiv: v2 [math.ct] 15 Nov 2016

Barr s Embedding Theorem for Enriched Categories

A UNIFIED FRAMEWORK FOR GENERALIZED MULTICATEGORIES

CHANGE OF BASE, CAUCHY COMPLETENESS AND REVERSIBILITY

Dual Adjunctions Between Algebras and Coalgebras

The formal theory of adjunctions, monads, algebras, and descent

Analysis and Enriched Category Theory

Journal of Pure and Applied Algebra

arxiv:math/ v1 [math.ct] 4 Oct 1998

LOCALIZATIONS, COLOCALIZATIONS AND NON ADDITIVE -OBJECTS

Distributors at Work

Assume the left square is a pushout. Then the right square is a pushout if and only if the big rectangle is.

Elements of Category Theory

arxiv: v2 [math.ct] 22 Sep 2017

LIST OF CORRECTIONS LOCALLY PRESENTABLE AND ACCESSIBLE CATEGORIES

Applications of 2-categorical algebra to the theory of operads. Mark Weber

NOTES ON ADJUNCTIONS, MONADS AND LAWVERE THEORIES. 1. Adjunctions

A model-independent theory of -categories

An introduction to Yoneda structures

PART I. Abstract algebraic categories

Categorical models of homotopy type theory

Span, Cospan, and Other Double Categories

Injective objects and lax idempotent monads

arxiv:math/ v1 [math.ct] 16 Nov 2004

arxiv:math/ v1 [math.at] 6 Oct 2004

Real-cohesion: from connectedness to continuity

Introduction to Restriction Categories

Compact closed bicategories. Mike Stay University of Auckland and Google

Towards a Formal Theory of Graded Monads

What are Iteration Theories?

Grothendieck duality for affine M 0 -schemes.

Categories and Modules

A NOTE ON ENRICHED CATEGORIES

Model Structures on the Category of Small Double Categories

1. Introduction and preliminaries

THE CARTESIAN CLOSED BICATEGORY OF GENERALISED SPECIES OF STRUCTURES

About categorical semantics

An algebraic description of regular epimorphisms in topology

Algebras and Bialgebras

What are Iteration Theories?

Algebraic models for higher categories

arxiv: v2 [math.ct] 5 May 2009

Derived Algebraic Geometry III: Commutative Algebra

arxiv: v1 [math.at] 22 Jun 2016

The synthetic theory of -categories vs the synthetic theory of -categories

MONOIDAL DERIVATORS MORITZ GROTH

Kathryn Hess. Category Theory, Algebra and Geometry Université Catholique de Louvain 27 May 2011

PART II.1. IND-COHERENT SHEAVES ON SCHEMES

An introduction to locally finitely presentable categories

by Marco GRANDIS and Robert PARÉ ( * )

BASIC CONCEPTS OF ENRICHED CATEGORY THEORY

BERTRAND GUILLOU. s G q+r

THE HEART OF A COMBINATORIAL MODEL CATEGORY

Derived Morita theory and Hochschild Homology and Cohomology of DG Categories

Higher-Dimensional Algebra III: n-categories and the Algebra of Opetopes John C. Baez and James Dolan

arxiv: v1 [math.ct] 11 May 2018

Review of Coherence in Three-Dimensional Category Theory by Nick Gurski (Cambridge University Press, 2013).

MONADS NEED NOT BE ENDOFUNCTORS

Algebraic models for higher categories

Monoidal categories enriched in braided monoidal categories

A COCATEGORICAL OBSTRUCTION TO TENSOR PRODUCTS OF GRAY-CATEGORIES

Bicategories. Damien Lejay 16 October 2012

Lecture 9: Sheaves. February 11, 2018

arxiv: v2 [math.at] 18 Sep 2008

MORITA EQUIVALENCE OF MANY-SORTED ALGEBRAIC THEORIES

An introduction to quantaloid-enriched categories

Computation and the Periodic Table

The periodic table of n-categories for low dimensions I: degenerate categories and degenerate bicategories draft

arxiv: v2 [math.ct] 12 Oct 2016

SPLITTING TOWER AND DEGREE OF TT-RINGS. Introduction

Transcription:

Categories, functors, and profunctors are a free cocompletion Michael Shulman 1 Richard Garner 2 1 Institute for Advanced Study Princeton, NJ, USA 2 Macquarie Univesrity Syndey, NSW, Australia October 27, 2012

Outline 1 The problem 2 Progress and hints 3 The solution 4 Concluding remarks

Monads Definition (Bénabou, 1967) A monad in a bicategory consists of An object A, A morphism t : A A, 2-cells m : tt t and i : 1 A t, and Associativity and unitality axioms. Equivalently, a lax functor out of 1. Includes ordinary monads, enriched ones, internal ones, indexed ones, monoidal ones,... The Eilenberg-Moore object A t is a lax limit, and the Kleisli object A t is a lax colimit (Street).

Categories Example A monad in the bicategory of spans (of sets) consists of A set A 0, A span A 0 A 1 A 0, Functions m : A 1 A0 A 1 A 1 and i : A 0 A 1, and Associativity and unitality axioms. In other words, it s nothing but a (small) category! In similar bicategories, we obtain internal categories, enriched categories,...

Morphisms of monads Definition (Street, 1972) A lax monad morphism (A, t) (B, s) consists of A morphism f : A B, A 2-cell f : sf ft, and Some axioms.

Morphisms of monads Definition (Street, 1972) A lax monad morphism (A, t) (B, s) consists of A morphism f : A B, A 2-cell f : sf ft, and Some axioms. = a lax natural transformation between lax functors. Induces a morphism A t B s between E-M objects. Colax monad morphisms = colax natural transformations, and induce morphisms A t B s between Kleisli objects.

Morphisms of categories? Example A lax monad morphism in the bicategory of spans consists of A span A 0 F 0 B 0, A morphism A 0 A 1 A 0 F 0 F 0 B 0 B 1 B 0

Morphisms of categories? Example A colax monad morphism in the bicategory of spans consists of A span A 0 F 0 B 0, A morphism A 0 A 1 A 0 F 0 F 0 B 0 B 1 B 0

Morphisms of categories? Example A colax monad morphism in the bicategory of spans consists of A span A 0 F 0 B 0, A morphism A 0 A 1 A 0 F 0 F 0 B 0 B 1 B 0

Morphisms of categories? Example A functor consists of A function f 0 : A 0 B 0 A morphism A 0 A 1 A 0 F 0 F 0 B 0 B 1 B 0

Morphisms of categories? Example A functor consists of A function f 0 : A 0 B 0 A morphism A 0 A 1 A 0 f 0 f 1 f 0 B 0 B 1 B 0

Morphisms of categories? Example A functor consists of A function f 0 : A 0 B 0 A morphism A 0 A 1 A 0 f 0 f 1 f 0 B 0 B 1 B 0 functor = colax monad morphism such that the span A 0 F 0 B 0 is a mere function A 0 B 0.

2-cells of monads Definition (Street,1972) For lax f, g, a monad 2-cell (A, t) A 2-cell f g Satisfying some axioms. f g (B, s) consists of = a modification between lax natural transformations. Induces a 2-cell A t B s between E-M objects. If f, g are colax, monad 2-cells = modifications between colax transformations, and induce 2-cells between Kleisli objects.

2-cells of categories? Example For categories A, B and colax monad morphisms f, g : A B, a monad 2-cell A A morphism f g B consists of A 0 G 0 F 0 B 0 Satisfying some axioms.

2-cells of categories? Example For categories A, B and functors f, g : A B, a monad 2-cell A A morphism f g B consists of A 0 G 0 F 0 B 0 Satisfying some axioms.

2-cells of categories? Example For categories A, B and functors f, g : A B, a monad 2-cell A A morphism f g B consists of A 0 G 0 F 0 B 0 Satisfying some axioms. i.e. just an equality f = g!

Outline 1 The problem 2 Progress and hints 3 The solution 4 Concluding remarks

Profunctors Definition (Bénabou, 1967?) For categories A, B, a profunctor A B consists of A functor H : B op A Set

Profunctors Definition (Bénabou, 1967?) For categories A, B, a profunctor A B consists of Sets H(b, a) for a A 0, b B 0 Actions H(b, a) A(a, a ) H(b, a ) B(b, b) H(b, a) H(b, a) and Associativity and unitality axioms.

Profunctors Definition (Bénabou, 1967?) For categories A, B, a profunctor A B consists of Spans A 0 H B 0 Actions H A0 A 1 H B 1 B0 H H and Associativity and unitality axioms.

Modules Definition (Bénabou, 1973) For monads (A, t), (B, s) in a bicategory, a module A B is A morphism h : A B Actions ht h sh h and Associativity and unitality axioms. Modules in spans = profunctors Also get enriched profunctors, internal profunctors,...

Composing profunctors Definition The composite of profunctors H : A B and K : B C is (KH)(c, a) = b B K(c, b) H(b, a)

Composing profunctors Definition The composite of profunctors H : A B and K : B C is (KH)(c, a) = b B K(c, b) H(b, a) ( = coeq b,b B0 K(c,b ) B(b,b) H(b,a) ) b B0 K(c,b) H(b,a)

Composing profunctors Definition The composite of profunctors H : A B and K : B C is (KH)(c, a) = b B K(c, b) H(b, a) ( = coeq b,b B0 K(c,b ) B(b,b) H(b,a) ) b B0 K(c,b) H(b,a) = coeq (K B0 B 1 B0 H K B0 H)

Composing modules Definition A bicategory B has local coequalizers if all hom-categories have coequalizers and composition preserves them in each variable. Definition In this case, the composite of modules h : (A, t) (B, s) and k : (B, s) (C, r) is coeq(ksh kh) We have a bicategory Mod 1 (B) whose objects are monads in B, and morphisms are modules

What are these modules? Theorem (Street 1981, Carboni-Kasangian-Walters 1987) 1 Mod 1 (Mod 1 (B)) Mod 1 (B). 2 C is of the form Mod 1 (B) iff it has Local coequalizers, and Kleisli objects for monads.

What are these modules? Theorem (Street 1981, Carboni-Kasangian-Walters 1987) 1 Mod 1 (Mod 1 (B)) Mod 1 (B). 2 C is of the form Mod 1 (B) iff it has Local coequalizers, and Kleisli objects for monads. Example In Prof = Mod 1 (Span), a monad on a category A is A category A with the same objects as A, and An identity-on-objects functor A A. Its Kleisli object is just A.

Functors vs Profunctors Definition (Wood 1982) A proarrow equipment consists of Two bicategories K and M with the same objects, An identity-on-objects and locally fully faithful pseudofunctor ( ) : K M, Such that every morphism f has a right adjoint in M.

Functors vs Profunctors Definition (Wood 1982) A proarrow equipment consists of Two bicategories K and M with the same objects, An identity-on-objects and locally fully faithful pseudofunctor ( ) : K M, Such that every morphism f has a right adjoint in M. Examples K = Cat, M = Prof, and for a functor f : A B, f (b, a) = B(b, f (a))

Functors vs Profunctors Definition (Wood 1982) A proarrow equipment consists of Two bicategories K and M with the same objects, An identity-on-objects and locally fully faithful pseudofunctor ( ) : K M, Such that every morphism f has a right adjoint in M. Examples K = Cat, M = Prof, and for a functor f : A B, f (b, a) = B(b, f (a)) K = Set, M = Span, and for a function f : A B, f f = A A B

Those pesky 2-cells Theorem (Lack-Street 2002) In the free cocompletion of K under Kleisli objects, The objects are monads in K, The morphisms are colax monad morphisms in K, The 2-cells (A, t) f 2-cells f sg in K, Satisfying axioms. g (B, s) are

2-cells of categories Example For categories A, B and colax monad morphisms f, g : A B: A 0 G 0 F 0 B 0 B 1 B 0

2-cells of categories Example For categories A, B and colax monad morphisms f, g : A B: A 0 G 0 F 0 B 0 B 1 B 0

2-cells of categories Example For categories A, B and functors f, g : A B: A 0 G 0 F 0 B 0 B 1 B 0

2-cells of categories Example For categories A, B and functors f, g : A B: A 0 g 0 f 0 A natural transformation! B 0 B 1 B 0

F -categories Observation (Lack-S. 2012) There is a cartesian closed 2-category F such that 1 F -enriched categories are the same as 2 data consisting of 2-categories K and M with the same objects, and an identity-on-objects and locally fully faithful 2-functor K M.

F -categories Observation (Lack-S. 2012) There is a cartesian closed 2-category F such that 1 F -enriched categories are the same as 2 data consisting of 2-categories K and M with the same objects, and an identity-on-objects and locally fully faithful 2-functor K M. The objects of F are fully faithful functors A τ A λ. An F -category B has homs ( ) B(x, y) = B τ (x, y) B λ (x, y). We call the objects of B τ (x, y) tight morphisms, and those of B λ (x, y) loose.

Outline 1 The problem 2 Progress and hints 3 The solution 4 Concluding remarks

The story so far Categories are monads in spans. Functors are colax monad morphisms whose underlying span is a function. Natural transformations are 2-cells between these in the free cocompletion under Kleisli objects.

The story so far Categories are monads in spans. Functors are colax monad morphisms whose underlying span is a function. Natural transformations are 2-cells between these in the free cocompletion under Kleisli objects. Functions and spans form a proarrow equipment. So do functors and profunctors. Strict proarrow equipments are special F -enriched categories.

The story so far Categories are monads in spans. Functors are colax monad morphisms whose underlying span is a function. Natural transformations are 2-cells between these in the free cocompletion under Kleisli objects. Functions and spans form a proarrow equipment. So do functors and profunctors. Strict proarrow equipments are special F -enriched categories. Profunctors are modules in spans. Modules exist in any bicategory with local coequalizers. Mod 1 is idempotent on bicategories with local coequalizers, and its image is those with Kleisli objects.

The solution, part 1 Theorem (Garner-S.) There is a monoidal bicategory F 1 such that 1 F 1 -enriched bicategories are the same as 2 data consisting of bicategories K and M with the same objects, and an identity-on-objects and locally fully faithful pseudofunctor K M, such that M has local coequalizers.

The solution, part 1 Theorem (Garner-S.) There is a monoidal bicategory F 1 such that 1 F 1 -enriched bicategories are the same as 2 data consisting of bicategories K and M with the same objects, and an identity-on-objects and locally fully faithful pseudofunctor K M, such that M has local coequalizers. Theorem (Garner-S.) The F 1 -bicategory (Cat Prof ) is the free cocompletion of the F 1 -bicategory (Set Span) under a type of F 1 -enriched colimit called tight Kleisli objects.

The solution, part 0 Theorem (Garner-S.) There is a monoidal bicategory C 1 such that 1 C 1 -enriched bicategories are the same as 2 bicategories with local coequalizers. Theorem (Garner-S.) The C 1 -bicategory Prof is the free cocompletion of the C 1 -bicategory Span under C 1 -enriched Kleisli objects.

The solution, part 0 Theorem (Garner-S.) There is a monoidal bicategory C 1 such that 1 C 1 -enriched bicategories are the same as 2 bicategories with local coequalizers. Theorem (Garner-S.) The C 1 -bicategory Mod 1 (B) is the free cocompletion of a C 1 -bicategory B under C 1 -enriched Kleisli objects.

The solution, part 0 Theorem (Garner-S.) There is a monoidal bicategory C 1 such that 1 C 1 -enriched bicategories are the same as 2 bicategories with local coequalizers. Theorem (Garner-S.) The C 1 -bicategory Mod 1 (B) is the free cocompletion of a C 1 -bicategory B under C 1 -enriched Kleisli objects. Moreover, Kleisli objects are Cauchy C 1 -colimits. This explains why Mod 1 (Mod 1 (B)) Mod 1 (B).

The first ingredient: enriched bicategories Theorem (Garner-S.) The classical theory of enriched categories, weighted limits, and free cocompletions can all be categorified into a theory of bicategories enriched over a monoidal bicategory.

The first ingredient: enriched bicategories Theorem (Garner-S.) The classical theory of enriched categories, weighted limits, and free cocompletions can all be categorified into a theory of bicategories enriched over a monoidal bicategory. Proof. 40 pages. Thanks Richard!!

The second ingredient: local coequalizers Definition C 1 = the 2-category of categories with coequalizers and coequalizer-preserving functors. Theorem C 1 has a (bicategorical) monoidal structure such that functors A B C are equivalent to functors A B C preserving coequalizers in each variable.

The second ingredient: local coequalizers Definition C 1 = the 2-category of categories with coequalizers and coequalizer-preserving functors. Theorem C 1 has a (bicategorical) monoidal structure such that functors A B C are equivalent to functors A B C preserving coequalizers in each variable. Theorem In C 1, Eilenberg-Moore objects (which are constructed as in Cat) are also Kleisli objects.

The second ingredient: local coequalizers Definition C 1 = the 2-category of categories with coequalizers and coequalizer-preserving functors. Theorem C 1 has a (bicategorical) monoidal structure such that functors A B C are equivalent to functors A B C preserving coequalizers in each variable. Theorem In C 1, Eilenberg-Moore objects (which are constructed as in Cat) are also Kleisli objects. Note: C 1 itself is a bicategory with local coequalizers!

The third ingredient: tight morphisms Definition F 1 = the 2-category of fully faithful functors A τ A λ, where A λ has coequalizers. Theorem F 1 has a (bicategorical) monoidal structure where A B is the fully-faithful factorization of A τ B τ A λ B λ.

The fourth ingredient: tight colimits Let (A, t) be a monad in an F 1 -bicategory B. Definition A tight Kleisli object of (A, t) consists of 1 A Kleisli object A t of (A, t) in the bicategory B λ. 2 The left adjoint f : A A t is tight. 3 A morphism A t B is tight iff its composite with f is tight.

The fourth ingredient: tight colimits Let (A, t) be a monad in an F 1 -bicategory B. Definition A tight Kleisli object of (A, t) consists of 1 A Kleisli object A t of (A, t) in the bicategory B λ. 2 The left adjoint f : A A t is tight. 3 A morphism A t B is tight iff its composite with f is tight. All F 1 -weighted colimits look like this: colimits in B λ such that a certain group of coprojections are tight and detect tightness.

Outline 1 The problem 2 Progress and hints 3 The solution 4 Concluding remarks

Bicategory-enriched categories A monoidal category V a one-object bicategory BV. Monads in BV = monoids in V. Definition (Bénabou) A bicategory-enriched category (or polyad) is the thing such that when you do it in BV, it gives you V-enriched categories.

Bicategory-enriched categories A monoidal category V a one-object bicategory BV. Monads in BV = monoids in V. Definition (Bénabou) A bicategory-enriched category (or polyad) is the thing such that when you do it in BV, it gives you V-enriched categories. If B is locally cocomplete, have a bicategory Mod (B) of these and modules/profunctors. It is the free cocompletion of B under C -enriched collages, i.e. lax colimits. Also have F...

A couple of open problems Mod(B) is not the Cauchy completion of B as a C -bicategory (e.g. its idempotents don t split). Question Can we characterize the class of colimits that it does have? Question What is the full C -enriched Cauchy completion?