Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Small.lean   Sprache: Lean

 

/-
Copyright (c) 2024 Christian Merten. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Christian Merten
-/

module

public import Mathlib.AlgebraicGeometry.Cover.Over
public import Mathlib.AlgebraicGeometry.Sites.Pretopology
public import Mathlib.CategoryTheory.MorphismProperty.CommaSites

/-!
# Small sites

In this file we define the small sites associated to morphism properties and give
generating pretopologies.

## Main definitions

- `AlgebraicGeometry.Scheme.overGrothendieckTopology`: the Grothendieck topology on `Over S`
  obtained by localizing the topology on `Scheme` induced by `P` at `S`.
- `AlgebraicGeometry.Scheme.overPretopology`: the pretopology on `Over S` defined by
  `P`-coverings of `S`-schemes. The induced topology agrees with
  `AlgebraicGeometry.Scheme.overGrothendieckTopology`.
- `AlgebraicGeometry.Scheme.smallGrothendieckTopology`: the by the inclusion
  `P.Over ⊤ S ⥤ Over S` induced topology on `P.Over ⊤ S`.
- `AlgebraicGeometry.Scheme.smallPretopology`: the pretopology on `P.Over ⊤ S` defined by
  `P`-coverings of `S`-schemes with `P`. The induced topology agrees
  with `AlgebraicGeometry.Scheme.smallGrothendieckTopology`.
-/


@[expose] public section

universe v u

open CategoryTheory

namespace AlgebraicGeometry.Scheme

variable {P Q : MorphismProperty Scheme.{u}} {S : Scheme.{u}}

variable [Q.IsStableUnderComposition]

private lemma map_functorPullback_mem_coverings (hPQ : P ≤ Q) (X : Q.Over ⊤ S)
    {R : Presieve ((MorphismProperty.Over.forget Q ⊤ S).obj X)}
    (hR : R ∈ ((precoverage P).over S).coverings ((MorphismProperty.Over.forget Q ⊤ S).obj X)) :
    letI F := MorphismProperty.Over.forget Q ⊤ S
    (R.functorPullback F).map F ∈ ((precoverage P).over S).coverings (F.obj X) := by
  have hle : precoverage P ≤ Q.precoverage := fun _ _ hR _ _ hf ↦ hPQ _ (hR.2 hf)
  obtain ⟨T, rfl⟩ := MorphismProperty.exists_map_eq_of_presieve (precoverage P) hle hR
  simpa using hR

variable [P.IsStableUnderBaseChange]

/-- The presieve defined by a `P`-cover of `S`-schemes. -/
def Cover.toPresieveOver {X : Over S} (�� : Cover.{u} (precoverage P) X.left) [��.Over S] :
    Presieve X :=
  Presieve.ofArrows (fun i ↦ (��.X i).asOver S) (fun i ↦ (��.f i).asOver S)

/-- The presieve defined by a `P`-cover of `S`-schemes with `Q`. -/
def Cover.toPresieveOverProp {X : Q.Over ⊤ S} (�� : Cover.{u} (precoverage P) X.left) [��.Over S]
    (h : ∀ j, Q (��.X j ↘ S)) : Presieve X :=
  Presieve.ofArrows (fun i ↦ (��.X i).asOverProp S (h i)) (fun i ↦ (��.f i).asOverProp S)

set_option backward.defeqAttrib.useBackward true in
lemma Cover.overEquiv_generate_toPresieveOver_eq_ofArrows {X : Over S}
    (�� : Cover.{u} (precoverage P) X.left)
    [��.Over S] : Sieve.overEquiv X (Sieve.generate ��.toPresieveOver) =
      Sieve.ofArrows ��.X ��.f := by
  ext V f
  simp only [Sieve.overEquiv_iff, Sieve.generate_apply]
  constructor
  · rintro ⟨U, h, g, ⟨k⟩, hcomp⟩
    exact ⟨��.X k, h.left, ��.f k, ⟨k⟩, congrArg CommaMorphism.left hcomp⟩
  · rintro ⟨U, h, g, ⟨k⟩, hcomp⟩
    have : ��.f k ≫ X.hom = ��.X k ↘ S := comp_over (��.f k) S
    refine ⟨(��.X k).asOver S, Over.homMk h (by simp [← hcomp, this]), (��.f k).asOver S, ⟨k⟩, ?_⟩
    ext : 1
    simpa

lemma Cover.toPresieveOver_le_arrows_iff {X : Over S} (R : Sieve X)
    (�� : Cover.{u} (precoverage P) X.left) [��.Over S] :
    ��.toPresieveOver ≤ R.arrows ↔
      Presieve.ofArrows ��.X ��.f ≤ (Sieve.overEquiv X R).arrows := by
  simp_rw [← Sieve.giGenerate.gc.le_iff_le, ← (Sieve.overEquiv X).map_rel_iff]
  rw [overEquiv_generate_toPresieveOver_eq_ofArrows]

variable [P.IsMultiplicative]

variable (P Q S)

/-- The pretopology on `Over S` induced by `P` where coverings are given by `P`-covers
of `S`-schemes. -/

abbrev overPretopology : Pretopology (Over S) :=
  ((Scheme.precoverage P).over S).toPretopology

/-- The topology on `Over S` induced from the topology on `Scheme` defined by `P`.
This agrees with the topology induced by `S.overPretopology P`, see
`AlgebraicGeometry.Scheme.overGrothendieckTopology_eq_toGrothendieck_overPretopology`. -/

abbrev overGrothendieckTopology : GrothendieckTopology (Over S) :=
  (Scheme.grothendieckTopology P).over S

lemma overGrothendieckTopology_eq_toGrothendieck_overPretopology :
    S.overGrothendieckTopology P = (S.overPretopology P).toGrothendieck := by
  rw [Precoverage.toGrothendieck_toPretopology_eq_toGrothendieck]
  exact over_toGrothendieck_eq_toGrothendieck_comap_forget (precoverage P) S

variable {S}

lemma mem_overGrothendieckTopology (X : Over S) (R : Sieve X) :
    R ∈ S.overGrothendieckTopology P X ↔
      ∃ (�� : Cover.{u} (precoverage P) X.left) (_ : ��.Over S), ��.toPresieveOver ≤ R.arrows := by
  simp only [GrothendieckTopology.mem_over_iff, mem_grothendieckTopology_iff]
  refine exists_congr fun �� ↦ ?_
  simp only [Cover.toPresieveOver_le_arrows_iff]
  rw [exists_const_iff, iff_and_self]
  intro
  let (i : ��.I₀) : (��.X i).Over S := ⟨��.f i ≫ X.hom⟩
  exact ⟨⟨inferInstance, fun i ↦ ⟨rfl⟩⟩⟩

variable (S) {P Q} in
lemma locallyCoverDense_of_le (hPQ : P ≤ Q) :
    (MorphismProperty.Over.forget Q ⊤ S).LocallyCoverDense (overGrothendieckTopology P S) := by
  rw [overGrothendieckTopology_eq_toGrothendieck_overPretopology,
    Precoverage.toGrothendieck_toPretopology_eq_toGrothendieck]
  apply Precoverage.locallyCoverDense_of_map_functorPullback_mem
  apply map_functorPullback_mem_coverings hPQ

instance : (MorphismProperty.Over.forget P ⊤ S).LocallyCoverDense (overGrothendieckTopology P S) :=
  locallyCoverDense_of_le S le_rfl

variable (S) {Q} in
/-- If `P` and `Q` are morphism properties with `P ≤ Q`, this is the Grothendieck topology
induced via the forgetful functor `Q.Over ⊤ S ⥤ Over S` by the topology defined by `P`. -/

abbrev smallGrothendieckTopology : GrothendieckTopology (Q.Over ⊤ S) :=
  (MorphismProperty.Over.forget Q ⊤ S).restrictedTopology (S.overGrothendieckTopology P)

@[deprecated (since := "2026-05-28")]
alias smallGrothendieckTopologyOfLE := smallGrothendieckTopology

variable [Q.IsStableUnderBaseChange] [Q.HasOfPostcompProperty Q]

/-- The pretopology defined on the subcategory of `S`-schemes satisfying `Q` where coverings
are given by `P`-coverings in `S`-schemes satisfying `Q`.
The most common case is `P = Q`. In this case, this is simply surjective families
in `S`-schemes with `P`. -/

abbrev smallPretopology : Pretopology (Q.Over ⊤ S) :=
  (((precoverage P).over S).comap (MorphismProperty.Over.forget Q ⊤ S)).toPretopology

variable (S) {P Q} in
lemma smallGrothendieckTopology_eq_toGrothendieck_smallPretopology (hPQ : P ≤ Q) :
    S.smallGrothendieckTopology P = (S.smallPretopology P Q).toGrothendieck := by
  rw [smallGrothendieckTopology, overGrothendieckTopology_eq_toGrothendieck_overPretopology,
    Precoverage.toGrothendieck_toPretopology_eq_toGrothendieck,
    Precoverage.toGrothendieck_toPretopology_eq_toGrothendieck]
  exact (Precoverage.toGrothendieck_comap_eq_restrictedTopology _ _
    (map_functorPullback_mem_coverings hPQ _)).symm

@[deprecated (since := "2026-05-28")]
alias smallGrothendieckTopologyOfLE_eq_toGrothendieck_smallPretopology :=
  smallGrothendieckTopology_eq_toGrothendieck_smallPretopology

variable {P Q}

lemma mem_toGrothendieck_smallPretopology (X : Q.Over ⊤ S) (R : Sieve X) :
    R ∈ (S.smallPretopology P Q).toGrothendieck X ↔
      ∀ x : X.left, ∃ (Y : Q.Over ⊤ S) (f : Y ⟶ X) (y : Y.left), R f ∧ P f.left ∧ f.left y = x := by
  refine ⟨?_, fun h ↦ ?_⟩
  · rintro ⟨_, ⟨hs, hP⟩, hle⟩ x
    obtain ⟨-, -, ⟨⟨⟨hf⟩⟩⟩, y, hy⟩ := hs x
    exact ⟨_, _, y, hle _ _ hf, hP ⟨⟨hf⟩⟩, hy⟩
  · refine ⟨fun _ f ↦ R f ∧ P f.left, ⟨fun x ↦ ?_, fun _ _ ⟨⟨⟨_, h⟩⟩⟩ ↦ h⟩, fun _ _ hf ↦ hf.1⟩
    obtain ⟨Y, f, y, hR, hP, hy⟩ := h x
    exact ⟨_, _, ⟨⟨⟨hR, hP⟩⟩⟩, y, hy⟩

lemma mem_smallGrothendieckTopology (X : P.Over ⊤ S) (R : Sieve X) :
    R ∈ S.smallGrothendieckTopology P X ↔
      ∃ (�� : Cover.{u} (precoverage P) X.left) (_ : ��.Over S) (h : ∀ j, P (��.X j ↘ S)),
          ��.toPresieveOverProp h ≤ R.arrows := by
  rw [Functor.mem_restrictedTopology_iff, mem_overGrothendieckTopology]
  apply exists₂_congr
  intro �� h��
  refine ⟨fun hle ↦ ?_, fun ⟨_, hle⟩ ↦ ?_⟩
  · exact ⟨fun j ↦ comp_over (��.f j) S ▸ P.comp_mem _ _ (��.map_prop j) X.prop,
      fun _ _ ⟨i⟩ ↦ (Sieve.mem_functorPushforward_iff_of_full_of_faithful _ _ _).mp (hle _ _ ⟨i⟩)⟩
  · exact fun _ _ ⟨i⟩ ↦ Sieve.image_mem_functorPushforward _ _ (hle _ _ ⟨i⟩)

end AlgebraicGeometry.Scheme

Messung
CHZG
9110010096

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,106
#Domains=862,821