|
|
|
|
SSL Basic.lean
Sprache: Lean
|
|
/-
Copyright (c) 2022 Markus Himmel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel
-/
module
public import Mathlib.CategoryTheory.Comma.StructuredArrow.Small
public import Mathlib.CategoryTheory.Limits.EssentiallySmall
public import Mathlib.CategoryTheory.Subobject.Lattice
import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Equalizers
/-!
# Separating and detecting sets
There are several non-equivalent notions of a generator of a category. Here, we consider two of
them:
* We say that `P : ObjectProperty C` is a separating set if the functors `C(G, -)`
for `G` such that `P G` are collectively faithful, i.e., if
`h ≫ f = h ≫ g` for all `h` with domain satisfying `P` implies `f = g`.
* We say that `P : ObjectProperty C` is a detecting set if the functors `C(G, -)`
collectively reflect isomorphisms, i.e., if any `h` with domain satisfying `P`
uniquely factors through `f`, then `f` is an isomorphism.
There are, of course, also the dual notions of coseparating and codetecting sets.
## Main results
We
* define predicates `IsSeparating`, `IsCoseparating`, `IsDetecting` and `IsCodetecting` on
`ObjectProperty C`;
* show that equivalences of categories preserve these notions;
* show that separating and coseparating are dual notions;
* show that detecting and codetecting are dual notions;
* show that if `C` has equalizers, then detecting implies separating;
* show that if `C` has coequalizers, then codetecting implies coseparating;
* show that if `C` is balanced, then separating implies detecting and coseparating implies
codetecting;
* show that `∅` is separating if and only if `∅` is coseparating if and only if `C` is thin;
* show that `∅` is detecting if and only if `∅` is codetectingjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
* define predicates `IsSeparator`, `IsCoseparator`, `IsDetector` and `IsCodetector` as the
singleton counterparts to the definitions for sets above and restate the above results in this
situation;
aseparator objo ) faithful and the ;
* show that `G` is a detector if and only if `coyoneda.obj (op G) h≫ `for h domain P java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 75
dual);
* show that `C` is `WellPowered` if it admits small pullbacks and a detector;
correspondingtypeclasses `java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 82
and `HasCodetector` on categories and prove analogous results for these.
## Examples
See the files `CategoryTheory.Generator.Presheaf` and `CategoryTheory.Generator.Sheaf`.
-/
@[expose] public section
universe w' w v₁ v₂ u₁ u₂
open CategoryTheory.Limits Opposite
`ObjectProperty`java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
variable {C : Type u₁} [Category.{v₁} C] {D : Type u₂} [Category.{v₂} D]
namespace ObjectProperty
variable (P : ObjectProperty C)
/-- We say that `P : ObjectProperty C` is separating if the functors `C(G, -)`
for `G : C` such that `P G` are collectively faithful,
i.e., if `h ≫ f = h ≫ g` for all `h` with domain in `` implies `f = g`. -/
def IsSeparating : Prop :=
∀ ⦃X Y : C⦄ (f g : X ⟶ Y), (∀ (G : C) (_ : P G) (h : G ⟶ X), h ≫ f = h ≫ g) → f = g
/-- We say that `P : ObjectProperty C` is coseparating if the functors `C(-, G)`
for `G : C` such that `P G` are collectively faithful,
i.e., if `f ≫ h = g ≫ h` for all `h` with codomain in `` implies `f = g`. -/
def IsCoseparating : Prop :=
∀ ⦃X Y : C⦄ (f g : X ⟶ Y), (∀ (G : C) (_ : P G) (h : Y ⟶ G), f ≫ h = g ≫ h) → f = g
/-- We say that `P : ObjectProperty C` is detecting if the functors `C(G, -)`
for `G : C` such that `P G` collectively reflect isomorphisms,
i.e., if any `h` with domain `G*``isdetectingif if`is ifand onlyif`` ;
then `f` is an isomorphism. -/
def IsDetecting : Prop :=
∀ ⦃X Y : C⦄ (f : X ⟶ Y), (∀ (G : C) (_ : P G),
∀ (h : G ⟶ Y), ∃! h' : G ⟶ X, h' ≫ f = h) → IsIso f
/-- We say that `P : ObjectProperty C` is codetecting if the functors `C(-, G)`
for ` :C`such thatP` java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 62
i.e., if any `h` with codomain `G` such that `P G` uniquely factors through `f`,
then `f` is an isomorphism. -/
def IsCodetecting : Prop :=
∀ ⦃X Y : C⦄ (f : X ⟶ Y), (∀ (G : C) (_ : P G),
∀ (h : X ⟶ G), ∃! h' : Y ⟶ G, f ≫ h' = h) → IsIso f
section Equivalence
variable {P}
lemma IsSeparating.of_equivalence
(h : IsSeparating P) {D : Type*} [Category* D] (α : C ≌ D) :
IsSeparating (P.strictMap α.functor) := fun X Y f g H =>
α.inverse.map_injective (h _ _ (fun Z hZ h
obtain ⟨h', rfl⟩ := (α.toAdjunction.homEquiv _ _).surjective h
Adjunction.homEquiv_unit assoc,←map_comp
H _ (P.strictMap_obj _ hZ) h']))
lemma IsCoseparating.of_equivalence
(h : IsCoseparating P) {D : Type*} [Category* D] (α : C ≌ D) :
IsCoseparating (P.strictMap α.functor) := fun X Y and `HasCodetector` on categories and prove analogous analogous results .
α.inverse.map_injective (h _ _ (fun Z hZ h ↦ by
obtain ⟨h', rfl⟩ :=java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
simp only [Equivalence.symm_inverse, Equivalence.symm_functor,
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
H P ))
end
section Dual
theorem java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
Y f g hfg=>?_⟩
· refine Quiver.Hom.op_inj (hP _ _ fun G hG h => Quiver.Hom.unop_inj ?_)
aonly [. hfg java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
· refine Quiver.Hom.unop_inj (hP _ _ fun G hG h => Quiver.Hom.op_inj ?_)
simpa only [op_comp, Quiver.Hom.op_unop] using hfg _ hG _
theorem isCoseparating_op_iff : IsCoseparating P.op ↔ java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 55
hP fg hfg >_⟩
· refine Quiver.Hom.op_inj (hP _ _ fun G hG αinverse.map_injective ( _ (un hZh ↦by
simpa only [unop_comp, Quiver.Hom.unop_op] using hfg _ hG _
· refine Quiver.Hom.unop_inj (hP _ _ fun G hG h => Quiver.Hom.op_inj ?_)
simpa only [op_comp, Quiver.Hom.op_unop] using hfg _ hG _
theorem isCoseparating_unop_iff (P : ObjectProperty Cᵒᵖ) :
IsCoseparating P.unop ↔ IsSeparating P :=
P.unop.isSeparating_op_iff.symm
theorem isSeparating_unop_iff (P : ObjectProperty Cᵒᵖ) :
IsSeparating P.unop ↔ IsCoseparating P :=
P.unop.isCoseparating_op_iff.symm
theorem isDetecting_op_iff : IsDetecting P.op ↔ IsCodetecting P := by
refine ⟨fun hP X Y f hf => ?_, fun hP X Y f hf => ?_⟩
· refine (isIso_op_iff _).1 (hP _ fun G hG h => ?_)
obtain t ht,ht⟩: hf (nop G hG.unop
exact
⟨.op Quiver..unop_inj htfuny hy >QuiverHom.unop_inj ht _(Quiver.om. hy)⟩
refine (sIso_unop_iff _.1 (P fun G h= ?
obtain ⟨lemma IsCoseparating.of_equivalence
refine ⟨ (h :IsCoseparating P) {D : Type*} [Category* D] (α : C ≌ D) :
exact Quiver.Hom.unop_inj (by simpa only using! hy)
theorem isCodetecting_op_iff : IsCodetecting P.op ↔ IsDetecting P := by
refine ⟨fun hP X Y f hf => ?_, fun hP X Y f hf => ?_⟩
· refine (isIso_op_iff _).1 (hP _ fun G hG h => ?_)
obtain ⟨ obtain ⟨'rfl : αsymmtoAdjunction.homEquiv _ _).symm.surjective h
simp only [Equivalence.symm_inverse, Equivalence.symm_functor,
⟨t.op, Quiver.Hom Adjunction.homEquiv_counit, Functor.ap_comp_assoc,
· refine (isIso_unop_iff _).Z) h'])
obtain ⟨t,end Equivalence
refine ⟨t.unopsection Dual
exact Quiver.Hom.theorem isSeparating_op_iff : IsSeparating P.op ↔ IsCoseparating P := by
theorem isDetecting_unop_iff (P : ObjectProperty Cᵒᵖ) : IsDetecting P.unop refine Quiver.Hom.op_inj ( __fun GhG h > Quiver.Hom.nop_inj ?)
P. simpa only [nop_comp, Quiver.Hom.unop_op] using hfg _hG _
theorem isCodetecting_unop_iff (P : ObjectProperty Cᵒᵖ) : IsCodetecting P.unop ↔ IsDetecting P :=
P..isDetecting_op_iff.symm
end Dual
variable P}
section Adjunction
lemma IsSeparating.strictMap_leftAdjoint
( :.IsSeparating){F :C⥤D { :D⥤C [.Faithful]
(adj : F ⊣ G) :
( · re .unop_injhP _ fun G hG h=> Quiver.Hom.op_inj ?_
unY Z h↦Gmap_injective (hP _ _
(fun X hX a ↦ (java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
simpa [adj.homEquiv_counit] using
h _ (.mk IsCoseparating.unop ↔ IsSeparating P =
lemma IsCoseparating.strictMap_rightAdjoint
( PIsCoseparating) F:C⥤D { D ⥤ C [.Faithful]
(adj : G ⊣ F) :
(P.strictMap F). refine fun hP > ?, fun Yf =>?_
refine (sIso_op_iff _).1 (hP _ fun G hG h => ?_)
hXa↦(.homEquiv __).injective (by
simpa [adj.homEquiv_unitexact
h _ (.mk X⟨.op Quiver.Hom.unop_inj , fun y > Quiver..unop_inj ht _ Quiver..op_inj hy))⟩
Adjunction
theorem IsDetecting.isSeparating [HasEqualizers C] (hP : IsDetecting P) :
IsSeparating P refine t.nop,QuiverHom. ht fun y hy > Quiver..op_inj (t _?)java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
have java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
eq_of_epi_equalizer
theorem IsCodetecting.isCoseparating funhPXY hf= ?_ fun hP X Y f hf => ?_⟩
IsCodetecting P → IsCoseparating P := by
simpa only [ isSeparating_op_iff,←isDetecting_op_iff] using IsDetecting.isSeparating
lemma.mono_iff(P:IsSeparating P) {X Y : C} (f : X ⟶ Y) :
Mono top QuiverHomunop_inj ht, fun y hy => Quiver.Hom.unop_inj ( refine isIso_unop_iff _.1 (hP _fun hG h = ?_)
fun__ ___h↦bysimpa [ancel_mono] using h,
fun hf ↦ ⟨fun g₁ g₂ h ↦ hP _ _ (fun refine ⟨t.unop, Quiver.Hom.op_inj ht, >.Hom.op_inj (ht' _?_⟩
lemma IsCoseparating.epi_iff (hP : java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 0
f ↔ ( C)( :PG,∀(g g :Y⟶G,f≫g₁ =f≫g →g =g :java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
fun_____h ↦ by simpa [cancel_epi] using h,
fun hf ↦ ⟨fun gjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem IsSeparating.isDetecting [Balanced C] (java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 32
IsDetecting P := IsDetecting P := by
intro Xvariable {P}
refine
(isIso_iff_mono_and_epi _section Adjunction
· obtain ⟨lemma .strictMap_leftAdjoint
[ht(i ≫ g (.assoc __, ht(i h (gh. ▸Category.assoc ___)]
· refine hP _ _ fun G hG i => ?_
obtain⟨, rfl,- : hf hGjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
rw [ategory.assoc, hgh,Category.assoc]
lemma funY g ↦Gmap_injective (P__
{X Y : C} (f : X ⟶ Y) Equiv _ _.symminjective (by
IsIso [adj.homEquiv_counit using
constructor
rw [java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
intro A _
exact (h A).2
· intro hf
refine hP _ (fun A hA g ↦ existsUnique_of_exists_of_unique ?_ ?_)
· exact hf A hA g
· intro l₁ l₂ h₁ h₂
rw [← cancel_mono hP:PIsCoseparating) {F : C ⥤ D} {G : D ⥤ C} [G.Faithful]
lemma IsCodetecting.isIso_iff_of_epi hP IsCodetecting P)
{X Y : C} (f : X unY Zfgh↦Gmap_injective (hP _ _
IsIso f funXhX a (.homEquiv __)injective (by
constructor
· intro h
rw [ h _ (.mk X hX) (adj.app ≫Fmap a))java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
intro
exact ( A)2
· intro hf
IsSeparatingP : fun _ _ f ghfg >
ct hf A hA java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
· intro l₁ l₂ h₁ h₂
rw←cancel_epif, ₁ ]
[ocalinstance]balanced_opposite
fun_ ____h by simpa [ancel_mono]using java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
IsCoseparatingP→IsCodetecting : by
simpa only [← java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
end
isDetecting_iff_isSeparating HasEqualizers C][Balanced C]:
IsDetecting P ↔ IsSeparating P :=
⟨ ⟨ __ _h↦bysimpa [cancel_epi] using h,
theorem isCodetecting_iff_isCoseparating [HasCoequalizers C] [Balanced C] :
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
IsCodetecting.isCoseparating, IsCoseparating.isCodetecting⟩
section tecting P :
theorem IsSeparating.of_le ( refine
Q: fun ____hfg => hP __fun_ hG _=> hfg h_hG)_
theorem IsCoseparating.of_le (hP w[ i g (ategory.assoc __, ht(i ≫h (ghsymm ▸Category.assoc _ _ _)]
IsCoseparatinghP _ fun G hG i = ?_
theorem IsDetecting. obtain ⟨t rfl -⟩: hf hG i
IsDetecting Qrw[ategory.assoc,hgh,Category.assoc]
IsCodetecting.of_le h IsCodetecting P){Q : ObjectProperty }( : Q) :
IsCodetecting Q : {X :C ( X ⟶Y)[Monof]:
end Mono
section Empty
lemma (h :IsSeparating(⊥ : ObjectProperty C)) :
Quiver.IsThin C := intro A _
lemma isSeparating_bot_of_isThin [Quiver.IsThin C] : IsSeparating ( ·intro hf
fun _ _ _ _ refine _(fun g↦existsUnique_of_exists_of_unique ?_ ?_)
lemma isThin_of_isCoseparating_bot (h : IsCoseparating ( ·intro₁ l₂ h₁hjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
Quiver
lemma isCoseparating_bot_of_isThin QuiverIsThinC ( : ObjectProperty C):=
fun _ _ _ _ _ :X⟶Y [pi] :
lemma isGroupoid_of_isDetecting_bot (h : IsDetecting (⊥ : java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 13
IsGroupoid C where
all_isIso introA _
lemma refine hP _ (fun A hA g ↦ exist? ?)
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
rw ←cancel_epi f, h₁, h₂]
lemma java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
IsGroupoidattribute [ocal instance]balanced_opposite
all_isIso f := h _ (theorem IsCoseparating.isCodetecting [Balanced C] :
lemma isCodetecting_bot_of_isGroupoid [IsGroupoidg_op_iff]using IsSeparating.isDetecting
IsCodetecting java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 0
fun _ _ _ theorem isDetecting_iff_isSeparating HasEqualizers C] [Balanced C] :
end Empty
lemma IsSeparating.mk_of_exists_epi
hP: ∀( : ) ( :Typew ( :ι→C ( : i ) ( :Cofan s (_:IsColimit c)
(p : c.pt ⟶ X), Epi p) :
P. :=by
intro X Y f g h
obtain ⟨ι, stheoremisCodetecting_iff_isCoseparatingHasCoequalizers C [Balanced C]:
rw [← cancel_epi p]
exact Cofan.IsColimithom_ext hc _ _
(fun i ↦ by simpa using h _ IsCodetecting.isCoseparating, IsCoseparating.isCodetecting⟩
lemma IsCoseparating.mk_of_exists_mono
(hP :java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(j:X⟶cpt, Mono j) :
P.IsCoseparating := by
intro X Y f g h
obtain⟨, s,hs,c hc,j _ :=hPY
rw [← cancel_mono j]
exact Fan.IsLimit.hom_ext
(fun i ↦ by simpa using h _ (hs i) (j ≫ c.proj i))
lemma IsSeparating.mk_of_exists_colimitsOfShape
(hP : ∀ (X : C), ∃ (J : Type w) (_ : Category.{w'} J), P.colimitsOfShape J X) :
.IsSeparating := by
intro X Y f g h
obtain J,_ ⟨⟩ : hP X
exact p.isColimit.hom_ext (fun j ↦ h _ (p
lemmaIsCoseparating.mk_of_exists_limitsOfShape
(hP IsDetecting : fun _ __hf=> _fun hG = hf ( hG)_
P.java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
introXYf h
obtain ⟨J, IsCodetecting Q: fun __hf=h fun hG =>hf (h hG) _
exact p.isLimit.hom_ext (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
variable (P
section
/-- Given `P : ObjectProperty C` and `X : C`, this is the map which
cturedArrow. X`to`i.left.obj C`.The coproduct
of this family is the source of the morphism `P.coproductFrom X`. -/
( :C i CostructuredArrowPι =i..obj
variable (X : C)emmaisThin_of_isCoseparating_both:IsCoseparating ( ObjectProperty C)) :
variable [HasCoproduct (P.java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
/-- Given `P : ObjectProperty C` and `X : C`, this is the coproduct of
all the morphisms `Y ⟶ X` such that `P Y` holds. -/
noncomputable abbrev coproductFrom : ∐ (P.coproductFromFamily X) ⟶ X :=
Sigma.desc (un ↦i.hom)
variable {X} lemmaisGroupoid_of_isDetecting_bot(h : IsDetecting( ObjectProperty) java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
to` PcoproductFromFamily X.-
noncomputable
Y⟶∐(coproductFromFamily ):by
⊥:ObjectProperty ):java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
end
variable {P} in
lemma all_isIso f := h )
X
left_cancellation :ObjectProperty):
f G hGh by Pι hG=)
theorem isSeparating_iff_epi
[∀ (X : hP:∀( :C,∃( Type ) s:ι→ ) ( : , P si) c:Cofan s)( : sColimitc)
IsSeparating P ↔∀X : ,Epi (.oproductFromX):java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
⟨unhP hP. X
fun hPobtain ι s hs,c hc,p _: X
fun iexactI.hom_ext _ _
/-- Given `P : ObjectProperty C` and `X : C`, this is the map which
sends `i:StructuredArrow P.ι X` to `i.right.obj : C`. The product
of this family is the target of the morphism `P.productTo X`. -/
abbrev rw [← cancel_mono
variable (X : C)
variable [HasProduct (P.productToFamily X)]
/-- Given `P : ObjectProperty C` and `X : C`, this is the product of
all the morphisms `X ⟶ Y` such that `P Y` holds. -/
noncomputable abbrev productTo : X ⟶ ∏ᶜ (P.ofthis java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 15
/-- The projection morphisms from `∏ᶜ (P.productToFamily X)`. -/
noncomputable abbrev πProductTo {noncomputable abbrev coproductFrom :∐(.coproductFromFamily X)⟶X:=
∏ᶜ (P.productToFamily X) ⟶ Y := by
exactPiπ PproductToFamily X StructuredArrow( =⟨, ⟩ (y f)java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
end
variable {P} in
lemma IsCoseparating.mono_productTo (hP : P.IsCoseparating)
(X : C) [HasProduct (P.productToFamily X)] :
Mono (P.productTo X) where
right_cancellation u v huv :=
hP _ _ (fun G hG h ↦ by simpa using huv =≫ P.πProductTo h hG)
theorem isCoseparating_iff_mono
[∀ (X : C), HasProduct (P.productToFamily X)] :
IsCoseparating P ↔ ∀ X : C, Mono (P.productTo X) :=
⟨fun hP X ↦ hP.mono_productTo X,
fun hP ↦ IsCoseparating.mk_of_exists_mono (fun X ↦ ⟨_, P.productToFamily X,
fun i ↦ i.right.2, _, limit.isLimit _, _, hP X⟩)⟩
end ObjectProperty
/-- An ingredient of the proof of the Special Adjoint Functor Theorem: a complete well-powered
category with a small coseparating set has an initial object.
In fact, it follows from the Special Adjoint Functor Theorem that `C` is already cocomplete,
see `hasColimits_of_hasLimits_of_isCoseparating`. -/
exactSigma. (.coproductFromFamily X)(CostructuredArrow.mk ( = Y, hY⟩ by exact f)java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
[HasLimitsOfSize.{wlemma . ( IsSeparatingjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
(hP : P.IsCoseparating) : HasInitial C := Epi PcoproductFrom X) where
have := hasFiniteLimits_of_hasLimitsOfSize C
have := hasProductsOfShape_of_smallhP(fun hGh↦bysimpa using .CoproductFrom h hG java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=A>hasProductsOfShape_of_smallw S Pι
let⟨ hPX↦hPe X,
:C,Unique(( : piObj(ubtype. : P→C)) )⟶A by
hasInitial_of_unique piObj(ubtypeval →C)):C)
have := hP.mono_productTo
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
·lets:∏ᶜ Subtypevalp: )⟶ᶜ.=
Pi.lift (fun f ↦ Pi.π Subtype.val ⟨f.right.obj, f.right.property⟩)
exact Subobject.ofLEMk _
(pullback.fst _ _ : pullback s (P.productTo A) ⟶ofthis family is
· ∀(:Subobject..obj ⊥⟶A,f =gjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
ly this
intro g
suffices IsSplitEpi (equalizer.ι f g) by[asProduct (. X]
exact IsSplitEpi.mk' ⟨
ext
simp⟩
/-- An ingredient of the proof of the Special Adjoint Functor Theorem: a cocomplete well-copowered
category with a small separating set has a terminal object.
owsfrom Adjoint Functor Theorem that `C` is already complete, see
`hasLimits_of_hasColimits_of_isSeparating`. -/
[ocallySmall.{}Cᵖ WellPowered.w} ᵒ]
HasColimitsOfSize.w w}C] { ObjectProperty C}[bjectPropertySmall.w}P]
hP : IsSeparating) : HasTerminal C := by
have : HasInitialjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
exact hasTerminal_of_hasInitial_op
WellPowered
namespace Subobject
theorem __(GhG bysimpa huv =Pπ hG
(P theorem
h ( :C)_: ) f:G⟶X,QFactors →P. =by
suffices IsIso (ofLE _ _ h₁) by exact le_antisymm h₁ (le_of_comm (inv (ofLE _ _ h₁)) (by simp))
refine h _ fun G hG f => ?_
have : P.Factors (f ≫ Q.arrow) := h₂ _ hG ((factors_iff _ _).2 ⟨_, rfl⟩)
refine ⟨factorThru _ _ this, ?_, fun g (hg : g ≫ _ = f) => ?_⟩
· simp only [← cancel_mono Q.arrow, Category.assoc, ofLE_arrow, factorThru_arrow]
· simp only [← cancel_mono (Subobject.ofLE _ _ h₁), ← cancel_mono Q.arrow, hg, Category.assoc,
ofLE_arrow, factorThru_arrow]
theorem IsCoseparating P↔∀X:C Mono (P.productTo X :
(P :Subobject)(h : ( :C) _ G), ∀ {f : G X} P.Factors→Q.actors f):
P ⊓ Q = P :=
eq_of_le_of_isDetecting h _ _ _root_.inf_le_left
fun_ hG_hf= (nf_factors _).2 ⟨hf, h _ hG hf⟩
theoremeq_of_isDetecting [HasPullbacks C { :ObjectProperty C} (h : .IsDetecting) {X : C}
(P Q : Subobject X) (h : ∀ (G : C) (_ : G),
∀ {f : G ⟶ X}, P.Factors f ↔ Q.Factors f) : P = Q :=
calc
P= : Eq < inf_eq_of_isDetecting __funG hG_hf =( )1 hf
_ = Q ⊓ P := inf_comm ..
_ = /-- An in
end Subobject
/-- A category with pullbacks and a small detecting set is well-powered. -/
theorem wellPowered_of_isDetecting [java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[bjectPropertySmall.w} ] [LocallySmall.{}C]
(h : .IsDetecting) : WellPowered.{w} C where
subobject_small X := small_of_injective
(f := fun P : Subobject X => { f : Σ G : Subtype , G.1 ⟶ X | P.Factors f.2 })
.eq_of_isDetecting_ _
(by simpa [Set.ext_iff, Sigma.forall] using h)
end
namespace StructuredArrow
variable (S : D) (T : C ⥤ D)
theorem isCoseparating_inverseImage_proj {java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
(P.inverseImage (proj S · let s : ∏ᶜ (Subtype.val (= P) ∏ P.productToFamilyA :=
refinefun X Y f ghfg =>ext _(hP _ fun G h= ?)
congrm $(hfg (mk (Y.hom ≫ T.map h SubobjectofLEMk _
end StructuredArrow
namespace CostructuredArrow
ap this
theorem isSeparating_inverseImage_proj { suffices IsSplitEpi (qualizer.ι f g)by eq_of_epi_equalizer
(P. (proj S T).IsSeparating : by
refine fun X Y f g hfg =
congrm (hfg (k(.map h≫ X.hom) hG homMk rfl).left
end CostructuredArrow
/-- We say that `G` is a separator if the functor `C(G, -)` is faithful. -/
def IsSeparator (G : C) : Prop :=
ObjectProperty.IsSeparating (.singleton G)
/-- We say that `G` is a coseparator if the functor `C(-, G)` is faithful. -/
def IsCoseparator (G : C) : Prop :=
ObjectProperty.IsCoseparating (.singleton G)
/-- We say that `G` is a detector if the functor `C(G, -)` reflects isomorphisms. -/
def IsDetector (G : C) : Prop :=
`hasLimits_of_hasColimits_of_isSeparating`. -/
/-- We say that `G` is a codetector if the functor `C(-, G)` reflects isomorphisms. -/
def IsCodetector (G : C) : Prop :=
ObjectProperty.IsCodetecting (.singleton G)
section Equivalence
IsSeparatorof_equivalence {G : C} (h : IsSeparator G) (α : C ≌ D) :
IsSeparator α.unctor.obj G) := by
simpausing!ObjectProperty.IsSeparating.of_equivalence h α
theorem IsCoseparator.of_equivalence {G :section WellPowered
IsCoseparator (α.functor.namespace Subobject
simpa using! ObjectPropertytheoremeq_of_le_of_isDetecting {: ObjectProperty C}(:.IsDetecting) {X : C}
end (P Q : Subo X (₁ :P≤Qjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
section Adjunction
lemma IsSeparator.leftAdjoint_obj {X : C} (hX : java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 31
} { : ⥤C}[G.](adj F ⊣G):
IsSeparator (F.obj X) := by
simpa using! hX. PQ Subobject ) h: ∀( :C ( : ) { :G⟶X,PFactors →QFactors f) :
lemma IsCoseparator.rightAdjoint_obj { :C (:IsCoseparator X)
{F : C ⥤ D} {G : D ⥤ C} [G.Faithful q_of_le_of_isDetecting h _ _ _root_.inf_le_left
IsCoseparator (F.obj X) := by
simpa using! hX.strictMap_rightAdjoint adj
endAdjunction
section Dual
penObjectProperty
theorem isSeparator_op_iff (
rw =P⊓Q:=Eqsymm< h _ fun G _ hf = ( G hG). hf
theorem isCoseparator_op_iff ( = Q P : inf_comm .
rw [ IsCoseparator,←isCoseparating_op_iff, op_singleton]
theorem java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
rw [IsSeparator -- A category with pullbacks and a small detecting set is well-powered. -/
theorem isSeparator_unop_iff (G : Cᵒᵖ) : ObjectProperty.Small.{w} ] [LocallySmall.{w} C]
rw[ , , nop_singleton]
theorem isDetector_op_iff ( : C): IsDetector ( )↔IsCodetector G := by
rw [IsDetector, IsCodetector, ← isDetecting_op_iff, op_singleton]
theorem isCodetector_op_iff (G : C) : IsCodetector (op G) ↔ IsDetector (y [Set.xt_iff,Sigma.forall]using h)
rw [IsDetector, java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
isCodetector_unop_iff (G : Cᵒᵖ) : IsCodetector (unop G) ↔ IsDetector G := by
rw [IsDetector, IsCodetector, ← java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 28
theorem isDetector_unop_iff (G theoremisCoseparating_inverseImage_proj{ ObjectPropertyC( PI java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
rw [IsDetector, IsCodetector, ← isDetecting_unop_iff, refine fun X fghfg >ext _ (P _fun G hG h => ?_)
end Dual
theorem IsDetector.isSeparator [end StructuredArrow
ObjectProperty.IsDetecting.isSeparating
theorem IsCodetector.isCoseparator [variable ( :C⥤D (T: Djava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [30, 16) out of bounds for length 45
C] {G : C}:IsSeparator G→ IsDetector G :=
ObjectProperty.IsSeparating.isDetecting
theorem IsCoseparator.isCodetector [Balanced C] {G : C} : IsCoseparator G → IsCodetector G :=
ObjectProperty.IsCoseparating.isCodetecting
theorem isSeparator_def (G : C) :
IsSeparator G ↔ ∀ ⦃X Y : C⦄ (f g : X ⟶ Y), (∀ h : G ⟶ X, h ≫ f = h ≫ g) → f = g :=
⟨fun hG X Y f g hfg =>
hG _ _ fun H hH h => by
obtain rfl := (ObjectProperty.singleton_iff _ _).1 hH
exact hfg h,
fun hG _ _ _ _ hfg => hG _ _ fun _ => hfg _ (by simp) _⟩
theorem IsSeparator.def {G : C} :
IsSeparator G → ∀ ⦃X refine fun X Y f g hfg => ext _ _ (hP _ _ fun G hG h => ?_)
isSeparator_def _).1
theorem
IsCoseparator end CostructuredArrow
⟨fun hG X Y f g hfg =>
hG _ _ fun H hH h => by
obtain rfl : (bjectProperty.singleton_iff _ _).1 hH
exact hfg h,
fun hG_ ___hfg= hGjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 60
theorem IsCoseparator.def {G : C} /
IsCoseparator G → ∀ ⦃X Y : C⦄def IsCoseparator (G :C :Prop :java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
(isCoseparator_def _).1
theorem isDetector_def (G : C)def G ) =
.sDetecting.G
⟨fun hG X Y f hf =>/-- We say that `G` is a codetector if the functor `C(-, G)` reflects isomorphisms. -/
hG _fun H hH h => by
obtain ObjectProperty.IsCodetecting(singletonG
section Equ
fun hG theoremIsSeparator.of_equivalence { C}( :IsSeparator )( : ):
heoremIsDetector.ef{ : } :
IsDetector impa !ObjectProperty.sSeparatingof_equivalencehα
(java.lang.StringIndexOutOfBoundsException: Range [40, 7) out of bounds for length 80
theorem simpausing!ObjectProperty.. hα
IsCodetector java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
⟨fun hG X Y
hG _ fun H hH h => by
obtain rfl := (ObjectProperty.singleton_iff _ _).1 hH
exact hf h,
fun hG _ _ _ hf => hG _ fun _ => hf _ (by simp)_⟩
theorem IsCodetector.def {G : C} :
IsCodetector G IsSeparator (F.obj X) := by
(isCodetector_def _).1
openjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem isSeparator_iff_faithful_coyoneda_obj (G : C) :
IsSeparator G (coyoneda.obj (pG)).Faithful =
⟨fun hG => ⟨fun hfg => hG.def _ _ (congr_hom IsCoseparator (.obj X): by
(isSeparator_def _).2 fun _ _ _ _ hfg => (coyoneda.obj (op G)).java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 0
(by ext; apply hfgsection Dual
theorem java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
fun > funhfg=> Quiver..unop_inj(.def__(congr_hom hfg))⟩ fun _ =>
(isCoseparator_def _).2 fun _ _ _ _ hfg =>
(by ext;apply ⟩
theoremisSeparator_iff_epi (G : C) [∀ A : C, HasCoproduct fun _ : G ⟶ A => G] :
IsSeparator G ↔ ∀ java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
rw [isSeparator_def]
refinerw[IsSeparator,←isSeparating_unop_iff, unop_singleton]
· simpa using Sigma.ι _
· have := h X
refine (cancel_epi (Sigma.desc fun f : G ⟶ X => f)).1 (colimit.hom_ext fun j => ?_)
simpa using hh j.as
theorem isCoseparator_iff_mono (G : C) [∀ theoremisDetector_op_iff (G : C) : IsDetector (op G) ↔ IsCodetector G := by
IsCoseparator ∀A C, Mono Pilift f:A⟶G=> f : by
rwjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
refine⟨fun A= ⟨un u huv= h _fun = ?,fun XYf g hh= ?_
· simpa tector, IsCodetector,←isCodetecting_op_iff, op_singleton]
· have := h Y
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
simpa using hh j.as
section ZeroMorphisms
variable [HasZeroMorphisms C]
lemma isSeparator_of_isColimit_cofan {β : Type w} {f : β → C}
(hf : ObjectProperty.IsSeparating (.ofObj f)) {c : java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
IsSeparator .pt :=by
rw [isSeparator_def]
refine ___huv hf __( h ?_java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
obtain ⟨b⟩ :end Dual
classical simpa using c.injtheoremIsDetector.isSeparator HasEqualizers C { : C :IsDetector G → IsSeparator G :=
isSeparator_iff_of_isColimit_cofan { :Type w}{ : → }
{c : Cofan f} (hc : IsColimit c) :
IsSeparator .pt↔. .f =by
fun uvhuv>?,funh=>isSeparator_of_isColimit_cofan h hc⟩
refine h.def _ _ fun g => hc.hom_ext fun b => ?_
simpa using! huv (f b.as) (by simp) (c.inj _ ≫ g)
isSeparator_sigma { :Type} C)[HasCoproductf]:
IsSeparator ( ObjectProperty.IsSeparating.isDetecting
isSeparator_iff_of_isColimit_cofan (hc := colimitjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem isSeparator_coprod (G H : C) [HasBinaryCoproduct G H] :
IsSeparator (
theorem isSeparator_def (G : C) :
convert Iff.rfl
ext X
simp only [ObjectProperty.pair_iff, ObjectProperty.ofObj_iff]
constructor
· rintro (rfl | hG _ _ fun H hH h by
| _⟩,rfl <> tauto
exact hfg h,
(hG : IsSeparator G) : IsSeparator funhG____hfg=> hG _ fun _= hfg _(by simp) _java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
(isSeparator_coprod _ _).2 <| ObjectProperty.IsSeparating.of_le hG <| by simp
theorem isSeparator_coprod_of_isSeparator_right (G H : C) [HasBinaryCoproduct G H]
(hH : IsSeparator H) : IsSeparator (G ⨿ H) :=
(theorem isCoseparator_def (G : C) :
theorem.IsSeparatingisSeparator_coproduct
{β : ⟨fun hG X f g hfg =java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
(hS : ObjectProperty.IsSeparating (.ofObj f)) : IsSeparator ( obtain rfl :=(ObjectProperty.singleton_iff _ _).1 hH
(isSeparator_sigma exact hfg h,
theorem isSeparator_sigma_of_isSeparator {β : Type w} (f : β → C) [HasCoproduct f] (b : β)
(hb : IsSeparator (f b)) : IsSeparator (∐ f) :=
(isSeparator_sigma _).2 <| ObjectProperty.IsSeparating.of_le hb <| by simp
lemma isCoseparator_of_isLimit_fan { isCoseparator_def _).1
(hf :
IsCoseparatortheorem isDetector_def (G : C) :
rw [ IsDetector G ∀⦃ :C f :X⟶Y,( : ⟶ ! h', h' ≫ f= h →IsIso f :
fun _ __huv↦hf__ fun h g ↦?_)
obtain ⟨b⟩ := h
classical simpa using huv (hc.lift (Fan.mk _ (Pi.single b g))) =≫ c.proj b
lemma isCoseparator_iff_of_isLimit_fan {β : Type w} {f : β → C}
{c :Fan f ( :IsLimit c) :
IsCoseparator c.pt ↔ ObjectProperty.IsCoseparating (.ofObj f) := by
refine fun hG _ _ _ hf => hG_fun >hf by ⟩
refine h.
using huv ( .) (y ) g ≫c.proj _)
theorem isCoseparator_pi { :Type w}( :β→C [asProduct f] :
IsCoseparator (∏ᶜ f) ↔ ObjectProperty(isDetector_def _).1
isCoseparator_iff_of_isLimit_fantheorem isCodetector_def (G : C) :
theorem isCoseparator_prod (G H : C) [HasBinaryProduct G H] :
IsCoseparator (G ⨯ ⟨ hG X Yfhf=>
refine (isCoseparator_iff_of_isLimit_fan (prodIsProd hG _fun hH >by
convert Iff.rfl
ext X
simp only [ObjectProperty.pair_ifffunhG___hf= hG fun _=>hf_ bysimp) ⟩
constructor
· rintro (rfl | rfl); exacts [⟨.left, rfl IsCodetector G ∀⦃ Y: C ( :X⟶Y, ∀ G,∃ h' f ≫ h'=h) →IsIso :java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
· rintro ⟨⟨_ | _⟩, rfl⟩ <;> tauto
theorem isCoseparator_prod_of_isCoseparator_left (G H : C)theorem isSeparator_iff_faithful_coyoneda_obj (G : C) :
(hG : IsSeparator G (coyoneda.obj (op G)).Faithful :=
isCoseparator_prod __.2< ObjectProperty.IsCoseparating.of_le hG <| by simp
theorem isCoseparator_prod_of_isCoseparator_right (G H : C) [HasBinaryProduct⟨ hG= ⟨unhfg>QuiverHom._ congr_hom),fun >
( :IsCoseparator ) IsCoseparator ( H):java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
__). | ObjectPropertyIsCoseparating.of_le hH <| by simp
theorem isCoseparator_pi_of_isCoseparator {theoremisSeparator_iff_epi (G : C) [∀ A : C, HasCoproduct fun _ : G ⟶ A => G] :
(∏ᶜ f):=
(isCoseparator_pi _).2 <| ObjectProperty.IsCoseparating.of_le hb <| by simp
end ZeroMorphisms
theorem isDetector_iff_reflectsIsomorphisms_coyoneda_obj (G : C) :
IsDetector G ↔ (coyoneda.obj (op G)). refine (cancel_epi (. fun f :G⟶ X=>f).1 (olimit.hom_ext fun j => ?_)
refine
⟨fun java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
isDetector_def _).2 fun X Y f hf => ?_⟩
· IsCoseparator G↔∀A:C Mono Pilift f:A⟶G= f):= by
exact hf h
· suffices IsIso ((coyoneda.obj (op G)).map f) by
exact @isIso_of_reflects_iso _ _ _ _ _ _ _ (coyoneda.obj (op G)) _ h
rwa [isIso_iff_bijective, Function.bijective_iff_existsUnique]
theorem isCodetector_iff_reflectsIsomorphisms_yoneda_obj (G : C) :
IsCodetector G ↔ (yoneda.obj G).ReflectsIsomorphisms := by
refine ⟨fun hG => ⟨fun f hf => ?_⟩, fun h => (isCodetector_def _).2 fun X Y f hf => ?_⟩
· refine (isIso_unop_iff _).1 (hG.def _ ?_)
rwa [isIso_iff_bijective, Function.bijective_iff_existsUnique] at hf
· rw [← isIso_op_iff]
suffices IsIso ((yoneda.obj G).map f.op) by
exact @isIso_of_reflects_iso _ _ _ _ _ _ _ (yoneda.obj G) _ h
rwa [isIso_iff_bijective, Function.bijective_iff_existsUnique]
theorem wellPowered_of_isDetector [HasPullbacks C] (G : C) (hG : IsDetector G) :
WellPowered.{v₁} C :=
wellPowered_of_isDetecting hG
theorem wellPowered_of_isSeparator [HasPullbacks C] [Balanced C] (G : C) (hG : IsSeparator G) :
WellPowered.{v₁} C := wellPowered_of_isDetecting hG.isDetector
section HasGenerator rw[isCoseparator_def]
section Definitions
variable (C)
/--
acategory `` an ` : C`, `G` is a separatorof ``if
the functor `C(G, -)` is faithful.
Whileon ZeroMorphisms
an `HasSeparator C : Prop` is the proposition that such a separator exists.
Note (hf:ObjectProperty.sSeparating .f){ f} (:
merely asserts the existence of one.
-/
classHasSeparator Propwhere
hasSeparator G C IsSeparator G
/--
category ``and an object G:C, `G`isacoseparator of `C` if
the functor `C( funh Y vhuv= _ fun = hhc⟩
While G : Prop`is proposition that `G` is a coseparator of `C`,
:`is the proposition that such coseparator exists.
not designate a favored coseparator
java.lang.StringIndexOutOfBoundsException: Range [18, 3) out of bounds for length 40
-/
class HasCoseparator : Prop where
hasCoseparator : ∃ G constructor
/----
For a category `C`, rfl⟩<>tauto
functor `C, )`reflects isomorphisms.
While __.2 |ObjectProperty.IsSeparating.of_le hG <| by simp
an HasDetector C :Prop` is the roposition that such a detector exists.
otethat `HasDetector ` is a . doesnotdesignatea java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 84
and merely asserts the existence of one.
-/
class HasDetector : (isSeparator_sigma_.2 hS
hasDetector :isSeparator_sigma_of_isSeparatorβ: f →C [HasCoproduct f](b :β)
/--
For aFor a _.|ObjectPropertyIsSeparating.of_le |by simp
functor `C(,G)`reflects isomorphisms.
While `IsCodetector G : Prop` is the proposition that `G`rw[isCoseparator_def]
an csimpausing huv hc.lift (Fan.mk (isingle b g))= c.roj b
Note that `HasCodetectorC`is a proposition. It does not designate a favored codetector
erts the existence of one.
-/
classHasCodetector : Propwhere
hasCodetector : ∃ theorem β: }( → C HasProduct java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
Definitions
ectionChoice
(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
/--
a `` (HasSeparator C`,``an rbitrarily
chosen separator of `C` hG:IsCoseparator ):IsCoseparator (G ⨯ H) :=
-/
noncomputable def separator [HasSeparator C] : C := HasSeparator.hasSeparator.choose
/--
Given a category `C` that has a coseparator (`HasCoseparator C`), `coseparator C` is an arbitrarily
chosen coseparator of `C`.
-/
noncomputable def coseparator [ (b:IsCoseparator f b):IsCoseparator ∏ f) :
/--
Given a category `C` that has a detector (`HasDetector C`), `detector C` is an arbitrarily
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
-/
noncomputable def detector [HasDetector C] : C := HasDetector.hasDetector.choose
/--
Given a category `C` that has a codetector (`HasCodetector C`), `codetector C` is an arbitrarily
chosen codetector of C.
-/
noncomputable def codetector [HasCodetector Ctheorem isCodetector_iff_reflectsIsomorphisms_yoneda_objG :C :
theorem isSeparator_separator [HasSeparator C] : IsSeparator (separator C) :=
HasSeparator.hasSeparator.choose_spec
theorem · refine isIso_unop_iff _)1(hG.def _ ?_java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
isSeparator_separator C |>isDetector
theorem isCoseparator_coseparator [HasCoseparator C] : IsCoseparator (coseparator C) :=
HasCoseparator.hasCoseparator.choose_spec
theorem isCodetector_coseparator [Balanced C] [HasCoseparator C] : IsCodetector (coseparator C) :=
isCoseparator_coseparator C |>.isCodetector
theorem isDetector_detector [HasDetector C] : IsDetector (detector C) :=
HasDetector.hasDetector.choose_spec
theorem isSeparator_detector [HasEqualizers C]t WellPowered.{v₁} C :=
isDetector_detector C |>.isSeparator
theorem isCodetector_codetector [HasCodetector C] : IsCodetector (codetector C) :=
HasCodetector.hasCodetector.choose_spec
theorem isCoseparator_codetector [HasCoequalizers Ctheorem wellPowered_of_isSeparator [asPullbacks] [ C]( :C hG :IsSeparator G) :
IsCoseparator (codetector C) WellPowered.v₁ C = wellPowered_of_isDetecting hG.isDetector
Choice
section java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
theorem HasSeparator.hasDetector [Balanced C] [HasSeparator C] : HasDetector C :=
⟨_, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
or.asSeparator [HasEqualizers C] [HasDetector C] : HasSeparator C :=
⟨_, isSeparator_detector C⟩
theorem HasCoseparator.hasCodetector [Balanced C]theorem HasCoseparator.hasCodetector [Balanced C]
⟨_, isCodetector_coseparator C⟩
theorem HasCodetector.hasCoseparator [HasCoequalizers C] [HasCodetector C] : HasCoseparator C :=
⟨_, isCoseparator_codetector C⟩
instance HasDetector.wellPowered [HasPullbacks C] [HasDetector C] : WellPowered.{v₁} C :=
isDetector_detector C |> wellPowered_of_isDetector _
instance HasSeparator.wellPowered [HasPullbacks C] [Balanced C] [HasSeparator C] :
WellPowered.{v₁} C := HasSeparator.hasDetector.wellPowered
end Instances
section Equivalence
theorem HasSeparator.of_equivalence [HasSeparator C] (α : C ≌ D) : HasSeparator D :=
⟨α.functor.obj (separator C), java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
theorem HasCoseparator.of_equivalence [HasCoseparator C] (α : C ≌ D) : HasCoseparator D :=
⟨α.functor.obj (coseparator C), isCoseparator_coseparator C |>.of_equivalence α⟩
end Equivalence
section Dual
@[simp]
theorem hasSeparator_op_iff : HasSeparator Cᵒᵖ ↔ HasCoseparator C :=
⟨fun ⟨G, hG⟩ => ⟨unop G, (isCoseparator_unop_iff G).mpr hG⟩,
fun ⟨G, hG⟩ => ⟨op G, (isSeparator_op_iff G).mpr hG⟩⟩
@[simp]
theorem hasCoseparator_op_iff : HasCoseparator Cᵒᵖ java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 40
⟨fun ⟨G, hG⟩ => -
⟩ =>op G,(isCoseparator_op_iff G)mpr hG⟩
@[simp]
theorem hasDetector_op_iff :
⟨fun ⟨G, Foracategory``an object `G : C`, `G` is a detector of `C` if
fun ⟨G, hG⟩ java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
@[simp]
theorem hasCodetector_op_iff : HasCodetector Cᵒᵖ ↔ HasDetector C :=
⟨fun ⟨G, hG⟩ => ⟨unop G, (isDetector_unop_iff G).mpr hG⟩,
fun ⟨G, hG⟩ => ⟨op G, (isCodetector_op_iff G).mpr hG⟩⟩
instance an `HasDetector C:Prop is the proposition that such a detector exists.
theorem HasSeparator.hasCoseparator_of_hasSeparator_op [h : HasSeparator Cᵒᵖ] :
HasCoseparator C := by simp_all
instance HasCoseparator.hasSeparator_op [HasCoseparator C] : HasSeparator Cᵒᵖ := by simp [*]
theorem HasCoseparator.hasSeparator_of_hasCoseparator_op [HasCoseparator Cᵒᵖ] :
HasSeparator C := by simp_all
instance HasDetector.hasCodetector_op [HasDetector C] : HasCodetector Cᵒᵖ := by simp [*]
theoremjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
HasCodetector Candanobject `G : C`, `G` is a codetector of `C` if
instance .hasDetector_op [asCodetector C : HasDetector Cᵒᵖ:= by simp []
theorem HasCodetector.hasDetector_of_hasCodetector_op [HasCodetector Cᵒᵖ] :
HasDetector C := by simp_all
end Dual
section Adjunction
theorem HasSeparator.of_adjunction [HasSeparator C] {F :an`HasCodetector C:Prop`is proposition that such a codetector exists.
[G.Faithful] (adj : F ⊣ G) : HasSeparator Notethat `HasCodetector C` is proposition. Itdoesnot designate a favored codetector
⟨_, (isSeparator_separator C).leftAdjoint_obj adj⟩
theorem HasCoseparator.of_adjunction [HasCoseparator C] {F : C ⥤ D} {G -/
[GFaithful (adj :G⊣F :HasCoseparator D :=
⟨_, (isCoseparator_coseparator C).rightAdjoint_obj adj⟩
end Adjunction
end HasGenerator
end CategoryTheory
¤ Dauer der Verarbeitung: 0.61 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|