The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Sites.Grothendieck
152 declarations. Mathlib docs · Source
Grothendieck topologies
Definition and lemmas about Grothendieck topologies.
A Grothendieck topology for a category C is a set of sieves on each object X satisfying
certain closure conditions.
Alternate versions of the axioms (in arrow form) are also described. Two explicit examples of Grothendieck topologies are given:
- The dense topology
- The atomic topology
as well as the complete lattice structure on Grothendieck topologies (which gives two additional explicit topologies: the discrete and trivial topologies.)
A pretopology, or a basis for a topology is defined in
Mathlib/CategoryTheory/Sites/Pretopology.lean. The topology associated
to a topological space is defined in Mathlib/CategoryTheory/Sites/Spaces.lean.
Tags
Grothendieck topology, coverage, pretopology, site
References
- nLab, Grothendieck topology
- [S. MacLane, I. Moerdijk, Sheaves in Geometry and Logic][MM92]
Implementation notes
We use the definition of [nlab] and [MM92][] (Chapter III, Section 2), where Grothendieck topologies are saturated collections of morphisms, rather than the notions of the Stacks project (00VG) and the Elephant, in which topologies are allowed to be unsaturated, and are then completed. TODO (BM): Add the definition from Stacks, as a pretopology, and complete to a topology.
This is so that we can produce a bijective correspondence between Grothendieck topologies on a small category and Lawvere-Tierney topologies on its presheaf topos, as well as the equivalence between Grothendieck topoi and left exact reflective subcategories of presheaf toposes.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.mk.inj E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {I₁ I₂ : S.Arrow} {Z : C} {g₁ : Z ⟶ I₁.Y} {g₂ : Z ⟶ I₂.Y}
{w :
autoParam (CategoryTheory.CategoryStruct.comp g₁ I₁.f = CategoryTheory.CategoryStruct.comp g₂ I₂.f)
CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.w._autoParam}
{Z_1 : C} {g₁_1 : Z_1 ⟶ I₁.Y} {g₂_1 : Z_1 ⟶ I₂.Y}
{w_1 :
autoParam (CategoryTheory.CategoryStruct.comp g₁_1 I₁.f = CategoryTheory.CategoryStruct.comp g₂_1 I₂.f)
CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.w._autoParam},
{ Z := Z, g₁ := g₁, g₂ := g₂, w := w } = { Z := Z_1, g₁ := g₁_1, g₂ := g₂_1, w := w_1 } →
Z = Z_1 ∧ g₁ ≍ g₁_1 ∧ g₂ ≍ g₂_1
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.mk.injEq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} (Y : C) (f : Y ⟶ X) (hf : (↑S).arrows f) (Y_1 : C) (f_1 : Y_1 ⟶ X) (hf_1 : (↑S).arrows f_1),
({ Y := Y, f := f, hf := hf } = { Y := Y_1, f := f_1, hf := hf_1 }) = (Y = Y_1 ∧ f ≍ f_1)
theorem CategoryTheory.GrothendieckTopology.mk.injEq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (sieves : (X : C) → Set (CategoryTheory.Sieve X))
(top_mem' : ∀ (X : C), ⊤ ∈ sieves X)
(pullback_stable' :
∀ ⦃X Y : C⦄ ⦃S : CategoryTheory.Sieve X⦄ (f : Y ⟶ X), S ∈ sieves X → CategoryTheory.Sieve.pullback f S ∈ sieves Y)
(transitive' :
∀ ⦃X : C⦄ ⦃S : CategoryTheory.Sieve X⦄,
S ∈ sieves X →
∀ (R : CategoryTheory.Sieve X),
(∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄, S.arrows f → CategoryTheory.Sieve.pullback f R ∈ sieves Y) → R ∈ sieves X)
(sieves_1 : (X : C) → Set (CategoryTheory.Sieve X)) (top_mem'_1 : ∀ (X : C), ⊤ ∈ sieves_1 X)
(pullback_stable'_1 :
∀ ⦃X Y : C⦄ ⦃S : CategoryTheory.Sieve X⦄ (f : Y ⟶ X),
S ∈ sieves_1 X → CategoryTheory.Sieve.pullback f S ∈ sieves_1 Y)
(transitive'_1 :
∀ ⦃X : C⦄ ⦃S : CategoryTheory.Sieve X⦄,
S ∈ sieves_1 X →
∀ (R : CategoryTheory.Sieve X),
(∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄, S.arrows f → CategoryTheory.Sieve.pullback f R ∈ sieves_1 Y) → R ∈ sieves_1 X),
({ sieves := sieves, top_mem' := top_mem', pullback_stable' := pullback_stable', transitive' := transitive' } =
{ sieves := sieves_1, top_mem' := top_mem'_1, pullback_stable' := pullback_stable'_1,
transitive' := transitive'_1 }) =
(sieves = sieves_1)
theorem CategoryTheory.GrothendieckTopology.Cover.Relation.mk.inj E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {fst snd : S.Arrow} {r : fst.Relation snd} {fst_1 snd_1 : S.Arrow} {r_1 : fst_1.Relation snd_1},
{ fst := fst, snd := snd, r := r } = { fst := fst_1, snd := snd_1, r := r_1 } → fst = fst_1 ∧ snd = snd_1 ∧ r ≍ r_1
theorem CategoryTheory.GrothendieckTopology.Cover.Relation.mk.injEq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {fst snd : S.Arrow} (r : fst.Relation snd) (fst_1 snd_1 : S.Arrow) (r_1 : fst_1.Relation snd_1),
({ fst := fst, snd := snd, r := r } = { fst := fst_1, snd := snd_1, r := r_1 }) =
(fst = fst_1 ∧ snd = snd_1 ∧ r ≍ r_1)
def CategoryTheory.GrothendieckTopology.Cover.Arrow.ctorIdx E1 #
{C : Type u} →
{inst : CategoryTheory.Category.{v, u} C} →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → S.Arrow → ℕ
theorem CategoryTheory.GrothendieckTopology.mk.inj E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {sieves : (X : C) → Set (CategoryTheory.Sieve X)}
{top_mem' : ∀ (X : C), ⊤ ∈ sieves X}
{pullback_stable' :
∀ ⦃X Y : C⦄ ⦃S : CategoryTheory.Sieve X⦄ (f : Y ⟶ X), S ∈ sieves X → CategoryTheory.Sieve.pullback f S ∈ sieves Y}
{transitive' :
∀ ⦃X : C⦄ ⦃S : CategoryTheory.Sieve X⦄,
S ∈ sieves X →
∀ (R : CategoryTheory.Sieve X),
(∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄, S.arrows f → CategoryTheory.Sieve.pullback f R ∈ sieves Y) → R ∈ sieves X}
{sieves_1 : (X : C) → Set (CategoryTheory.Sieve X)} {top_mem'_1 : ∀ (X : C), ⊤ ∈ sieves_1 X}
{pullback_stable'_1 :
∀ ⦃X Y : C⦄ ⦃S : CategoryTheory.Sieve X⦄ (f : Y ⟶ X),
S ∈ sieves_1 X → CategoryTheory.Sieve.pullback f S ∈ sieves_1 Y}
{transitive'_1 :
∀ ⦃X : C⦄ ⦃S : CategoryTheory.Sieve X⦄,
S ∈ sieves_1 X →
∀ (R : CategoryTheory.Sieve X),
(∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄, S.arrows f → CategoryTheory.Sieve.pullback f R ∈ sieves_1 Y) → R ∈ sieves_1 X},
{ sieves := sieves, top_mem' := top_mem', pullback_stable' := pullback_stable', transitive' := transitive' } =
{ sieves := sieves_1, top_mem' := top_mem'_1, pullback_stable' := pullback_stable'_1,
transitive' := transitive'_1 } →
sieves = sieves_1
def CategoryTheory.GrothendieckTopology.Cover.Relation.ctorIdx E1 #
{C : Type u} →
{inst : CategoryTheory.Category.{v, u} C} →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → S.Relation → ℕ
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.mk.injEq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {I₁ I₂ : S.Arrow} (Z : C) (g₁ : Z ⟶ I₁.Y) (g₂ : Z ⟶ I₂.Y)
(w :
autoParam (CategoryTheory.CategoryStruct.comp g₁ I₁.f = CategoryTheory.CategoryStruct.comp g₂ I₂.f)
CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.w._autoParam)
(Z_1 : C) (g₁_1 : Z_1 ⟶ I₁.Y) (g₂_1 : Z_1 ⟶ I₂.Y)
(w_1 :
autoParam (CategoryTheory.CategoryStruct.comp g₁_1 I₁.f = CategoryTheory.CategoryStruct.comp g₂_1 I₂.f)
CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.w._autoParam),
({ Z := Z, g₁ := g₁, g₂ := g₂, w := w } = { Z := Z_1, g₁ := g₁_1, g₂ := g₂_1, w := w_1 }) =
(Z = Z_1 ∧ g₁ ≍ g₁_1 ∧ g₂ ≍ g₂_1)
def CategoryTheory.GrothendieckTopology.ctorIdx E1 #
{C : Type u} → {inst : CategoryTheory.Category.{v, u} C} → CategoryTheory.GrothendieckTopology C → ℕ
def CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.ctorIdx E1 #
{C : Type u} →
{inst : CategoryTheory.Category.{v, u} C} →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → {I₁ I₂ : S.Arrow} → I₁.Relation I₂ → ℕ
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.mk.inj E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {Y : C} {f : Y ⟶ X} {hf : (↑S).arrows f} {Y_1 : C} {f_1 : Y_1 ⟶ X} {hf_1 : (↑S).arrows f_1},
{ Y := Y, f := f, hf := hf } = { Y := Y_1, f := f_1, hf := hf_1 } → Y = Y_1 ∧ f ≍ f_1
structure CategoryTheory.GrothendieckTopology E3 #
(C : Type u) → [CategoryTheory.Category.{v, u} C] → Type (max u v)
The definition of a Grothendieck topology: a set of sieves J X on each object X satisfying
three axioms:
- For every object
X, the maximal sieve is inJ X. - If
S ∈ J Xthen its pullback along anyh : Y ⟶ Xis inJ Y. - If
S ∈ J XandRis a sieve onX, then provided that the pullback ofRalong any arrowf : Y ⟶ XinSis inJ Y, we have thatRitself is inJ X.
A sieve S on X is referred to as J-covering, (or just covering), if S ∈ J X.
See also [nlab] or [MM92] Chapter III, Section 2, Definition 1.
ctor CategoryTheory.GrothendieckTopology.mk E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(sieves : (X : C) → Set (CategoryTheory.Sieve X)) →
(∀ (X : C), ⊤ ∈ sieves X) →
(∀ ⦃X Y : C⦄ ⦃S : CategoryTheory.Sieve X⦄ (f : Y ⟶ X),
S ∈ sieves X → CategoryTheory.Sieve.pullback f S ∈ sieves Y) →
(∀ ⦃X : C⦄ ⦃S : CategoryTheory.Sieve X⦄,
S ∈ sieves X →
∀ (R : CategoryTheory.Sieve X),
(∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄, S.arrows f → CategoryTheory.Sieve.pullback f R ∈ sieves Y) → R ∈ sieves X) →
CategoryTheory.GrothendieckTopology C
abbrev CategoryTheory.GrothendieckTopology.sieves E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
CategoryTheory.GrothendieckTopology C → (X : C) → Set (CategoryTheory.Sieve X)
A Grothendieck topology on C consists of a set of sieves for each object X,
which satisfy some axioms.
theorem CategoryTheory.GrothendieckTopology.top_mem' E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (self : CategoryTheory.GrothendieckTopology C) (X : C),
⊤ ∈ self.sieves X
The sieves associated to each object must contain the top sieve.
Use GrothendieckTopology.top_mem.
theorem CategoryTheory.GrothendieckTopology.pullback_stable' E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (self : CategoryTheory.GrothendieckTopology C) ⦃X Y : C⦄
⦃S : CategoryTheory.Sieve X⦄ (f : Y ⟶ X), S ∈ self.sieves X → CategoryTheory.Sieve.pullback f S ∈ self.sieves Y
Stability under pullback. Use GrothendieckTopology.pullback_stable.
theorem CategoryTheory.GrothendieckTopology.transitive' E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (self : CategoryTheory.GrothendieckTopology C) ⦃X : C⦄
⦃S : CategoryTheory.Sieve X⦄,
S ∈ self.sieves X →
∀ (R : CategoryTheory.Sieve X),
(∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄, S.arrows f → CategoryTheory.Sieve.pullback f R ∈ self.sieves Y) → R ∈ self.sieves X
Transitivity of sieves in a Grothendieck topology. Use GrothendieckTopology.transitive.
instance CategoryTheory.GrothendieckTopology.instDFunLikeSetSieve E0 #
(C : Type u) →
[inst : CategoryTheory.Category.{v, u} C] →
DFunLike (CategoryTheory.GrothendieckTopology C) C fun X ↦ Set (CategoryTheory.Sieve X)
theorem CategoryTheory.GrothendieckTopology.ext E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J₁ J₂ : CategoryTheory.GrothendieckTopology C},
⇑J₁ = ⇑J₂ → J₁ = J₂
An extensionality lemma in terms of the coercion to a pi-type.
We prove this explicitly rather than deriving it so that it is in terms of the coercion rather than
the projection .sieves.
theorem CategoryTheory.GrothendieckTopology.ext_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J₁ J₂ : CategoryTheory.GrothendieckTopology C},
J₁ = J₂ ↔ ⇑J₁ = ⇑J₂
theorem CategoryTheory.GrothendieckTopology.mem_sieves_iff_coe E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S : CategoryTheory.Sieve X}
(J : CategoryTheory.GrothendieckTopology C), S ∈ J.sieves X ↔ S ∈ J X
theorem CategoryTheory.GrothendieckTopology.top_mem E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) (X : C), ⊤ ∈ J X
Also known as the maximality axiom.
theorem CategoryTheory.GrothendieckTopology.pullback_stable E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {S : CategoryTheory.Sieve X}
(J : CategoryTheory.GrothendieckTopology C) (f : Y ⟶ X), S ∈ J X → CategoryTheory.Sieve.pullback f S ∈ J Y
Also known as the stability axiom.
theorem CategoryTheory.GrothendieckTopology.pullback_mem_iff_of_isIso E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {J : CategoryTheory.GrothendieckTopology C}
{i : X ⟶ Y} [CategoryTheory.IsIso i] {S : CategoryTheory.Sieve Y}, CategoryTheory.Sieve.pullback i S ∈ J X ↔ S ∈ J Y
theorem CategoryTheory.GrothendieckTopology.transitive E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S : CategoryTheory.Sieve X}
(J : CategoryTheory.GrothendieckTopology C),
S ∈ J X →
∀ (R : CategoryTheory.Sieve X),
(∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄, S.arrows f → CategoryTheory.Sieve.pullback f R ∈ J Y) → R ∈ J X
theorem CategoryTheory.GrothendieckTopology.covering_of_eq_top E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S : CategoryTheory.Sieve X}
(J : CategoryTheory.GrothendieckTopology C), S = ⊤ → S ∈ J X
def CategoryTheory.GrothendieckTopology.copy E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(s : (X : C) → Set (CategoryTheory.Sieve X)) → J.sieves = s → CategoryTheory.GrothendieckTopology C
Given a GrothendieckTopology and a set of sieves s that is equal, form a new
GrothendieckTopology whose set of sieves is definitionally equal to s.
theorem CategoryTheory.GrothendieckTopology.sieves_copy E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
{s : (X : C) → Set (CategoryTheory.Sieve X)} {h : J.sieves = s}, (J.copy s h).sieves = s
theorem CategoryTheory.GrothendieckTopology.coe_copy E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
{s : (X : C) → Set (CategoryTheory.Sieve X)} {h : J.sieves = s}, ⇑(J.copy s h) = s
theorem CategoryTheory.GrothendieckTopology.copy_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C}
{s : (X : C) → Set (CategoryTheory.Sieve X)} {h : J.sieves = s}, J.copy s h = J
theorem CategoryTheory.GrothendieckTopology.superset_covering E2 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S R : CategoryTheory.Sieve X}
(J : CategoryTheory.GrothendieckTopology C), S ≤ R → S ∈ J X → R ∈ J X
If S is a subset of R, and S is covering, then R is covering as well.
See also discussion after [MM92] Chapter III, Section 2, Definition 1.
theorem CategoryTheory.GrothendieckTopology.intersection_covering E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S R : CategoryTheory.Sieve X}
(J : CategoryTheory.GrothendieckTopology C), R ∈ J X → S ∈ J X → R ⊓ S ∈ J X
The intersection of two covering sieves is covering.
See also [MM92] Chapter III, Section 2, Definition 1 (iv).
theorem CategoryTheory.GrothendieckTopology.intersection_covering_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S R : CategoryTheory.Sieve X}
(J : CategoryTheory.GrothendieckTopology C), R ⊓ S ∈ J X ↔ R ∈ J X ∧ S ∈ J X
theorem CategoryTheory.GrothendieckTopology.bind_covering E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (J : CategoryTheory.GrothendieckTopology C)
{S : CategoryTheory.Sieve X} {R : ⦃Y : C⦄ → ⦃f : Y ⟶ X⦄ → S.arrows f → CategoryTheory.Sieve Y},
S ∈ J X → (∀ ⦃Y : C⦄ ⦃f : Y ⟶ X⦄ (H : S.arrows f), R H ∈ J Y) → CategoryTheory.Sieve.bind S.arrows R ∈ J X
theorem CategoryTheory.GrothendieckTopology.bindOfArrows E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : CategoryTheory.GrothendieckTopology C) {ι : Type u_1}
{X : C} {Z : ι → C} {f : (i : ι) → Z i ⟶ X} {R : (i : ι) → CategoryTheory.Presieve (Z i)},
CategoryTheory.Sieve.ofArrows Z f ∈ J X →
(∀ (i : ι), CategoryTheory.Sieve.generate (R i) ∈ J (Z i)) →
CategoryTheory.Sieve.generate (CategoryTheory.Presieve.bindOfArrows Z f R) ∈ J X
def CategoryTheory.GrothendieckTopology.Covers E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X Y : C} → CategoryTheory.GrothendieckTopology C → CategoryTheory.Sieve X → (Y ⟶ X) → Prop
The sieve S on X J-covers an arrow f to X if S.pullback f ∈ J Y.
This definition is an alternate way of presenting a Grothendieck topology.
theorem CategoryTheory.GrothendieckTopology.covers_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (J : CategoryTheory.GrothendieckTopology C)
(S : CategoryTheory.Sieve X) (f : Y ⟶ X), J.Covers S f ↔ CategoryTheory.Sieve.pullback f S ∈ J Y
theorem CategoryTheory.GrothendieckTopology.covering_iff_covers_id E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} (J : CategoryTheory.GrothendieckTopology C)
(S : CategoryTheory.Sieve X), S ∈ J X ↔ J.Covers S (CategoryTheory.CategoryStruct.id X)
theorem CategoryTheory.GrothendieckTopology.arrow_max E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (J : CategoryTheory.GrothendieckTopology C)
(f : Y ⟶ X) (S : CategoryTheory.Sieve X), S.arrows f → J.Covers S f
The maximality axiom in 'arrow' form: Any arrow f in S is covered by S.
theorem CategoryTheory.GrothendieckTopology.arrow_stable E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (J : CategoryTheory.GrothendieckTopology C)
(f : Y ⟶ X) (S : CategoryTheory.Sieve X),
J.Covers S f → ∀ {Z : C} (g : Z ⟶ Y), J.Covers S (CategoryTheory.CategoryStruct.comp g f)
The stability axiom in 'arrow' form: If S covers f then S covers g ≫ f for any g.
theorem CategoryTheory.GrothendieckTopology.arrow_trans E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (J : CategoryTheory.GrothendieckTopology C)
(f : Y ⟶ X) (S R : CategoryTheory.Sieve X),
J.Covers S f → (∀ {Z : C} (g : Z ⟶ X), S.arrows g → J.Covers R g) → J.Covers R f
The transitivity axiom in 'arrow' form: If S covers f and every arrow in S is covered by
R, then R covers f.
theorem CategoryTheory.GrothendieckTopology.arrow_intersect E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (J : CategoryTheory.GrothendieckTopology C)
(f : Y ⟶ X) (S R : CategoryTheory.Sieve X), J.Covers S f → J.Covers R f → J.Covers (S ⊓ R) f
def CategoryTheory.GrothendieckTopology.trivial E1 #
(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.GrothendieckTopology C
The trivial Grothendieck topology, in which only the maximal sieve is covering. This topology is also known as the indiscrete, coarse, or chaotic topology.
See [MM92] Chapter III, Section 2, example (a), or https://en.wikipedia.org/wiki/Grothendieck_topology#The_discrete_and_indiscrete_topologies
def CategoryTheory.GrothendieckTopology.discrete E1 #
(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.GrothendieckTopology C
The discrete Grothendieck topology, in which every sieve is covering.
See https://en.wikipedia.org/wiki/Grothendieck_topology#The_discrete_and_indiscrete_topologies.
theorem CategoryTheory.GrothendieckTopology.trivial_covering E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S : CategoryTheory.Sieve X},
S ∈ (CategoryTheory.GrothendieckTopology.trivial C) X ↔ S = ⊤
instance CategoryTheory.GrothendieckTopology.instLEGrothendieckTopology E0 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → LE (CategoryTheory.GrothendieckTopology C)
theorem CategoryTheory.GrothendieckTopology.le_def E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J₁ J₂ : CategoryTheory.GrothendieckTopology C},
J₁ ≤ J₂ ↔ ⇑J₁ ≤ ⇑J₂
instance CategoryTheory.GrothendieckTopology.instPartialOrder E0 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → PartialOrder (CategoryTheory.GrothendieckTopology C)
instance CategoryTheory.GrothendieckTopology.instInfSet E0 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → InfSet (CategoryTheory.GrothendieckTopology C)
theorem CategoryTheory.GrothendieckTopology.mem_sInf E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (s : Set (CategoryTheory.GrothendieckTopology C)) {X : C}
(S : CategoryTheory.Sieve X), S ∈ (sInf s) X ↔ ∀ t ∈ s, S ∈ t X
theorem CategoryTheory.GrothendieckTopology.isGLB_sInf E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (s : Set (CategoryTheory.GrothendieckTopology C)),
IsGLB s (sInf s)
instance CategoryTheory.GrothendieckTopology.instCompleteLattice E0 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → CompleteLattice (CategoryTheory.GrothendieckTopology C)
Construct a complete lattice from the Inf, but make the trivial and discrete topologies
definitionally equal to the bottom and top respectively.
instance CategoryTheory.GrothendieckTopology.instInhabited E0 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → Inhabited (CategoryTheory.GrothendieckTopology C)
theorem CategoryTheory.GrothendieckTopology.trivial_eq_bot E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C], CategoryTheory.GrothendieckTopology.trivial C = ⊥
theorem CategoryTheory.GrothendieckTopology.discrete_eq_top E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C], CategoryTheory.GrothendieckTopology.discrete C = ⊤
theorem CategoryTheory.GrothendieckTopology.bot_covering E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S : CategoryTheory.Sieve X}, S ∈ ⊥ X ↔ S = ⊤
theorem CategoryTheory.GrothendieckTopology.top_covering E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S : CategoryTheory.Sieve X}, S ∈ ⊤ X
theorem CategoryTheory.GrothendieckTopology.bot_covers E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (S : CategoryTheory.Sieve X) (f : Y ⟶ X),
⊥.Covers S f ↔ S.arrows f
theorem CategoryTheory.GrothendieckTopology.top_covers E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (S : CategoryTheory.Sieve X) (f : Y ⟶ X),
⊤.Covers S f
theorem CategoryTheory.GrothendieckTopology.bot_eq_top_iff_isEmpty E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C], ⊥ = ⊤ ↔ IsEmpty C
theorem CategoryTheory.GrothendieckTopology.bot_lt_top_iff_nonempty E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C], ⊥ < ⊤ ↔ Nonempty C
def CategoryTheory.GrothendieckTopology.dense E1 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.GrothendieckTopology C
The dense Grothendieck topology.
See https://ncatlab.org/nlab/show/dense+topology, or [MM92] Chapter III, Section 2, example (e).
theorem CategoryTheory.GrothendieckTopology.dense_covering E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {S : CategoryTheory.Sieve X},
S ∈ CategoryTheory.GrothendieckTopology.dense X ↔
∀ {Y : C} (f : Y ⟶ X), ∃ Z g, S.arrows (CategoryTheory.CategoryStruct.comp g f)
def CategoryTheory.GrothendieckTopology.RightOreCondition E1 #
(C : Type u) → [CategoryTheory.Category.{v, u} C] → Prop
A category satisfies the right Ore condition if any span can be completed to a commutative square.
NB. Any category with pullbacks obviously satisfies the right Ore condition, see
right_ore_of_pullbacks.
theorem CategoryTheory.GrothendieckTopology.right_ore_of_pullbacks E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasPullbacks C],
CategoryTheory.GrothendieckTopology.RightOreCondition C
def CategoryTheory.GrothendieckTopology.atomic E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
CategoryTheory.GrothendieckTopology.RightOreCondition C → CategoryTheory.GrothendieckTopology C
The atomic Grothendieck topology: a sieve is covering iff it is nonempty. For the pullback stability condition, we need the right Ore condition to hold.
See https://ncatlab.org/nlab/show/atomic+site, or [MM92] Chapter III, Section 2, example (f).
def CategoryTheory.GrothendieckTopology.Cover E1 #
{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.GrothendieckTopology C → C → Type (max u v)
J.Cover X denotes the poset of covers of X with respect to the
Grothendieck topology J.
instance CategoryTheory.GrothendieckTopology.instPreorderCover E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
(J : CategoryTheory.GrothendieckTopology C) → (X : C) → Preorder (J.Cover X)
instance CategoryTheory.GrothendieckTopology.Cover.instCoeOutSieve E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → CoeOut (J.Cover X) (CategoryTheory.Sieve X)
instance CategoryTheory.GrothendieckTopology.Cover.instCoeFunForallForallHomProp E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → CoeFun (J.Cover X) fun x ↦ ⦃Y : C⦄ → (Y ⟶ X) → Prop
theorem CategoryTheory.GrothendieckTopology.Cover.condition E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
(S : J.Cover X), ↑S ∈ J X
theorem CategoryTheory.GrothendieckTopology.Cover.ext E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
(S T : J.Cover X), (∀ ⦃Y : C⦄ (f : Y ⟶ X), (↑S).arrows f ↔ (↑T).arrows f) → S = T
theorem CategoryTheory.GrothendieckTopology.Cover.ext_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S T : J.Cover X}, S = T ↔ ∀ ⦃Y : C⦄ (f : Y ⟶ X), (↑S).arrows f ↔ (↑T).arrows f
instance CategoryTheory.GrothendieckTopology.Cover.instOrderTop E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → OrderTop (J.Cover X)
instance CategoryTheory.GrothendieckTopology.Cover.instSemilatticeInf E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → SemilatticeInf (J.Cover X)
instance CategoryTheory.GrothendieckTopology.Cover.instInhabited E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → Inhabited (J.Cover X)
structure CategoryTheory.GrothendieckTopology.Cover.Arrow E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → J.Cover X → Type (max u v)
An auxiliary structure, used to define S.index.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.ext_iff E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {x y : S.Arrow}, x = y ↔ x.Y = y.Y ∧ x.f ≍ y.f
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.ext E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {x y : S.Arrow}, x.Y = y.Y → x.f ≍ y.f → x = y
ctor CategoryTheory.GrothendieckTopology.Cover.Arrow.mk E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → (Y : C) → (f : Y ⟶ X) → (↑S).arrows f → S.Arrow
abbrev CategoryTheory.GrothendieckTopology.Cover.Arrow.Y E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → S.Arrow → C
The source of the arrow.
abbrev CategoryTheory.GrothendieckTopology.Cover.Arrow.f E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → (self : S.Arrow) → self.Y ⟶ X
The arrow itself.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.hf E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} (self : S.Arrow), (↑S).arrows self.f
The given arrow is contained in the given sieve.
structure CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → S.Arrow → S.Arrow → Type (max u v)
Relation between two elements in S.arrow, the data of which
involves a commutative square.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.ext_iff E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {I₁ I₂ : S.Arrow} {x y : I₁.Relation I₂}, x = y ↔ x.Z = y.Z ∧ x.g₁ ≍ y.g₁ ∧ x.g₂ ≍ y.g₂
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.ext E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {I₁ I₂ : S.Arrow} {x y : I₁.Relation I₂}, x.Z = y.Z → x.g₁ ≍ y.g₁ → x.g₂ ≍ y.g₂ → x = y
ctor CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.mk E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{S : J.Cover X} →
{I₁ I₂ : S.Arrow} →
(Z : C) →
(g₁ : Z ⟶ I₁.Y) →
(g₂ : Z ⟶ I₂.Y) →
autoParam (CategoryTheory.CategoryStruct.comp g₁ I₁.f = CategoryTheory.CategoryStruct.comp g₂ I₂.f)
CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.w._autoParam →
I₁.Relation I₂
abbrev CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.Z E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → {I₁ I₂ : S.Arrow} → I₁.Relation I₂ → C
The source of the arrows defining the relation.
abbrev CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.g₁ E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{S : J.Cover X} → {I₁ I₂ : S.Arrow} → (self : I₁.Relation I₂) → self.Z ⟶ I₁.Y
The first arrow defining the relation.
abbrev CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.g₂ E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{S : J.Cover X} → {I₁ I₂ : S.Arrow} → (self : I₁.Relation I₂) → self.Z ⟶ I₂.Y
The second arrow defining the relation.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.w E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {I₁ I₂ : S.Arrow} (self : I₁.Relation I₂),
CategoryTheory.CategoryStruct.comp self.g₁ I₁.f = CategoryTheory.CategoryStruct.comp self.g₂ I₂.f
The relation itself.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.w_assoc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {I₁ I₂ : S.Arrow} (self : I₁.Relation I₂) {Z : C} (h : X ⟶ Z),
CategoryTheory.CategoryStruct.comp self.g₁ (CategoryTheory.CategoryStruct.comp I₁.f h) =
CategoryTheory.CategoryStruct.comp self.g₂ (CategoryTheory.CategoryStruct.comp I₂.f h)
The relation itself.
def CategoryTheory.GrothendieckTopology.Cover.Arrow.precomp E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → (I : S.Arrow) → {Z : C} → (Z ⟶ I.Y) → S.Arrow
Given I : S.Arrow and a morphism g : Z ⟶ I.Y, this is the arrow in S.Arrow
corresponding to g ≫ I.f.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.precomp_f E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} (I : S.Arrow) {Z : C} (g : Z ⟶ I.Y), (I.precomp g).f = CategoryTheory.CategoryStruct.comp g I.f
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.precomp_Y E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} (I : S.Arrow) {Z : C} (g : Z ⟶ I.Y), (I.precomp g).Y = Z
def CategoryTheory.GrothendieckTopology.Cover.Arrow.precompRelation E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{S : J.Cover X} → (I : S.Arrow) → {Z : C} → (g : Z ⟶ I.Y) → (I.precomp g).Relation I
Given I : S.Arrow and a morphism g : Z ⟶ I.Y, this is the obvious relation
from I.precomp g to I.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.precompRelation_Z E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} (I : S.Arrow) {Z : C} (g : Z ⟶ I.Y), (I.precompRelation g).Z = (I.precomp g).Y
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.precompRelation_g₂ E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} (I : S.Arrow) {Z : C} (g : Z ⟶ I.Y), (I.precompRelation g).g₂ = g
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.precompRelation_g₁ E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} (I : S.Arrow) {Z : C} (g : Z ⟶ I.Y),
(I.precompRelation g).g₁ = CategoryTheory.CategoryStruct.id (I.precomp g).Y
def CategoryTheory.GrothendieckTopology.Cover.Arrow.map E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S T : J.Cover X} → S.Arrow → (S ⟶ T) → T.Arrow
Map an Arrow along a refinement S ⟶ T.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.map_Y E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S T : J.Cover X} (I : S.Arrow) (f : S ⟶ T), (I.map f).Y = I.Y
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.map_f E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S T : J.Cover X} (I : S.Arrow) (f : S ⟶ T), (I.map f).f = I.f
def CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.map E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{S T : J.Cover X} → {I₁ I₂ : S.Arrow} → I₁.Relation I₂ → (f : S ⟶ T) → (I₁.map f).Relation (I₂.map f)
Map an Arrow.Relation along a refinement S ⟶ T.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.map_g₁ E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S T : J.Cover X} {I₁ I₂ : S.Arrow} (r : I₁.Relation I₂) (f : S ⟶ T), (r.map f).g₁ = r.g₁
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.map_g₂ E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S T : J.Cover X} {I₁ I₂ : S.Arrow} (r : I₁.Relation I₂) (f : S ⟶ T), (r.map f).g₂ = r.g₂
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.map_Z E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S T : J.Cover X} {I₁ I₂ : S.Arrow} (r : I₁.Relation I₂) (f : S ⟶ T), (r.map f).Z = r.Z
def CategoryTheory.GrothendieckTopology.Cover.pullback E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X Y : C} → {J : CategoryTheory.GrothendieckTopology C} → J.Cover X → (Y ⟶ X) → J.Cover Y
Pull back a cover along a morphism.
def CategoryTheory.GrothendieckTopology.Cover.Arrow.base E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X Y : C} →
{J : CategoryTheory.GrothendieckTopology C} → {f : Y ⟶ X} → {S : J.Cover X} → (S.pullback f).Arrow → S.Arrow
An arrow of S.pullback f gives rise to an arrow of S.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.base_Y E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {J : CategoryTheory.GrothendieckTopology C}
{f : Y ⟶ X} {S : J.Cover X} (I : (S.pullback f).Arrow), I.base.Y = I.Y
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.base_f E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {J : CategoryTheory.GrothendieckTopology C}
{f : Y ⟶ X} {S : J.Cover X} (I : (S.pullback f).Arrow), I.base.f = CategoryTheory.CategoryStruct.comp I.f f
def CategoryTheory.GrothendieckTopology.Cover.Arrow.Relation.base E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X Y : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{f : Y ⟶ X} → {S : J.Cover X} → {I₁ I₂ : (S.pullback f).Arrow} → I₁.Relation I₂ → I₁.base.Relation I₂.base
A relation of S.pullback f gives rise to a relation of S.
theorem CategoryTheory.GrothendieckTopology.Cover.coe_pullback E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} {J : CategoryTheory.GrothendieckTopology C} {Z : C}
(f : Y ⟶ X) (g : Z ⟶ Y) (S : J.Cover X),
(↑(S.pullback f)).arrows g ↔ (↑S).arrows (CategoryTheory.CategoryStruct.comp g f)
def CategoryTheory.GrothendieckTopology.Cover.pullbackId E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
(S : J.Cover X) → S.pullback (CategoryTheory.CategoryStruct.id X) ≅ S
The isomorphism between S and the pullback of S w.r.t. the identity.
def CategoryTheory.GrothendieckTopology.Cover.pullbackComp E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{X Y Z : C} →
(S : J.Cover X) →
(f : Z ⟶ Y) → (g : Y ⟶ X) → S.pullback (CategoryTheory.CategoryStruct.comp f g) ≅ (S.pullback g).pullback f
Pulling back with respect to a composition is the composition of the pullbacks.
def CategoryTheory.GrothendieckTopology.Cover.bind E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} → {X : C} → (S : J.Cover X) → ((I : S.Arrow) → J.Cover I.Y) → J.Cover X
Combine a family of covers over a cover.
def CategoryTheory.GrothendieckTopology.Cover.bindToBase E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{X : C} → (S : J.Cover X) → (T : (I : S.Arrow) → J.Cover I.Y) → S.bind T ⟶ S
The canonical morphism from S.bind T to T.
def CategoryTheory.GrothendieckTopology.Cover.Arrow.middle E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{X : C} → {S : J.Cover X} → {T : (I : S.Arrow) → J.Cover I.Y} → (S.bind T).Arrow → C
An arrow in bind has the form A ⟶ B ⟶ X where A ⟶ B is an arrow in T I for some I.
and B ⟶ X is an arrow of S. This is the object B.
def CategoryTheory.GrothendieckTopology.Cover.Arrow.toMiddleHom E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{X : C} → {S : J.Cover X} → {T : (I : S.Arrow) → J.Cover I.Y} → (I : (S.bind T).Arrow) → I.Y ⟶ I.middle
An arrow in bind has the form A ⟶ B ⟶ X where A ⟶ B is an arrow in T I for some I.
and B ⟶ X is an arrow of S. This is the hom A ⟶ B.
def CategoryTheory.GrothendieckTopology.Cover.Arrow.fromMiddleHom E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{X : C} → {S : J.Cover X} → {T : (I : S.Arrow) → J.Cover I.Y} → (I : (S.bind T).Arrow) → I.middle ⟶ X
An arrow in bind has the form A ⟶ B ⟶ X where A ⟶ B is an arrow in T I for some I.
and B ⟶ X is an arrow of S. This is the hom B ⟶ X.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.from_middle_condition E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {X : C}
{S : J.Cover X} {T : (I : S.Arrow) → J.Cover I.Y} (I : (S.bind T).Arrow), (↑S).arrows I.fromMiddleHom
def CategoryTheory.GrothendieckTopology.Cover.Arrow.fromMiddle E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{X : C} → {S : J.Cover X} → {T : (I : S.Arrow) → J.Cover I.Y} → (S.bind T).Arrow → S.Arrow
An arrow in bind has the form A ⟶ B ⟶ X where A ⟶ B is an arrow in T I for some I.
and B ⟶ X is an arrow of S. This is the hom B ⟶ X, as an arrow.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.to_middle_condition E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {X : C}
{S : J.Cover X} {T : (I : S.Arrow) → J.Cover I.Y} (I : (S.bind T).Arrow), (↑(T I.fromMiddle)).arrows I.toMiddleHom
def CategoryTheory.GrothendieckTopology.Cover.Arrow.toMiddle E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{J : CategoryTheory.GrothendieckTopology C} →
{X : C} → {S : J.Cover X} → {T : (I : S.Arrow) → J.Cover I.Y} → (I : (S.bind T).Arrow) → (T I.fromMiddle).Arrow
An arrow in bind has the form A ⟶ B ⟶ X where A ⟶ B is an arrow in T I for some I.
and B ⟶ X is an arrow of S. This is the hom A ⟶ B, as an arrow.
theorem CategoryTheory.GrothendieckTopology.Cover.Arrow.middle_spec E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : CategoryTheory.GrothendieckTopology C} {X : C}
{S : J.Cover X} {T : (I : S.Arrow) → J.Cover I.Y} (I : (S.bind T).Arrow),
CategoryTheory.CategoryStruct.comp I.toMiddleHom I.fromMiddleHom = I.f
structure CategoryTheory.GrothendieckTopology.Cover.Relation E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → J.Cover X → Type (max u v)
An auxiliary structure, used to define S.index.
theorem CategoryTheory.GrothendieckTopology.Cover.Relation.ext E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {x y : S.Relation}, x.fst = y.fst → x.snd = y.snd → x.r ≍ y.r → x = y
theorem CategoryTheory.GrothendieckTopology.Cover.Relation.ext_iff E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {x y : S.Relation}, x = y ↔ x.fst = y.fst ∧ x.snd = y.snd ∧ x.r ≍ y.r
ctor CategoryTheory.GrothendieckTopology.Cover.Relation.mk E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{S : J.Cover X} → {fst snd : S.Arrow} → fst.Relation snd → S.Relation
abbrev CategoryTheory.GrothendieckTopology.Cover.Relation.fst E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → S.Relation → S.Arrow
The first arrow.
abbrev CategoryTheory.GrothendieckTopology.Cover.Relation.snd E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → S.Relation → S.Arrow
The second arrow.
abbrev CategoryTheory.GrothendieckTopology.Cover.Relation.r E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} → {S : J.Cover X} → (self : S.Relation) → self.fst.Relation self.snd
The relation between the two arrows.
def CategoryTheory.GrothendieckTopology.Cover.Relation.mk' E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{S : J.Cover X} → {fst snd : S.Arrow} → fst.Relation snd → S.Relation
Constructor for Cover.Relation which takes as an input
r : I₁.Relation I₂ with I₁ I₂ : S.Arrow.
theorem CategoryTheory.GrothendieckTopology.Cover.Relation.mk'_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {fst snd : S.Arrow} (r : fst.Relation snd),
(CategoryTheory.GrothendieckTopology.Cover.Relation.mk' r).snd = snd
theorem CategoryTheory.GrothendieckTopology.Cover.Relation.mk'_r E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {fst snd : S.Arrow} (r : fst.Relation snd),
(CategoryTheory.GrothendieckTopology.Cover.Relation.mk' r).r = r
theorem CategoryTheory.GrothendieckTopology.Cover.Relation.mk'_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{S : J.Cover X} {fst snd : S.Arrow} (r : fst.Relation snd),
(CategoryTheory.GrothendieckTopology.Cover.Relation.mk' r).fst = fst
def CategoryTheory.GrothendieckTopology.Cover.shape E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} → {J : CategoryTheory.GrothendieckTopology C} → J.Cover X → CategoryTheory.Limits.MulticospanShape
The shape of the multiequalizer diagrams associated to S : J.Cover X.
theorem CategoryTheory.GrothendieckTopology.Cover.shape_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
(S : J.Cover X) (I : S.Relation), S.shape.snd I = I.snd
theorem CategoryTheory.GrothendieckTopology.Cover.shape_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
(S : J.Cover X) (I : S.Relation), S.shape.fst I = I.fst
theorem CategoryTheory.GrothendieckTopology.Cover.shape_L E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
(S : J.Cover X), S.shape.L = S.Arrow
theorem CategoryTheory.GrothendieckTopology.Cover.shape_R E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
(S : J.Cover X), S.shape.R = S.Relation
def CategoryTheory.GrothendieckTopology.Cover.index E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{D : Type u₁} →
[inst_1 : CategoryTheory.Category.{v₁, u₁} D] →
(S : J.Cover X) → CategoryTheory.Functor Cᵒᵖ D → CategoryTheory.Limits.MulticospanIndex S.shape D
To every S : J.Cover X and presheaf P, associate a MulticospanIndex.
theorem CategoryTheory.GrothendieckTopology.Cover.index_left E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D] (S : J.Cover X) (P : CategoryTheory.Functor Cᵒᵖ D)
(I : S.shape.L), (S.index P).left I = P.obj (Opposite.op I.Y)
theorem CategoryTheory.GrothendieckTopology.Cover.index_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D] (S : J.Cover X) (P : CategoryTheory.Functor Cᵒᵖ D)
(I : S.shape.R), (S.index P).fst I = P.map I.r.g₁.op
theorem CategoryTheory.GrothendieckTopology.Cover.index_right E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D] (S : J.Cover X) (P : CategoryTheory.Functor Cᵒᵖ D)
(I : S.shape.R), (S.index P).right I = P.obj (Opposite.op I.r.Z)
theorem CategoryTheory.GrothendieckTopology.Cover.index_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X : C} {J : CategoryTheory.GrothendieckTopology C}
{D : Type u₁} [inst_1 : CategoryTheory.Category.{v₁, u₁} D] (S : J.Cover X) (P : CategoryTheory.Functor Cᵒᵖ D)
(I : S.shape.R), (S.index P).snd I = P.map I.r.g₂.op
abbrev CategoryTheory.GrothendieckTopology.Cover.multifork E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{D : Type u₁} →
[inst_1 : CategoryTheory.Category.{v₁, u₁} D] →
(S : J.Cover X) → (P : CategoryTheory.Functor Cᵒᵖ D) → CategoryTheory.Limits.Multifork (S.index P)
The natural multifork associated to S : J.Cover X for a presheaf P.
Saying that this multifork is a limit is essentially equivalent to the sheaf condition at the
given object for the given covering sieve. See Sheaf.lean for an equivalent sheaf condition
using this.
abbrev CategoryTheory.GrothendieckTopology.Cover.toMultiequalizer E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X : C} →
{J : CategoryTheory.GrothendieckTopology C} →
{D : Type u₁} →
[inst_1 : CategoryTheory.Category.{v₁, u₁} D] →
(S : J.Cover X) →
(P : CategoryTheory.Functor Cᵒᵖ D) →
[inst_2 : CategoryTheory.Limits.HasMultiequalizer (S.index P)] →
P.obj (Opposite.op X) ⟶ CategoryTheory.Limits.multiequalizer (S.index P)
The canonical map from P.obj (op X) to the multiequalizer associated to a covering sieve,
assuming such a multiequalizer exists. This will be used in Sheaf.lean to provide an equivalent
sheaf condition in terms of multiequalizers.
def CategoryTheory.GrothendieckTopology.pullback E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
{X Y : C} → (J : CategoryTheory.GrothendieckTopology C) → (Y ⟶ X) → CategoryTheory.Functor (J.Cover X) (J.Cover Y)
Pull back a cover along a morphism.
theorem CategoryTheory.GrothendieckTopology.pullback_obj E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (J : CategoryTheory.GrothendieckTopology C)
(f : Y ⟶ X) (S : J.Cover X), (J.pullback f).obj S = S.pullback f
def CategoryTheory.GrothendieckTopology.pullbackId E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
(X : C) → J.pullback (CategoryTheory.CategoryStruct.id X) ≅ CategoryTheory.Functor.id (J.Cover X)
Pulling back along the identity is naturally isomorphic to the identity functor.
def CategoryTheory.GrothendieckTopology.pullbackComp E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
(J : CategoryTheory.GrothendieckTopology C) →
{X Y Z : C} →
(f : X ⟶ Y) →
(g : Y ⟶ Z) → J.pullback (CategoryTheory.CategoryStruct.comp f g) ≅ (J.pullback g).comp (J.pullback f)
Pulling back along a composition is naturally isomorphic to the composition of the pullbacks.