|
|
|
|
Quelle 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` * show that `G` isa if andonlyif`coyoneda. (pG`is (dual)
` ≫f =h≫ g for all``with 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 *define HasSeparator`, `HasCoseparator`, `HasDetector`
## Main results
We
* define predicates `IsSeparating`, `IsCoseparating`, `IsDetecting` and `IsCodetecting` on
` 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
codetecting;
* show that `∅` is separating if and only if `∅` is coseparating if and only if `C` iejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
show that ∅ is detecting andonly `∅ codetecting if and C is a groupoid;
* 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;
* show that `G` isfor G ` G`collectively reflect isomorphisms,
* show that `G` is a detector if and only if `coyoneda.obj (op G)` reflects isomorphisms (and the
dual);
* show that `C` ish↦by
* define corresponding typeclasses `HasSeparator`, `HasCoseparatorsimponly[homEquiv_unit,Category. Functor.,
and `HasCodetector` on categories and prove results forthese.
## Examples
See the files `CategoryTheory.Generator.Presheaf` and `CategoryTheory.Generator.Sheaf`.
-/
@[expose] public section
_(.strictMap_obj_hZ h'])
open CategoryTheoryend Equivalence
namespace
variable {C : Type u₁} [Category.{v₁} C] {D Yf _java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
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` that `P G` uniquely factors through `f`,
then `f` is an isomorphism. -/
def IsDetecting : Prop :=
∀ ⦃X simp [unop_comp, Quiver.Homunop_op]using hfg _ hG_
∀ (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 `G : C` such that `P G` collectively reflect isomorphisms,
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 α. refine ⟨fun hP X Y f g hfg => ?_, fun XY = ?_⟩
. h__f Z ↦
obtain ⟨h', rfl⟨, ' =( ) h
t,Hom , = .(' .op_inj)
H _ (·refine(_1( _ hG >_)
h:java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 66
IsCoseparating (P.strictMap α.functor) := fun X Y f g H =>
α.inversejava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
h, ⟩:(..java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 76
[ java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 66
←mjava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 59
]
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 72
refine ⟨funjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
· hP G = ._java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
u]hfg_java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
theoremjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 97
simpa only [op_comp, Quiverunopjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32
{}
refine ⟨
·
hP:P : }G ⥤}Gjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
fineQuiver.Hom.(__ >Hom _
simpa only [op_comp,f Zfg .java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 41
theorem isCoseparating_unop_iff (P : ObjectProperty Cᵒᵖ) :
P↔:
P.unop.java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
theorem isSeparating_unop_iff (P : ObjectProperty Cᵒᵖ) :
IsSeparating P.unop ↔ IsCoseparating P :=
P.unop.isCoseparating_op_iff.symm
theorem isDetecting_op_iff hP:.{ }G:⥤Gjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
fine⟨hPXYfhf= _fun hPhPX hf= _
·(java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 53
obtain (fun X adj ) by
java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
t,htfunyhy=Hom('_(Hom
· end
obtain ⟨[java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 73
refine⟨. .op_inj,= Hom h'__⟩
exact Quiver.Hom.unop_inj (by simpa only using! hy)
theorem isCodetecting_op_iffjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
refine⟨ f >?,Xfjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
· refinesimpa← java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 89
IsSeparating h java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 73
exact
⟨.,..java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 100
·()1( Gh >?)
obtain ⟨t, ht, ht'⟩ := hf (op G⟨ cjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 52
fun yhy= Quiver )java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
exactjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem isDetecting_unop_iff (P : ObjectProperty Cᵒᵖ) :Epi↔∀(: _ ) ₁₂ ) ₂→₁ ₂=
P.unop.⟨ ↦ [java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
theorem java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
P.unop.isDetecting_op_iff.symm
Pjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
IsSeparating
( rw i )Category_ ) i≫)(symm )java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
(adj : F t ⟩=G i
(P.strictMap F).IsSeparating C, java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 44
Zf h .h java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
_).java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 55
simpa[]
h _ (.mk X
lemma IsCoseparating.strictMap_rightAdjoint
( .java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 64
(adj : G ⊣ F) :
((P:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
f Z .java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 41
( a↦adj )java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 50
simpa [adj.·
.unit Z≫.))
end Adjunction
theoremhA.java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
P=__f =
have : ct hf A hAg
eq_of_epi_equalizer
theorem IsCodetecting.isCoseparating [java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 23
IsCodetecting [ f,h,h₂
simpa only
lemma attribute [
⟨ _ ↦by c h,
fun hf ↦ ⟨fun g₁ g₂ h ↦ hP _ _ P :by
lemma IsCoseparating.epi_iff (hP : IsCoseparating P)
Epi f theorem [HasEqualizers]C]java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
fun_ _ java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 51
fun java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 75
theorem IsSeparating.isDetecting [Balanced C] (⟨java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 62
:by
intro X Y f hf
(IsSeparating =_ > _( )_
· java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
r ht(≫)(_ _) i≫)(. java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 88
· refine __ hG>?java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
obtain⟨,rfl,- =G java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
[ java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 44
lemmatheoremIsCodetecting(: Q:C h:P≤ java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
Y }f:⟶ java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
end
constructor
· intro h
rw [isThin_of_isSeparating_bot: ⊥: java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 76
introA_
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 12
hP funAhA java.lang.StringIndexOutOfBoundsException: Range [65, 62) out of bounds for length 69
· exact hf A hA g
ll₂ ₂
rw [← cancel_mono f, h₁, h₂]
lemma IsCodetecting.isIso_iff_of_epi (hP[. ]:IsCoseparating⊥: =
)E f:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
constructor
· intro h
rw [java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 22
A _
exact (
· intro hf
sUnique_of_exists_of_unique _?java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
· exact hf A hA g
· intro l₁ l₂ h₁ h₂
[ java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 33
section
l
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 89
end
[java.lang.StringIndexOutOfBoundsException: Range [53, 51) out of bounds for length 69
IsDetecting ( X:C,∃ι )s )_:∀,P (s i)) c )( java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
⟨.IsSeparating java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
[ ][C java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
IsCodetecting P ↔ IsCoseparatingexact.java.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 38
⟨java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 62
lemmajava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 38
theorem IsSeparating.of_le (hP : IsSeparating P) {Q : .) jjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
IsSeparating Q := fun _ _ ιs ,hc ,⟩: java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
Pjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
IsCoseparating Q⟨ ,p⟩: java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
theorem IsDetecting
Q:_ = hP __=hf_ h_)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
theorem IsCodetecting.of_le (h gh
=_ > h___= _(_ java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
end Mono
section Empty
lemma java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
Quiver.sends `i : Costru Pι obj:C.
lemma isSeparating_bot_of_isThin [Quiver.IsThin C] : IsSeparating (of family is the
fun _abbrevcoproductFromFamily X )(: . X):C : .leftobj
( ⊥:):
Quiver.IsThin C java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
lemma isCoseparating_bot_of_isThin [Quiver.IsThin C]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fun _ _ _ _ _ ↦ Sigma.descf i .)
lemma ( : ⊥: C)):
IsGroupoid C where
all_isIso f := morphisms ∐(. X)` -
∐(.X =
IsDetecting( ObjectPropertyC =
fun _ _ _ _ ↦ inferInstance
lemma isGroupoid_of_isCodetecting_bot (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
IsGroupoid C where
_ (by simp)
lemma Epi (P.coproductFrom) where
⊥ : C =
hP__(un ↦ simpausing .CoproductFrom h ≫=huv
end Empty
lemma IsSeparating.mk_of_exists_epi
( X:) ι:Typew( →C_∀i ( )( _:I )
(p ↔ :C (c ) =
P.IsSeparating := by
intro X Y f ⟨un X↦hPepi_coproductFrom,
⟨,, ,hc ,⟩ =hP
rw [← cancel_epi p]
exact Cofan.sColimithc _ _
lemma IsCoseparating.mk_of_exists_mono
(hP : ∀ (X sends ` java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 67
(j : X ⟶ c.pt), Mono j) :
P.IsCoseparating := by
intro X Y f g h
obtain ⟨ι, s, hs,of this family is java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
j]
exact Fan.IsLimit.hom_ext hc _ _
(fun i ↦ by java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
lemma IsSeparating.mk_of_exists_colimitsOfShape
(hP : ∀ (X : C), ∃ (J : Type w) (_ : Category.{w'} J), P.colimitsOfShape J X) :
P.IsSeparating := by
intro X Y f g h
obtain ⟨J, _, ⟨p⟩⟩ := hP X
exact p.isColimit.hom_ext (fun j ↦ h _ (p.prop_diag_obj _) _)
lemma IsCoseparating.mk_of_exists_limitsOfShape
(hP : ∀ (X : C), ∃ (J : Type w) (_ : Category.{w'} J), P.limitsOfShape J X) :
P.IsCoseparating := by
intro X Y f g h
obtain ⟨J, _, ⟨p⟩⟩ := hP Y
exact p.isLimit.hom_ext (fun j ↦ h _ (p.prop_diag_obj _) _)
variable (P)
section
/-- Given `P : ObjectProperty C` and `X : C`, this is the map which
sends `i : CostructuredArrow P.ι X` to `i.left.obj : C`. The coproduct
of this family is the source of the morphism `P.coproductFrom X`. -/
abbrev coproductFromFamily (X : C) (i : CostructuredArrow P.ι X) : C := i.left.obj
variable (X : C)
variable [HasCoproduct (P.variable {X} in
/-- Given `P : ObjectProperty C` and `X : C`, this is the coproduct of
all the morphisms `Y ⟶ X` such that `P Y` holds. -/
P java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
Sigma.desc ( .π (.productToFamily X)(.mk Y: YhY)bexact)
variable {X} in
/-- The inclusion morphisms to `∐ (P.coproductFromFamily X)`. -/
noncomputable java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
see
ιP mkY:⟨,hY)(y)
end
variable {P} in
lemma IsSeparatingepi_coproductFrom(P:P.)
(X : C) [HasCoproduct (P.coproductFromFamily X)] :
(.java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 33
left_cancellation u v huv :=
_ _ G Pιjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 69
theorem isSeparating_iff_epi
[∀ (X : C), HasCoproduct (P.coproductFromFamily X)] :
IsSeparating P have := fun = .{} C (tructuredArrowA.ι
fun ↦ .pi_coproductFromX,
fun suffices∀A:C, (⊥:Subobject( (ubtype.al :Subtype P C)):C )
fun i ↦ i.left.2, exact ((⊥:Subobject( (ubtype. :SubtypeP C)) C)
section
/-- Given `P : ObjectProperty C` and `X : C`, this is the map which
ᶜ(ubtype. ( =P) ∏ PproductToFamily A :java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
of this family is the target of the morphism `P.productTo X`. -/
suffices∀g underlying ) by
variable ly this
variable H PproductToFamily)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
/-- Given `P : ObjectProperty C` and `X : C`, this is the product of
all the morphisms `X ⟶ Y` such that `P Y` holds. -/
noncomputable abbrev fromtheSpecialAdjoint java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 98
Pi.lift (fun i ↦ i.hom)
variable {X} in
/-- The projection morphisms from `∏ᶜ (P.productToFamily X)`. -/
noncomputable abbrevtheoremhasTerminal_of_isSeparating[ocallySmall.w ᵒ][{}Cᵖ
[.,w ] P:ObjectProperty }[.Small.w}]
exact Pi( :P.java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 47
end
variable {P} in
lemma IsCoseparating.java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
(X :section WellPowered
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
right_cancellationjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hP_ fun h↦by using = .ProductToh)
isCoseparating_iff_mono
(₂:∀( :C ( G,∀{ } .Factorsf→P.Factors f) : P = Q: by
,( )=
⟨ Q X :∀G )(:⟶,Factors f . java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
fun hP >ijava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 54
fun HasPullbacks]{ java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 97
P ⊓Q=.symm|h GhG = hG hG)1java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
/-- An ingredient of the proof of the Special Adjoint Functor Theorem: a complete well-powered
category with java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
In fact, it follows from the Special Adjoint Functor Theorem that `O.{} {
see `hasColimits_of_hasLimits_of_isCoseparating`. -/
theorem fun P Q h => Subobject h java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
WellPowered
(hP : P.IsCoseparating) : java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 25
have := hasFiniteLimits_of_hasLimitsOfSize C
have :theoremjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 89
have := fun A => hasProductsOfShape_of_small.{w} C (StructuredArrow A P.ι)
let := completeLatticeOfCompleteSemilatticeInf (Subobject (piObj (Subtype.val : Subtype P → C)))
suffices ∀ A : C, Unique (((⊥ : Subobject (piObj (Subtype.val : Subtype P → C))) : C) ⟶ A) by
exact hasInitial_of_unique ((⊥ : Subobject (piObj (Subtype.val : Subtype P → C))) : C)
have := hP.mono_productTo
refine fun A => ⟨⟨?_⟩, fun f => ?_⟩
p := )⟶ᶜ A:=
Pi.lift (fun f Yf = _ hP__fun hG >_java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
exact. java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
(
· suffices ∀ (gjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 27
ply
intro g
(ιfg)exact
exact IsSplitEpi.mk(inverseImage T):
ext
simp⟩$( S )( h)
/-- 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.
In fact, it follows from the Special Adjoint Functor Theorem that `C` is already complete, see
`hasLimits_of_hasColimits_of_isSeparating`. -/
java.lang.StringIndexOutOfBoundsException: Range [86, 6) out of bounds for length 86
[HasColimitsOfSize.{java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(hP : P.IsSeparating) : HasTerminal CtheoremIsSeparator.java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 76
(.objG =
exact java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 61
C h java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 86
bject)h )
(h₂ : ∀ (G : C) (_ : G), ∀
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
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 {F : C ⥤ D G:D GFaithful : java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
( :X( G )_ G,∀f: } . f→.java.lang.StringIndexOutOfBoundsException: Range [90, 89) out of bounds for length 94
P ⊓ Qlemma{:}(hX java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 67
ejava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 52
fun _ hG _ hf = java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 33
theorem eq_of_isDetecting
(P Q :
∀ {f : G ⟶ Xo
P . | inf_eq_of_isDetecting__GhG_hf >hG.
_=⊓ =.
IsSeparator, java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 72
end Subobject
-- A category with pullbacks and a small detecting set is well-powered. -/
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
[java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 54
(h IsSeparator,IsCoseparator←isSeparating_unop_iffunop_singletonjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
subobject_small X := small_of_injective
(f := fun P : Subobject X => { f : Σ G : Subtype , G.1 ⟶ X | G:C opG java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(simpa. java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 54
end WellPowered
theoremjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 84
variable (S : D) (T : C ⥤ D)
theorem { : } hP :P.sCoseparating):
(P.inverseImage (proj S T)).IsCoseparating := by
refinefunXY = __ h _ java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 61
congrm $(hfg (mk (YendDual
namespace CostructuredArrow
S )( )
theorem ObjectProperty.IsCodetecting.isCoseparating
(P.inverseImage (proj S T)).theorem IsSeparator.isDetector [Balanced:C java.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 85
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 61
congrm $(hfg (mk (java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 23
/-- We say that `G` is a separator if the functor `C(G, -)` is faithful. -/
def IsSeparator :Ojava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 59
ObjectProperty.IsSeparating (. > _ _ fun _ => hfg _ (by simp) _⟩
/-- We say that `G` is a coseparator if the functor `C(-, G)` is faithful. -/
(:) =
ObjectProperty.IsCoseparating (.singleton G)
/-- We say that `G` is a detector if the functor `C(G, -)` reflects isomorphisms. -/
IsDetector( :C :Prop :java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
ObjectProperty. (singleton )
/-- We say that `G` is a codetector if the functor `C(-, G)` reflects isomorphisms. -/
def hG _ hH
ObjectProperty. (singleton )
ivalence
of_equivalence {:C h G α:C≌D java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
IsSeparator ( .ef { :C} :
susing I. α
theorem IsCoseparator.of_equivalence {G : C} (h : IsCoseparator G) (α : C ≌ D) :
IsCoseparator
IsCoseparatingof_equivalence α
end Equivalence
section Adjunction
lemma IsSeparator.leftAdjoint_obj {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 31
simpa using! hX.strictMap_leftAdjoint
lemma IsCoseparator.rightAdjoint_obj {X : C}java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{F ↔coyonedaobjo ):java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
FX =
simpa using! hX.strictMap_rightAdjoint adj
end Adjunction
open ObjectProperty
theorem isSeparator_op_iff ⟨hG=⟨ >Hom hG ),_=java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
rw [IsSeparator, IsCoseparator, ← Quiver.Hom.op_inj <| (yoneda.obj G).map_injectiveext hfg)
theorem isCoseparator_op_iff ( java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 80
rw [IsSeparator, IsCoseparator, ← isCoseparating_op_iff, op_singleton]
theorem isCoseparator_unop_iff (G : Cᵒᵖ) : IsCoseparator (unop G) ↔ IsSeparator G := by
rw [IsSeparator, IsCoseparator, ← isCoseparating_unop_iff, unop_singleton]
theorem isSeparator_unop_iff (G : Cᵒᵖ) : IsSeparator (unop G) ↔ IsCoseparator G := by
, IsCoseparator java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 76
rw [IsDetector, G↔ :,(. fun >):
theorem isCodetector_op_iff (G : C) : funh >⟨uv > _ i>?_⟩,h g hh =?⟩
java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 69
theorem isCodetector_unop_iff (G java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
rwjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 61
theorem isDetector_unop_iff (G : Cᵒᵖ) : c =java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
rw [ fun_ ↦_ fun_g↦?)
nd
[]G } java.lang.StringIndexOutOfBoundsException: Range [73, 69) out of bounds for length 90
lemmaβ f:β→Cjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
theorem c ObjectProperty.sSeparating(ofObj ):
refine⟨ hXY v = _ hcjava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
theorem IsSeparator.isDetector theorem β w (f :β→C ]:
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 41
theorem IsCoseparator.isCodetector [Balanced C] java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ObjectProperty.IsCoseparating.isCodetecting
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
IsSeparator G ↔ ∀ java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
⟨fun hG X Y
=>by
obtain · rintro ⟨⟨_ ⟩;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
>___>_simp ⟩
theorem IsSeparator.def {G : C} :
IsSeparator G → ∀ ⦃X Y : C⦄ (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(isSeparator_def _).1
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 35
ObjectProperty.
Y >
hG _ _ fun H hH h => by
: java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
fun hGtheoremjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 90
theorem IsCoseparator.def {G : C java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0
(java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 32
↔∀ XY ⦄( : ) (h: G⟶Y,∃ )→=
⟨fun hGrefine__ (_hg _java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
hG _ fun H hH h => by
obtain rfl := c }hc:java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 34
exact hf h,
fun_= _(simp)_java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
simpa!(bas bsimp( _java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
IsDetector theoremβ f )Hjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 66
)1
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 61
fun Y java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
Hh=
obtain rfl :convert rfl
exact hf h,
> _ _ hf _( _
theorem IsCodetector.def {G : C} :
IsCodetectorG→ X ⦄f )( h : X ⟶ G,!h,≫h f=
(isCodetector_def _).1
open ConcreteCategory
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 55
↔(java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 53
⟨fun hG => ⟨fun hfg => hG.(_) |java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 81
(isSeparator_defjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(by ext; apply hfg)⟩
theorem isCoseparator_iff_faithful_yoneda_obj (G : C) : IsCoseparator G ↔ (yoneda.obj G).Faithful :=
⟨un >⟨un = Quiver..nop_inj (hG.def _(congr_hom hfg)⟩ _ =
(isCoseparator_def _ hH H:G⨯ =
Quiver.Hom. (isCoseparator_prod ).<.java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 81
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 80
IsSeparator G ↔ ∀ A : C, Epi ((hb : IsCoseparator (f b)) : IsCoseparator =
rw [isSeparator_def]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
· simpajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
· have := h X
Sigmadescf: >).cjava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 87
simpa using hh j
theorem isCoseparator_iff_mono (G : C) (java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 46
,(. fun > = java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
refine ⟨/
For Cand anobject` ` java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
· have := h Y
refine (cancel_mono (Pi.lift fun f : Y ⟶ G => f)).1 (limit.hom_ext fun j => ?_)
simpa using hh j.as
variable [HasZeroMorphisms C]
lemma isSeparator_of_isColimit_cofan {β : Type w} {f : β → C}
I(ofObj f) c:Cofan f} (c IsColimit c) :
IsSeparator c.pt := by
rw [isSeparator_def]
refine fun _ _ _ _ huv ↦ hf _ _ (fun _ h and java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
:
classical :∃:,G
lemma isSeparator_iff_of_isColimit_cofan {Fora``` `G java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 72
{c : Cofan f} (hc : IsColimit c) :
IsSeparator c.pt ↔ ObjectProperty.IsSeparating (.ofObj f) := by
refine⟨ Xu >?,funh> isSeparator_of_isColimit_cofan h java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
refine h.def _ _ fun g => hc.hom_ext fun b => ?_
simpa using! huv (f b.as) (by simp) (c.inj _ ≫ g)
`IsCoseparator: thejava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 83
IsSeparator (∐ f) ↔ ObjectProperty.IsSeparating (.ofObj f) :=
isSeparator_iff_of_isColimit_cofan (hc := colimit.isColimit _)
theorem an `HasCoseparator C:Prop the ajava.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 79
IsSeparator (G ⨿ H) ↔ ObjectProperty.Note that `HasCoseparator C` is a proposition. It does
refine (and merely asserts the existence of one.
convert Iff.rfl
ext X
simp only [ObjectProperty.java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 33
· rintro (rfl | /--
⟩ ;
theorem isSeparator_coprod_of_isSeparator_leftthe `(G-`java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
(hG : java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
(isSeparator_coprod )2< java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 79
theorem isSeparator_coprod_of_isSeparator_right (G H : C) [an`C: pjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 73
(hH : IsSeparator H) : IsSeparator (G ⨿ H) :=
(isSeparator_coprod _ _).2 <| ObjectProperty.IsSeparating.of_le hH <| N C propositionIt favored detector
theorem ObjectProperty.IsSeparating.isSeparator_coproduct
{β : Type w} {f : β → C} [HasCoproduct f]
(hS : ObjectProperty.IsSeparating (.ofObj f)) : IsSeparator (∐ f) :-
)2
heorem isSeparator_sigma_of_isSeparator { : Type w}( :β→)[ )
(hbjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
eparator_sigma ). < ObjectProperty..of_le hb<
lemma isCoseparator_of_isLimit_fan {β : Type w} {f : β → Cthe `- ) java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
(hf : ObjectProperty.IsCoseparating
IsCoseparator c.pt := by
refine fun _ _ _ _ huv ↦ hf _ _ (fun _ h g ↦ ?_)
obtain ⟨b⟩ := h
lassical (clift(_P.) ≫p
lemma isCoseparator_iff_of_isLimit_fan {β : Type w} {f : β → C}
{c : Fan f} (hc : IsLimit c) :
IsCoseparator c. ` a.Itdoesa
refine ⟨fun h X Y u v huv => ?_, fun h => isCoseparator_of_isLimit_fan h hc⟩
refine h.def _ _ fun g => hc.hom_ext fun b refine h.def ofjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
simpa :
theorem isCoseparator_pi{ :Typew f:β→ C)[HasProduct f]:
IsCoseparator (∏ᶜ f) ↔ ObjectProperty.IsCoseparating (.ofObj f) :=
isCoseparator_iff_of_isLimit_fan (hc := limit.isLimit _)
theorem isCoseparator_prod (G H : C) [HasBinaryProduct G H] :
IsCoseparator (G ⨯ H) ↔ end
refine (isCoseparator_iff_of_isLimit_fan (prodIsProd G H)s Choice
convertvariable ()
ext X
simp only [ObjectProperty.pair_iff, ObjectProperty.ofObj_iff]
constructor
· rintroGiven categoryC that hasaseparator` C) `separator C`is ana
· rintro ⟨⟨_ | _⟩, rfl⟩ <;> tauto
theorem isCoseparator_prod_of_isCoseparator_left (G H : C) [HasBinaryProduct G H]
( G java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 53
(isCoseparator_prod _ _).2 <| ObjectProperty.IsCoseparating.of_le hG <| by simp
theorem isCoseparator_prod_of_isCoseparator_right (G H : C) [HasBinaryProduct G H]
(hH : IsCoseparator H) : IsCoseparator (G ⨯ H) :=
(isCoseparator_prod _ _).2 <| ObjectProperty.IsCoseparating.of_le hH <| by simp
theorem isCoseparator_pi_of_isCoseparator {β : Type w} (f : β → C) [HasProduct ft
h ( ) (ᶜ)=
(isCoseparator_pi _).2 <| java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 0
end ZeroMorphisms
theorem isDetector_iff_reflectsIsomorphisms_coyoneda_obj (G : C) :
IsDetector G ↔ (coyoneda.obj (op G)).ReflectsIsomorphisms := by
refine
⟨fun hG => ⟨fun f hf => hG.def _ fun h => ?_⟩, fun h =/
(isDetector_def _).2 fun X Y f hf => ?_⟩
· rw [isIso_iff_bijective, Function.bijective_iff_existsUnique] at hf
exact hf h
· suffices IsIso ((coyoneda.obj (op G)).map f) by
exact @isIso_of_reflects_iso _ _ _ _ _ ``
rwa [isIso_iff_bijective/
( ):
IsCodetector G ↔ (yoneda.obj G).java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
·(_)1 hG. _?)
rwa [isIso_iff_bijective, Function.bijective_iff_existsUnique] at hf
· C|.
suffices IsIso ((yoneda.obj G
exact @isIso_of_reflects_iso _ _ _ _ _ _ _ (yoneda.obj java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 0
rwa [isIso_iff_bijective, Function.bijective_iff_existsUnique]
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
wellPowered_of_isDetecting hG
[ C BalancedC]G )(G java.lang.StringIndexOutOfBoundsException: Range [91, 90) out of bounds for length 95
{}C:java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 66
sectionendjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
section Definitions
variable (C)
/--
For a category `theorem HasDetect.java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 86
While `IsSeparator G : Prop` is
an `HasSeparator C : Prop` is the proposition that such a separator exists.
Note that `HasSeparator C`java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
and merely asserts the existence of one.
-/
class HasSeparator :java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hasSeparator : ∃ G : C, IsSeparator G
/--
For a category `C` and an object `G : C`, `G` is a coseparator of `C` if
the functor `C(-, G)` is faithful.
While `IsCoseparator G : Prop` is the proposition that `G` is a coseparator of `C`,
an `HasCoseparator C : Prop` is the proposition
Note that `HasCoseparator C` is a proposition. It does not designate a java.lang.StringIndexOutOfBoundsException: Range [0, 78) out of bounds for length 62
andmerely asserts the existence of one.
-/
class fun ⟨G, hG ⟨G isCoseparator_op_iffG.⟩java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
hasCoseparator : ∃ G : C, IsCoseparator[simpjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
/--
a ``and => ⟨op G, (isDetector_op_iff G).mpr hG⟩⟩
the functor `C(G, -)` reflects isomorphisms.
While `IsDetector G : Prop` is the proposition that `G` is a detector of `C`,
` java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 73
Note that `HasDetector C` is a proposition. It does java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 0
and merely asserts the existence of one.
-/
class HasDetector : Prop where
hasDetector : ∃ G : C, IsDetector G
/--
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 71
the functor `C(-, G)` reflectsHasCodetectorH]:ᵒ *
While `IsCodetector G : Prop` is java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
thejava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 77
C a
and merely asserts the existence of one.
-/
class HasCodetector .] ):java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 52
hasCodetector : ∃ G : C, IsCodetector G
end Definitions
section Choice
variable (C)
/--
Given a category `C` that has a separator (`HasSeparator C`), `separator C` is an arbitrarily
chosen separator of `C`.
-/
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 [HasCoseparator C] : C := HasCoseparator.hasCoseparator.choose
/--
Given a category `C` that has a detector (`HasDetector C`), `detector C` is an arbitrarily
chosen detector of `C`.
-/
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 C] : C := HasCodetector.hasCodetector.choose
theorem isSeparator_separator [HasSeparator C] : IsSeparator (separator C) :=
HasSeparator.hasSeparator.choose_spec
theorem isDetector_separator [Balanced C] [HasSeparator C] : IsDetector (separator C) :=
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] [HasDetector C] : IsSeparator (detector C) :=
isDetector_detector C |>.isSeparator
theorem isCodetector_codetector [HasCodetector C] : IsCodetector (codetector C) :=
HasCodetector.hasCodetector.choose_spec
theorem isCoseparator_codetector [HasCoequalizers C] [HasCodetector C] :
IsCoseparator (codetector C) := isCodetector_codetector C |>.isCoseparator
end Choice
section Instances
theorem HasSeparator.hasDetector [Balanced C] [HasSeparator C] : HasDetector C :=
⟨_, isDetector_separator C⟩
theorem HasDetector.hasSeparator [HasEqualizers C] [HasDetector C] : HasSeparator C :=
⟨_, isSeparator_detector C⟩
theorem HasCoseparator.hasCodetector [Balanced C] [HasCoseparator C] : HasCodetector 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), isSeparator_separator C |>.of_equivalence α⟩
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ᵒᵖ ↔ HasSeparator C :=
⟨fun ⟨G, hG⟩ => ⟨unop G, (isSeparator_unop_iff G).mpr hG⟩,
fun ⟨G, hG⟩ => ⟨op G, (isCoseparator_op_iff G).mpr hG⟩⟩
@[simp]
theorem hasDetector_op_iff : HasDetector Cᵒᵖ ↔ HasCodetector C :=
⟨fun ⟨G, hG⟩ => ⟨unop G, (isCodetector_unop_iff G).mpr hG⟩,
fun ⟨G, hG⟩ => ⟨op G, (isDetector_op_iff G).mpr hG⟩⟩
@[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 HasSeparator.hasCoseparator_op [HasSeparator C] : HasCoseparator Cᵒᵖ := by simp [*]
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 [*]
theorem HasDetector.hasCodetector_of_hasDetector_op [HasDetector Cᵒᵖ] :
HasCodetector C := by simp_all
instance HasCodetector.hasDetector_op [HasCodetector 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 : C ⥤ D} {G : D ⥤ C}
[G.Faithful] (adj : F ⊣ G) : HasSeparator D :=
⟨_, (isSeparator_separator C).leftAdjoint_obj adj⟩
theorem HasCoseparator.of_adjunction [HasCoseparator C] {F : C ⥤ D} {G : D ⥤ C}
[G.Faithful] (adj : G ⊣ F) : HasCoseparator D :=
⟨_, (isCoseparator_coseparator C).rightAdjoint_obj adj⟩
end Adjunction
end HasGenerator
end CategoryTheory
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|