The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.CategoryTheory.Category.Bipointed

66 declarations. Mathlib docs · Source

def Bipointed.Hom.ctorIdx E1 #

{X Y : Bipointed} → X.Hom Y → ℕ

theorem Bipointed.Hom.mk.inj E1 #

∀ {X Y : Bipointed} {toFun : X.X → Y.X} {map_fst : toFun X.toProd.1 = Y.toProd.1}
  {map_snd : toFun X.toProd.2 = Y.toProd.2} {toFun_1 : X.X → Y.X} {map_fst_1 : toFun_1 X.toProd.1 = Y.toProd.1}
  {map_snd_1 : toFun_1 X.toProd.2 = Y.toProd.2},
  { toFun := toFun, map_fst := map_fst, map_snd := map_snd } =
      { toFun := toFun_1, map_fst := map_fst_1, map_snd := map_snd_1 } →
    toFun = toFun_1

theorem Bipointed.Hom.mk.injEq E0 #

∀ {X Y : Bipointed} (toFun : X.X → Y.X) (map_fst : toFun X.toProd.1 = Y.toProd.1)
  (map_snd : toFun X.toProd.2 = Y.toProd.2) (toFun_1 : X.X → Y.X) (map_fst_1 : toFun_1 X.toProd.1 = Y.toProd.1)
  (map_snd_1 : toFun_1 X.toProd.2 = Y.toProd.2),
  ({ toFun := toFun, map_fst := map_fst, map_snd := map_snd } =
      { toFun := toFun_1, map_fst := map_fst_1, map_snd := map_snd_1 }) =
    (toFun = toFun_1)

theorem Bipointed.mk.injEq E0 #

∀ (X : Type u) (toProd : X × X) (X_1 : Type u) (toProd_1 : X_1 × X_1),
  ({ X := X, toProd := toProd } = { X := X_1, toProd := toProd_1 }) = (X = X_1 ∧ toProd ≍ toProd_1)

theorem Bipointed.mk.inj E1 #

∀ {X : Type u} {toProd : X × X} {X_1 : Type u} {toProd_1 : X_1 × X_1},
  { X := X, toProd := toProd } = { X := X_1, toProd := toProd_1 } → X = X_1 ∧ toProd ≍ toProd_1

def Bipointed.ctorIdx E1 #

Bipointed → ℕ

structure Bipointed E1 #

Type (u + 1)

The category of bipointed types.

ctor Bipointed.mk E0 #

(X : Type u) → X × X → Bipointed

abbrev Bipointed.X E1 #

Bipointed → Type u

The underlying type of a bipointed type.

abbrev Bipointed.toProd E1 #

(self : Bipointed) → self.X × self.X

The two points of a bipointed type, bundled together as a pair.

instance Bipointed.instCoeSortType E0 #

CoeSort Bipointed (Type u_1)

abbrev Bipointed.of E1 #

{X : Type u_1} → X × X → Bipointed

Turns a bipointing into a bipointed type.

theorem Bipointed.coe_of E0 #

∀ {X : Type u_1} (to_prod : X × X), (Bipointed.of to_prod).X = X

def Prod.Bipointed E1 #

{X : Type u_1} → X × X → Bipointed

Alias of Bipointed.of.


Turns a bipointing into a bipointed type.

instance Bipointed.instInhabited E0 #

Inhabited Bipointed

structure Bipointed.Hom E1 #

Bipointed → Bipointed → Type u

Morphisms in Bipointed.

theorem Bipointed.Hom.ext E1 #

∀ {X Y : Bipointed} {x y : X.Hom Y}, x.toFun = y.toFun → x = y

theorem Bipointed.Hom.ext_iff E0 #

∀ {X Y : Bipointed} {x y : X.Hom Y}, x = y ↔ x.toFun = y.toFun

ctor Bipointed.Hom.mk E0 #

{X Y : Bipointed} → (toFun : X.X → Y.X) → toFun X.toProd.1 = Y.toProd.1 → toFun X.toProd.2 = Y.toProd.2 → X.Hom Y

abbrev Bipointed.Hom.toFun E1 #

{X Y : Bipointed} → X.Hom Y → X.X → Y.X

The underlying function of a morphism of bipointed types.

theorem Bipointed.Hom.map_fst E0 #

∀ {X Y : Bipointed} (self : X.Hom Y), self.toFun X.toProd.1 = Y.toProd.1

theorem Bipointed.Hom.map_snd E0 #

∀ {X Y : Bipointed} (self : X.Hom Y), self.toFun X.toProd.2 = Y.toProd.2

def Bipointed.Hom.id E1 #

(X : Bipointed) → X.Hom X

The identity morphism of X : Bipointed.

theorem Bipointed.Hom.id_toFun E0 #

∀ (X : Bipointed) (a : X.X), (Bipointed.Hom.id X).toFun a = id a

instance Bipointed.Hom.instInhabited E0 #

(X : Bipointed) → Inhabited (X.Hom X)

def Bipointed.Hom.comp E1 #

{X Y Z : Bipointed} → X.Hom Y → Y.Hom Z → X.Hom Z

Composition of morphisms of Bipointed.

theorem Bipointed.Hom.comp_toFun E0 #

∀ {X Y Z : Bipointed} (f : X.Hom Y) (g : Y.Hom Z) (a : X.X), (f.comp g).toFun a = (g.toFun ∘ f.toFun) a

instance Bipointed.largeCategory E0 #

CategoryTheory.LargeCategory Bipointed

abbrev Bipointed.HomSubtype E1 #

Bipointed → Bipointed → Type (max 0 u_1 u_2)

The subtype of functions corresponding to the morphisms in Bipointed.

instance Bipointed.instFunLikeHomSubtypeX E0 #

(X : Bipointed) → (Y : Bipointed) → FunLike (X.HomSubtype Y) X.X Y.X

instance Bipointed.hasForget E0 #

CategoryTheory.ConcreteCategory Bipointed Bipointed.HomSubtype

def Bipointed.swap E1 #

CategoryTheory.Functor Bipointed Bipointed

Swaps the pointed elements of a bipointed type. Prod.swap as a functor.

theorem Bipointed.swap_obj_X E0 #

∀ (X : Bipointed), (Bipointed.swap.obj X).X = X.X

theorem Bipointed.swap_obj_toProd E0 #

∀ (X : Bipointed), (Bipointed.swap.obj X).toProd = X.toProd.swap

theorem Bipointed.swap_map_toFun E0 #

∀ {X Y : Bipointed} (f : X ⟶ Y) (a : X.X), (Bipointed.swap.map f).toFun a = f.toFun a

def Bipointed.swapEquiv E1 #

Bipointed ≌ Bipointed

The equivalence between Bipointed and itself induced by Prod.swap both ways.

theorem Bipointed.swapEquiv_functor_obj_toProd E0 #

∀ (X : Bipointed), (Bipointed.swapEquiv.functor.obj X).toProd = X.toProd.swap

theorem Bipointed.swapEquiv_inverse_obj_toProd E0 #

∀ (X : Bipointed), (Bipointed.swapEquiv.inverse.obj X).toProd = X.toProd.swap

theorem Bipointed.swapEquiv_counitIso_hom_app_toFun E0 #

∀ (X : Bipointed) (a : ((Bipointed.swap.comp Bipointed.swap).obj X).X),
  (Bipointed.swapEquiv.counitIso.hom.app X).toFun a = a

theorem Bipointed.swapEquiv_inverse_map_toFun E0 #

∀ {X Y : Bipointed} (f : X ⟶ Y) (a : X.X), (Bipointed.swapEquiv.inverse.map f).toFun a = f.toFun a

theorem Bipointed.swapEquiv_inverse_obj_X E0 #

∀ (X : Bipointed), (Bipointed.swapEquiv.inverse.obj X).X = X.X

theorem Bipointed.swapEquiv_unitIso_inv_app_toFun E0 #

∀ (X : Bipointed) (a : ((CategoryTheory.Functor.id Bipointed).obj X).X),
  (Bipointed.swapEquiv.unitIso.inv.app X).toFun a = a

theorem Bipointed.swapEquiv_functor_map_toFun E0 #

∀ {X Y : Bipointed} (f : X ⟶ Y) (a : X.X), (Bipointed.swapEquiv.functor.map f).toFun a = f.toFun a

theorem Bipointed.swapEquiv_functor_obj_X E0 #

∀ (X : Bipointed), (Bipointed.swapEquiv.functor.obj X).X = X.X

theorem Bipointed.swapEquiv_counitIso_inv_app_toFun E0 #

∀ (X : Bipointed) (a : ((Bipointed.swap.comp Bipointed.swap).obj X).X),
  (Bipointed.swapEquiv.counitIso.inv.app X).toFun a = a

theorem Bipointed.swapEquiv_unitIso_hom_app_toFun E0 #

∀ (X : Bipointed) (a : ((CategoryTheory.Functor.id Bipointed).obj X).X),
  (Bipointed.swapEquiv.unitIso.hom.app X).toFun a = a

theorem Bipointed.swapEquiv_symm E0 #

Bipointed.swapEquiv.symm = Bipointed.swapEquiv

def bipointedToPointedFst E1 #

CategoryTheory.Functor Bipointed Pointed

The forgetful functor from Bipointed to Pointed which forgets about the second point.

def bipointedToPointedSnd E1 #

CategoryTheory.Functor Bipointed Pointed

The forgetful functor from Bipointed to Pointed which forgets about the first point.

theorem bipointedToPointedFst_comp_forget E0 #

bipointedToPointedFst.comp (CategoryTheory.forget Pointed) = CategoryTheory.forget Bipointed

theorem bipointedToPointedSnd_comp_forget E0 #

bipointedToPointedSnd.comp (CategoryTheory.forget Pointed) = CategoryTheory.forget Bipointed

theorem swap_comp_bipointedToPointedFst E0 #

Bipointed.swap.comp bipointedToPointedFst = bipointedToPointedSnd

theorem swap_comp_bipointedToPointedSnd E0 #

Bipointed.swap.comp bipointedToPointedSnd = bipointedToPointedFst

def pointedToBipointed E1 #

CategoryTheory.Functor Pointed Bipointed

The functor from Pointed to Bipointed which bipoints the point.

def pointedToBipointedFst E1 #

CategoryTheory.Functor Pointed Bipointed

The functor from Pointed to Bipointed which adds a second point.

def pointedToBipointedSnd E1 #

CategoryTheory.Functor Pointed Bipointed

The functor from Pointed to Bipointed which adds a first point.

theorem pointedToBipointedFst_comp_swap E0 #

pointedToBipointedFst.comp Bipointed.swap = pointedToBipointedSnd

theorem pointedToBipointedSnd_comp_swap E0 #

pointedToBipointedSnd.comp Bipointed.swap = pointedToBipointedFst

def pointedToBipointedCompBipointedToPointedFst E1 #

pointedToBipointed.comp bipointedToPointedFst ≅ CategoryTheory.Functor.id Pointed

BipointedToPointed_fst is inverse to PointedToBipointed.

theorem pointedToBipointedCompBipointedToPointedFst_inv_app_toFun E0 #

∀ (X : Pointed) (a : ((CategoryTheory.Functor.id Pointed).obj X).X),
  (pointedToBipointedCompBipointedToPointedFst.inv.app X).toFun a = a

theorem pointedToBipointedCompBipointedToPointedFst_hom_app_toFun E0 #

∀ (X : Pointed) (a : ((pointedToBipointed.comp bipointedToPointedFst).obj X).X),
  (pointedToBipointedCompBipointedToPointedFst.hom.app X).toFun a = a

def pointedToBipointedCompBipointedToPointedSnd E1 #

pointedToBipointed.comp bipointedToPointedSnd ≅ CategoryTheory.Functor.id Pointed

BipointedToPointed_snd is inverse to PointedToBipointed.

theorem pointedToBipointedCompBipointedToPointedSnd_hom_app_toFun E0 #

∀ (X : Pointed) (a : ((pointedToBipointed.comp bipointedToPointedSnd).obj X).X),
  (pointedToBipointedCompBipointedToPointedSnd.hom.app X).toFun a = a

theorem pointedToBipointedCompBipointedToPointedSnd_inv_app_toFun E0 #

∀ (X : Pointed) (a : ((CategoryTheory.Functor.id Pointed).obj X).X),
  (pointedToBipointedCompBipointedToPointedSnd.inv.app X).toFun a = a

def pointedToBipointedFstBipointedToPointedFstAdjunction E1 #

pointedToBipointedFst ⊣ bipointedToPointedFst

The free/forgetful adjunction between PointedToBipointed_fst and BipointedToPointed_fst.

def pointedToBipointedSndBipointedToPointedSndAdjunction E1 #

pointedToBipointedSnd ⊣ bipointedToPointedSnd

The free/forgetful adjunction between PointedToBipointed_snd and BipointedToPointed_snd.