Derivatives for Containers in Univalent Foundations
Cubical.WildCat.Product
Initializing search
    phijor/derivatives
    • Overview
    • Library
    phijor/derivatives
    • Overview
      • Derivative.Bag
      • Derivative.Adjunction
      • Derivative.Basics.Sum
      • Derivative.Basics.Unit
      • Derivative.Basics.W
      • Derivative.Basics.Decidable
      • Derivative.Basics.Embedding
      • Derivative.Basics.Equiv
      • Derivative.Basics.Maybe
      • Derivative.Basics.Sigma
      • Derivative.Category
      • Derivative.ChainRule
      • Derivative.Container
      • Derivative.Derivative
      • Derivative.Indexed.Mu
      • Derivative.Indexed.ChainRule
      • Derivative.Indexed.Container
      • Derivative.Indexed.Derivative
      • Derivative.Indexed.MuRule
      • Derivative.Indexed.Univalence
      • Derivative.Isolated.Base
      • Derivative.Isolated
      • Derivative.Isolated.S1
      • Derivative.Isolated.Sum
      • Derivative.Isolated.W
      • Derivative.Isolated.DependentGrafting
      • Derivative.Isolated.Grafting
      • Derivative.Isolated.Maybe
      • Derivative.Isolated.Sigma
      • Derivative.Prelude
      • Derivative.Properties
      • Derivative.Remove

    Cubical.WildCat.Product

    module Cubical.WildCat.Product where
    
    open import Cubical.Foundations.Prelude
    
    open import Cubical.Data.Sigma renaming (_×_ to _×'_)
    
    open import Cubical.WildCat.Base
    
    private
      variable
        ℓ ℓ' : Level
        ℓC ℓC' ℓD ℓD' : Level
    
    open WildCat
    
    _×_ :  (C : WildCat ℓC ℓC') (D : WildCat ℓD ℓD') → WildCat _ _
    ob (C × D) = ob C ×' ob D
    Hom[_,_] (C × D) (c , d) (c' , d') =
      Hom[_,_] C c c' ×' Hom[_,_] D d d'
    id (C × D) = id C , id D
    _⋆_ (C × D) f g = _⋆_ C (fst f) (fst g) , _⋆_ D (snd f) (snd g)
    ⋆IdL (C × D) (f , g) i = (⋆IdL C f i) , (⋆IdL D g i)
    ⋆IdR (C × D) (f , g) i = (⋆IdR C f i) , (⋆IdR D g i)
    ⋆Assoc (C × D) (f , g) (f' , g') (f'' , g'') i =
      ⋆Assoc C f f' f'' i , ⋆Assoc D g g' g'' i
    
    Made with Material for MkDocs