a yoneda lemma formulation of the univalence axiom
play

A Yoneda lemma-formulation of the univalence axiom Iosif Petrakis - PowerPoint PPT Presentation

A Yoneda lemma-formulation of the univalence axiom Iosif Petrakis University of Munich HoTT/UF 2018 Oxford, 08.07.2018 The question we try to answer How can one explain UA in more standard mathematical terms? Previous work on which we are


  1. A Yoneda lemma-formulation of the univalence axiom Iosif Petrakis University of Munich HoTT/UF 2018 Oxford, 08.07.2018

  2. The question we try to answer How can one explain UA in more standard mathematical terms?

  3. Previous work on which we are based Rijke 2012 : he gave a type-theoretic formulation of Yoneda lemma and constructed it from Martin-L¨ of’s J -rule and the function extensionality axiom. Escard´ o 2015 : he took Rijke’s type-theoretic formulation of Yoneda lemma as primitive and constructed Martin-L¨ of’s J -rule from it so that its computation rule holds definitionally. Coquand 2014 : he reduced the J -rule to transport and the contractibility of singleton types.

  4. What we do here We give a Yoneda lemma-formulation ( sY-UA ) of Voevodsky’s axiom of univalence (UA) in informal UTT. Although the computation rules of UA hold propositionally, the computation rules of sY-UA hold definitionally.

  5. � � � � J : C ( x , y , p ) p : x = A y C : � � p : x = Ay U c : � x : A C ( x , x , refl x ) x , y : A x , y : A J ( C , c , x , x , refl x ) ≡ c ( x ) , x : A � � � � LeastRefl : R ( x , y ) , p : x = A y R : A → A →U r : � x : A R ( x , x ) x , y : A LeastRefl ( R , r , x , x , refl x ) ≡ r ( x ) , x : A . � � � Transport : ( P ( x ) → P ( y )) p : x = A y P : A →U x , y : A Transport ( P , x , x , refl x ) ≡ id P ( x ) , x : A .

  6. � � � � � j : C ( x , p ) a : A x : A p : a = A x C : � � p : a = Ax U c : C ( a , refl a ) x : A j ( a , C , c , a , refl a ) ≡ c � � � � � leastrefl : R a ( x ) p : a = A x a : A R a : A →U x : A r a : R a ( a ) leastrefl ( a , R a , r a , a , refl a ) ≡ r a , � � � � transport : ( P ( a ) → P ( x )) a : A P : A →U x : A p : a = A x transport ( a , P , a , refl a ) ≡ id P ( a ) .

  7. The J -judgement and the J -computation rule imply the following M -judgement and M -computation rule, respectively, � � M : ( a , refl a ) = E a ( x , p ) a , x : A p : a = A x M ( a , a , refl a ) ≡ refl ( a , refl a ) , where � E a ≡ ( a = A x ) . x : A Similarly we get that the j -judgement and the j -computation rule imply the following m -judgement and m -computation rule, respectively, � � m : ( a , refl a ) = E a u a : A u : E a � � ( a , refl a ) ≡ refl ( a , refl a ) , m a where m a ≡ m ( a ).

  8. The following two judgements � m a : ( a , refl a ) = E a u u : E a � � � transport a : ( P ( a ) → P ( x )) p : a = A x P : A →U x : A imply the judgement � � � � j a : C ( x , p ) p : a = A x C : � � c : C ( a , refl a ) x : A p : a = Ax U x : A and the same holds for their corresponding computation rules.

  9. [Coquand, 2014] The following judgements and corresponding computation rules are equivalent: (i) J . (ii) Transport and M . (iii) LeastRefl and M .

  10. Yoneda lemma C a locally small category : Hom C ( A , B ) ≡ { f ∈ C 1 | f : A → B } is a set Set C op the category of contravariant set-valued functors on C If C ∈ C 0 and F ∈ Set C op , there is an isomorphism Hom Set C op ( Y ( C ) , F ) ≃ F ( C ) , which is natural in both F and C , where Y : C → Set C op is the Yoneda embedding i.e., the functor Y ( C ) ≡ Hom C ( − , C ) : C op → Set Y ( f : C → C ′ ) ≡ Hom C ( − , f ) : Hom C ( − , C ) → Hom C ( − , C ′ ) defined post-compositionally. Through the Yoneda lemma the Yoneda embedding is shown to be an embedding i.e., an injective on objects, faithful, and full functor.

  11. Rijke’s type-theoretic interpretation of the Yoneda embedding A : U as a locally small category equal to its opposite, Hom( a , b ) ≡ a = A b : U U is closed under exponentiation, as Set P : A → U as an element of U A , which corresponds to Set C op Y : A → ( A → U ) Y a : A → U Y ( a )( x ) ≡ x = A a , � � � Hom( P , Q ) ≡ P ( x ) → Q ( x ) x : A � � � � � � Hom( Y ( a ) , P ) ≡ Y ( a )( x ) → P ( x ) ≡ ( x = A a ) → P ( x ) x : A x : A � � ≡ P ( x ) . p : x = A a x : A

  12. Theorem (Yoneda lemma in ITT + Function extensionality (Rijke, 2012)) Let P : A → U and a : A. There is a pair of quasi-inverses ( j , i ) : Hom( Y ( a ) , P ) ≃ P ( a ) i.e., ( j ◦ i )( u ) = u , u : P ( a ) , � � ( i ◦ j )( σ ) = σ, σ : P ( x ) x : A p : x = A a such that i ( u )( a , refl a ) ≡ u , u : P ( a ) , � � j ( σ ) ≡ σ ( a , refl a ) , σ : P ( x ) . p : x = A a x : A

  13. Proposition The Y -judgement implies the introduction rule of the equality type i.e., the inhabitedness of the type a = A a, for every a : A. Proof. If a : A , and if we consider as P in the type-theoretic Yoneda lemma the type family Y ( a ), then � � � � Hom( Y ( a ) , Y ( a )) ≡ x = A a ≃ ( a = A a ) ≡ Y ( a ) . p : x = A a x : A The only element of Hom( Y ( a ) , Y ( a )) we can determine at this point is R ≡ λ ( x : A , p : x = A a ) . p and j ( R ) : a = A a .

  14. Proposition The Y -judgement implies the Transport -judgement and the left Y -computation rule implies the Transport -rule. Lemma (Escard´ o) If B : U , the Y -judgement and the Y -computation rules imply the following judgement and corresponding computation rules: � � � � ( j , i ) : B ≃ B x : A p : x = A a i ( b )( a , refl a ) ≡ b , b : B , � � j ( σ ) ≡ σ ( a , refl a ) , σ : B . x : A p : x = A a Moreover, if b : B, x : A, and p : x = A a, then i ( b )( x , p ) = B b .

  15. Corollary (Escard´ o) The Y -judgement with the Y -computation rules imply the M-judgement. The next theorem is shown without the use of function extensionality. Theorem (Escard´ o, 2015) The J-judgement and the J-computation rule follow from the Y -judgement and the Y -computation rules.

  16. The univalence axiom asserts that the function IdtoEqv ( X ) : X = U A → X ≃ U A is an equivalence with quasi-inverse the function ua ( X ) : X ≃ U A → X = U A . Voevodsky’s Axiom of Univalence ( UA ): There are the following ua -judgement and the right and left ua -computation rules, respectively, � � ua : X = U A X : U e : X ≃ U A ua ( X , IdtoEqv ( X , p )) = p , p : X = U A , [ IdtoEqv ( X , ua ( e ))] ∗ ( x ) = e ∗ ( x ) , x : X . IdtoEqv ( ua ( f ) , x ) = f ( x ) , where the equivalence e is “identified” with f ≡ e ∗ ua ( A , ( id A , e A )) = refl A .

  17. The “categorical” interpretation U as a locally small category equal to its opposite, Hom( A , B ) ≡ A ≃ U B : U U ′ , the next universe to U , as Set P : U → U ′ as an element of U ′U , which corresponds to Set C op E : U → ( U → U ′ ) E A ( X ) ≡ X ≃ U A , e : A ≃ U B � � E ( e ) : Hom( E A , E B ) ≡ X ≃ U B X : U e ′ : X ≃ U A E ( e ) ≡ λ ( X : U , e ′ : X ≃ U A ) . e ◦ e ′ .

  18. Yoneda-version of the univalence axiom ( Y-UA ): Let P : U → U ′ and A : U . There is a pair of quasi-inverses ( j , i ) : Hom( E A , P ) ≃ P ( A ) i.e., there are the following i -judgment and j -judgment: � � i : P ( A ) → P ( X ) X : U e : X ≃ U A � � � � j : P ( X ) → P ( A ) X : U e : X ≃ U A with the following i -computation rule and j -computation rule: i ( u )( A , ( id A , e A )) ≡ u , u : P ( A ) , j ( σ ) ≡ σ ( A , ( id A , e A )) , σ : Hom( E A , P ) .

  19. Proposition The i-judgement of Y-UA implies the ua -judgement i.e., there is ua ′ : � � X = U A , X : U e : X ≃ U A ua ′ ( A , ( id A , e A )) ≡ refl A . Proof. Let P : U → U ′ defined by P ( X ) ≡ X = U A . Since � � i : A = U A → X = U A , X : U e : X ≃ U A ua ′ ≡ λ ( X : U , e : X ≃ U A ) . i ( refl A )( X , e ) , hence ua ′ ( A , ( id A , e A )) ≡ i ( refl A )( A , ( id A , e A )) ≡ refl A .

  20. Proposition If X : U and p : X = U A, then ua ′ ( X , IdtoEqv ( X , p )) = p . Proof. Define C ( X , p ) ≡ ua ′ ( X , IdtoEqv ( X , p )) = p . Since C ( A , refl A ) ≡ ua ′ ( A , IdtoEqv ( A , refl A )) = refl A ≡ ua ′ ( A , ( id A , e A )) = refl A ≡ refl A = refl A , we use the j A -judgment.

  21. Proposition The ua -judgement implies the i-judgement of Y-UA i.e., there is i ′ : P ( A ) → � � P ( X ) , X : U e : X ≃ U A and moreover i ′ ( u )( A , ( id A , e A )) = u , u : P ( A ) . Proof. Let u : P ( A ). Since ua ( X , e ) : X = U A , we get ua ( X , e ) − 1 : A = U X , and consequently we have that ua ( X , e ) − 1 � P � ∗ : P ( A ) → P ( X ) . We define ua ( X , e ) − 1 � P i ′ ( u ) ≡ λ ( X : U , e : X ≃ U A ) . � ∗ ( u ) .

  22. Thus, i ′ ( u )( A , ( id A , e A )) ≡ [ ua ( A , ( id A , e A )) − 1 � P ∗ ( u ) � P refl − 1 � = ∗ ( u ) A � P � ≡ ∗ ( u ) refl A ≡ id P ( A ) ( u ) ≡ u .

  23. Our aim is to get from a strong Yoneda version of the axiom of univalence the J -judgement that corresponds to it equipped with a computation rule that involves judgemental equality. Let A , B : U and Q : A → B → U ′ a type family over A and B (or a relation on A , B ). If � � F , G : Q ( x , y ) , x : A y : B we say that F , G are homotopic , F ≈ B , if there is � � H : F ≈ B ≡ F ( x , y ) = Q ( x , y ) G ( x , y ) . x : A y : B

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend