Univalence for Free. Matthieu Sozeau Joint work with Nicolas Tabareau - INRIA. GT Types & Réalisabilité March 13th 2013
|
|
- Alvin Ryan
- 6 years ago
- Views:
Transcription
1 Univalence for Free Matthieu Sozeau Joint work with Nicolas Tabareau - INRIA Project Team πr 2 INRIA Rocquencourt & PPS, Paris 7 University GT Types & Réalisabilité March 13th 2013
2 Univalence for Free 1 Groupoid interpretations of type theory 1-groupoids vs weak 2-groupoids Defining weak 2-groupoids 2 The construction Propositions, proof irrelevance and propositional extensionality Functions and functional extensionality Types and homotopic equivalence Dependent products Σ types and groupoid levels The translation 3 An example Matthieu Sozeau - Univalence for Free 2
3 Weak 2 groupoids against groupoids In Hofmann and Streicher: T : GP D. GPD are 1-groupoids: ΣA : Set; Σ : A A Set; Σ equiv : x y, Equivalence (x y) eq... Morphisms representing identities are identified up to propositional equality (eq : ΠA, A A Set). Weak 2-groupoids: morphisms representing identities are identified up to another notion of equivalence. ΣA : Set; Σ 1 : A A Set; Σ 2 : {x y} (p q : x 1 y), Set; Σ 2 equiv x y, Equivalence (x 1 y) E.g: Prop := (Prop, iff, irrel,...). Matthieu Sozeau - Univalence for Free 3
4 Weak 2 groupoids agains groupoids GPD are weak 2-groupoids where the equality of morphisms is propositional equality eq (which has J but not UIP ). Not sticking to identity sets (which are at the origin of the groupoid/homotopy models), we can realize a richer model. Principle Proof-irrelevance Propositional extensionality Functional extensionality Univalence Definition of equality Irrelevant equality Logical equivalence Pointwise equality Isomorphism Matthieu Sozeau - Univalence for Free 4
5 Defining weak 2-groupoids Matthieu Sozeau - Univalence for Free 5
6 Relations Start with computational relations: Definition Hom (A : Type) := A A Type. Class Identity {A} (M : Hom A) := identity : x, M x x. Class Equivalence T (Eq : Hom T ):= { Equivalence Identity :> Identity Eq ; Equivalence Inverse :> Inverse Eq ; Equivalence Composition :> Composition Eq }. Matthieu Sozeau - Univalence for Free 6
7 Equivalence Type Notation for 1-homs, the notion of path/equality on T. Class 1Hom T := {m1 : Hom T }. Infix 1 := m1 (at level 80). 2-homs are between objects in a given 1-hom, so T will be an equality /1-Hom type itself Class EquivalenceType (T : Type) : Type := { m2: Hom T ; equiv struct :> Equivalence m2 }. Infix 2 := m2 (at level 80). We assume that m2 is an equivalence but don t assume anything about its proofs (identity, inverse, composition). Matthieu Sozeau - Univalence for Free 7
8 2-1 categories Weak 2-categories where 2-homs are iso-homs (equivalences). Class Weak2 1Category T := { M :> 1Hom T ; eq m :> x y, EquivalenceType (x 1 y) ; Weak2 1Category Identity :> Identity m1 ; Weak2 1Category Composition :> Composition m1; Matthieu Sozeau - Univalence for Free 8
9 2-1 categories id R : x y (f : x 1 y), f (identity x) 2 f ; id L : x y (f : x 1 y), (identity y) f 2 f ; assoc : x y z w (f : x 1 y) (g: y 1 z) (h: z 1 w), (h g) f 2 h (g f ); comp : x y z (f f : x 1 y) (g g : y 1 z), f 2 f g 2 g g f 2 g f }. Definition Weak2 1CatType := {T :Type & Weak2 1Category T }. Matthieu Sozeau - Univalence for Free 9
10 Weak 2-groupoids Class Weak2Groupoid T := { Weak2Groupoid Weak2 1Category :> Weak2 1Category T ; Weak2Groupoid Inverse :> Inverse m1 ; inv R : x y (f : x 1 y), f (inverse f ) 2 identity ; inv L : x y (f : x 1 y), (inverse f ) f 2 identity ; inv : x y (f f :x 1 y), f 2 f inverse f 2 inverse f }. Definition Weak2GroupoidType := {T :Type & Weak2Groupoid T }. Matthieu Sozeau - Univalence for Free 10
11 Notations Notation [ T ] := (π 1 T ). Notation ( x ; p ) := (@sigma intro x p). Notation N := ([M] N) (at level 55). Matthieu Sozeau - Univalence for Free 11
12 Univalence for Free 1 Groupoid interpretations of type theory 1-groupoids vs weak 2-groupoids Defining weak 2-groupoids 2 The construction Propositions, proof irrelevance and propositional extensionality Functions and functional extensionality Types and homotopic equivalence Dependent products Σ types and groupoid levels The translation 3 An example Matthieu Sozeau - Univalence for Free 12
13 Propositions, proof irrelevance and propositional extensionality Matthieu Sozeau - Univalence for Free 13
14 Prop extensionality and proof irrelevance Irrelevant equality: Definition Hom irr (T : Type) : Hom T := λ, unit. We define IrrRelWeak2Groupoid T m for Weak2Groupoid T when m is an equivalence and the second equality is irrelevant (all 2-homs are inhabited, all their inhabitants are equal). Class PropIrr (P : Prop) : Type := { prop irr groupoid := IrrRelWeak2Groupoid (m:= Hom irr P) }. Matthieu Sozeau - Univalence for Free 14
15 Propositional extensionality Prop forms such a degenerated 2-groupoid, with Hom-set logical equivalence of propositions and irrelevant 2-Homs representing equality of two proofs of the same proposition. Program Definition Propositions := { P : Prop & PropIrr P }. Definition eq prop (P Q : Propositions) := [P] [Q]. Program Definition Prop : Weak2GroupoidType := (Propositions ; IrrRelWeak2Groupoid (m:=eq prop) ). Matthieu Sozeau - Univalence for Free 15
16 Functions and functional extensionality Matthieu Sozeau - Univalence for Free 16
17 Functional extensionality Equality of functions requires talking about equality of 2-groupoid functors: Class Functor {T U : Weak2GroupoidType} (f : [T ] [U]) := { map : {x y}, x 1 y f x 1 f y ; map2 : x y (e e : x 1 y), e 2 e map e 2 map e ; map comp : x y z (e:x 1 y) (e :y 1 z), map (e e) 2 map e map e }. Compatibilities for identity, inverse can be derived. Matthieu Sozeau - Univalence for Free 17
18 Functors Definition Fun Type (T U : Weak2GroupoidType) := {f : [T ] [U] & Functor f }. Infix := Fun Type (at level 55). One can also define identity and composition for functors (but not inverse). We ll form the category of 2-Groupoid functors and natural transformations. Matthieu Sozeau - Univalence for Free 18
19 Functor equivalence Equivalence between functors is given by (iso-)natural transformations. Note the higher coherence condition on the functorial maps: Definition nat trans T U (f g : T U) := {α : t : [T ], f t 1 g t & t t (e : t 1 t ), (α t ) (map [f ] e) 2 (map [g] e) (α t)}. Matthieu Sozeau - Univalence for Free 19
20 Natural transformation equivalence At the higer-level: (α t : f t 1 g t) 2 β t. Definition nat trans2 T U (f g : T U) : Hom (nat trans f g) := λ α β, t : [T ], α t 2 β t. No need for naturality here as the higher equivalences are trivial (no 3). We can prove this forms an equivalence type: Program Instance nat trans eq T U (f g : T U) : EquivalenceType (nat trans f g) := {m2 := nat trans2 (f :=f ) (g:=g)}. Matthieu Sozeau - Univalence for Free 20
21 2-groupoid of the function space For two 2-groupoids T, U we have the 2-groupoid T U of functorial maps between T and U (respecting 1, natural transformations). Equivalence is natural transformation equivalence nat trans2. Program Definition fun T U : Weak2GroupoidType := sigma intro Weak2Groupoid (T U) (nat group T U). Infix := fun. Matthieu Sozeau - Univalence for Free 21
22 Types and homotopic equivalence Matthieu Sozeau - Univalence for Free 22
23 Homotopic equivalence Equivalence of 2-groupoids is homotopic equivalence: a map with its adjoint, 2 proofs that they form a section and a retraction plus 2 triangle identities relating the section and rectraction proofs. Class Equiv struct T U (f : [T U]) := { adjoint : [U T ] ; section : f adjoint 1 identity U ; retraction : identity T 1 adjoint f ; triangle : t, (section (f t)) map [ ] (retraction t) 2 identity ; triangle : u, map [ ] (section u) (retraction (adjoint u)) 2 identity }. Definition Equiv A B := {f : A B & Equiv struct f }. Infix := Equiv (at level 55). Matthieu Sozeau - Univalence for Free 23
24 3-groupoids? Again, Equiv forms an equivalence, using the identity equivalence, composition of equivalences and the obvious inverse. 2-groupoids and homotopic equivalences between them form a 3-groupoid, with equality of homotopic equivalences being given by equivalence of adjunctions. We stop at level 2, so this is not explicit here in our construction. However we can still define equivalence of adjunctions and use it. Matthieu Sozeau - Univalence for Free 24
25 Equivalence of adjunctions Two adjunctions are equivalent if their left adjoint are equivalent and they agree on their section and retraction (up-to the isomorphism). The right adjoints always agree: Definition Equiv adjoint A B (f f : Equiv A B) : [f ] 1 [f ] adjoint [f ] 1 adjoint [f ]. Record Equiv eq T U (f g : Equiv T U) : Type := {equiv : [f ] 1 [g] ; eq section : u, section [f ] u 2 section [g] (nat comp (Equiv adjoint equiv) equiv) u; eq retraction : t, (nat comp equiv (Equiv adjoint equiv)) retraction [f ] t 2 retraction [g] t }. Matthieu Sozeau - Univalence for Free 25
26 The groupoid of Types Program Definition Type : Weak2GroupoidType := (Weak2GroupoidType ; Equiv). Type is a weak 2-groupoid whose objects are types with a weak-2-groupoid structure. Their notion of equivalence is homotopic equivalence ( isomorphism). And equivalence of these homotopic equivalences is adjoint equivalence. Note that Weak2GroupoidType is used at two different universe levels here. Matthieu Sozeau - Univalence for Free 26
27 Rewriting in homotopy type theory The map function on F : [A Type] gives an (homotopic) equivalence F x 2 F y if x 1 y. This means we can rewrite [F x] into [F y] using the function part of the equivalence. Definition eq rect {A : [ Type]} {x : [A]} {F : [A Type]} {y : [A]} (e : x 1 y) (p : [F x]) : [F y] := [map [F ] e] p. Matthieu Sozeau - Univalence for Free 27
28 Rewriting theory We derive (some, not all) coherence theorems on eq rect according to the ones on map. E.g., the usual reduction for eq rect is derivable: Definition eq rect id {T :[ Type]} {F : [T Type]} (x : [T ]) (p : [F x]) : eq rect (identity x) p 1 p := (equiv (map id F x)) p. eq rect is compatible with higher equivalences as well: Definition eq rect eq {A : [ Type]} {x : [A]} {F : [A Type]} {y : [A]} {e e : x 1 y} (H : e 2 e ) (p : [F x]) : eq rect e p 1 eq rect e p := (equiv (map2 [F ] H)) p. Matthieu Sozeau - Univalence for Free 28
29 Dependent products Matthieu Sozeau - Univalence for Free 29
30 Dependent product The dependent product gives rise to dependent functors. The map component needs some adjustment by equalities due to dependencies. Class DependentFunctor (T :[ Type]) (U : [T Type]) (f : t, [U t]) : Type := { Dmap : {x y} (e: x 1 y), eq rect e (f x) 1 f y ; Dmap2 : x y (e e : x 1 y) (H: e 2 e ), Dmap e 2 Dmap e eq rect eq H (f x) ; Dmap comp : x y z (e : x 1 y) (e : y 1 z), Dmap (e e) inverse (eq rect comp e e (f x)) 2 Dmap e eq rect map e (Dmap e) }. Definition Prod Type (T :[ Type]) (U:[T Type]) := {f : t, [U t] & DependentFunctor U f }. Matthieu Sozeau - Univalence for Free 30
31 The culprit Again, identity and inverse coherence conditions can be deduced from the composition compatibility. But that requires higher-order equalities not derivable in the 2-groupoid setting, only in 3-groupoids and above. Here we show the derivability assuming an axiom. Axiom map2 id L : T (U : [T Type]) (x y : [T ]) (e:x 1 y), map2 [U] (id L e) 2 id L (map [U] e) comp (identity (map [U] e)) (map id U y) map comp [U] e (identity y). Lemma Dmap id (T :[ Type]) (U : [T Type]) (f : Prod Type U) : x, Dmap (identity x) 2 eq rect id x (f x). Matthieu Sozeau - Univalence for Free 31
32 Equality of dependent functors Dependent natural transformations. At level 2, the naturality condition is trivial again. Definition Dnat trans T (U:[T Type]) (F G : Prod Type U) := {α : t : [T ], F t 1 G t & t t (e : t 1 t ), (α t ) (Dmap e) 2 (Dmap e) eq rect map e (α t)}. Definition Dnat trans2 T U (f g : Prod Type U) : Hom (Dnat trans f g) := λ α β, t : [T ], α t 2 β t. Matthieu Sozeau - Univalence for Free 32
33 Dependent product groupoid This lets us show that dependent functors form a 2-groupoid: Program Instance Prod group T (U:[T Type]) : Weak2Groupoid (Prod Type U). Program Definition Prod T (U:[T Type]) : [ Type] := (Prod Type U ; Prod group T U). Again, universe polymorphism is needed to handle the different levels of Type here. Matthieu Sozeau - Univalence for Free 33
34 Σ types and groupoid levels Matthieu Sozeau - Univalence for Free 34
35 Dependent sums Σ types on F := λ T, Type j lives in Type (j+1). Similarly, the interpretation of a Σ type on a fibration in an n-groupoid builds an n+1-groupoid. We avoid this issue by restricting our translation to weak 1-groupoids, so we can always build the corrsponding 2-groupoid, axiom-free. -groupoids would solve this. Definition Weak1Groupoid (T : [ Type]) : Type := (x y : [T ]) (f f : x 1 y), f 2 f. Definition Weak1Fibration (T : [ Type]) : Type := { F : [T Type] & t, Weak1Groupoid (F t)}. Matthieu Sozeau - Univalence for Free 35
36 Dependent sum groupoid Definition sum type (T : [ Type]) (F : Weak1Fibration T ) := {t : [T ] & [[F ] t]}. Again, we need adjustment/transport on the second component to state equalities of dependent pairs: Definition sum eq (T : [ Type]) (F : Weak1Fibration T ) := λ m n : sum type F, {P : [m] 1 [n] & eq rect P (π 2 m) 1 π 2 n}. In the same way, 2-equality between 1-equalities is given by projections and rewriting. Definition sum eq2 T (F :Weak1Fibration T ) (m n : sum type F ) : Hom (sum eq m n) := λ e e, {P : [e] 2 [e ] & π 2 e 2 π 2 e eq rect eq P (π 2 m)}. Matthieu Sozeau - Univalence for Free 36
37 Dependent sum groupoid Program Instance sum groupoid T (F :Weak1Fibration T ) : Weak2Groupoid (sum type F ). Definition Sum T (F :Weak1Fibration T ) : [ Type] := (sum type F ; sum groupoid T F ). The proof this is a 2-groupoid uses the fact that 2 on F t is trivial. Otherwise, level 3 equalities would be needed as for the product case. Matthieu Sozeau - Univalence for Free 37
38 The translation Matthieu Sozeau - Univalence for Free 38
39 Translation Type Prop Type Prop T U T U t : T, U Prod (λ t, U ; ) λ t : T, m (λ t : T, m ; ) x : T x : [ T ] m n m n Σ t : T, U Sum (λ t, U ; ) π i m π i m Underscores represent obligations to show functoriality/naturality conditions. Matthieu Sozeau - Univalence for Free 39
40 Derived facts Lemma prop ext (P Q : [ Prop]) : [P] [Q] P 1 Q. Proof. firstorder. Qed. Lemma proof irrelevant (P : [ Prop]) (p q : [P]) : p 1 q. Proof. exact tt. Qed. Note that nat trans is not just functional extensionality, it requires a higher coherence condition. Lemma fun ext A B (f g : [A B]) : nat trans f g f 1 g. Proof. auto. Qed. Lemma fun ext dep T U (f g : [ Prod (T :=T ) U]) : Dnat trans f g f 1 g. Proof. auto. Qed. Matthieu Sozeau - Univalence for Free 40
41 Derived facts To prove equality on dependent pairs, it is enough to prove equality of the corresponding projections. Lemma sum ext T F (m n : [ Sum (T :=T ) F ]) : (P : [m] 1 [n]), eq rect P (π 2 m) 1 π 2 n m 1 n. Proof. intros. P. auto. Qed. Finally, we have the univalence principle on types. Lemma univalence (U V : [ Type]) : (Equiv U V ) U 1 V. Proof. auto. Qed. Matthieu Sozeau - Univalence for Free 41
42 Univalence for Free 1 Groupoid interpretations of type theory 1-groupoids vs weak 2-groupoids Defining weak 2-groupoids 2 The construction Propositions, proof irrelevance and propositional extensionality Functions and functional extensionality Types and homotopic equivalence Dependent products Σ types and groupoid levels The translation 3 An example Matthieu Sozeau - Univalence for Free 42
43 Church naturals and inductive naturals Define the (discrete) weak 2-groupoid of inductive natural numbers: (nat, eq, Hom irr,...). We need to use UIP on nat to show this forms a groupoid. Derive the weak 2-groupoid of church naturals cnat := ΠX : Type, X (X X) X using the function space and dependent product groupoid constructors. Prove equivalence (i.e., isomorphism) of the two groupoids. This requires parametricity at cnat (see Keller and Lasson). We can now transport the translation of any theorem on nat to cnat... This requires showing these theorems are functorial of course. Matthieu Sozeau - Univalence for Free 43
44 Conclusion Univalence should be free! Directions: Automate functoriality/naturality conditions. Internalize this, 2-dimensional type theory/ott-style. Matthieu Sozeau - Univalence for Free 44
45 The End That s all folks! Matthieu Sozeau - Univalence for Free 45
Univalent Foundations and Set Theory
Univalent Foundations and Set Theory Talk by Vladimir Voevodsky from Institute for Advanced Study in Princeton, NJ. May 8, 2013 1 Univalent foundations - are based on a class of formal deduction systems
More informationHomotopy and Directed Type Theory: a Sample
Homotopy and Directed Type Theory: a Sample Dan Doel October 24, 2011 Type Theory Overview Judgments Γ ctx Γ A type Γ M : A Families Γ, x : A B(x) type Inference Γ 1 J 1 Γ 2 J 2 Type Theory Overview Π
More informationWeak ω-groupoids in Type Theory
Weak ω-groupoids in Type Theory Based on joint work with Ondrej Rypacek Thorsten Altenkirch Functional Programming Laboratory School of Computer Science University of Nottingham April 2, 2012 Thorsten
More informationThe synthetic theory of -categories vs the synthetic theory of -categories
Emily Riehl Johns Hopkins University The synthetic theory of -categories vs the synthetic theory of -categories joint with Dominic Verity and Michael Shulman Vladimir Voevodsky Memorial Conference The
More informationA New Look at Generalized Rewriting in Type Theory
A New Look at Generalized Rewriting in Type Theory Matthieu Sozeau Harvard University 1st Coq Workshop August 21th 2009 Munich, Germany Generalized Rewriting Equational reasoning x = y - x + 1 ==> y +
More informationA New Look At Generalized Rewriting in Type Theory
A New Look At Generalized Rewriting in Type Theory Matthieu Sozeau Harvard University TYPES 09 May 13th 2009 Aussois, France Generalized Rewriting Equational reasoning x = y - x + 1 ==> y + 1 Logical reasoning
More informationType Theory and Univalent Foundation
Thierry Coquand Clermont-Ferrand, October 17, 2013 This talk Revisit some questions discussed by Russell at the beginning of Type Theory -Russell s Paradox (1901) -Theory of Descriptions (1905) -Theory
More informationDependent type theory
Dependent type theory Γ, ::= () Γ, x : A Contexts t, u, A, B ::= x λx. t t u (x : A) B Π-types (t, u) t.1 t.2 (x : A) B Σ-types We write A B for the non-dependent product type and A B for the non-dependent
More informationCategorical models of homotopy type theory
Categorical models of homotopy type theory Michael Shulman 12 April 2012 Outline 1 Homotopy type theory in model categories 2 The universal Kan fibration 3 Models in (, 1)-toposes Homotopy type theory
More informationProgram-ing in Coq. Matthieu Sozeau under the direction of Christine Paulin-Mohring
Program-ing in Coq Matthieu Sozeau under the direction of Christine Paulin-Mohring LRI, Univ. Paris-Sud - Démons Team & INRIA Saclay - ProVal Project Foundations of Programming seminar February 15th 2008
More informationProgramming with Higher Inductive Types
1/32 Programming with Higher Inductive Types Herman Geuvers joint work with Niels van der Weide, Henning Basold, Dan Frumin, Leon Gondelman Radboud University Nijmegen, The Netherlands November 17, 2017
More informationThe equivalence axiom and univalent models of type theory.
The equivalence axiom and univalent models of type theory. (Talk at CMU on February 4, 2010) By Vladimir Voevodsky Abstract I will show how to define, in any type system with dependent sums, products and
More informationHigher Inductive Types: The circle and friends, axiomatically
Higher Inductive Types: The circle and friends, axiomatically Peter LeFanu Lumsdaine Dalhousie University Halifax, Nova Scotia Foundational Methods in Computer Science Kananaskis, June 2011 DTT Dependent
More informationParametricity and excluded middle
Parametricity and excluded middle Auke Booij University of Birmingham May 2016 Auke Booij (University of Birmingham) Parametricity and excluded middle TYPES 2016 1 / 15 Polymorphic functions f :: forall
More informationTwo-dimensional models of type theory
Two-dimensional models of type theory Richard Garner Uppsala University Logic Colloquium 2008, Bern 1/33 Outline Motivation Two-dimensional type theory: syntax Two-dimensional type theory: semantics Further
More informationA model-independent theory of -categories
Emily Riehl Johns Hopkins University A model-independent theory of -categories joint with Dominic Verity Joint International Meeting of the AMS and the CMS Dominic Verity Centre of Australian Category
More informationThe synthetic theory of -categories vs the synthetic theory of -categories
Emily Riehl Johns Hopkins University The synthetic theory of -categories vs the synthetic theory of -categories joint with Dominic Verity and Michael Shulman Homotopy Type Theory Electronic Seminar Talks
More informationHomotopy theory in type theory
Homotopy theory in type theory Michael Shulman 11 April 2012 Review of type theory Type theory consists of rules for deriving typing judgments: (x 1 : A 1 ), (x 2 : A 2 ),..., (x n : A n ) (b : B) The
More informationIntroduction to type theory and homotopy theory
Introduction to type theory and homotopy theory Michael Shulman January 24, 2012 1 / 47 Homotopy theory Homotopy type theory types have a homotopy theory Intensional type theory New perspectives on extensional
More information1 / A bird s-eye view of type theory. 2 A bird s-eye view of homotopy theory. 3 Path spaces and identity types. 4 Homotopy type theory
Introduction to type theory and homotopy theory Michael Shulman January 24, 2012 Homotopy theory Homotopy type theory types have a homotopy theory New perspectives on extensional vs. intensional Intensional
More informationHomotopy theory in type theory
Homotopy theory in type theory Michael Shulman 11 April 2012 Review of type theory Type theory consists of rules for deriving typing judgments: (x 1 : A 1 ), (x 2 : A 2 ),..., (x n : A n ) (b : B) The
More informationHigher Inductive types
Egbert Rijke Bas Spitters Radboud University Nijmegen May 7th, 2013 Introduction Violating UIP Recall that in Martin-Löf type theory, every type A has an associated identity type = A : A A U. We do not
More informationHomotopy Type Theory Lecture Notes
15-819 Homotopy Type Theory Lecture Notes Nathan Fulton October 9 and 11, 2013 1 Contents These notes summarize and extend two lectures from Bob Harper s Homotopy Type Theory course. The cumulative hierarchy
More informationHigher toposes Internal logic Modalities Sub- -toposes Formalization. Modalities in HoTT. Egbert Rijke, Mike Shulman, Bas Spitters 1706.
Modalities in HoTT Egbert Rijke, Mike Shulman, Bas Spitters 1706.07526 Outline 1 Higher toposes 2 Internal logic 3 Modalities 4 Sub- -toposes 5 Formalization Two generalizations of Sets Groupoids: To keep
More informationCanonicity for 2-Dimensional Type Theory
Canonicity for 2-Dimensional Type Theory Daniel R. Licata Robert Harper Carnegie Mellon University {drl,rwh}@cs.cmu.edu Abstract Higher-dimensional dependent type theory enriches conventional one-dimensional
More informationRecent progress in Homotopy type theory
July 22nd, 2013 Supported by EU FP7 STREP FET-open ForMATH Most of the presentation is based on the book: CC-BY-SA Topos Homotopy type theory Collaborative effort lead by Awodey, Coquand, Voevodsky at
More informationHigher Order Containers
Higher Order Containers Thorsten Altenkirch 1, Paul Levy 2, and Sam Staton 3 1 University of Nottingham 2 University of Birmingham 3 University of Cambridge Abstract. Containers are a semantic way to talk
More informationAlgebraic models of homotopy type theory
Algebraic models of homotopy type theory Nicola Gambino School of Mathematics University of Leeds CT2016 Halifax, August 9th 1 Theme: property vs structure Fundamental distinction: satisfaction of a property
More informationDerived Algebraic Geometry I: Stable -Categories
Derived Algebraic Geometry I: Stable -Categories October 8, 2009 Contents 1 Introduction 2 2 Stable -Categories 3 3 The Homotopy Category of a Stable -Category 6 4 Properties of Stable -Categories 12 5
More informationInductive and higher inductive types
Inductive and higher inductive types Michael Shulman 13 April 2012 Homotopy invariance Question Suppose two model categories M, N present the same (, 1)-category C. Do they have the same internal type
More informationCategorical Homotopy Type Theory
Categorical Homotopy Type Theory André Joyal UQÀM MIT Topology Seminar, March 17, 2014 Warning The present slides include corrections and modifications that were made during the week following my talk.
More informationModel Theory in the Univalent Foundations
Model Theory in the Univalent Foundations Dimitris Tsementzis January 11, 2017 1 Introduction 2 Homotopy Types and -Groupoids 3 FOL = 4 Prospects Section 1 Introduction Old and new Foundations (A) (B)
More informationHomotopy Type Theory
Homotopy Type Theory Jeremy Avigad Department of Philosophy and Department of Mathematical Sciences Carnegie Mellon University February 2016 Homotopy Type Theory HoTT relies on a novel homotopy-theoretic
More informationAlgebraic models for higher categories
Algebraic models for higher categories Thomas Nikolaus Organisationseinheit Mathematik, Universität Hamburg Schwerpunkt Algebra und Zahlentheorie Bundesstraße 55, D 20 146 Hamburg Abstract We establish
More informationCanonicity for 2-Dimensional Type Theory
DRAFT Canonicity for 2-Dimensional Type Theory Daniel R. Licata Robert Harper Carnegie Mellon University {drl,rwh}@cs.cmu.edu Abstract Recent work on higher-dimensional dependent type theory enriches conventional
More informationWaldhausen Additivity and Approximation in Quasicategorical K-Theory
Waldhausen Additivity and Approximation in Quasicategorical K-Theory Thomas M. Fiore partly joint with Wolfgang Lück, http://www-personal.umd.umich.edu/~tmfiore/ http://www.him.uni-bonn.de/lueck/ Motivation
More informationAlgebraic models for higher categories
Algebraic models for higher categories Thomas Nikolaus Fachbereich Mathematik, Universität Hamburg Schwerpunkt Algebra und Zahlentheorie Bundesstraße 55, D 20 146 Hamburg Abstract We introduce the notion
More informationIndCoh Seminar: Ind-coherent sheaves I
IndCoh Seminar: Ind-coherent sheaves I Justin Campbell March 11, 2016 1 Finiteness conditions 1.1 Fix a cocomplete category C (as usual category means -category ). This section contains a discussion of
More informationGraduate algebraic K-theory seminar
Seminar notes Graduate algebraic K-theory seminar notes taken by JL University of Illinois at Chicago February 1, 2017 Contents 1 Model categories 2 1.1 Definitions...............................................
More informationInductive and higher inductive types
Inductive and higher inductive types Michael Shulman 13 April 2012 Homotopy invariance Question Suppose two model categories M, N present the same (, 1)-category C. Do they have the same internal type
More informationInternalizing the simplicial model structure in Homotopy Type Theory. Simon Boulier
Internalizing the simplicial model structure in Homotopy Type Theory Simon Boulier A type theory with two equalities Model structures in mathematics Internalizing the simplicial model structure in HoTT
More informationAlgebraic Geometry
MIT OpenCourseWare http://ocw.mit.edu 18.726 Algebraic Geometry Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.726: Algebraic Geometry
More informationHomotopy type theory
Homotopy type theory A high-level language for invariant mathematics Michael Shulman 1 1 (University of San Diego) March 8, 2019 Indiana University Bloomington Homotopy Type Theory (HoTT) is... A framework
More informationProgramming with Dependent Types in Coq
Programming with Dependent Types in Coq Matthieu Sozeau LRI, Univ. Paris-Sud - Démons Team & INRIA Saclay - ProVal Project PPS Seminar February 26th 2009 Paris, France Coq A higher-order, polymorphic logic:
More informationSemantics and syntax of higher inductive types
Semantics and syntax of higher inductive types Michael Shulman 1 Peter LeFanu Lumsdaine 2 1 University of San Diego 2 Stockholm University http://www.sandiego.edu/~shulman/papers/stthits.pdf March 20,
More informationDuality, Residues, Fundamental class
Duality, Residues, Fundamental class Joseph Lipman Purdue University Department of Mathematics lipman@math.purdue.edu May 22, 2011 Joseph Lipman (Purdue University) Duality, Residues, Fundamental class
More informationErrata to Model Categories by Mark Hovey
Errata to Model Categories by Mark Hovey Thanks to Georges Maltsiniotis, maltsin@math.jussieu.fr, for catching most of these errors. The one he did not catch, on the non-smallness of topological spaces,
More informationWALDHAUSEN ADDITIVITY: CLASSICAL AND QUASICATEGORICAL
WALDHAUSEN ADDITIVITY: CLASSICAL AND QUASICATEGORICAL THOMAS M. FIORE AND MALTE PIEPER Abstract. We use a simplicial product version of Quillen s Theorem A to prove classical Waldhausen Additivity of ws,
More informationarxiv: v1 [math.ct] 6 Aug 2017
ON EQUALITY OF OBJECTS IN CATEGORIES IN CONSTRUCTIVE TYPE THEORY ERIK PALMGREN arxiv:1708.01924v1 [math.ct] 6 Aug 2017 Abstract. In this note we remark on the problem of equality of objects in categories
More informationCGP DERIVED SEMINAR GABRIEL C. DRUMMOND-COLE
CGP DERIVED SEMINAR GABRIEL C. DRUMMOND-COLE 1. January 16, 2018: Byunghee An, bar and cobar Today I am going to talk about bar and cobar constructions again, between categories of algebras and coalgebras.
More informationHomotopy Type Theory An Overview (unfinished)
Homotopy Type Theory n Overview (unfinished) Nicolai Kraus Tue Jun 19 19:29:30 UTC 2012 Preface This composition is an introduction to a fairly new field in between of mathematics and theoretical computer
More informationStabilization as a CW approximation
Journal of Pure and Applied Algebra 140 (1999) 23 32 Stabilization as a CW approximation A.D. Elmendorf Department of Mathematics, Purdue University Calumet, Hammond, IN 46323, USA Communicated by E.M.
More informationEXAMPLES AND EXERCISES IN BASIC CATEGORY THEORY
EXAMPLES AND EXERCISES IN BASIC CATEGORY THEORY 1. Categories 1.1. Generalities. I ve tried to be as consistent as possible. In particular, throughout the text below, categories will be denoted by capital
More informationEquality and dependent type theory. CIRM, May 31
CIRM, May 31 The Axiom of Univalence, a type-theoretic view point In type theory, we reduce proof-checking to type-checking Hence we want type-checking to be decidable This holds as soon as we have the
More informationSheaf models of type theory
Thierry Coquand Oxford, 8 September 2017 Goal of the talk Sheaf models of higher order logic have been fundamental for establishing consistency of logical principles E.g. consistency of Brouwer s fan theorem
More informationTowards Mac Lane s Comparison Theorem for the (co)kleisli Construction in Coq
Towards Mac Lane s Comparison Theorem for the (co)kleisli Construction in Coq Burak Ekici University of Innsbruck Innsbruck, Austria burak.ekici@uibk.ac.at Abstract This short paper summarizes an ongoing
More informationAlgebraic model structures
Algebraic model structures Emily Riehl Harvard University http://www.math.harvard.edu/~eriehl 18 September, 2011 Homotopy Theory and Its Applications AWM Anniversary Conference ICERM Emily Riehl (Harvard
More informationA General Framework for Relational Parametricity
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 Abstract A General Framework
More informationON THE HOMOTOPY THEORY OF ENRICHED CATEGORIES
ON THE HOMOTOPY THEORY OF ENRICHED CATEGORIES CLEMENS BERGER AND IEKE MOERDIJK Abstract. We give sufficient conditions for the existence of a Quillen model structure on small categories enriched in a given
More informationPERVERSE SHEAVES. Contents
PERVERSE SHEAVES SIDDHARTH VENKATESH Abstract. These are notes for a talk given in the MIT Graduate Seminar on D-modules and Perverse Sheaves in Fall 2015. In this talk, I define perverse sheaves on a
More informationConstructive mathematics in univalent type theory
Constructive mathematics in univalent type theory Martín Hötzel Escardó University of Birmingham, UK Homotopy Type Theory Electronic Seminar Talk, 26th April 2018 Elementary-topos type theory (Lambek and
More informationSM CATEGORIES AND THEIR REPRESENTATIONS
SM CATEGORIES AND THEIR REPRESENTATIONS Abstract. Lectures at the TQFT seminar, Jerusalem, Fall 5770 1. Introduction A monoidal category C is a category with a bifunctor : C C C endowed with an associativity
More informationAuslander-Yoneda algebras and derived equivalences. Changchang Xi ( ~) ccxi/
International Conference on Operads and Universal Algebra, Tianjin, China, July 5-9, 2010. Auslander- and derived Changchang Xi ( ~) xicc@bnu.edu.cn http://math.bnu.edu.cn/ ccxi/ Abstract In this talk,
More informationAPPENDIX C. Groupoids
APPENDIX C This appendix is written for two purposes. It can serve as a reference for facts about categories in which all morphisms are isomorphisms. More importantly, it can be regarded as a short text
More informationThe Universal Coefficient Theorem
The Universal Coefficient Theorem Renzo s math 571 The Universal Coefficient Theorem relates homology and cohomology. It describes the k-th cohomology group with coefficients in a(n abelian) group G in
More informationC2.7: CATEGORY THEORY
C2.7: CATEGORY THEORY PAVEL SAFRONOV WITH MINOR UPDATES 2019 BY FRANCES KIRWAN Contents Introduction 2 Literature 3 1. Basic definitions 3 1.1. Categories 3 1.2. Set-theoretic issues 4 1.3. Functors 5
More information58 CHAPTER 2. COMPUTATIONAL METHODS
58 CHAPTER 2. COMPUTATIONAL METHODS 23 Hom and Lim We will now develop more properties of the tensor product: its relationship to homomorphisms and to direct limits. The tensor product arose in our study
More informationQuantization of Lie bialgebras via the formality of the operad of little disks
Quantization of Lie bialgebras via the formality of the operad of little disks Dimitri Tamarkin Harvard University, Department of Mathematics & One Oxford Street Cambridge, MA 02138, USA e-mail: Abstract.
More informationIsomorphism is equality
Isomorphism is equality Thierry Coquand, Nils Anders Danielsson University of Gothenburg and Chalmers University of Technology Abstract The setting of this work is dependent type theory extended with the
More informationA Type Theory for Formalising Category Theory
A Type Theory for Formalising Category Theory Robin Adams 24 July 2012 Robin Adams Type Theory for Category Theory 24 July 2012 1 / 28 1 Introduction The Problem of Notation Category Theory in Five Minutes
More informationThe Van Kampen theorem
The Van Kampen theorem Omar Antolín Camarena Contents 1 The van Kampen theorem 1 1.1 Version for the full fundamental groupoid.................... 2 1.2 Version for a subset of the base points.....................
More informationAlgebraic Geometry Spring 2009
MIT OpenCourseWare http://ocw.mit.edu 18.726 Algebraic Geometry Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.726: Algebraic Geometry
More informationReal-cohesion: from connectedness to continuity
Real-cohesion: from connectedness to continuity Michael Shulman University of San Diego March 26, 2017 My hat today I am a mathematician: not a computer scientist. I am a categorical logician: type theory
More informationMacLane s coherence theorem expressed as a word problem
MacLane s coherence theorem expressed as a word problem Paul-André Melliès Preuves, Programmes, Systèmes CNRS UMR-7126, Université Paris 7 ÑÐÐ ÔÔ ºÙ ÙºÖ DRAFT In this draft, we reduce the coherence theorem
More informationCategorical techniques for NC geometry and gravity
Categorical techniques for NC geometry and gravity Towards homotopical algebraic quantum field theory lexander Schenkel lexander Schenkel School of Mathematical Sciences, University of Nottingham School
More informationHomotopy Theoretic Aspects of Constructive Type Theory
Homotopy Theoretic Aspects of Constructive Type Theory Michael Alton Warren August 2008 Carnegie Mellon University Homotopy Theoretic Aspects of Constructive Type Theory Michael Alton Warren August 2008
More informationA CLOSED MODEL CATEGORY FOR (n 1)-CONNECTED SPACES
PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 124, Number 11, November 1996 A CLOSED MODEL CATEGORY FOR (n 1)-CONNECTED SPACES J. IGNACIO EXTREMIANA ALDANA, L. JAVIER HERNÁNDEZ PARICIO, AND M.
More informationPOSTNIKOV EXTENSIONS OF RING SPECTRA
POSTNIKOV EXTENSIONS OF RING SPECTRA DANIEL DUGGER AND BROOKE SHIPLEY Abstract. We give a functorial construction of k-invariants for ring spectra, and use these to classify extensions in the Postnikov
More informationThe tensor product of commutative monoids
The tensor product of commutative monoids We work throughout in the category Cmd of commutative monoids. In other words, all the monoids we meet are commutative, and consequently we say monoid in place
More informationAn introduction to derived and triangulated categories. Jon Woolf
An introduction to derived and triangulated categories Jon Woolf PSSL, Glasgow, 6 7th May 2006 Abelian categories and complexes Derived categories and functors arise because 1. we want to work with complexes
More informationRealizability Semantics of Parametric Polymorphism, General References, and Recursive Types
Realizability Semantics of Parametric Polymorphism, General References, and Recursive Types Lars Birkedal IT University of Copenhagen Joint work with Kristian Støvring and Jacob Thamsborg Oct, 2008 Lars
More information1 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 informationFormal Homotopy Quantum Field Theories and 2-groups.
Formal Homotopy Quantum Field Theories and 2-groups. ex-university of Wales, Bangor; ex-univertiy of Ottawa; ex-nui Galway, still PPS Paris, then...? All have helped! June 21, 2008 1 Crossed Modules, etc
More informationTopic 7: Using identity types
Toic 7: Using identity tyes June 10, 2014 Now we would like to learn how to use identity tyes and how to do some actual mathematics with them. By now we have essentially introduced all inference rules
More informationLocally cartesian closed categories
Locally cartesian closed categories Clive Newstead 80-814 Categorical Logic, Carnegie Mellon University Wednesday 1st March 2017 Abstract Cartesian closed categories provide a natural setting for the interpretation
More informationWHAT IS AN ELEMENTARY HIGHER TOPOS?
WHAT IS AN ELEMENTARY HIGHER TOPOS? ANDRÉ JOYAL Abstract. There should be a notion of elementary higher topos in higher topos theory, like there is a notion of elementary topos in topos theory. We are
More informationLECTURE 3: RELATIVE SINGULAR HOMOLOGY
LECTURE 3: RELATIVE SINGULAR HOMOLOGY In this lecture we want to cover some basic concepts from homological algebra. These prove to be very helpful in our discussion of singular homology. The following
More informationHomotopy Type Theory Lecture Notes
15-819 Homotopy Type Theory Lecture Notes Evan Cavallo and Chris Martens November 4 and 6, 2013 1 Contents These notes cover Robert Harper s lectures on Homotopy Type Theory from November 4 and 6, 2013.
More informationarxiv: v1 [math.ct] 8 Apr 2019
arxiv:1904.04097v1 [math.ct] 8 Apr 2019 A General Framework for the Semantics of Type Theory Taichi Uemura April 9, 2019 Abstract We propose an abstract notion of a type theory to unify the semantics of
More informationOperads. Spencer Liang. March 10, 2015
Operads Spencer Liang March 10, 2015 1 Introduction The notion of an operad was created in order to have a well-defined mathematical object which encodes the idea of an abstract family of composable n-ary
More informationMath 440 Problem Set 2
Math 440 Problem Set 2 Problem 4, p. 52. Let X R 3 be the union of n lines through the origin. Compute π 1 (R 3 X). Solution: R 3 X deformation retracts to S 2 with 2n points removed. Choose one of them.
More informationComputing with Semirings and Weak Rig Groupoids
Computing with Semirings and Weak Rig Groupoids Jacques Carette and Amr Sabry 1 McMaster University (carette@mcmaster.ca) 2 Indiana University (sabry@indiana.edu) Abstract. The original formulation of
More informationLimit Preservation from Naturality
CTCS 2004 Preliminary Version Limit Preservation from Naturality Mario Caccamo 1 The Wellcome Trust Sanger Institute Cambridge, UK Glynn Winskel 2 University of Cambridge Computer Laboratory Cambridge,
More informationWe then have an analogous theorem. Theorem 1.2.
1. K-Theory of Topological Stacks, Ryan Grady, Notre Dame Throughout, G is sufficiently nice: simple, maybe π 1 is free, or perhaps it s even simply connected. Anyway, there are some assumptions lurking.
More informationNotes on homotopy λ-calculus
Notes on homotopy λ-calculus Vladimir Voevodsky Started Jan. 18, Feb. 11, 2006 Contents 1 An introduction....................................... 1 1 Homotopy theory and foundations of mathematics 4 2 Homotopy
More informationHigher Categories, Homotopy Theory, and Applications
Higher Categories, Homotopy Theory, and Applications Thomas M. Fiore http://www.math.uchicago.edu/~fiore/ Why Homotopy Theory and Higher Categories? Homotopy Theory solves topological and geometric problems
More informationHigher Prop(erad)s. Philip Hackney, Marcy Robertson*, and Donald Yau UCLA. July 1, 2014
Higher Prop(erad)s Philip Hackney, Marcy Robertson*, and Donald Yau UCLA July 1, 2014 Philip Hackney, Marcy Robertson*, and Donald Yau (UCLA) Higher Prop(erad)s July 1, 2014 1 / 1 Intro: Enriched Categories
More informationInternal Universes in Models of Homotopy Type Theory. Daniel R. Licata Ian Orton Andrew M. Pitts Bas Spitters
Internal Universes in Models of Homotopy Type Theory Daniel R. Licata Ian Orton Andrew M. Pitts Bas Spitters HoTT Voevodsky: Simplicial model of univalent type theory Coquand: Cubical model of univalent
More informationAssume the left square is a pushout. Then the right square is a pushout if and only if the big rectangle is.
COMMUTATIVE ALGERA LECTURE 2: MORE CATEGORY THEORY VIVEK SHENDE Last time we learned about Yoneda s lemma, and various universal constructions initial and final objects, products and coproducts (which
More informationON THE HOMOTOPY THEORY OF ENRICHED CATEGORIES
The Quarterly Journal of Mathematics Quart. J. Math. 64 (2013), 805 846; doi:10.1093/qmath/hat023 ON THE HOMOTOPY THEORY OF ENRICHED CATEGORIES by CLEMENS BERGER (Université de Nice, Lab. J.-A. Dieudonné,
More information