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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Sites.Pretopology

36 declarations. Mathlib docs · Source

Grothendieck pretopologies

Definition and lemmas about Grothendieck pretopologies. A Grothendieck pretopology for a category C is a set of families of morphisms with fixed codomain, satisfying certain closure conditions.

We show that a pretopology generates a genuine Grothendieck topology, and every topology has a maximal pretopology which generates it.

The pretopology associated to a topological space is defined in Spaces.lean.

Tags

coverage, pretopology, site

References

theorem CategoryTheory.Pretopology.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (toPrecoverage : CategoryTheory.Precoverage C)
  (has_isos :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X) [CategoryTheory.IsIso f], CategoryTheory.Presieve.singleton f ∈ toPrecoverage.coverings X)
  (pullbacks :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X),
      ∀ S ∈ toPrecoverage.coverings X, CategoryTheory.Presieve.pullbackArrows f S ∈ toPrecoverage.coverings Y)
  (transitive :
    ∀ ⦃X : C⦄ (S : CategoryTheory.Presieve X) (Ti : ⦃Y : C⦄ → (f : Y ⟶ X) → S f → CategoryTheory.Presieve Y),
      S ∈ toPrecoverage.coverings X →
        (∀ ⦃Y : C⦄ (f : Y ⟶ X) (H : S f), Ti f H ∈ toPrecoverage.coverings Y) → S.bind Ti ∈ toPrecoverage.coverings X)
  (toPrecoverage_1 : CategoryTheory.Precoverage C)
  (has_isos_1 :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X) [CategoryTheory.IsIso f], CategoryTheory.Presieve.singleton f ∈ toPrecoverage_1.coverings X)
  (pullbacks_1 :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X),
      ∀ S ∈ toPrecoverage_1.coverings X, CategoryTheory.Presieve.pullbackArrows f S ∈ toPrecoverage_1.coverings Y)
  (transitive_1 :
    ∀ ⦃X : C⦄ (S : CategoryTheory.Presieve X) (Ti : ⦃Y : C⦄ → (f : Y ⟶ X) → S f → CategoryTheory.Presieve Y),
      S ∈ toPrecoverage_1.coverings X →
        (∀ ⦃Y : C⦄ (f : Y ⟶ X) (H : S f), Ti f H ∈ toPrecoverage_1.coverings Y) →
          S.bind Ti ∈ toPrecoverage_1.coverings X),
  ({ toPrecoverage := toPrecoverage, has_isos := has_isos, pullbacks := pullbacks, transitive := transitive } =
      { toPrecoverage := toPrecoverage_1, has_isos := has_isos_1, pullbacks := pullbacks_1,
        transitive := transitive_1 }) =
    (toPrecoverage = toPrecoverage_1)

def CategoryTheory.Pretopology.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {inst_1 : CategoryTheory.Limits.HasPullbacks C} → CategoryTheory.Pretopology C → ℕ

theorem CategoryTheory.Pretopology.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : CategoryTheory.Limits.HasPullbacks C}
  {toPrecoverage : CategoryTheory.Precoverage C}
  {has_isos :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X) [CategoryTheory.IsIso f], CategoryTheory.Presieve.singleton f ∈ toPrecoverage.coverings X}
  {pullbacks :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X),
      ∀ S ∈ toPrecoverage.coverings X, CategoryTheory.Presieve.pullbackArrows f S ∈ toPrecoverage.coverings Y}
  {transitive :
    ∀ ⦃X : C⦄ (S : CategoryTheory.Presieve X) (Ti : ⦃Y : C⦄ → (f : Y ⟶ X) → S f → CategoryTheory.Presieve Y),
      S ∈ toPrecoverage.coverings X →
        (∀ ⦃Y : C⦄ (f : Y ⟶ X) (H : S f), Ti f H ∈ toPrecoverage.coverings Y) → S.bind Ti ∈ toPrecoverage.coverings X}
  {toPrecoverage_1 : CategoryTheory.Precoverage C}
  {has_isos_1 :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X) [CategoryTheory.IsIso f], CategoryTheory.Presieve.singleton f ∈ toPrecoverage_1.coverings X}
  {pullbacks_1 :
    ∀ ⦃X Y : C⦄ (f : Y ⟶ X),
      ∀ S ∈ toPrecoverage_1.coverings X, CategoryTheory.Presieve.pullbackArrows f S ∈ toPrecoverage_1.coverings Y}
  {transitive_1 :
    ∀ ⦃X : C⦄ (S : CategoryTheory.Presieve X) (Ti : ⦃Y : C⦄ → (f : Y ⟶ X) → S f → CategoryTheory.Presieve Y),
      S ∈ toPrecoverage_1.coverings X →
        (∀ ⦃Y : C⦄ (f : Y ⟶ X) (H : S f), Ti f H ∈ toPrecoverage_1.coverings Y) →
          S.bind Ti ∈ toPrecoverage_1.coverings X},
  { toPrecoverage := toPrecoverage, has_isos := has_isos, pullbacks := pullbacks, transitive := transitive } =
      { toPrecoverage := toPrecoverage_1, has_isos := has_isos_1, pullbacks := pullbacks_1,
        transitive := transitive_1 } →
    toPrecoverage = toPrecoverage_1

theorem CategoryTheory.Pretopology.congr_simp E1 #

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

theorem CategoryTheory.Presieve.pullbackArrows.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {X Y : C} (f f_1 : Y ⟶ X) (e_f : f = f_1)
  (R R_1 : CategoryTheory.Presieve X) (e_R : R = R_1) [inst_1 : R.HasPullbacks f] ⦃Y_1 : C⦄ (a a_1 : Y_1 ⟶ Y),
  a = a_1 → CategoryTheory.Presieve.pullbackArrows f R a = CategoryTheory.Presieve.pullbackArrows f_1 R_1 a_1

structure CategoryTheory.Pretopology E1 #

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

A (Grothendieck) pretopology on C consists of a collection of families of morphisms with a fixed target X for every object X in C, called "coverings" of X, which satisfies the following three axioms:

  1. Every family consisting of a single isomorphism is a covering family.
  2. The collection of covering families is stable under pullback.
  3. Given a covering family, and a covering family on each domain of the former, the composition is a covering family.

In some sense, a pretopology can be seen as Grothendieck topology with weaker saturation conditions, in that each covering is not necessarily downward closed.

See: https://ncatlab.org/nlab/show/Grothendieck+pretopology or [MM92] Chapter III, Section 2, Definition 2.

theorem CategoryTheory.Pretopology.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : CategoryTheory.Limits.HasPullbacks C}
  {x y : CategoryTheory.Pretopology C}, x.coverings = y.coverings → x = y

theorem CategoryTheory.Pretopology.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {inst_1 : CategoryTheory.Limits.HasPullbacks C}
  {x y : CategoryTheory.Pretopology C}, x = y ↔ x.coverings = y.coverings

ctor CategoryTheory.Pretopology.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      (toPrecoverage : CategoryTheory.Precoverage C) →
        (∀ ⦃X Y : C⦄ (f : Y ⟶ X) [CategoryTheory.IsIso f],
            CategoryTheory.Presieve.singleton f ∈ toPrecoverage.coverings X) →
          (∀ ⦃X Y : C⦄ (f : Y ⟶ X),
              ∀ S ∈ toPrecoverage.coverings X, CategoryTheory.Presieve.pullbackArrows f S ∈ toPrecoverage.coverings Y) →
            (∀ ⦃X : C⦄ (S : CategoryTheory.Presieve X) (Ti : ⦃Y : C⦄ → (f : Y ⟶ X) → S f → CategoryTheory.Presieve Y),
                S ∈ toPrecoverage.coverings X →
                  (∀ ⦃Y : C⦄ (f : Y ⟶ X) (H : S f), Ti f H ∈ toPrecoverage.coverings Y) →
                    S.bind Ti ∈ toPrecoverage.coverings X) →
              CategoryTheory.Pretopology C

abbrev CategoryTheory.Pretopology.toPrecoverage E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] → CategoryTheory.Pretopology C → CategoryTheory.Precoverage C

theorem CategoryTheory.Pretopology.has_isos E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (self : CategoryTheory.Pretopology C) ⦃X Y : C⦄ (f : Y ⟶ X) [CategoryTheory.IsIso f],
  CategoryTheory.Presieve.singleton f ∈ self.coverings X

For all X : C, the coverings of X (sets of families of morphisms with target X)

theorem CategoryTheory.Pretopology.pullbacks E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (self : CategoryTheory.Pretopology C) ⦃X Y : C⦄ (f : Y ⟶ X),
  ∀ S ∈ self.coverings X, CategoryTheory.Presieve.pullbackArrows f S ∈ self.coverings Y

theorem CategoryTheory.Pretopology.transitive E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (self : CategoryTheory.Pretopology C) ⦃X : C⦄ (S : CategoryTheory.Presieve X)
  (Ti : ⦃Y : C⦄ → (f : Y ⟶ X) → S f → CategoryTheory.Presieve Y),
  S ∈ self.coverings X → (∀ ⦃Y : C⦄ (f : Y ⟶ X) (H : S f), Ti f H ∈ self.coverings Y) → S.bind Ti ∈ self.coverings X

instance CategoryTheory.Pretopology.instCoeFunForallSetPresieve E0 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      CoeFun (CategoryTheory.Pretopology C) fun x ↦ (X : C) → Set (CategoryTheory.Presieve X)

instance CategoryTheory.Pretopology.LE E0 #

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

theorem CategoryTheory.Pretopology.le_def E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  {K₁ K₂ : CategoryTheory.Pretopology C}, K₁ ≤ K₂ ↔ K₁.coverings ≤ K₂.coverings

instance CategoryTheory.Pretopology.instPartialOrder E0 #

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

instance CategoryTheory.Pretopology.orderTop E0 #

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

instance CategoryTheory.Pretopology.instInhabited E0 #

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

def CategoryTheory.Pretopology.toGrothendieck E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      CategoryTheory.Pretopology C → CategoryTheory.GrothendieckTopology C

A pretopology K can be completed to a Grothendieck topology J by declaring a sieve to be J-covering if it contains a family in K.

See also [MM92] Chapter III, Section 2, Equation (2).

theorem CategoryTheory.Pretopology.mem_toGrothendieck E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (K : CategoryTheory.Pretopology C) (X : C) (S : CategoryTheory.Sieve X),
  S ∈ K.toGrothendieck X ↔ ∃ R ∈ K.coverings X, R ≤ S.arrows

def CategoryTheory.GrothendieckTopology.toPretopology E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      CategoryTheory.GrothendieckTopology C → CategoryTheory.Pretopology C

The largest pretopology generating the given Grothendieck topology.

See [MM92] Chapter III, Section 2, Equations (3,4).

def CategoryTheory.Pretopology.gi E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      GaloisInsertion CategoryTheory.Pretopology.toGrothendieck CategoryTheory.GrothendieckTopology.toPretopology

We have a Galois insertion from pretopologies to Grothendieck topologies.

theorem CategoryTheory.GrothendieckTopology.mem_toPretopology E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (t : CategoryTheory.GrothendieckTopology C) {X : C} (S : CategoryTheory.Presieve X),
  S ∈ t.toPretopology.coverings X ↔ CategoryTheory.Sieve.generate S ∈ t X

def CategoryTheory.Pretopology.trivial E1 #

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

The trivial pretopology, in which the coverings are exactly singleton isomorphisms. This topology is also known as the indiscrete, coarse, or chaotic topology.

instance CategoryTheory.Pretopology.orderBot E0 #

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

theorem CategoryTheory.Pretopology.toGrothendieck_bot E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C],
  ⊥.toGrothendieck = ⊥

The trivial pretopology induces the trivial Grothendieck topology.

theorem CategoryTheory.Pretopology.toGrothendieck_mono E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  {J K : CategoryTheory.Pretopology C}, J ≤ K → J.toGrothendieck ≤ K.toGrothendieck

instance CategoryTheory.Pretopology.instInfSet E0 #

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

theorem CategoryTheory.Pretopology.mem_sInf E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (T : Set (CategoryTheory.Pretopology C)) {X : C} (S : CategoryTheory.Presieve X),
  S ∈ (sInf T).coverings X ↔ ∀ t ∈ T, S ∈ t.coverings X

theorem CategoryTheory.Pretopology.sInf_ofGrothendieck E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (T : Set (CategoryTheory.GrothendieckTopology C)),
  (sInf T).toPretopology = sInf (CategoryTheory.GrothendieckTopology.toPretopology '' T)

theorem CategoryTheory.Pretopology.isGLB_sInf E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (T : Set (CategoryTheory.Pretopology C)), IsGLB T (sInf T)

instance CategoryTheory.Pretopology.instCompleteLattice E0 #

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

The complete lattice structure on pretopologies. This is induced by the InfSet instance, but with good definitional equalities for ⊥, ⊤ and ⊓.

theorem CategoryTheory.Pretopology.mem_inf E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (t₁ t₂ : CategoryTheory.Pretopology C) {X : C} (S : CategoryTheory.Presieve X),
  S ∈ (t₁ ⊓ t₂).coverings X ↔ S ∈ t₁.coverings X ∧ S ∈ t₂.coverings X

def CategoryTheory.Precoverage.toPretopology E1 #

(C : Type u) →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasPullbacks C] →
      (J : CategoryTheory.Precoverage C) →
        [J.HasIsos] → [J.IsStableUnderBaseChange] → [J.IsStableUnderComposition] → CategoryTheory.Pretopology C

If J is a precoverage that has isomorphisms and is stable under composition and base change, it defines a pretopology.

theorem CategoryTheory.Precoverage.toPretopology_toPrecoverage E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasPullbacks C]
  (J : CategoryTheory.Precoverage C) [inst_2 : J.HasIsos] [inst_3 : J.IsStableUnderBaseChange]
  [inst_4 : J.IsStableUnderComposition], (CategoryTheory.Precoverage.toPretopology C J).toPrecoverage = J