univalent categories and the rezk completion
play

Univalent categories and the Rezk completion Benedikt Ahrens 1 , - PowerPoint PPT Presentation

Univalent categories and the Rezk completion Benedikt Ahrens 1 , Krzysztof Kapulkin 2 , Michael Shulman 1 1 Institute for Advanced Study, Princeton 2 University of Pittsburgh, Pittsburgh TYPES 2013 3 kinds of sameness for categories Equality C =


  1. Univalent categories and the Rezk completion Benedikt Ahrens 1 , Krzysztof Kapulkin 2 , Michael Shulman 1 1 Institute for Advanced Study, Princeton 2 University of Pittsburgh, Pittsburgh TYPES 2013

  2. 3 kinds of sameness for categories Equality C = D C ∼ Isomorphism = D Equivalence C ≃ D • most properties of categories invariant under equivalence • we can only substitute equals for equals • in set-theoretic foundations these notions are worlds apart In this talk: Define categories in the Univalent Foundations for which all three coincide

  3. Outline 1 Introduction to Univalent Foundations Category Theory in Univalent Foundations 2

  4. Univalent Foundations What are the Univalent Foundations? • Intensional Martin-Löf Type Theory � Types as Spaces interpretation, i.e. Homotopy Type Theory + Univalence Axiom Martin-Löf Type Theory and its Homotopy Interpretation � Sigma type x : A B ( x ) total space of a fibration � Product type x : A B ( x ) space of sections of a fibration Identity type Id A ( a , b ) space of paths p : a � b

  5. Univalence : equivalent types are equal Universes in MLTT • Types in MLTT are stratified in Universes U n • can consider Id U ( A , B ) (polymorphic in universe level n ) • Univalence allows to construct identities between A and B Univalence • Define type Equiv ( A , B ) of Equivalences from A to B • Univalence Axiom identifies Equiv ( A , B ) with Id ( A , B ) • Can construct f : Equiv ( A , B ) for suitable A , B

  6. Level of a type Definition (Propositions & Sets) A type A is a proposition if any two a , b : A are equal, that is, � isProp ( A ) := Id ( x , y ) x y : A A type A is a set if for any x , y : A , the type Id ( x , y ) is a proposition � isSet ( A ) := isProp ( Id ( x , y )) x y : A • Propositions are “proof–irrelevant” types. • Points of a set are equal in a unique way, if they are.

  7. Equivalence of types Definition (Equivalence of types) A function f : A → B is an equivalence of types if there are • g : B → A • � � � � � � � � � � η : Id g f ( a ) , a ǫ : Id f g ( b ) , b a : A b : B � � together with a coherence condition τ : � x : A Id f ( η x ) , ǫ ( fx ) • “ f is an equivalence ” is a proposition, written isEquiv ( f ) • � Equiv ( A , B ) := isEquiv ( f ) f : A → B

  8. The Univalence Axiom Definition (From paths to equivalences) id_to_equiv A , B : Id ( A , B ) → Equiv ( A , B ) refl ( A ) �→ ( a �→ a ) Univalence Axiom � univalence : isEquiv ( id_to_equiv A , B ) A B : U In particular, Univalence gives a map backwards: equiv_to_id A , B : Equiv ( A , B ) → Id ( A , B )

  9. Outline Introduction to Univalent Foundations 1 Category Theory in Univalent Foundations 2

  10. Outline Introduction to Univalent Foundations 1 Category Theory in Univalent Foundations 2 Notation Write p : x � y for p : Id A ( x , y )

  11. Categories in Univalent Foundations — Take I A naïve definition of categories A category C is given by • a type C 0 of objects • for any a , b : C 0 , a type C ( a , b ) of morphisms • operations: identity & composition id a : A ( a , a ) ( ◦ ) a , b , c : A ( b , c ) → A ( a , b ) → A ( a , c ) • axioms: unitality & associativity id ◦ f � f f ◦ id � f ( h ◦ g ) ◦ f � h ◦ ( g ◦ f ) Problem: Would require higher coherence data...

  12. � � � � � � � � � � � � � � � ���� � � � � � � � � � � � � Coherence for associativity Two ways to associate a composition of four morphisms from left to right: ( i ◦ h ) ◦ ( g ◦ f ) (( i ◦ h ) ◦ g ) ◦ f i ◦ ( h ◦ ( g ◦ f )) ( i ◦ ( h ◦ g )) ◦ f i ◦ (( h ◦ g ) ◦ f )

  13. � � ����� ����� � � � � � � ���� � � � � � � � � � � � � � � � � � � � � � � � � � Coherence for associativity Two ways to associate a composition of four morphisms from left to right: ( i ◦ h ) ◦ ( g ◦ f ) (( i ◦ h ) ◦ g ) ◦ f i ◦ ( h ◦ ( g ◦ f )) ( i ◦ ( h ◦ g )) ◦ f i ◦ (( h ◦ g ) ◦ f ) Would need to ask for higher coherence , � � etc � � � � � �

  14. Categories in Univalent Foundations — Take II A less naïve definition of categories A category C is given by • a type C 0 of objects • for any a , b : C 0 , a set C ( a , b ) of morphisms • operations: identity & composition • axioms: unitality & associativity For this definition of category, the pentagon is automatically coherent.

  15. Isomorphism in a category Definition (Isomorphism in a category) A morphism f : C ( a , b ) is an isomorphism if there are • g : C ( b , a ) • η : g ◦ f � id a ǫ : f ◦ g � id b • “ f is an isomorphism ” is a proposition, written isIso ( f ) • � Iso ( a , b ) := isIso ( f ) f : C ( a , b )

  16. From paths to isomorphisms Definition (From paths to isomorphisms, univalent categories) For objects a , b : C 0 we define id_to_iso a , b : ( a � b ) → Iso ( a , b ) refl ( a ) �→ id a We call the category C univalent if, for any objects a , b : C 0 , id_to_iso a , b : ( a � b ) → Iso ( a , b ) is an equivalence of types. • In a univalent category, isomorphic objects are equal. • “ C is univalent” is a proposition, written isUniv ( C ) .

  17. Examples of univalent categories • SET (follows from the Univalence Axiom) • categories of algebraic structures (groups, rings,...) • made precise by the Structure Identity Principle (Coquand, Aczel) • full subcategories of univalent categories • functor category D C , if D is univalent (see below)

  18. What about categories as objects? Definition (Functor) A functor F from C to D is given by • a map F 0 : C 0 → D 0 • for any a , a ′ : C 0 , a map F a , a ′ : C ( a , a ′ ) → D ( Fa , Fa ′ ) • preserving identity and composition A functor F is an isomorphism of categories if • F 0 is an equivalence of types • F a , a ′ is an equivalence of types (a bijection) for any a , a ′ � C ∼ = D := isIsoOfCats ( F ) F : C→D

  19. Natural transformations Definition (Natural transformation) Let F , G : C → D be functors. A natural transformation α : F → G is given by • for any a : C 0 a morphism α a : D ( Fa , Ga ) s.t. • for any f : C ( a , b ) , Gf ◦ α a � α b ◦ Ff The type of natural transformations F → G is a set . Definition (Functor category D C ) • objects: functors from C to D • morphisms from F to G : natural transformations A natural transformation α is an isomorphism iff each α a is.

  20. Equivalence of categories Definition (Left Adjoint, Equivalence of Categories) A functor F : C → D is a left adjoint if there are • G : D → C • η : 1 C → GF • ǫ : FG → 1 D • + higher coherence data. A left adjoint F is an equivalence of categories if η and ǫ are isomorphisms. “F is an equivalence” is a proposition. � C ≃ D := isEquivOfCats ( F ) F : C→D

  21. 1 kind of sameness for univalent categories Equality C � D C ∼ Isomorphism = D Equivalence C ≃ D Theorem For univalent categories C and D , these three are equivalent as types. In particular, we can substitute a univalent category with an equivalent one.

  22. � � � Rezk completion • “Being univalent” is a proposition � Inclusion from univalent categories to categories Theorem The inclusion of univalent categories into categories has a left adjoint (in bicategorical sense), C �→ � C Rezk completion of C That is, any functor F : C → D with D univalent factors uniquely via η C : C → � C : η C � η is unit of adjunction C C � � � � ∃ ! � ∀ � � � D

  23. Formalization and reference Formalization in Coq • Rezk completion formalized • approx. 4000 lines of code • based on Voevodsky’s library “ Foundations ” � github.com/benediktahrens/rezk_completion References • preprint with same title arxiv.org/abs/1303.0584 • C. Rezk, A model for the homotopy theory of homotopy theory , 2001

Recommend


More recommend