The Mathlib Handbook

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

The areas / V24. Category theory

Mathlib.CategoryTheory.Subobject.Classifier.Defs

92 declarations. Mathlib docs · Source

Subobject Classifier

We define a structure containing the data of a subobject classifier in a category C as CategoryTheory.Subobject.Classifier C.

c.f. the following Lean 3 code, where similar work was done: https://github.com/b-mehta/topos/blob/master/src/subobject_classifier.lean

Main definitions

Let C refer to a category with a terminal object.

  • CategoryTheory.Subobject.Classifier C is the data of a subobject classifier in C.

  • CategoryTheory.HasSubobjectClassifier C says that there is at least one subobject classifier. Ω C denotes a choice of subobject classifier.

Main results

  • It is a theorem that the truth morphism ⊤_ C ⟶ Ω C is a (split, and therefore regular) monomorphism, simply because its source is the terminal object.

  • An instance of IsRegularMonoCategory C is exhibited for any category with a subobject classifier.

  • CategoryTheory.Subobject.Classifier.representableBy: any subobject classifier Ω in C represents the subobjects functor CategoryTheory.Subobject.presheaf C, assuming C has pullbacks.

  • CategoryTheory.SubobjectRepresentableBy.classifier: any representation Ω of CategoryTheory.Subobject.presheaf C is a subobject classifier in C.

  • CategoryTheory.hasClassifier_isRepresentable_iff: from the two above mappings, we get that a category C with pullbacks has a subobject classifier if and only if the subobjects presheaf CategoryTheory.Subobject.presheaf C is representable (Proposition 1 in Section I.3 of [MM92]).

References

  • [S. MacLane and I. Moerdijk, Sheaves in Geometry and Logic][MM92]

The representability theorem of subobject classifiers

From classifiers to representations

From representations to classifiers

theorem CategoryTheory.SubobjectRepresentableBy.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] (Ω Ω_1 : C),
  Ω = Ω_1 → CategoryTheory.SubobjectRepresentableBy Ω = CategoryTheory.SubobjectRepresentableBy Ω_1

theorem CategoryTheory.HasSubobjectClassifier.χ.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasSubobjectClassifier C] {U X : C}
  (m m_1 : U ⟶ X) (e_m : m = m_1) [inst_2 : CategoryTheory.Mono m],
  CategoryTheory.HasSubobjectClassifier.χ m = CategoryTheory.HasSubobjectClassifier.χ m_1

theorem CategoryTheory.Subobject.Classifier.χ.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (self : CategoryTheory.Subobject.Classifier C) {U X : C}
  (m m_1 : U ⟶ X) (e_m : m = m_1) [inst_1 : CategoryTheory.Mono m], self.χ m = self.χ m_1

theorem CategoryTheory.SubobjectRepresentableBy.π.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {U X : C} (m m_1 : U ⟶ X) (e_m : m = m_1)
  [inst_2 : CategoryTheory.Mono m], h.π m = h.π m_1

def CategoryTheory.Subobject.Classifier.ctorIdx E1 #

{C : Type u} → {inst : CategoryTheory.Category.{v, u} C} → CategoryTheory.Subobject.Classifier C → ℕ

theorem CategoryTheory.Subobject.Classifier.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {Ω₀ Ω : C} {truth : Ω₀ ⟶ Ω}
  {mono_truth : autoParam (CategoryTheory.Mono truth) CategoryTheory.Subobject.Classifier.mono_truth._autoParam}
  {χ₀ : (U : C) → U ⟶ Ω₀} {χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω}
  {isPullback :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (χ₀ U) (χ m) truth}
  {uniq :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] {χ₀' : U ⟶ Ω₀} {χ' : X ⟶ Ω},
      CategoryTheory.IsPullback m χ₀' χ' truth → χ' = χ m}
  {Ω₀_1 Ω_1 : C} {truth_1 : Ω₀_1 ⟶ Ω_1}
  {mono_truth_1 : autoParam (CategoryTheory.Mono truth_1) CategoryTheory.Subobject.Classifier.mono_truth._autoParam}
  {χ₀_1 : (U : C) → U ⟶ Ω₀_1} {χ_1 : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω_1}
  {isPullback_1 :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (χ₀_1 U) (χ_1 m) truth_1}
  {uniq_1 :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] {χ₀' : U ⟶ Ω₀_1} {χ' : X ⟶ Ω_1},
      CategoryTheory.IsPullback m χ₀' χ' truth_1 → χ' = χ_1 m},
  { Ω₀ := Ω₀, Ω := Ω, truth := truth, mono_truth := mono_truth, χ₀ := χ₀, χ := χ, isPullback := isPullback,
        uniq := uniq } =
      { Ω₀ := Ω₀_1, Ω := Ω_1, truth := truth_1, mono_truth := mono_truth_1, χ₀ := χ₀_1, χ := χ_1,
        isPullback := isPullback_1, uniq := uniq_1 } →
    Ω₀ = Ω₀_1 ∧ Ω = Ω_1 ∧ truth ≍ truth_1 ∧ χ₀ ≍ χ₀_1 ∧ χ ≍ χ_1

theorem CategoryTheory.Subobject.Classifier.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (Ω₀ Ω : C) (truth : Ω₀ ⟶ Ω)
  (mono_truth : autoParam (CategoryTheory.Mono truth) CategoryTheory.Subobject.Classifier.mono_truth._autoParam)
  (χ₀ : (U : C) → U ⟶ Ω₀) (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω)
  (isPullback :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (χ₀ U) (χ m) truth)
  (uniq :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] {χ₀' : U ⟶ Ω₀} {χ' : X ⟶ Ω},
      CategoryTheory.IsPullback m χ₀' χ' truth → χ' = χ m)
  (Ω₀_1 Ω_1 : C) (truth_1 : Ω₀_1 ⟶ Ω_1)
  (mono_truth_1 : autoParam (CategoryTheory.Mono truth_1) CategoryTheory.Subobject.Classifier.mono_truth._autoParam)
  (χ₀_1 : (U : C) → U ⟶ Ω₀_1) (χ_1 : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω_1)
  (isPullback_1 :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (χ₀_1 U) (χ_1 m) truth_1)
  (uniq_1 :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] {χ₀' : U ⟶ Ω₀_1} {χ' : X ⟶ Ω_1},
      CategoryTheory.IsPullback m χ₀' χ' truth_1 → χ' = χ_1 m),
  ({ Ω₀ := Ω₀, Ω := Ω, truth := truth, mono_truth := mono_truth, χ₀ := χ₀, χ := χ, isPullback := isPullback,
        uniq := uniq } =
      { Ω₀ := Ω₀_1, Ω := Ω_1, truth := truth_1, mono_truth := mono_truth_1, χ₀ := χ₀_1, χ := χ_1,
        isPullback := isPullback_1, uniq := uniq_1 }) =
    (Ω₀ = Ω₀_1 ∧ Ω = Ω_1 ∧ truth ≍ truth_1 ∧ χ₀ ≍ χ₀_1 ∧ χ ≍ χ_1)

theorem CategoryTheory.SubobjectRepresentableBy.χ.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h h_1 : CategoryTheory.SubobjectRepresentableBy Ω),
  h = h_1 → ∀ {U X : C} (m m_1 : U ⟶ X) (e_m : m = m_1) [inst_2 : CategoryTheory.Mono m], h.χ m = h_1.χ m_1

structure CategoryTheory.Subobject.Classifier E1 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Type (max u v)

A monomorphism truth : Ω₀ ⟶ Ω is a subobject classifier if, for every monomorphism m : U ⟶ X in C, there is a unique map χ : X ⟶ Ω such that for some (necessarily unique) χ₀ : U ⟶ Ω₀ the following square is a pullback square:

      U ---------m----------> X
      |                       |
    χ₀ U                     χ m
      |                       |
      v                       v
      Ω₀ ------truth--------> Ω

An equivalent formulation replaces Ω₀ with the terminal object.

ctor CategoryTheory.Subobject.Classifier.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (Ω₀ Ω : C) →
      (truth : Ω₀ ⟶ Ω) →
        autoParam (CategoryTheory.Mono truth) CategoryTheory.Subobject.Classifier.mono_truth._autoParam →
          (χ₀ : (U : C) → U ⟶ Ω₀) →
            (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω) →
              (∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m],
                  CategoryTheory.IsPullback m (χ₀ U) (χ m) truth) →
                (∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] {χ₀' : U ⟶ Ω₀} {χ' : X ⟶ Ω},
                    CategoryTheory.IsPullback m χ₀' χ' truth → χ' = χ m) →
                  CategoryTheory.Subobject.Classifier C

abbrev CategoryTheory.Subobject.Classifier.Ω₀ E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.Subobject.Classifier C → C

The domain of the truth morphism

abbrev CategoryTheory.Subobject.Classifier.Ω E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.Subobject.Classifier C → C

The codomain of the truth morphism

abbrev CategoryTheory.Subobject.Classifier.truth E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → (self : CategoryTheory.Subobject.Classifier C) → self.Ω₀ ⟶ self.Ω

The truth morphism of the subobject classifier

instance CategoryTheory.Subobject.Classifier.mono_truth E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (self : CategoryTheory.Subobject.Classifier C),
  CategoryTheory.Mono self.truth

The truth morphism is a monomorphism

abbrev CategoryTheory.Subobject.Classifier.χ₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → (self : CategoryTheory.Subobject.Classifier C) → (U : C) → U ⟶ self.Ω₀

The top arrow in the pullback square

abbrev CategoryTheory.Subobject.Classifier.χ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (self : CategoryTheory.Subobject.Classifier C) → {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ self.Ω

For any monomorphism U ⟶ X, there is an associated characteristic map X ⟶ Ω.

theorem CategoryTheory.Subobject.Classifier.isPullback E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (self : CategoryTheory.Subobject.Classifier C) {U X : C}
  (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (self.χ₀ U) (self.χ m) self.truth

χ₀ U and χ m form the appropriate pullback square.

theorem CategoryTheory.Subobject.Classifier.uniq E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (self : CategoryTheory.Subobject.Classifier C) {U X : C}
  (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] {χ₀' : U ⟶ self.Ω₀} {χ' : X ⟶ self.Ω},
  CategoryTheory.IsPullback m χ₀' χ' self.truth → χ' = self.χ m

χ m is the only map X ⟶ Ω which forms the appropriate pullback square for any χ₀'.

def CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (Ω₀ : C) →
      (t : CategoryTheory.Limits.IsTerminal Ω₀) →
        (Ω : C) →
          (truth : Ω₀ ⟶ Ω) →
            (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω) →
              (∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m],
                  CategoryTheory.IsPullback m (t.from U) (χ m) truth) →
                (∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] (χ' : X ⟶ Ω),
                    CategoryTheory.IsPullback m (t.from U) χ' truth → χ' = χ m) →
                  CategoryTheory.Subobject.Classifier C

More explicit constructor in case Ω₀ is already known to be a terminal object.

theorem CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀_χ₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (Ω₀ : C) (t : CategoryTheory.Limits.IsTerminal Ω₀) (Ω : C)
  (truth : Ω₀ ⟶ Ω) (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω)
  (isPullback :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (t.from U) (χ m) truth)
  (uniq :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] (χ' : X ⟶ Ω),
      CategoryTheory.IsPullback m (t.from U) χ' truth → χ' = χ m)
  (Y : C), (CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀ Ω₀ t Ω truth χ isPullback uniq).χ₀ Y = t.from Y

theorem CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀_Ω E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (Ω₀ : C) (t : CategoryTheory.Limits.IsTerminal Ω₀) (Ω : C)
  (truth : Ω₀ ⟶ Ω) (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω)
  (isPullback :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (t.from U) (χ m) truth)
  (uniq :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] (χ' : X ⟶ Ω),
      CategoryTheory.IsPullback m (t.from U) χ' truth → χ' = χ m),
  (CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀ Ω₀ t Ω truth χ isPullback uniq).Ω = Ω

theorem CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀_Ω₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (Ω₀ : C) (t : CategoryTheory.Limits.IsTerminal Ω₀) (Ω : C)
  (truth : Ω₀ ⟶ Ω) (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω)
  (isPullback :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (t.from U) (χ m) truth)
  (uniq :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] (χ' : X ⟶ Ω),
      CategoryTheory.IsPullback m (t.from U) χ' truth → χ' = χ m),
  (CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀ Ω₀ t Ω truth χ isPullback uniq).Ω₀ = Ω₀

theorem CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀_truth E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (Ω₀ : C) (t : CategoryTheory.Limits.IsTerminal Ω₀) (Ω : C)
  (truth : Ω₀ ⟶ Ω) (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω)
  (isPullback :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (t.from U) (χ m) truth)
  (uniq :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] (χ' : X ⟶ Ω),
      CategoryTheory.IsPullback m (t.from U) χ' truth → χ' = χ m),
  (CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀ Ω₀ t Ω truth χ isPullback uniq).truth = truth

theorem CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀_χ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (Ω₀ : C) (t : CategoryTheory.Limits.IsTerminal Ω₀) (Ω : C)
  (truth : Ω₀ ⟶ Ω) (χ : {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω)
  (isPullback :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m], CategoryTheory.IsPullback m (t.from U) (χ m) truth)
  (uniq :
    ∀ {U X : C} (m : U ⟶ X) [inst_1 : CategoryTheory.Mono m] (χ' : X ⟶ Ω),
      CategoryTheory.IsPullback m (t.from U) χ' truth → χ' = χ m)
  {U X : C} (m : U ⟶ X) (x : CategoryTheory.Mono m),
  (CategoryTheory.Subobject.Classifier.mkOfTerminalΩ₀ Ω₀ t Ω truth χ isPullback uniq).χ m = χ m

instance CategoryTheory.Subobject.Classifier.instUniqueHomΩ₀ E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → {c : CategoryTheory.Subobject.Classifier C} → (Y : C) → Unique (Y ⟶ c.Ω₀)

def CategoryTheory.Subobject.Classifier.isTerminalΩ₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {c : CategoryTheory.Subobject.Classifier C} → CategoryTheory.Limits.IsTerminal c.Ω₀

Given c : Classifier C, c.Ω₀ is a terminal object. Prefer c.χ₀ over c.isTerminalΩ₀.from.

theorem CategoryTheory.Subobject.Classifier.isTerminalFrom_eq_χ₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (c : CategoryTheory.Subobject.Classifier C),
  CategoryTheory.Subobject.Classifier.isTerminalΩ₀.from = c.χ₀

class CategoryTheory.HasSubobjectClassifier E1 #

(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop

A category C has a subobject classifier if there is at least one subobject classifier.

ctor CategoryTheory.HasSubobjectClassifier.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  Nonempty (CategoryTheory.Subobject.Classifier C) → CategoryTheory.HasSubobjectClassifier C

theorem CategoryTheory.HasSubobjectClassifier.exists_classifier E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.HasSubobjectClassifier C],
  Nonempty (CategoryTheory.Subobject.Classifier C)

There is some classifier.

abbrev CategoryTheory.HasSubobjectClassifier.Ω₀ E1 #

(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.HasSubobjectClassifier C] → C

Notation for the Ω₀ in an arbitrary choice of a subobject classifier

abbrev CategoryTheory.HasSubobjectClassifier.Ω E1 #

(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.HasSubobjectClassifier C] → C

Notation for the Ω in an arbitrary choice of a subobject classifier

abbrev CategoryTheory.HasSubobjectClassifier.truth E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasSubobjectClassifier C] →
      CategoryTheory.HasSubobjectClassifier.Ω₀ C ⟶ CategoryTheory.HasSubobjectClassifier.Ω C

Notation for the "truth arrow" in an arbitrary choice of a subobject classifier

def CategoryTheory.HasSubobjectClassifier.χ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasSubobjectClassifier C] →
      {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ CategoryTheory.HasSubobjectClassifier.Ω C

returns the characteristic morphism of the subobject (m : U ⟶ X) [Mono m]

theorem CategoryTheory.HasSubobjectClassifier.isPullback_χ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasSubobjectClassifier C] {U X : C}
  (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m],
  CategoryTheory.IsPullback m (⋯.some.χ₀ U) (CategoryTheory.HasSubobjectClassifier.χ m)
    (CategoryTheory.HasSubobjectClassifier.truth C)

The diagram

      U ---------m----------> X
      |                       |
    χ₀ U                     χ m
      |                       |
      v                       v
      Ω₀ ------truth--------> Ω

is a pullback square.

theorem CategoryTheory.HasSubobjectClassifier.comm E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasSubobjectClassifier C] {U X : C}
  (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m],
  CategoryTheory.CategoryStruct.comp m (CategoryTheory.HasSubobjectClassifier.χ m) =
    CategoryTheory.CategoryStruct.comp (⋯.some.χ₀ U) (CategoryTheory.HasSubobjectClassifier.truth C)

The diagram

      U ---------m----------> X
      |                       |
    χ₀ U                     χ m
      |                       |
      v                       v
      Ω₀ ------truth--------> Ω

commutes.

theorem CategoryTheory.HasSubobjectClassifier.comm_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasSubobjectClassifier C] {U X : C}
  (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m] {Z : C} (h : CategoryTheory.HasSubobjectClassifier.Ω C ⟶ Z),
  CategoryTheory.CategoryStruct.comp m
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.HasSubobjectClassifier.χ m) h) =
    CategoryTheory.CategoryStruct.comp (⋯.some.χ₀ U)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.HasSubobjectClassifier.truth C) h)

The diagram

      U ---------m----------> X
      |                       |
    χ₀ U                     χ m
      |                       |
      v                       v
      Ω₀ ------truth--------> Ω

commutes.

theorem CategoryTheory.HasSubobjectClassifier.unique E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasSubobjectClassifier C] {U X : C}
  (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m] (χ' : X ⟶ CategoryTheory.HasSubobjectClassifier.Ω C),
  CategoryTheory.IsPullback m (⋯.some.χ₀ U) χ' (CategoryTheory.HasSubobjectClassifier.truth C) →
    χ' = CategoryTheory.HasSubobjectClassifier.χ m

χ m is the only map for which the associated square is a pullback square.

instance CategoryTheory.HasSubobjectClassifier.truthIsSplitMono E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasSubobjectClassifier C],
  CategoryTheory.IsSplitMono (CategoryTheory.HasSubobjectClassifier.truth C)

def CategoryTheory.HasSubobjectClassifier.truthIsRegularMono E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.HasSubobjectClassifier C] →
      CategoryTheory.RegularMono (CategoryTheory.HasSubobjectClassifier.truth C)

truth C is a regular monomorphism (because it is split).

instance CategoryTheory.HasSubobjectClassifier.instIsRegularMonoTruth E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.HasSubobjectClassifier C],
  CategoryTheory.IsRegularMono (CategoryTheory.HasSubobjectClassifier.truth C)

instance CategoryTheory.HasSubobjectClassifier.isRegularMonoCategory E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.HasSubobjectClassifier C],
  CategoryTheory.IsRegularMonoCategory C

The following diagram

      U ---------m----------> X
      |                       |
    χ₀ U                     χ m
      |                       |
      v                       v
      Ω₀ ------truth--------> Ω

being a pullback for any monic m means that every monomorphism in C is the pullback of a regular monomorphism; since regularity is stable under base change, every monomorphism is regular. Hence, C is a regular mono category. It also follows that C is a balanced category.

instance CategoryTheory.HasSubobjectClassifier.reflectsIsomorphisms E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.HasSubobjectClassifier C] (D : Type u₀)
  [inst_2 : CategoryTheory.Category.{v₀, u₀} D] (F : CategoryTheory.Functor C D) [F.Faithful], F.ReflectsIsomorphisms

If the source of a faithful functor has a subobject classifier, the functor reflects isomorphisms. This holds for any balanced category.

instance CategoryTheory.HasSubobjectClassifier.reflectsIsomorphismsOp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.HasSubobjectClassifier C] (D : Type u₀)
  [inst_2 : CategoryTheory.Category.{v₀, u₀} D] (F : CategoryTheory.Functor Cᵒᵖ D) [F.Faithful], F.ReflectsIsomorphisms

If the source of a faithful functor is the opposite category of one with a subobject classifier, the same holds -- the functor reflects isomorphisms.

abbrev CategoryTheory.Subobject.Classifier.truth_as_subobject E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → (𝒞 : CategoryTheory.Subobject.Classifier C) → CategoryTheory.Subobject 𝒞.Ω

The subobject of 𝒞.Ω corresponding to the truth morphism.

theorem CategoryTheory.Subobject.Classifier.surjective_χ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasPullbacks C]
  (𝒞 : CategoryTheory.Subobject.Classifier C) {X : C} (φ : X ⟶ 𝒞.Ω), ∃ Z i, ∃ (x : CategoryTheory.Mono i), φ = 𝒞.χ i

theorem CategoryTheory.Subobject.Classifier.pullback_χ_obj_mk_truth E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (𝒞 : CategoryTheory.Subobject.Classifier C) {Z X : C} (i : Z ⟶ X) [inst_2 : CategoryTheory.Mono i],
  (CategoryTheory.Subobject.pullback (𝒞.χ i)).obj 𝒞.truth_as_subobject = CategoryTheory.Subobject.mk i

theorem CategoryTheory.Subobject.Classifier.χ_pullback_obj_mk_truth_arrow E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (𝒞 : CategoryTheory.Subobject.Classifier C) {X : C} (φ : X ⟶ 𝒞.Ω),
  𝒞.χ ((CategoryTheory.Subobject.pullback φ).obj 𝒞.truth_as_subobject).arrow = φ

def CategoryTheory.Subobject.Classifier.representableBy E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      (𝒞 : CategoryTheory.Subobject.Classifier C) → (Subobject.presheaf C).RepresentableBy 𝒞.Ω

Any subobject classifier Ω represents the subobjects functor Subobject.presheaf.

abbrev CategoryTheory.SubobjectRepresentableBy E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.Limits.HasPullbacks C] → C → Type (max (max u u v) v)

Abbreviation to enable dot notation on the hypothesis h stating that the subobjects presheaf is representable by some object Ω.

def CategoryTheory.SubobjectRepresentableBy.Ω₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} → CategoryTheory.SubobjectRepresentableBy Ω → CategoryTheory.Subobject Ω

h.Ω₀ is the subobject of Ω which corresponds to the identity 𝟙 Ω, given h : SubobjectRepresentableBy Ω.

theorem CategoryTheory.SubobjectRepresentableBy.homEquiv_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {X : C} (f : X ⟶ Ω),
  h.homEquiv f = (CategoryTheory.Subobject.pullback f).obj h.Ω₀

h.homEquiv acts like an "object comprehension" operator: it maps any characteristic map f : X ⟶ Ω to the associated subobject of X, obtained by pulling back h.Ω₀ along f.

theorem CategoryTheory.SubobjectRepresentableBy.pullback_homEquiv_symm_obj_Ω₀ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {X : C} (x : CategoryTheory.Subobject X),
  (CategoryTheory.Subobject.pullback (h.homEquiv.symm x)).obj h.Ω₀ = x

For any subobject x, the pullback of h.Ω₀ along the characteristic map of x given by h.homEquiv is x itself.

def CategoryTheory.SubobjectRepresentableBy.χ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} → CategoryTheory.SubobjectRepresentableBy Ω → {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → X ⟶ Ω

h.χ m is the characteristic map of monomorphism m given by the bijection h.homEquiv.

def CategoryTheory.SubobjectRepresentableBy.iso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} →
        (h : CategoryTheory.SubobjectRepresentableBy Ω) →
          {U X : C} →
            (m : U ⟶ X) →
              [inst_2 : CategoryTheory.Mono m] →
                CategoryTheory.MonoOver.mk m ≅
                  CategoryTheory.Subobject.representative.obj ((CategoryTheory.Subobject.pullback (h.χ m)).obj h.Ω₀)

h.iso m is the isomorphism between m and the pullback of Ω₀ along the characteristic map of m.

def CategoryTheory.SubobjectRepresentableBy.π E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} →
        (h : CategoryTheory.SubobjectRepresentableBy Ω) →
          {U X : C} → (m : U ⟶ X) → [CategoryTheory.Mono m] → U ⟶ CategoryTheory.Subobject.underlying.obj h.Ω₀

h.π m is the first projection in the following pullback square:

U --h.π m--> (Ω₀ : C)
|                |
m             Ω₀.arrow
|                |
v                v
X -----h.χ m---> Ω

theorem CategoryTheory.SubobjectRepresentableBy.iso_inv_left_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {U X : C} (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m] {Z : C}
  (h_1 : CategoryTheory.Subobject.underlying.obj h.Ω₀ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left (h.iso m).inv.hom)
      (CategoryTheory.CategoryStruct.comp (h.π m) h_1) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Subobject.pullbackπ (h.χ m) h.Ω₀) h_1

theorem CategoryTheory.SubobjectRepresentableBy.iso_inv_left_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {U X : C} (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left (h.iso m).inv.hom) (h.π m) =
    CategoryTheory.Subobject.pullbackπ (h.χ m) h.Ω₀

theorem CategoryTheory.SubobjectRepresentableBy.iso_inv_hom_left_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {U X : C} (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left (h.iso m).inv.hom) m =
    ((CategoryTheory.Subobject.pullback (h.χ m)).obj h.Ω₀).arrow

theorem CategoryTheory.SubobjectRepresentableBy.iso_inv_hom_left_comp_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {U X : C} (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m] {Z : C}
  (h_1 : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left (h.iso m).inv.hom)
      (CategoryTheory.CategoryStruct.comp m h_1) =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Subobject.pullback (h.χ m)).obj h.Ω₀).arrow h_1

theorem CategoryTheory.SubobjectRepresentableBy.isPullback E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {U X : C} (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m],
  CategoryTheory.IsPullback m (h.π m) (h.χ m) h.Ω₀.arrow

theorem CategoryTheory.SubobjectRepresentableBy.uniq E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω) {U X : C} {m : U ⟶ X} [inst_2 : CategoryTheory.Mono m] {χ' : X ⟶ Ω}
  {π : U ⟶ CategoryTheory.Subobject.underlying.obj h.Ω₀}, CategoryTheory.IsPullback m π χ' h.Ω₀.arrow → χ' = h.χ m

def CategoryTheory.SubobjectRepresentableBy.isTerminalΩ₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} →
        (h : CategoryTheory.SubobjectRepresentableBy Ω) →
          CategoryTheory.Limits.IsTerminal (CategoryTheory.Subobject.underlying.obj h.Ω₀)

The main non-trivial result: h.Ω₀ is actually a terminal object.

def CategoryTheory.SubobjectRepresentableBy.χ₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} →
        (h : CategoryTheory.SubobjectRepresentableBy Ω) → (U : C) → U ⟶ CategoryTheory.Subobject.underlying.obj h.Ω₀

The unique map to the terminal object.

theorem CategoryTheory.SubobjectRepresentableBy.hasTerminal E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C] {Ω : C}
  (h : CategoryTheory.SubobjectRepresentableBy Ω), CategoryTheory.Limits.HasTerminal C

def CategoryTheory.SubobjectRepresentableBy.isoΩ₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} →
        (h : CategoryTheory.SubobjectRepresentableBy Ω) →
          [inst_2 : CategoryTheory.Limits.HasTerminal C] → CategoryTheory.Subobject.underlying.obj h.Ω₀ ≅ ⊤_ C

h.isoΩ₀ is the unique isomorphism from h.Ω₀ to the canonical terminal object ⊤_ C.

def CategoryTheory.SubobjectRepresentableBy.classifier E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      {Ω : C} →
        CategoryTheory.SubobjectRepresentableBy Ω →
          [CategoryTheory.Limits.HasTerminal C] → CategoryTheory.Subobject.Classifier C

Any representation Ω of Subobject.presheaf C gives a subobject classifier with truth values object Ω.

theorem CategoryTheory.hasSubobjectClassifier_iff_isRepresentable E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasTerminal C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C],
  CategoryTheory.HasSubobjectClassifier C ↔ (Subobject.presheaf C).IsRepresentable

A category has a subobject classifier if and only if the subobjects functor is representable.

def CategoryTheory.Subobject.Classifier.hom E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C) → 𝒞₁.Ω ⟶ 𝒞₂.Ω

The unique morphism between classifiers mapping each others characteristic maps

theorem CategoryTheory.Subobject.Classifier.hom_comp_hom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞₁ 𝒞₂ 𝒞₃ : CategoryTheory.Subobject.Classifier C) {Z : C}
  (h : 𝒞₃.Ω ⟶ Z),
  CategoryTheory.CategoryStruct.comp (𝒞₁.hom 𝒞₂) (CategoryTheory.CategoryStruct.comp (𝒞₂.hom 𝒞₃) h) =
    CategoryTheory.CategoryStruct.comp (𝒞₁.hom 𝒞₃) h

theorem CategoryTheory.Subobject.Classifier.hom_comp_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞₁ 𝒞₂ 𝒞₃ : CategoryTheory.Subobject.Classifier C),
  CategoryTheory.CategoryStruct.comp (𝒞₁.hom 𝒞₂) (𝒞₂.hom 𝒞₃) = 𝒞₁.hom 𝒞₃

theorem CategoryTheory.Subobject.Classifier.hom_refl E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞₁ : CategoryTheory.Subobject.Classifier C),
  𝒞₁.hom 𝒞₁ = CategoryTheory.CategoryStruct.id 𝒞₁.Ω

theorem CategoryTheory.Subobject.Classifier.χ_comp_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C} {X Y : C}
  (m : X ⟶ Y) [inst_1 : CategoryTheory.Mono m], CategoryTheory.CategoryStruct.comp (𝒞₁.χ m) (𝒞₁.hom 𝒞₂) = 𝒞₂.χ m

theorem CategoryTheory.Subobject.Classifier.χ_comp_hom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C} {X Y : C}
  (m : X ⟶ Y) [inst_1 : CategoryTheory.Mono m] {Z : C} (h : 𝒞₂.Ω ⟶ Z),
  CategoryTheory.CategoryStruct.comp (𝒞₁.χ m) (CategoryTheory.CategoryStruct.comp (𝒞₁.hom 𝒞₂) h) =
    CategoryTheory.CategoryStruct.comp (𝒞₂.χ m) h

theorem CategoryTheory.Subobject.Classifier.truth_comp_hom_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C} {Z : C}
  (h : 𝒞₂.Ω ⟶ Z),
  CategoryTheory.CategoryStruct.comp 𝒞₁.truth (CategoryTheory.CategoryStruct.comp (𝒞₁.hom 𝒞₂) h) =
    CategoryTheory.CategoryStruct.comp (𝒞₂.χ₀ 𝒞₁.Ω₀) (CategoryTheory.CategoryStruct.comp 𝒞₂.truth h)

theorem CategoryTheory.Subobject.Classifier.truth_comp_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C},
  CategoryTheory.CategoryStruct.comp 𝒞₁.truth (𝒞₁.hom 𝒞₂) = CategoryTheory.CategoryStruct.comp (𝒞₂.χ₀ 𝒞₁.Ω₀) 𝒞₂.truth

def CategoryTheory.Subobject.Classifier.uniqueUpToIso E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → (𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C) → 𝒞₁.Ω ≅ 𝒞₂.Ω

a concrete equivalence of any two subobject classifiers

theorem CategoryTheory.Subobject.Classifier.uniqueUpToIso_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C),
  (𝒞₁.uniqueUpToIso 𝒞₂).hom = 𝒞₁.hom 𝒞₂

theorem CategoryTheory.Subobject.Classifier.uniqueUpToIso_inv E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C),
  (𝒞₁.uniqueUpToIso 𝒞₂).inv = 𝒞₂.hom 𝒞₁

instance CategoryTheory.Subobject.Classifier.instIsIsoHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞₁ 𝒞₂ : CategoryTheory.Subobject.Classifier C),
  CategoryTheory.IsIso (𝒞₁.hom 𝒞₂)

def CategoryTheory.Subobject.Classifier.ofIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (𝒞 : CategoryTheory.Subobject.Classifier C) →
      {Ω₀ Ω : C} →
        (eΩ : 𝒞.Ω ≅ Ω) →
          (eΩ₀ : 𝒞.Ω₀ ≅ Ω₀) →
            ((C_1 : C) → C_1 ⟶ Ω₀) →
              (t : Ω₀ ⟶ Ω) →
                autoParam
                    (t = CategoryTheory.CategoryStruct.comp eΩ₀.inv (CategoryTheory.CategoryStruct.comp 𝒞.truth eΩ.hom))
                    CategoryTheory.Subobject.Classifier.ofIso._auto_1 →
                  CategoryTheory.Subobject.Classifier C

Being a subobject classifier is preserved under isomorphism.

theorem CategoryTheory.Subobject.Classifier.ofIso_Ω₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞 : CategoryTheory.Subobject.Classifier C) {Ω₀ Ω : C}
  (eΩ : 𝒞.Ω ≅ Ω) (eΩ₀ : 𝒞.Ω₀ ≅ Ω₀) (from' : (C_1 : C) → C_1 ⟶ Ω₀) (t : Ω₀ ⟶ Ω)
  (ht :
    autoParam (t = CategoryTheory.CategoryStruct.comp eΩ₀.inv (CategoryTheory.CategoryStruct.comp 𝒞.truth eΩ.hom))
      CategoryTheory.Subobject.Classifier.ofIso._auto_1),
  (𝒞.ofIso eΩ eΩ₀ from' t ht).Ω₀ = Ω₀

theorem CategoryTheory.Subobject.Classifier.ofIso_χ₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞 : CategoryTheory.Subobject.Classifier C) {Ω₀ Ω : C}
  (eΩ : 𝒞.Ω ≅ Ω) (eΩ₀ : 𝒞.Ω₀ ≅ Ω₀) (from' : (C_1 : C) → C_1 ⟶ Ω₀) (t : Ω₀ ⟶ Ω)
  (ht :
    autoParam (t = CategoryTheory.CategoryStruct.comp eΩ₀.inv (CategoryTheory.CategoryStruct.comp 𝒞.truth eΩ.hom))
      CategoryTheory.Subobject.Classifier.ofIso._auto_1)
  (C_1 : C), (𝒞.ofIso eΩ eΩ₀ from' t ht).χ₀ C_1 = from' C_1

theorem CategoryTheory.Subobject.Classifier.ofIso_Ω E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞 : CategoryTheory.Subobject.Classifier C) {Ω₀ Ω : C}
  (eΩ : 𝒞.Ω ≅ Ω) (eΩ₀ : 𝒞.Ω₀ ≅ Ω₀) (from' : (C_1 : C) → C_1 ⟶ Ω₀) (t : Ω₀ ⟶ Ω)
  (ht :
    autoParam (t = CategoryTheory.CategoryStruct.comp eΩ₀.inv (CategoryTheory.CategoryStruct.comp 𝒞.truth eΩ.hom))
      CategoryTheory.Subobject.Classifier.ofIso._auto_1),
  (𝒞.ofIso eΩ eΩ₀ from' t ht).Ω = Ω

theorem CategoryTheory.Subobject.Classifier.ofIso_χ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞 : CategoryTheory.Subobject.Classifier C) {Ω₀ Ω : C}
  (eΩ : 𝒞.Ω ≅ Ω) (eΩ₀ : 𝒞.Ω₀ ≅ Ω₀) (from' : (C_1 : C) → C_1 ⟶ Ω₀) (t : Ω₀ ⟶ Ω)
  (ht :
    autoParam (t = CategoryTheory.CategoryStruct.comp eΩ₀.inv (CategoryTheory.CategoryStruct.comp 𝒞.truth eΩ.hom))
      CategoryTheory.Subobject.Classifier.ofIso._auto_1)
  {F G : C} (m : F ⟶ G) (x : CategoryTheory.Mono m),
  (𝒞.ofIso eΩ eΩ₀ from' t ht).χ m = CategoryTheory.CategoryStruct.comp (𝒞.χ m) eΩ.hom

theorem CategoryTheory.Subobject.Classifier.ofIso_truth E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (𝒞 : CategoryTheory.Subobject.Classifier C) {Ω₀ Ω : C}
  (eΩ : 𝒞.Ω ≅ Ω) (eΩ₀ : 𝒞.Ω₀ ≅ Ω₀) (from' : (C_1 : C) → C_1 ⟶ Ω₀) (t : Ω₀ ⟶ Ω)
  (ht :
    autoParam (t = CategoryTheory.CategoryStruct.comp eΩ₀.inv (CategoryTheory.CategoryStruct.comp 𝒞.truth eΩ.hom))
      CategoryTheory.Subobject.Classifier.ofIso._auto_1),
  (𝒞.ofIso eΩ eΩ₀ from' t ht).truth = t

def CategoryTheory.Subobject.Classifier.ofEquivalence E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} D] →
        CategoryTheory.Subobject.Classifier C → (C ≌ D) → CategoryTheory.Subobject.Classifier D

The image of a subobject classifier under an equivalence of categories is a subobject classifier.

theorem CategoryTheory.Subobject.Classifier.ofEquivalence_truth E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  (𝒞₁ : CategoryTheory.Subobject.Classifier C) (e : C ≌ D), (𝒞₁.ofEquivalence e).truth = e.functor.map 𝒞₁.truth

theorem CategoryTheory.Subobject.Classifier.ofEquivalence_Ω E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  (𝒞₁ : CategoryTheory.Subobject.Classifier C) (e : C ≌ D), (𝒞₁.ofEquivalence e).Ω = e.functor.obj 𝒞₁.Ω

theorem CategoryTheory.Subobject.Classifier.ofEquivalence_Ω₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  (𝒞₁ : CategoryTheory.Subobject.Classifier C) (e : C ≌ D), (𝒞₁.ofEquivalence e).Ω₀ = e.functor.obj 𝒞₁.Ω₀

theorem CategoryTheory.Subobject.Classifier.ofEquivalence_χ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  (𝒞₁ : CategoryTheory.Subobject.Classifier C) (e : C ≌ D) {U X : D} (m : U ⟶ X) [inst_2 : CategoryTheory.Mono m],
  (𝒞₁.ofEquivalence e).χ m =
    CategoryTheory.CategoryStruct.comp (e.counitInv.app X) (e.functor.map (𝒞₁.χ (e.inverse.map m)))

theorem CategoryTheory.Subobject.Classifier.ofEquivalence_χ₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u_1} [inst_1 : CategoryTheory.Category.{v_1, u_1} D]
  (𝒞₁ : CategoryTheory.Subobject.Classifier C) (e : C ≌ D) (Y : D),
  (𝒞₁.ofEquivalence e).χ₀ Y =
    CategoryTheory.CategoryStruct.comp (e.counitInv.app Y) (e.functor.map (𝒞₁.χ₀ (e.inverse.obj Y)))