Theorems · Definition · category theory
CategoryTheory.eqToHom
{C : Type u₁} → [inst : CategoryTheory.CategoryStruct.{v₁, u₁} C] → {X Y : C} → X = Y → (X ⟶ Y)An equality X = Y gives us a morphism X ⟶ Y.
It is typically better to use this, rather than rewriting by the equality then using 𝟙 _
which usually leads to dependent type theory hell.
- Defined in
- Mathlib.CategoryTheory.EqToHom
- Cited by
- 860 results in Mathlib
- Foundations
- Depth 5 from the axioms, rests on 10 definitions · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites3
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Quiver.Homstatement · cited by 32,603
- CategoryTheory.CategoryStruct.idproof · cited by 6,235
- CategoryTheory.CategoryStructstatement and proof · cited by 343
Cited by1,024
Results whose statement or proof uses this declaration.
- CategoryTheory.Discrete.functorproof · cited by 633
- HomologicalComplex.singleproof · cited by 110
- CategoryTheory.eqToIsoproof · cited by 97
- CategoryTheory.eqToHom_opstatement and proof · cited by 68
- CategoryTheory.eqToHom_transstatement · cited by 54
- CategoryTheory.Grothendieck.ιproof · cited by 38
- CategoryTheory.Functor.extstatement and proof · cited by 31
- CategoryTheory.eqToHom_mapstatement · cited by 29
- CategoryTheory.eqToHom_reflstatement · cited by 28
- CategoryTheory.Functor.ext_of_isostatement and proof · cited by 28
- CategoryTheory.eqToHom_trans_assocstatement and proof · cited by 25
- AlgebraicGeometry.PresheafedSpace.IsOpenImmersion.invAppproof · cited by 24
Showing the 200 most cited of 1,024.