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 / V27. Algebraic topology and condensed mathematics

Mathlib.Condensed.Discrete.LocallyConstant

53 declarations. Mathlib docs · Source

The sheaf of locally constant maps on CompHausLike P

This file proves that under suitable conditions, the functor from the category of sets to the category of sheaves for the coherent topology on CompHausLike P, given by mapping a set to the sheaf of locally constant maps to it, is left adjoint to the "underlying set" functor (evaluation at the point).

We apply this to prove that the constant sheaf functor into (light) condensed sets is isomorphic to the functor of sheaves of locally constant maps described above.

Proof sketch

The hard part of this adjunction is to define the counit. Its components are defined as follows:

Let S : CompHausLike P and let Y be a finite-product-preserving presheaf on CompHausLike P (e.g. a sheaf for the coherent topology). We need to define a map LocallyConstant S Y(*) ⟶ Y(S). Given a locally constant map f : S → Y(*), let S = S₁ ⊔ ⋯ ⊔ Sₙ be the corresponding decomposition of S into the fibers. Let yᵢ ∈ Y(*) denote the value of f on Sᵢ and denote by gᵢ the canonical map Y(*) → Y(Sᵢ). Our map then takes f to the image of (g₁(y₁), ⋯, gₙ(yₙ)) under the isomorphism Y(S₁) × ⋯ × Y(Sₙ) ≅ Y(S₁ ⊔ ⋯ ⊔ Sₙ) = Y(S).

Now we need to prove that the counit is natural in S : CompHausLike P and Y : Sheaf (coherentTopology (CompHausLike P)) (Type _). There are two key lemmas in all naturality proofs in this file (both lemmas are in the CompHausLike.LocallyConstant namespace):

  • presheaf_ext: given S, Y and f : LocallyConstant S Y(*) like above, another presheaf X, and two elements x y : X(S), to prove that x = y it suffices to prove that for every inclusion map ιᵢ : Sᵢ ⟶ S, X(ιᵢ)(x) = X(ιᵢ)(y). Here it is important that we set everything up in such a way that the Sᵢ are literally subtypes of S.

  • incl_of_counitAppApp: given S, Y and f : LocallyConstant S Y(*) like above, we have Y(ιᵢ)(ε_{S, Y}(f)) = gᵢ(yᵢ) where ε denotes the counit and the other notation is like above.

Main definitions

  • CompHausLike.LocallyConstant.functor: the functor from the category of sets to the category of sheaves for the coherent topology on CompHausLike P, which takes a set X to LocallyConstant - X

    • CondensedSet.LocallyConstant.functor is the above functor in the case of condensed sets.
    • LightCondSet.LocallyConstant.functor is the above functor in the case of light condensed sets.
  • CompHausLike.LocallyConstant.adjunction: the functor described above is left adjoint to the "underlying set" functor (sheafSections _ _).obj ⟨CompHausLike.of P PUnit.{u + 1}⟩, which takes a sheaf X to the set X(*).

  • CondensedSet.LocallyConstant.iso: the functor CondensedSet.LocallyConstant.functor is isomorphic to the functor Condensed.discrete (Type _) (the constant sheaf functor from sets to condensed sets).

  • LightCondSet.LocallyConstant.iso: the functor LightCondSet.LocallyConstant.functor is isomorphic to the functor LightCondensed.discrete (Type _) (the constant sheaf functor from sets to light condensed sets).

theorem CompHausLike.LocallyConstant.counitAppApp.congr_simp E1 #

∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] (S : CompHausLike P)
  (Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w)))
  [inst_2 : CategoryTheory.Limits.PreservesFiniteProducts Y] [inst_3 : CompHausLike.HasExplicitFiniteCoproducts P],
  CompHausLike.LocallyConstant.counitAppApp S Y = CompHausLike.LocallyConstant.counitAppApp S Y

theorem CompHausLike.LocallyConstant.counit.congr_simp E1 #

∀ (P : TopCat → Prop) [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  [inst_3 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  [inst_4 : CompHausLike.HasExplicitFiniteCoproducts P],
  CompHausLike.LocallyConstant.counit P hs = CompHausLike.LocallyConstant.counit P hs

theorem CompHausLike.LocallyConstant.counitApp.congr_simp E1 #

∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  (Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w)))
  [inst_3 : CategoryTheory.Limits.PreservesFiniteProducts Y],
  CompHausLike.LocallyConstant.counitApp Y = CompHausLike.LocallyConstant.counitApp Y

def CompHausLike.LocallyConstant.functorToPresheaves E1 #

{P : TopCat → Prop} →
  CategoryTheory.Functor (Type (max u w)) (CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w)))

The functor from the category of sets to presheaves on CompHausLike P given by locally constant maps.

theorem CompHausLike.LocallyConstant.functorToPresheaves_map_app E0 #

∀ {P : TopCat → Prop} {X Y : Type (max u w)} (f : X ⟶ Y) (x : (CompHausLike P)ᵒᵖ),
  (CompHausLike.LocallyConstant.functorToPresheaves.map f).app x =
    TypeCat.ofHom fun t ↦ LocallyConstant.map (⇑(CategoryTheory.ConcreteCategory.hom f)) t

theorem CompHausLike.LocallyConstant.functorToPresheaves_obj_map E0 #

∀ {P : TopCat → Prop} (X : Type (max u w)) {X_1 Y : (CompHausLike P)ᵒᵖ} (f : X_1 ⟶ Y),
  (CompHausLike.LocallyConstant.functorToPresheaves.obj X).map f =
    TypeCat.ofHom fun g ↦ LocallyConstant.comap (TopCat.Hom.hom f.unop.hom) g

theorem CompHausLike.LocallyConstant.functorToPresheaves_obj_obj E0 #

∀ {P : TopCat → Prop} (X : Type (max u w)) (x : (CompHausLike P)ᵒᵖ),
  (CompHausLike.LocallyConstant.functorToPresheaves.obj X).obj x =
    match x with
    | Opposite.op S => LocallyConstant (↑S.toTop) X

def CompHausLike.LocallyConstant.locallyConstantIsoContinuousMap E1 #

(Y : Type u_1) → (X : Type u_2) → [inst : TopologicalSpace Y] → LocallyConstant Y X ≅ C(Y, ↑(TopCat.discrete.obj X))

Locally constant maps are the same as continuous maps when the target is equipped with the discrete topology

theorem CompHausLike.LocallyConstant.locallyConstantIsoContinuousMap_hom E0 #

∀ (Y : Type u_1) (X : Type u_2) [inst : TopologicalSpace Y],
  (CompHausLike.LocallyConstant.locallyConstantIsoContinuousMap Y X).hom = TypeCat.ofHom fun f ↦ ↑f

theorem CompHausLike.LocallyConstant.locallyConstantIsoContinuousMap_inv E0 #

∀ (Y : Type u_1) (X : Type u_2) [inst : TopologicalSpace Y],
  (CompHausLike.LocallyConstant.locallyConstantIsoContinuousMap Y X).inv =
    TypeCat.ofHom fun f ↦ { toFun := ⇑f, isLocallyConstant := ⋯ }

abbrev CompHausLike.LocallyConstant.fiber E1 #

{P : TopCat → Prop} →
  [∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    {Q : CompHausLike P} →
      {Z : Type (max u w)} → (r : LocallyConstant (↑Q.toTop) Z) → Function.Fiber ⇑r → CompHausLike P

A fiber of a locally constant map as a CompHausLike P.

def CompHausLike.LocallyConstant.sigmaIncl E1 #

{P : TopCat → Prop} →
  [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    {Q : CompHausLike P} →
      {Z : Type (max u w)} →
        (r : LocallyConstant (↑Q.toTop) Z) → (a : Function.Fiber ⇑r) → CompHausLike.LocallyConstant.fiber r a ⟶ Q

The inclusion map from a component of the coproduct induced by f into S.

def CompHausLike.LocallyConstant.sigmaIso E1 #

{P : TopCat → Prop} →
  [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    {Q : CompHausLike P} →
      {Z : Type (max u w)} →
        (r : LocallyConstant (↑Q.toTop) Z) →
          [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P] →
            CompHausLike.finiteCoproduct (CompHausLike.LocallyConstant.fiber r) ≅ Q

The canonical map from the coproduct induced by f to S as an isomorphism in CompHausLike P.

theorem CompHausLike.LocallyConstant.sigmaComparison_comp_sigmaIso E1 #

∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  {Q : CompHausLike P} {Z : Type (max u w)} (r : LocallyConstant (↑Q.toTop) Z) (a : Function.Fiber ⇑r)
  [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P]
  (X : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))),
  CategoryTheory.CategoryStruct.comp (X.mapIso (CompHausLike.LocallyConstant.sigmaIso r).op).hom
      (CategoryTheory.CategoryStruct.comp
        (CompHausLike.sigmaComparison X fun a ↦ ↑(CompHausLike.LocallyConstant.fiber r a).toTop)
        (TypeCat.ofHom fun g ↦ g a)) =
    X.map (CompHausLike.LocallyConstant.sigmaIncl r a).op

def CompHausLike.LocallyConstant.counitAppAppImage E1 #

{P : TopCat → Prop} →
  [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    {S : CompHausLike P} →
      {Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))} →
        [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] →
          (f : LocallyConstant (↑S.toTop) (Y.obj (Opposite.op ↧PUnit.{u + 1}))) →
            (a : Function.Fiber ⇑f) → Y.obj (Opposite.op (CompHausLike.LocallyConstant.fiber f a))

The projection of the counit.

def CompHausLike.LocallyConstant.counitAppApp E1 #

{P : TopCat → Prop} →
  [∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    [inst : CompHausLike.HasProp P PUnit.{u + 1}] →
      (S : CompHausLike P) →
        (Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))) →
          [CategoryTheory.Limits.PreservesFiniteProducts Y] →
            [CompHausLike.HasExplicitFiniteCoproducts P] →
              LocallyConstant (↑S.toTop) (Y.obj (Opposite.op ↧PUnit.{u + 1})) ⟶ Y.obj (Opposite.op S)

The counit is defined as follows: given a locally constant map f : S → Y(*), let S = S₁ ⊔ ⋯ ⊔ Sₙ be the corresponding decomposition of S into the fibers. We need to provide an element of Y(S). It suffices to provide an element of Y(Sᵢ) for all i. Let yᵢ ∈ Y(*) denote the value of f on Sᵢ. Our desired element is the image of yᵢ under the canonical map Y(*) → Y(Sᵢ).

theorem CompHausLike.LocallyConstant.presheaf_ext E1 #

∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  {S : CompHausLike P} {Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))}
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] (f : LocallyConstant (↑S.toTop) (Y.obj (Opposite.op ↧PUnit.{u + 1})))
  (X : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))) [CategoryTheory.Limits.PreservesFiniteProducts X]
  (x y : X.obj (Opposite.op S)) [CompHausLike.HasExplicitFiniteCoproducts P],
  (∀ (a : Function.Fiber ⇑f),
      (CategoryTheory.ConcreteCategory.hom (X.map (CompHausLike.LocallyConstant.sigmaIncl f a).op)) x =
        (CategoryTheory.ConcreteCategory.hom (X.map (CompHausLike.LocallyConstant.sigmaIncl f a).op)) y) →
    x = y

To check equality of two elements of X(S), it suffices to check equality after composing with each X(S) → X(Sᵢ).

theorem CompHausLike.LocallyConstant.incl_of_counitAppApp E1 #

∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  {S : CompHausLike P} {Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))}
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] (f : LocallyConstant (↑S.toTop) (Y.obj (Opposite.op ↧PUnit.{u + 1})))
  [inst_2 : CategoryTheory.Limits.PreservesFiniteProducts Y] [inst_3 : CompHausLike.HasExplicitFiniteCoproducts P]
  (a : Function.Fiber ⇑f),
  (CategoryTheory.ConcreteCategory.hom (Y.map (CompHausLike.LocallyConstant.sigmaIncl f a).op))
      ((CategoryTheory.ConcreteCategory.hom (CompHausLike.LocallyConstant.counitAppApp S Y)) f) =
    CompHausLike.LocallyConstant.counitAppAppImage f a

def CompHausLike.LocallyConstant.componentHom E1 #

{P : TopCat → Prop} →
  [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    {S : CompHausLike P} →
      {Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))} →
        [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] →
          (f : LocallyConstant (↑S.toTop) (Y.obj (Opposite.op ↧PUnit.{u + 1}))) →
            {T : CompHausLike P} →
              (g : T ⟶ S) →
                (a : Function.Fiber ⇑(LocallyConstant.comap (TopCat.Hom.hom g.hom) f)) →
                  CompHausLike.LocallyConstant.fiber (LocallyConstant.comap (TopCat.Hom.hom g.hom) f) a ⟶
                    CompHausLike.LocallyConstant.fiber f
                      (Function.Fiber.mk (⇑f)
                        ((CategoryTheory.ConcreteCategory.hom g)
                          (Function.Fiber.preimage (⇑(LocallyConstant.comap (TopCat.Hom.hom g.hom) f)) a)))

This is an auxiliary definition, the details do not matter. What's important is that this map exists so that the lemma incl_comap works.

theorem CompHausLike.LocallyConstant.incl_comap E1 #

∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  {Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))} [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}]
  {S T : (CompHausLike P)ᵒᵖ} (f : LocallyConstant (↑(Opposite.unop S).toTop) (Y.obj (Opposite.op ↧PUnit.{u + 1})))
  (g : S ⟶ T) (a : Function.Fiber ⇑(LocallyConstant.comap (TopCat.Hom.hom g.unop.hom) f)),
  CategoryTheory.CategoryStruct.comp g
      (CompHausLike.LocallyConstant.sigmaIncl (LocallyConstant.comap (TopCat.Hom.hom g.unop.hom) f) a).op =
    CategoryTheory.CategoryStruct.comp
      (CompHausLike.LocallyConstant.sigmaIncl f
          (Function.Fiber.mk (⇑f)
            ((CategoryTheory.ConcreteCategory.hom g.unop)
              (Function.Fiber.preimage (⇑(LocallyConstant.comap (TopCat.Hom.hom g.unop.hom) f)) a)))).op
      (CompHausLike.LocallyConstant.componentHom f g.unop a).op

def CompHausLike.LocallyConstant.counitApp E1 #

{P : TopCat → Prop} →
  [∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    [inst : CompHausLike.HasProp P PUnit.{u + 1}] →
      [CompHausLike.HasExplicitFiniteCoproducts P] →
        (Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w))) →
          [CategoryTheory.Limits.PreservesFiniteProducts Y] →
            CompHausLike.LocallyConstant.functorToPresheaves.obj (Y.obj (Opposite.op ↧PUnit.{u + 1})) ⟶ Y

The counit is natural in S : CompHausLike P

theorem CompHausLike.LocallyConstant.counitApp_app E0 #

∀ {P : TopCat → Prop} [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  (Y : CategoryTheory.Functor (CompHausLike P)ᵒᵖ (Type (max u w)))
  [inst_3 : CategoryTheory.Limits.PreservesFiniteProducts Y] (x : (CompHausLike P)ᵒᵖ),
  (CompHausLike.LocallyConstant.counitApp Y).app x = CompHausLike.LocallyConstant.counitAppApp (Opposite.unop x) Y

def CompHausLike.LocallyConstant.functorToPresheavesIso E1 #

(P : TopCat → Prop) →
  [inst : CompHausLike.HasExplicitFiniteCoproducts P] →
    [inst_1 : CompHausLike.HasExplicitPullbacks P] →
      (hs :
          ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
            CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)) →
        (X : Type (max u w)) →
          CompHausLike.LocallyConstant.functorToPresheaves.obj X ≅
            (TopCat.toSheafCompHausLike P (TopCat.discrete.obj X) hs).obj

locallyConstantIsoContinuousMap is a natural isomorphism.

def CompHausLike.LocallyConstant.functor E3 #

(P : TopCat → Prop) →
  [inst : CompHausLike.HasExplicitFiniteCoproducts P] →
    [inst_1 : CompHausLike.HasExplicitPullbacks P] →
      (hs :
          ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
            CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)) →
        CategoryTheory.Functor (Type (max u w))
          (CategoryTheory.Sheaf (CategoryTheory.coherentTopology (CompHausLike P)) (Type (max u w)))

CompHausLike.LocallyConstant.functorToPresheaves lands in sheaves.

theorem CompHausLike.LocallyConstant.functor_obj_obj_map E0 #

∀ (P : TopCat → Prop) [inst : CompHausLike.HasExplicitFiniteCoproducts P] [inst_1 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  (X : Type (max u w)) {X_1 Y : (CompHausLike P)ᵒᵖ} (f : X_1 ⟶ Y),
  ((CompHausLike.LocallyConstant.functor P hs).obj X).obj.map f =
    TypeCat.ofHom fun g ↦ LocallyConstant.comap (TopCat.Hom.hom f.unop.hom) g

theorem CompHausLike.LocallyConstant.functor_map_hom_app E0 #

∀ (P : TopCat → Prop) [inst : CompHausLike.HasExplicitFiniteCoproducts P] [inst_1 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  {X Y : Type (max u w)} (f : X ⟶ Y) (x : (CompHausLike P)ᵒᵖ),
  ((CompHausLike.LocallyConstant.functor P hs).map f).hom.app x =
    TypeCat.ofHom fun t ↦ LocallyConstant.map (⇑(CategoryTheory.ConcreteCategory.hom f)) t

theorem CompHausLike.LocallyConstant.functor_obj_obj_obj E0 #

∀ (P : TopCat → Prop) [inst : CompHausLike.HasExplicitFiniteCoproducts P] [inst_1 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  (X : Type (max u w)) (x : (CompHausLike P)ᵒᵖ),
  ((CompHausLike.LocallyConstant.functor P hs).obj X).obj.obj x = LocallyConstant (↑(Opposite.unop x).toTop) X

def CompHausLike.LocallyConstant.functorIso E1 #

(P : TopCat → Prop) →
  [inst : CompHausLike.HasExplicitFiniteCoproducts P] →
    [inst_1 : CompHausLike.HasExplicitPullbacks P] →
      (hs :
          ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
            CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)) →
        CompHausLike.LocallyConstant.functor P hs ≅ TopCat.discrete.comp (topCatToSheafCompHausLike P hs)

CompHausLike.LocallyConstant.functor is naturally isomorphic to the restriction of topCatToSheafCompHausLike to discrete topological spaces.

def CompHausLike.LocallyConstant.counit E1 #

(P : TopCat → Prop) →
  [∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    [inst : CompHausLike.HasProp P PUnit.{u + 1}] →
      [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P] →
        [inst_2 : CompHausLike.HasExplicitPullbacks P] →
          (hs :
              ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
                CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)) →
            [CompHausLike.HasExplicitFiniteCoproducts P] →
              ((CategoryTheory.sheafSections (CategoryTheory.coherentTopology (CompHausLike P)) (Type (max u w))).obj
                      (Opposite.op ↧PUnit.{u + 1})).comp
                  (CompHausLike.LocallyConstant.functor P hs) ⟶
                CategoryTheory.Functor.id
                  (CategoryTheory.Sheaf (CategoryTheory.coherentTopology (CompHausLike P)) (Type (max u w)))

The counit is natural in both S : CompHausLike P and Y : Sheaf (coherentTopology (CompHausLike P)) (Type (max u w))

theorem CompHausLike.LocallyConstant.counit_app_hom_app_hom_apply E0 #

∀ (P : TopCat → Prop) [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  [inst_3 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  [inst_4 : CompHausLike.HasExplicitFiniteCoproducts P]
  (X : CategoryTheory.Sheaf (CategoryTheory.coherentTopology (CompHausLike P)) (Type (max u w)))
  (x : (CompHausLike P)ᵒᵖ) (r : LocallyConstant (↑(Opposite.unop x).toTop) (X.obj.obj (Opposite.op ↧PUnit.{u + 1}))),
  (CategoryTheory.ConcreteCategory.hom (((CompHausLike.LocallyConstant.counit P hs).app X).hom.app x)) r =
    (CategoryTheory.ConcreteCategory.hom (X.obj.map (CompHausLike.LocallyConstant.sigmaIso r).inv.op))
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.inv (CompHausLike.sigmaComparison X.obj fun a ↦ ↑↑a)))
        (CompHausLike.LocallyConstant.counitAppAppImage r))

def CompHausLike.LocallyConstant.unit E1 #

(P : TopCat → Prop) →
  [inst : CompHausLike.HasProp P PUnit.{u + 1}] →
    [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P] →
      [inst_2 : CompHausLike.HasExplicitPullbacks P] →
        (hs :
            ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
              CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)) →
          CategoryTheory.Functor.id (Type (max u u_1)) ⟶
            (CompHausLike.LocallyConstant.functor P hs).comp
              ((CategoryTheory.sheafSections (CategoryTheory.coherentTopology (CompHausLike P)) (Type (max u u_1))).obj
                (Opposite.op ↧PUnit.{u + 1}))

The unit of the adjunction is given by mapping each element to the corresponding constant map.

theorem CompHausLike.LocallyConstant.unit_app E0 #

∀ (P : TopCat → Prop) [inst : CompHausLike.HasProp P PUnit.{u + 1}]
  [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P] [inst_2 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  (x : Type (max u u_1)),
  (CompHausLike.LocallyConstant.unit P hs).app x =
    TypeCat.ofHom fun x_1 ↦ LocallyConstant.const (↑(↧PUnit.{u + 1}).toTop) x_1

def CompHausLike.LocallyConstant.unitIso E1 #

(P : TopCat → Prop) →
  [inst : CompHausLike.HasProp P PUnit.{u + 1}] →
    [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P] →
      [inst_2 : CompHausLike.HasExplicitPullbacks P] →
        (hs :
            ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
              CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)) →
          CategoryTheory.Functor.id (Type (max u w)) ≅
            (CompHausLike.LocallyConstant.functor P hs).comp
              ((CategoryTheory.sheafSections (CategoryTheory.coherentTopology (CompHausLike P)) (Type (max u w))).obj
                (Opposite.op ↧PUnit.{u + 1}))

The unit of the adjunction is an iso.

theorem CompHausLike.LocallyConstant.adjunction_left_triangle E1 #

∀ (P : TopCat → Prop) [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  [inst_3 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  [inst_4 : CompHausLike.HasExplicitFiniteCoproducts P] (X : Type (max u w)),
  CategoryTheory.CategoryStruct.comp
      (CompHausLike.LocallyConstant.functorToPresheaves.map ((CompHausLike.LocallyConstant.unit P hs).app X))
      ((CompHausLike.LocallyConstant.counit P hs).app ((CompHausLike.LocallyConstant.functor P hs).obj X)).hom =
    CategoryTheory.CategoryStruct.id (CompHausLike.LocallyConstant.functorToPresheaves.obj X)

def CompHausLike.LocallyConstant.adjunction E3 #

(P : TopCat → Prop) →
  [∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)] →
    [inst : CompHausLike.HasProp P PUnit.{u + 1}] →
      [inst_1 : CompHausLike.HasExplicitFiniteCoproducts P] →
        [inst_2 : CompHausLike.HasExplicitPullbacks P] →
          (hs :
              ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
                CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f)) →
            [CompHausLike.HasExplicitFiniteCoproducts P] →
              CompHausLike.LocallyConstant.functor P hs ⊣
                (CategoryTheory.sheafSections (CategoryTheory.coherentTopology (CompHausLike P)) (Type (max u w))).obj
                  (Opposite.op ↧PUnit.{u + 1})

CompHausLike.LocallyConstant.functor is left adjoint to the forgetful functor.

theorem CompHausLike.LocallyConstant.adjunction_counit E0 #

∀ (P : TopCat → Prop) [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  [inst_3 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  [inst_4 : CompHausLike.HasExplicitFiniteCoproducts P],
  (CompHausLike.LocallyConstant.adjunction P hs).counit = CompHausLike.LocallyConstant.counit P hs

theorem CompHausLike.LocallyConstant.adjunction_unit E0 #

∀ (P : TopCat → Prop) [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  [inst_3 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  [inst_4 : CompHausLike.HasExplicitFiniteCoproducts P],
  (CompHausLike.LocallyConstant.adjunction P hs).unit = CompHausLike.LocallyConstant.unit P hs

instance CompHausLike.LocallyConstant.instIsIsoFunctorTypeUnitSheafCoherentTopologyAdjunction E0 #

∀ (P : TopCat → Prop) [inst : ∀ (S : CompHausLike P) (p : ↑S.toTop → Prop), CompHausLike.HasProp P (Subtype p)]
  [inst_1 : CompHausLike.HasProp P PUnit.{u + 1}] [inst_2 : CompHausLike.HasExplicitFiniteCoproducts P]
  [inst_3 : CompHausLike.HasExplicitPullbacks P]
  (hs :
    ∀ ⦃X Y : CompHausLike P⦄ (f : X ⟶ Y),
      CategoryTheory.EffectiveEpi f → Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom f))
  [inst_4 : CompHausLike.HasExplicitFiniteCoproducts P],
  CategoryTheory.IsIso (CompHausLike.LocallyConstant.adjunction P hs).unit

abbrev CondensedSet.LocallyConstant.functor E3 #

CategoryTheory.Functor (Type (u + 1)) CondensedSet

The functor from sets to condensed sets given by locally constant maps into the set.

def CondensedSet.LocallyConstant.iso E3 #

CondensedSet.LocallyConstant.functor ≅ Condensed.discrete (Type (u + 1))

CondensedSet.LocallyConstant.functor is isomorphic to Condensed.discrete (by uniqueness of adjoints).

def CondensedSet.LocallyConstant.functorFullyFaithful E1 #

CondensedSet.LocallyConstant.functor.FullyFaithful

CondensedSet.LocallyConstant.functor is fully faithful.

instance CondensedSet.LocallyConstant.instFaithfulFunctor E0 #

CondensedSet.LocallyConstant.functor.Faithful

instance CondensedSet.LocallyConstant.instFullFunctor E0 #

CondensedSet.LocallyConstant.functor.Full

instance CondensedSet.LocallyConstant.instFaithfulCondensedTypeDiscrete E0 #

(Condensed.discrete (Type (u_1 + 1))).Faithful

instance CondensedSet.LocallyConstant.instFullCondensedTypeDiscrete E0 #

(Condensed.discrete (Type (u_1 + 1))).Full

abbrev LightCondSet.LocallyConstant.functor E3 #

CategoryTheory.Functor (Type u) LightCondSet

The functor from sets to light condensed sets given by locally constant maps into the set.

instance LightCondSet.LocallyConstant.instHasPropAndTotallyDisconnectedSpaceCarrierSecondCountableTopologySubtypeToTop E0 #

∀ (S : LightProfinite) (p : ↑S.toTop → Prop),
  CompHausLike.HasProp (fun X ↦ TotallyDisconnectedSpace ↑X ∧ SecondCountableTopology ↑X) (Subtype p)

def LightCondSet.LocallyConstant.iso E3 #

LightCondSet.LocallyConstant.functor ≅ LightCondensed.discrete (Type u)

LightCondSet.LocallyConstant.functor is isomorphic to LightCondensed.discrete (by uniqueness of adjoints).

def LightCondSet.LocallyConstant.functorFullyFaithful E1 #

LightCondSet.LocallyConstant.functor.FullyFaithful

LightCondSet.LocallyConstant.functor is fully faithful.

instance LightCondSet.LocallyConstant.instFaithfulFunctor E0 #

LightCondSet.LocallyConstant.functor.Faithful

instance LightCondSet.LocallyConstant.instFullFunctor E0 #

LightCondSet.LocallyConstant.functor.Full

instance LightCondSet.LocallyConstant.instFaithfulLightCondensedTypeDiscrete E0 #

(LightCondensed.discrete (Type u)).Faithful

instance LightCondSet.LocallyConstant.instFullLightCondensedTypeDiscrete E0 #

(LightCondensed.discrete (Type u)).Full