Documentation

Mathlib.CategoryTheory.Sites.Canonical

The canonical topology on a category #

We define the finest (largest) Grothendieck topology for which a given presheaf P is a sheaf. This is well defined since if P is a sheaf for a topology J, then it is a sheaf for any coarser (smaller) topology. Nonetheless we define the topology explicitly by specifying its sieves: A sieve S on X is covering for finestTopologySingle P iff for any f : Y ⟶ X, P satisfies the sheaf axiom for S.pullback f. Showing that this is a genuine Grothendieck topology (namely that it satisfies the transitivity axiom) forms the bulk of this file.

This generalises to a set of presheaves, giving the topology finestTopology Ps which is the finest topology for which every presheaf in Ps is a sheaf. Using Ps as the set of representable presheaves defines the canonicalTopology: the finest topology for which every representable is a sheaf.

A Grothendieck topology is called Subcanonical if it is smaller than the canonical topology, equivalently it is subcanonical iff every representable presheaf is a sheaf.

References #

@[deprecated CategoryTheory.Presieve.isSheafFor_bind (since := "2026-02-06")]
theorem CategoryTheory.Sheaf.isSheafFor_bind {C : Type u₁} [Category.{v₁, u₁} C] {X : C} (P : Functor Cᵒᵖ (Type u_1)) (U : Sieve X) (B : Y : C⦄ → f : Y X⦄ → U.arrows fSieve Y) (hU : Presieve.IsSheafFor P U.arrows) (hB : ∀ ⦃Y : C⦄ ⦃f : Y X⦄ (hf : U.arrows f), Presieve.IsSheafFor P (B hf).arrows) (hB' : ∀ ⦃Y : C⦄ ⦃f : Y X⦄ (h : U.arrows f) ⦃Z : C⦄ (g : Z Y), Presieve.IsSeparatedFor P (Sieve.pullback g (B h)).arrows) :

Alias of CategoryTheory.Presieve.isSheafFor_bind.

@[deprecated CategoryTheory.Presieve.isSheafFor_trans (since := "2026-02-06")]
theorem CategoryTheory.Sheaf.isSheafFor_trans {C : Type u₁} [Category.{v₁, u₁} C] {X : C} (P : Functor Cᵒᵖ (Type u_1)) (R S : Sieve X) (hR : Presieve.IsSheafFor P R.arrows) (hR' : ∀ ⦃Y : C⦄ ⦃f : Y X⦄, S.arrows fPresieve.IsSeparatedFor P (Sieve.pullback f R).arrows) (hS : ∀ ⦃Y : C⦄ ⦃f : Y X⦄, R.arrows fPresieve.IsSheafFor P (Sieve.pullback f S).arrows) :

Alias of CategoryTheory.Presieve.isSheafFor_trans.

Construct the finest (largest) Grothendieck topology for which the given presheaf is a sheaf.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Construct the finest (largest) Grothendieck topology for which all the given presheaves are sheaves.

    Equations
    Instances For

      Check that if P ∈ Ps, then P is indeed a sheaf for the finest topology on Ps.

      Check that if each P ∈ Ps is a sheaf for J, then J is a subtopology of finestTopology Ps.

      The canonicalTopology on a category is the finest (largest) topology for which every representable presheaf is a sheaf.

      Equations
      Instances For

        yoneda.obj X is a sheaf for the canonical topology.

        A representable functor is a sheaf for the canonical topology.

        A subcanonical topology is a topology which is smaller than the canonical topology. Equivalently, a topology is subcanonical iff every representable is a sheaf.

        Instances

          If every functor yoneda.obj X is a J-sheaf, then J is subcanonical.

          If J is subcanonical, we obtain a "Yoneda" functor from the defining site into the sheaf category.

          Equations
          Instances For

            Variant of the Yoneda embedding which allows a raise in the universe level for the category of types.

            Equations
            Instances For
              @[deprecated CategoryTheory.GrothendieckTopology.uliftYoneda (since := "2025-11-10")]

              Alias of CategoryTheory.GrothendieckTopology.uliftYoneda.


              Variant of the Yoneda embedding which allows a raise in the universe level for the category of types.

              Equations
              Instances For

                If C is a category with [Category.{max w v} C], this is the isomorphism uliftYoneda.{w} (C := C) ≅ yoneda.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The yoneda embedding into the presheaf category factors through the one to the sheaf category.

                  Equations
                  Instances For

                    A variant of yonedaCompSheafToPresheaf with a raise in the universe level.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For