Derivatives for Containers in Univalent Foundations
Cubical.HITs.SetQuotients.Base
Initializing search
    phijor/derivatives
    • Overview
    • Library
    phijor/derivatives
    • Overview
      • Derivative.Adjunction
      • Derivative.Basics.Fin
      • Derivative.Basics.Path
      • Derivative.Basics.S1
      • Derivative.Basics.Sum
      • Derivative.Basics.Unit
      • Derivative.Basics.W
      • Derivative.Basics.Connected
      • Derivative.Basics.Decidable
      • Derivative.Basics.DecidableEmbedding
      • Derivative.Basics.Embedding
      • Derivative.Basics.Equiv
      • Derivative.Basics.Function
      • Derivative.Basics.Maybe
      • Derivative.Basics.RusselsParadox
      • Derivative.Basics.Sigma
      • Derivative.Basics.WildCategories
      • Derivative.Category
      • Derivative.ChainRule
      • Derivative.Container
      • Derivative.Derivative
      • Derivative.Examples.Bag
      • Derivative.Examples.List
      • 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.Parametrized.Mu
      • Derivative.Parametrized.ChainRule
      • Derivative.Parametrized.Container
      • Derivative.Parametrized.Derivative
      • Derivative.Parametrized.MuRule
      • Derivative.Parametrized.Univalence
      • Derivative.Prelude
      • Derivative.Properties
      • Derivative.Relative
      • Derivative.Remove

    Cubical.HITs.SetQuotients.Base

    {-
    
    This file contains:
    
    - Definition of set quotients
    
    -}
    module Cubical.HITs.SetQuotients.Base where
    
    open import Cubical.Core.Primitives
    
    -- Set quotients as a higher inductive type:
    data _/_ {ℓ ℓ'} (A : Type ℓ) (R : A → A → Type ℓ') : Type (ℓ-max ℓ ℓ') where
      [_] : (a : A) → A / R
      eq/ : (a b : A) → (r : R a b) → [ a ] ≡ [ b ]
      squash/ : (x y : A / R) → (p q : x ≡ y) → p ≡ q
    
    Made with Material for MkDocs