fact stringlengths 6 3.84k | type stringclasses 11
values | library stringclasses 32
values | imports listlengths 1 14 | filename stringlengths 20 95 | symbolic_name stringlengths 1 90 | docstring stringlengths 7 20k ⌀ |
|---|---|---|---|---|---|---|
noncomputable equivSmallModel (C : Type u) [Category.{v} C] [EssentiallySmall.{w} C] :
C ≌ SmallModel C :=
Nonempty.some
(Classical.choose_spec (Classical.choose_spec (@EssentiallySmall.equiv_smallCategory C _ _))) | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | equivSmallModel | The (noncomputable) categorical equivalence between
an essentially small category and its small model. |
essentiallySmall_congr {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D]
(e : C ≌ D) : EssentiallySmall.{w} C ↔ EssentiallySmall.{w} D := by
fconstructor
· rintro ⟨S, 𝒮, ⟨f⟩⟩
exact EssentiallySmall.mk' (e.symm.trans f)
· rintro ⟨S, 𝒮, ⟨f⟩⟩
exact EssentiallySmall.mk' (e.trans f) | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | essentiallySmall_congr | null |
Discrete.essentiallySmallOfSmall {α : Type u} [Small.{w} α] :
EssentiallySmall.{w} (Discrete α) :=
⟨⟨Discrete (Shrink α), ⟨inferInstance, ⟨Discrete.equivalence (equivShrink _)⟩⟩⟩⟩ | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | Discrete.essentiallySmallOfSmall | null |
essentiallySmallSelf : EssentiallySmall.{max w v u} C :=
EssentiallySmall.mk' (AsSmall.equiv : C ≌ AsSmall.{w} C) | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | essentiallySmallSelf | null |
@[pp_with_univ]
LocallySmall (C : Type u) [Category.{v} C] : Prop where
/-- A locally small category has small hom-types. -/
hom_small : ∀ X Y : C, Small.{w} (X ⟶ Y) := by infer_instance | class | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | LocallySmall | A category is `w`-locally small if every hom set is `w`-small.
See `ShrinkHoms C` for a category instance where every hom set has been replaced by a small model. |
locallySmall_of_faithful {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D]
(F : C ⥤ D) [F.Faithful] [LocallySmall.{w} D] : LocallySmall.{w} C where
hom_small {_ _} := small_of_injective F.map_injective | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | locallySmall_of_faithful | null |
locallySmall_congr {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D]
(e : C ≌ D) : LocallySmall.{w} C ↔ LocallySmall.{w} D :=
⟨fun _ => locallySmall_of_faithful e.inverse, fun _ => locallySmall_of_faithful e.functor⟩ | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | locallySmall_congr | null |
locallySmall_max {C : Type u} [Category.{v} C] : LocallySmall.{max v w} C where
hom_small _ _ := small_max.{w} _ | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | locallySmall_max | null |
@[pp_with_univ]
ShrinkHoms (C : Type u) :=
C | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | ShrinkHoms | We define a type alias `ShrinkHoms C` for `C`. When we have `LocallySmall.{w} C`,
we'll put a `Category.{w}` instance on `ShrinkHoms C`. |
toShrinkHoms {C' : Type*} (X : C') : ShrinkHoms C' :=
X | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | toShrinkHoms | Help the typechecker by explicitly translating from `C` to `ShrinkHoms C`. |
fromShrinkHoms {C' : Type*} (X : ShrinkHoms C') : C' :=
X
@[simp] | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | fromShrinkHoms | Help the typechecker by explicitly translating from `ShrinkHoms C` to `C`. |
to_from (X : C') : fromShrinkHoms (toShrinkHoms X) = X :=
rfl
@[simp] | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | to_from | null |
from_to (X : ShrinkHoms C') : toShrinkHoms (fromShrinkHoms X) = X :=
rfl | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | from_to | null |
@[simps]
noncomputable functor : C ⥤ ShrinkHoms C where
obj X := toShrinkHoms X
map {X Y} f := equivShrink (X ⟶ Y) f | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | functor | Implementation of `ShrinkHoms.equivalence`. |
@[simps]
noncomputable inverse : ShrinkHoms C ⥤ C where
obj X := fromShrinkHoms X
map {X Y} f := (equivShrink (fromShrinkHoms X ⟶ fromShrinkHoms Y)).symm f | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | inverse | Implementation of `ShrinkHoms.equivalence`. |
@[simps]
noncomputable equivalence : C ≌ ShrinkHoms C where
functor := functor C
inverse := inverse C
unitIso := NatIso.ofComponents (fun _ ↦ Iso.refl _)
counitIso := NatIso.ofComponents (fun _ ↦ Iso.refl _) | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | equivalence | The categorical equivalence between `C` and `ShrinkHoms C`, when `C` is locally small. |
noncomputable equivalence [Small.{w} C] : C ≌ Shrink.{w} C :=
(Equivalence.induced _).symm | def | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | equivalence | The categorical equivalence between `C` and `Shrink C`, when `C` is small. |
essentiallySmall_iff (C : Type u) [Category.{v} C] :
EssentiallySmall.{w} C ↔ Small.{w} (Skeleton C) ∧ LocallySmall.{w} C := by
fconstructor
· intro h
fconstructor
· rcases h with ⟨S, 𝒮, ⟨e⟩⟩
refine ⟨⟨Skeleton S, ⟨?_⟩⟩⟩
exact e.skeletonEquiv
· infer_instance
· rintro ⟨⟨S, ⟨e⟩⟩, L⟩
... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | essentiallySmall_iff | A category is essentially small if and only if
the underlying type of its skeleton (i.e. the "set" of isomorphism classes) is small,
and it is locally small. |
essentiallySmall_of_small_of_locallySmall [Small.{w} C] [LocallySmall.{w} C] :
EssentiallySmall.{w} C :=
(essentiallySmall_iff C).2 ⟨small_of_surjective Quotient.exists_rep, by infer_instance⟩ | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | essentiallySmall_of_small_of_locallySmall | null |
small_skeleton_of_essentiallySmall [h : EssentiallySmall.{w} C] : Small.{w} (Skeleton C) :=
essentiallySmall_iff C |>.1 h |>.1
variable {C} in | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | small_skeleton_of_essentiallySmall | null |
essentiallySmall_of_fully_faithful {D : Type u'} [Category.{v'} D] (F : C ⥤ D)
[F.Full] [F.Faithful] [EssentiallySmall.{w} D] : EssentiallySmall.{w} C :=
(essentiallySmall_iff C).2 ⟨small_of_injective F.mapSkeleton_injective,
locallySmall_of_faithful F⟩ | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | essentiallySmall_of_fully_faithful | null |
locallySmall_fullSubcategory [LocallySmall.{w} C] (P : ObjectProperty C) :
LocallySmall.{w} P.FullSubcategory :=
locallySmall_of_faithful <| P.ι | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | locallySmall_fullSubcategory | null |
essentiallySmall_fullSubcategory_mem (s : Set C) [Small.{w} s] [LocallySmall.{w} C] :
EssentiallySmall.{w} (ObjectProperty.FullSubcategory (· ∈ s)) :=
suffices Small.{w} (ObjectProperty.FullSubcategory (· ∈ s)) from
essentiallySmall_of_small_of_locallySmall _
small_of_injective (f := fun x => (⟨x.1, x.2⟩ : ... | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | essentiallySmall_fullSubcategory_mem | null |
essentiallySmall_iff_of_thin {C : Type u} [Category.{v} C] [Quiver.IsThin C] :
EssentiallySmall.{w} C ↔ Small.{w} (Skeleton C) := by
simp [essentiallySmall_iff, CategoryTheory.locallySmall_of_thin] | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Category.ULift",
"Mathlib.CategoryTheory.EqToHom",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.CategoryTheory.Comma.Arrow",
"Mathlib.Logic.UnivLE",
"Mathlib.Logic.Small.Basic"
] | Mathlib/CategoryTheory/EssentiallySmall.lean | essentiallySmall_iff_of_thin | Any thin category is locally small.
-/
instance (priority := 100) locallySmall_of_thin {C : Type u} [Category.{v} C] [Quiver.IsThin C] :
LocallySmall.{w} C where
/--
A thin category is essentially small if and only if the underlying type of its skeleton is small. |
HasPullbacksOfInclusions (C : Type u) [Category.{v} C] [HasBinaryCoproducts C] : Prop where
[hasPullbackInl : ∀ {X Y Z : C} (f : Z ⟶ X ⨿ Y), HasPullback coprod.inl f]
attribute [instance] HasPullbacksOfInclusions.hasPullbackInl | class | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | HasPullbacksOfInclusions | A category has pullback of inclusions if it has all pullbacks along coproduct injections. |
PreservesPullbacksOfInclusions {C : Type*} [Category C] {D : Type*} [Category D]
(F : C ⥤ D) [HasBinaryCoproducts C] where
[preservesPullbackInl : ∀ {X Y Z : C} (f : Z ⟶ X ⨿ Y), PreservesLimit (cospan coprod.inl f) F]
attribute [instance] PreservesPullbacksOfInclusions.preservesPullbackInl | class | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | PreservesPullbacksOfInclusions | A functor preserves pullback of inclusions if it preserves all pullbacks along coproduct injections. |
FinitaryPreExtensive (C : Type u) [Category.{v} C] : Prop where
[hasFiniteCoproducts : HasFiniteCoproducts C]
[hasPullbacksOfInclusions : HasPullbacksOfInclusions C]
/-- In a finitary extensive category, all coproducts are van Kampen -/
universal' : ∀ {X Y : C} (c : BinaryCofan X Y), IsColimit c → IsUniversalCo... | class | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive | A category is (finitary) pre-extensive if it has finite coproducts,
and binary coproducts are universal. |
FinitaryExtensive (C : Type u) [Category.{v} C] : Prop where
[hasFiniteCoproducts : HasFiniteCoproducts C]
[hasPullbacksOfInclusions : HasPullbacksOfInclusions C]
/-- In a finitary extensive category, all coproducts are van Kampen -/
van_kampen' : ∀ {X Y : C} (c : BinaryCofan X Y), IsColimit c → IsVanKampenColi... | class | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive | A category is (finitary) extensive if it has finite coproducts,
and binary coproducts are van Kampen. |
FinitaryExtensive.vanKampen [FinitaryExtensive C] {F : Discrete WalkingPair ⥤ C}
(c : Cocone F) (hc : IsColimit c) : IsVanKampenColimit c := by
let X := F.obj ⟨WalkingPair.left⟩
let Y := F.obj ⟨WalkingPair.right⟩
have : F = pair X Y := by
apply Functor.hext
· rintro ⟨⟨⟩⟩ <;> rfl
· rintro ⟨⟨⟩⟩ ⟨j⟩ ... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.vanKampen | null |
preservesPullbackInl' :
HasPullback f coprod.inl :=
hasPullback_symmetry _ _ | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | preservesPullbackInl' | null |
hasPullbackInr' :
HasPullback f coprod.inr := by
have : IsPullback (𝟙 _) (f ≫ (coprod.braiding X Y).hom) f (coprod.braiding Y X).hom :=
IsPullback.of_horiz_isIso ⟨by simp⟩
have := (IsPullback.of_hasPullback (f ≫ (coprod.braiding X Y).hom) coprod.inl).paste_horiz this
simp only [coprod.braiding_hom, Categ... | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | hasPullbackInr' | null |
hasPullbackInr :
HasPullback coprod.inr f :=
hasPullback_symmetry _ _ | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | hasPullbackInr | null |
noncomputable
preservesPullbackInl' :
PreservesLimit (cospan f coprod.inl) F :=
preservesPullback_symmetry _ _ _ | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | preservesPullbackInl' | null |
noncomputable
preservesPullbackInr' :
PreservesLimit (cospan f coprod.inr) F := by
apply preservesLimit_of_iso_diagram (K₁ := cospan (f ≫ (coprod.braiding X Y).hom) coprod.inl)
apply cospanExt (Iso.refl _) (Iso.refl _) (coprod.braiding X Y).symm <;> simp | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | preservesPullbackInr' | null |
noncomputable
preservesPullbackInr :
PreservesLimit (cospan coprod.inr f) F :=
preservesPullback_symmetry _ _ _ | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | preservesPullbackInr | null |
FinitaryExtensive.mono_inr_of_isColimit [FinitaryExtensive C] {c : BinaryCofan X Y}
(hc : IsColimit c) : Mono c.inr :=
BinaryCofan.mono_inr_of_isVanKampen (FinitaryExtensive.vanKampen c hc) | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.mono_inr_of_isColimit | null |
FinitaryExtensive.mono_inl_of_isColimit [FinitaryExtensive C] {c : BinaryCofan X Y}
(hc : IsColimit c) : Mono c.inl :=
FinitaryExtensive.mono_inr_of_isColimit (BinaryCofan.isColimitFlip hc) | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.mono_inl_of_isColimit | null |
FinitaryExtensive.isPullback_initial_to_binaryCofan [FinitaryExtensive C]
{c : BinaryCofan X Y} (hc : IsColimit c) :
IsPullback (initial.to _) (initial.to _) c.inl c.inr :=
BinaryCofan.isPullback_initial_to_of_isVanKampen (FinitaryExtensive.vanKampen c hc) | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.isPullback_initial_to_binaryCofan | null |
finitaryExtensive_iff_of_isTerminal (C : Type u) [Category.{v} C] [HasFiniteCoproducts C]
[HasPullbacksOfInclusions C]
(T : C) (HT : IsTerminal T) (c₀ : BinaryCofan T T) (hc₀ : IsColimit c₀) :
FinitaryExtensive C ↔ IsVanKampenColimit c₀ := by
refine ⟨fun H => H.van_kampen' c₀ hc₀, fun H => ?_⟩
construct... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | finitaryExtensive_iff_of_isTerminal | null |
types.finitaryExtensive : FinitaryExtensive (Type u) := by
classical
rw [finitaryExtensive_iff_of_isTerminal (Type u) PUnit Types.isTerminalPunit _
(Types.binaryCoproductColimit _ _)]
apply BinaryCofan.isVanKampen_mk _ _ (fun X Y => Types.binaryCoproductColimit X Y) _
fun f g => (Limits.Types.pullback... | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | types.finitaryExtensive | null |
noncomputable finitaryExtensiveTopCatAux (Z : TopCat.{u})
(f : Z ⟶ TopCat.of (PUnit.{u + 1} ⊕ PUnit.{u + 1})) :
IsColimit (BinaryCofan.mk
(TopCat.pullbackFst f (TopCat.binaryCofan (TopCat.of PUnit) (TopCat.of PUnit)).inl)
(TopCat.pullbackFst f (TopCat.binaryCofan (TopCat.of PUnit) (TopCat.of PUnit))... | def | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | finitaryExtensiveTopCatAux | (Implementation) An auxiliary lemma for the proof that `TopCat` is finitary extensive. |
finitaryExtensive_TopCat : FinitaryExtensive TopCat.{u} := by
rw [finitaryExtensive_iff_of_isTerminal TopCat.{u} _ TopCat.isTerminalPUnit _
(TopCat.binaryCofanIsColimit _ _)]
apply BinaryCofan.isVanKampen_mk _ _ (fun X Y => TopCat.binaryCofanIsColimit X Y) _
fun f g => TopCat.pullbackConeIsLimit f g
·... | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | finitaryExtensive_TopCat | null |
finitaryExtensive_of_reflective
[HasFiniteCoproducts D] [HasPullbacksOfInclusions D] [FinitaryExtensive C]
{Gl : C ⥤ D} {Gr : D ⥤ C} (adj : Gl ⊣ Gr) [Gr.Full] [Gr.Faithful]
[∀ X Y (f : X ⟶ Gl.obj Y), HasPullback (Gr.map f) (adj.unit.app Y)]
[∀ X Y (f : X ⟶ Gl.obj Y), PreservesLimit (cospan (Gr.map f) (a... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | finitaryExtensive_of_reflective | null |
finitaryExtensive_functor [HasPullbacks C] [FinitaryExtensive C] :
FinitaryExtensive (D ⥤ C) :=
haveI : HasFiniteCoproducts (D ⥤ C) := ⟨fun _ => Limits.functorCategoryHasColimitsOfShape⟩
⟨fun c hc => isVanKampenColimit_of_evaluation _ c fun _ =>
FinitaryExtensive.vanKampen _ <| isColimitOfPreserves _ hc⟩ | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | finitaryExtensive_functor | null |
finitaryExtensive_of_preserves_and_reflects (F : C ⥤ D) [FinitaryExtensive D]
[HasFiniteCoproducts C] [HasPullbacksOfInclusions C]
[PreservesPullbacksOfInclusions F]
[ReflectsLimitsOfShape WalkingCospan F] [PreservesColimitsOfShape (Discrete WalkingPair) F]
[ReflectsColimitsOfShape (Discrete WalkingPair... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | finitaryExtensive_of_preserves_and_reflects | null |
finitaryExtensive_of_preserves_and_reflects_isomorphism (F : C ⥤ D) [FinitaryExtensive D]
[HasFiniteCoproducts C] [HasPullbacks C] [PreservesLimitsOfShape WalkingCospan F]
[PreservesColimitsOfShape (Discrete WalkingPair) F] [F.ReflectsIsomorphisms] :
FinitaryExtensive C := by
haveI : ReflectsLimitsOfShape... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | finitaryExtensive_of_preserves_and_reflects_isomorphism | null |
FinitaryPreExtensive.isUniversal_finiteCoproducts_Fin [FinitaryPreExtensive C] {n : ℕ}
{F : Discrete (Fin n) ⥤ C} {c : Cocone F} (hc : IsColimit c) : IsUniversalColimit c := by
let f : Fin n → C := F.obj ∘ Discrete.mk
have : F = Discrete.functor f :=
Functor.hext (fun _ ↦ rfl) (by rintro ⟨i⟩ ⟨j⟩ ⟨⟨rfl : i =... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive.isUniversal_finiteCoproducts_Fin | null |
FinitaryPreExtensive.isUniversal_finiteCoproducts [FinitaryPreExtensive C] {ι : Type*}
[Finite ι] {F : Discrete ι ⥤ C} {c : Cocone F} (hc : IsColimit c) : IsUniversalColimit c := by
obtain ⟨n, ⟨e⟩⟩ := Finite.exists_equiv_fin ι
apply (IsUniversalColimit.whiskerEquivalence_iff (Discrete.equivalence e).symm).mp
... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive.isUniversal_finiteCoproducts | null |
FinitaryExtensive.isVanKampen_finiteCoproducts_Fin [FinitaryExtensive C] {n : ℕ}
{F : Discrete (Fin n) ⥤ C} {c : Cocone F} (hc : IsColimit c) : IsVanKampenColimit c := by
let f : Fin n → C := F.obj ∘ Discrete.mk
have : F = Discrete.functor f :=
Functor.hext (fun _ ↦ rfl) (by rintro ⟨i⟩ ⟨j⟩ ⟨⟨rfl : i = j⟩⟩; ... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.isVanKampen_finiteCoproducts_Fin | null |
FinitaryExtensive.isVanKampen_finiteCoproducts [FinitaryExtensive C] {ι : Type*}
[Finite ι] {F : Discrete ι ⥤ C} {c : Cocone F} (hc : IsColimit c) : IsVanKampenColimit c := by
obtain ⟨n, ⟨e⟩⟩ := Finite.exists_equiv_fin ι
apply (IsVanKampenColimit.whiskerEquivalence_iff (Discrete.equivalence e).symm).mp
apply ... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.isVanKampen_finiteCoproducts | null |
FinitaryPreExtensive.hasPullbacks_of_is_coproduct [FinitaryPreExtensive C] {ι : Type*}
[Finite ι] {F : Discrete ι ⥤ C} {c : Cocone F} (hc : IsColimit c) (i : Discrete ι) {X : C}
(g : X ⟶ _) : HasPullback g (c.ι.app i) := by
classical
let f : ι → C := F.obj ∘ Discrete.mk
have : F = Discrete.functor f :=
... | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive.hasPullbacks_of_is_coproduct | null |
FinitaryExtensive.mono_ι [FinitaryExtensive C] {ι : Type*} [Finite ι] {F : Discrete ι ⥤ C}
{c : Cocone F} (hc : IsColimit c) (i : Discrete ι) :
Mono (c.ι.app i) :=
mono_of_cofan_isVanKampen (isVanKampen_finiteCoproducts hc) _ | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.mono_ι | null |
FinitaryExtensive.isPullback_initial_to [FinitaryExtensive C]
{ι : Type*} [Finite ι] {F : Discrete ι ⥤ C}
{c : Cocone F} (hc : IsColimit c) (i j : Discrete ι) (e : i ≠ j) :
IsPullback (initial.to _) (initial.to _) (c.ι.app i) (c.ι.app j) :=
isPullback_initial_to_of_cofan_isVanKampen (isVanKampen_finiteCop... | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.isPullback_initial_to | null |
FinitaryExtensive.isPullback_initial_to_sigma_ι [FinitaryExtensive C] {ι : Type*} [Finite ι]
(X : ι → C) (i j : ι) (e : i ≠ j) :
IsPullback (initial.to _) (initial.to _) (Sigma.ι X i) (Sigma.ι X j) :=
FinitaryExtensive.isPullback_initial_to (coproductIsCoproduct _) ⟨i⟩ ⟨j⟩
(ne_of_apply_ne Discrete.as e) | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryExtensive.isPullback_initial_to_sigma_ι | null |
FinitaryPreExtensive.hasPullbacks_of_inclusions [FinitaryPreExtensive C] {X Z : C}
{α : Type*} (f : X ⟶ Z) {Y : (a : α) → C} (i : (a : α) → Y a ⟶ Z) [Finite α]
[hi : IsIso (Sigma.desc i)] (a : α) : HasPullback f (i a) := by
apply FinitaryPreExtensive.hasPullbacks_of_is_coproduct (c := Cofan.mk Z i)
exact @I... | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive.hasPullbacks_of_inclusions | null |
FinitaryPreExtensive.isIso_sigmaDesc_fst [FinitaryPreExtensive C] {α : Type} [Finite α]
{X : C} {Z : α → C} (π : (a : α) → Z a ⟶ X) {Y : C} (f : Y ⟶ X) (hπ : IsIso (Sigma.desc π)) :
IsIso (Sigma.desc ((fun _ ↦ pullback.fst _ _) : (a : α) → pullback f (π a) ⟶ _)) := by
let c := (Cofan.mk _ ((fun _ ↦ pullback.f... | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive.isIso_sigmaDesc_fst | null |
FinitaryPreExtensive.isIso_sigmaDesc_map [HasPullbacks C] [FinitaryPreExtensive C]
{ι ι' : Type*} [Finite ι] [Finite ι'] {S : C} {X : ι → C} {Y : ι' → C}
(f : ∀ i, X i ⟶ S) (g : ∀ i, Y i ⟶ S) :
IsIso (Sigma.desc fun (p : ι × ι') ↦
pullback.map (f p.1) (g p.2) (Sigma.desc f) (Sigma.desc g) (Sigma.ι _ p... | instance | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive.isIso_sigmaDesc_map | If `C` has pullbacks and is finitary (pre-)extensive, pullbacks distribute over finite
coproducts, i.e., `∐ (Xᵢ ×[S] Xⱼ) ≅ (∐ Xᵢ) ×[S] (∐ Xⱼ)`.
For an `IsPullback` version, see `FinitaryPreExtensive.isPullback_sigmaDesc`. |
FinitaryPreExtensive.isPullback_sigmaDesc [HasPullbacks C] [FinitaryPreExtensive C]
{ι ι' : Type*} [Finite ι] [Finite ι'] {S : C} {X : ι → C} {Y : ι' → C}
(f : ∀ i, X i ⟶ S) (g : ∀ i, Y i ⟶ S) :
IsPullback
(Limits.Sigma.desc fun (p : ι × ι') ↦ pullback.fst (f p.1) (g p.2) ≫ Sigma.ι X p.1)
(Limit... | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.Limits.Shapes.Pullback.CommSq",
"Mathlib.CategoryTheory.Limits.Shapes.StrictInitial",
"Mathlib.CategoryTheory.Limits.Types.Shapes",
"Mathlib.Topology.Category.TopCat.Limits.Pullbacks",
"Mathlib.CategoryTheory.Limits.FunctorCategory.Basic",
"Mathlib.CategoryTheory.Limits.Constructio... | Mathlib/CategoryTheory/Extensive.lean | FinitaryPreExtensive.isPullback_sigmaDesc | If `C` has pullbacks and is finitary (pre-)extensive, pullbacks distribute over finite
coproducts, i.e., `∐ (Xᵢ ×[S] Xⱼ) ≅ (∐ Xᵢ) ×[S] (∐ Xⱼ)`.
For a variant, see `FinitaryPreExtensive.isIso_sigmaDesc_map`. |
FintypeCat where
/-- The underlying type. -/
carrier : Type*
[str : Fintype carrier]
attribute [instance] FintypeCat.str | structure | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | FintypeCat | The category of finite types. |
instCoeSort : CoeSort FintypeCat Type* :=
⟨carrier⟩ | instance | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | instCoeSort | null |
of (X : Type*) [Fintype X] : FintypeCat where
carrier := X | abbrev | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | of | Construct a bundled `FintypeCat` from the underlying type and typeclass. |
@[simps!]
incl : FintypeCat ⥤ Type* :=
inducedFunctor _ | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | incl | The fully faithful embedding of `FintypeCat` into the category of types. |
concreteCategoryFintype : ConcreteCategory FintypeCat (· ⟶ ·) where
hom f := f
ofHom f := f
/- Help typeclass inference infer fullness of forgetful functor. -/ | instance | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | concreteCategoryFintype | null |
@[simp]
id_apply (X : FintypeCat) (x : X) : (𝟙 X : X → X) x = x :=
rfl
@[simp] | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | id_apply | null |
comp_apply {X Y Z : FintypeCat} (f : X ⟶ Y) (g : Y ⟶ Z) (x : X) : (f ≫ g) x = g (f x) :=
rfl | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | comp_apply | null |
hom_inv_id_apply {X Y : FintypeCat} (f : X ≅ Y) (x : X) : f.inv (f.hom x) = x :=
congr_fun f.hom_inv_id x | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | hom_inv_id_apply | null |
inv_hom_id_apply {X Y : FintypeCat} (f : X ≅ Y) (y : Y) : f.hom (f.inv y) = y :=
congr_fun f.inv_hom_id y
@[ext] | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | inv_hom_id_apply | null |
hom_ext {X Y : FintypeCat} (f g : X ⟶ Y) (h : ∀ x, f x = g x) : f = g := by
funext
apply h | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | hom_ext | null |
@[simps]
equivEquivIso {A B : FintypeCat} : A ≃ B ≃ (A ≅ B) where
toFun e :=
{ hom := e
inv := e.symm }
invFun i :=
{ toFun := i.hom
invFun := i.inv
left_inv := congr_fun i.hom_inv_id
right_inv := congr_fun i.inv_hom_id }
left_inv := by cat_disch
right_inv := by cat_disch | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | equivEquivIso | Equivalences between finite types are the same as isomorphisms in `FintypeCat`. |
Skeleton : Type u :=
ULift ℕ | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | Skeleton | The "standard" skeleton for `FintypeCat`. This is the full subcategory of `FintypeCat`
spanned by objects of the form `ULift (Fin n)` for `n : ℕ`. We parameterize the objects
of `Fintype.Skeleton` directly as `ULift ℕ`, as the type `ULift (Fin m) ≃ ULift (Fin n)`
is nonempty if and only if `n = m`. Specifying universes... |
mk : ℕ → Skeleton :=
ULift.up | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | mk | Given any natural number `n`, this creates the associated object of `Fintype.Skeleton`. |
len : Skeleton → ℕ :=
ULift.down
@[ext] | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | len | Given any object of `Fintype.Skeleton`, this returns the associated natural number. |
ext (X Y : Skeleton) : X.len = Y.len → X = Y :=
ULift.ext _ _ | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | ext | null |
is_skeletal : Skeletal Skeleton.{u} := fun X Y ⟨h⟩ =>
ext _ _ <|
Fin.equiv_iff_eq.mp <|
Nonempty.intro <|
{ toFun := fun x => (h.hom ⟨x⟩).down
invFun := fun x => (h.inv ⟨x⟩).down
left_inv := by
intro a
change ULift.down _ = _
rw [ULift.up_down]... | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | is_skeletal | null |
incl : Skeleton.{u} ⥤ FintypeCat.{u} where
obj X := FintypeCat.of (ULift (Fin X.len))
map f := f | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | incl | The canonical fully faithful embedding of `Fintype.Skeleton` into `FintypeCat`. |
noncomputable equivalence : Skeleton ≌ FintypeCat :=
incl.asEquivalence
@[simp] | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | equivalence | The equivalence between `Fintype.Skeleton` and `Fintype`. |
incl_mk_nat_card (n : ℕ) : Fintype.card (incl.obj (mk n)) = n := by
convert Finset.card_fin n
apply Fintype.ofEquiv_card | theorem | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | incl_mk_nat_card | null |
isSkeleton : IsSkeletonOf FintypeCat Skeleton Skeleton.incl where
skel := Skeleton.is_skeletal
eqv := by infer_instance | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | isSkeleton | `Fintype.Skeleton` is a skeleton of `Fintype`. |
noncomputable uSwitch : FintypeCat.{u} ⥤ FintypeCat.{v} where
obj X := FintypeCat.of <| ULift.{v} (Fin (Fintype.card X))
map {X Y} f x := ULift.up <| (Fintype.equivFin Y) (f ((Fintype.equivFin X).symm x.down))
map_comp {X Y Z} f g := by funext; simp | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | uSwitch | If `u` and `v` are two arbitrary universes, we may construct a functor
`uSwitch.{u, v} : FintypeCat.{u} ⥤ FintypeCat.{v}` by sending
`X : FintypeCat.{u}` to `ULift.{v} (Fin (Fintype.card X))`. |
noncomputable uSwitchEquiv (X : FintypeCat.{u}) :
uSwitch.{u, v}.obj X ≃ X :=
Equiv.ulift.trans (Fintype.equivFin X).symm | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | uSwitchEquiv | Switching the universe of an object `X : FintypeCat.{u}` does not change `X` up to equivalence
of types. This is natural in the sense that it commutes with `uSwitch.map f` for
any `f : X ⟶ Y` in `FintypeCat.{u}`. |
uSwitchEquiv_naturality {X Y : FintypeCat.{u}} (f : X ⟶ Y)
(x : uSwitch.{u, v}.obj X) :
f (X.uSwitchEquiv x) = Y.uSwitchEquiv (uSwitch.map f x) := by
simp only [uSwitch, uSwitchEquiv, Equiv.trans_apply, Equiv.ulift_apply, Equiv.symm_apply_apply] | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | uSwitchEquiv_naturality | null |
uSwitchEquiv_symm_naturality {X Y : FintypeCat.{u}} (f : X ⟶ Y) (x : X) :
uSwitch.map f (X.uSwitchEquiv.symm x) = Y.uSwitchEquiv.symm (f x) := by
rw [← Equiv.apply_eq_iff_eq_symm_apply, ← uSwitchEquiv_naturality f,
Equiv.apply_symm_apply] | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | uSwitchEquiv_symm_naturality | null |
uSwitch_map_uSwitch_map {X Y : FintypeCat.{u}} (f : X ⟶ Y) :
uSwitch.map (uSwitch.map f) =
(equivEquivIso ((uSwitch.obj X).uSwitchEquiv.trans X.uSwitchEquiv)).hom ≫
f ≫ (equivEquivIso ((uSwitch.obj Y).uSwitchEquiv.trans
Y.uSwitchEquiv)).inv := rfl | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | uSwitch_map_uSwitch_map | null |
noncomputable uSwitchEquivalence : FintypeCat.{u} ≌ FintypeCat.{v} where
functor := uSwitch
inverse := uSwitch
unitIso := NatIso.ofComponents (fun X ↦ (equivEquivIso <|
(uSwitch.obj X).uSwitchEquiv.trans X.uSwitchEquiv).symm) <| by
simp [uSwitch_map_uSwitch_map]
counitIso := NatIso.ofComponents (fun X ↦... | def | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | uSwitchEquivalence | `uSwitch.{u, v}` is an equivalence of categories with quasi-inverse `uSwitch.{v, u}`. |
naturality (σ : F ⟶ G) (f : X ⟶ Y) (x : F.obj X) :
σ.app Y (F.map f x) = G.map f (σ.app X x) :=
congr_fun (σ.naturality f) x | lemma | CategoryTheory | [
"Mathlib.CategoryTheory.ConcreteCategory.Basic",
"Mathlib.CategoryTheory.Endomorphism",
"Mathlib.CategoryTheory.Skeletal",
"Mathlib.Data.Finite.Prod"
] | Mathlib/CategoryTheory/FintypeCat.lean | naturality | null |
GlueData where
/-- The index type `J` of a gluing datum -/
J : Type v
/-- For each `i : J`, an object `U i` -/
U : J → C
/-- For each `i j : J`, an object `V i j` -/
V : J × J → C
/-- For each `i j : J`, a monomorphism `f i j : V i j ⟶ U i` -/
f : ∀ i j, V (i, j) ⟶ U i
f_mono : ∀ i j, Mono (f i j) := ... | structure | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | GlueData | A gluing datum consists of
1. An index type `J`
2. An object `U i` for each `i : J`.
3. An object `V i j` for each `i j : J`.
4. A monomorphism `f i j : V i j ⟶ U i` for each `i j : J`.
5. A transition map `t i j : V i j ⟶ V j i` for each `i j : J`.
such that
6. `f i i` is an isomorphism.
7. `t i i` is the identity.
8.... |
@[simp]
t'_iij (i j : D.J) : D.t' i i j = (pullbackSymmetry _ _).hom := by
have eq₁ := D.t_fac i i j
have eq₂ := (IsIso.eq_comp_inv (D.f i i)).mpr (@pullback.condition _ _ _ _ _ _ (D.f i j) _)
rw [D.t_id, Category.comp_id, eq₂] at eq₁
have eq₃ := (IsIso.eq_comp_inv (D.f i i)).mp eq₁
rw [Category.assoc, ← pull... | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t'_iij | null |
t'_jii (i j : D.J) : D.t' j i i = pullback.fst _ _ ≫ D.t j i ≫ inv (pullback.snd _ _) := by
rw [← Category.assoc, ← D.t_fac]
simp | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t'_jii | null |
t'_iji (i j : D.J) : D.t' i j i = pullback.fst _ _ ≫ D.t i j ≫ inv (pullback.snd _ _) := by
rw [← Category.assoc, ← D.t_fac]
simp
@[reassoc, elementwise (attr := simp)] | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t'_iji | null |
t_inv (i j : D.J) : D.t i j ≫ D.t j i = 𝟙 _ := by
have eq : (pullbackSymmetry (D.f i i) (D.f i j)).hom =
pullback.snd _ _ ≫ inv (pullback.fst _ _) := by simp
have := D.cocycle i j i
rw [D.t'_iij, D.t'_jii, D.t'_iji, fst_eq_snd_of_mono_eq, eq] at this
simp only [Category.assoc, IsIso.inv_hom_id_assoc] at ... | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t_inv | null |
t'_inv (i j k : D.J) :
D.t' i j k ≫ (pullbackSymmetry _ _).hom ≫ D.t' j i k ≫ (pullbackSymmetry _ _).hom = 𝟙 _ := by
rw [← cancel_mono (pullback.fst (D.f i j) (D.f i k))]
simp [t_fac, t_fac_assoc] | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t'_inv | null |
t_isIso (i j : D.J) : IsIso (D.t i j) :=
⟨⟨D.t j i, D.t_inv _ _, D.t_inv _ _⟩⟩ | instance | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t_isIso | null |
t'_isIso (i j k : D.J) : IsIso (D.t' i j k) :=
⟨⟨D.t' j k i ≫ D.t' k i j, D.cocycle _ _ _, by simpa using D.cocycle _ _ _⟩⟩
@[reassoc] | instance | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t'_isIso | null |
t'_comp_eq_pullbackSymmetry (i j k : D.J) :
D.t' j k i ≫ D.t' k i j =
(pullbackSymmetry _ _).hom ≫ D.t' j i k ≫ (pullbackSymmetry _ _).hom := by
trans inv (D.t' i j k)
· exact IsIso.eq_inv_of_hom_inv_id (D.cocycle _ _ _)
· rw [← cancel_mono (pullback.fst (D.f i j) (D.f i k))]
simp [t_fac, t_fac_asso... | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | t'_comp_eq_pullbackSymmetry | null |
sigmaOpens [HasCoproduct D.U] : C :=
∐ D.U | def | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | sigmaOpens | (Implementation) The disjoint union of `U i`. |
diagram : MultispanIndex (.prod D.J) C where
left := D.V
right := D.U
fst := fun ⟨i, j⟩ => D.f i j
snd := fun ⟨i, j⟩ => D.t i j ≫ D.f j i
@[simp] | def | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | diagram | (Implementation) The diagram to take colimit of. |
diagram_fst (i j : D.J) : D.diagram.fst ⟨i, j⟩ = D.f i j :=
rfl
@[simp] | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | diagram_fst | null |
diagram_snd (i j : D.J) : D.diagram.snd ⟨i, j⟩ = D.t i j ≫ D.f j i :=
rfl
@[simp] | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | diagram_snd | null |
diagram_left : D.diagram.left = D.V :=
rfl
@[simp] | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | diagram_left | null |
diagram_right : D.diagram.right = D.U :=
rfl | theorem | CategoryTheory | [
"Mathlib.Tactic.CategoryTheory.Elementwise",
"Mathlib.CategoryTheory.Limits.Shapes.Multiequalizer",
"Mathlib.CategoryTheory.Limits.Constructions.EpiMono",
"Mathlib.CategoryTheory.Limits.Preserves.Limits",
"Mathlib.CategoryTheory.Limits.Types.Shapes"
] | Mathlib/CategoryTheory/GlueData.lean | diagram_right | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.