/-
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.Morphisms.Etale
public import Mathlib.AlgebraicGeometry.Sites.BigZariski
public import Mathlib.AlgebraicGeometry.Sites.Small
public import Mathlib.CategoryTheory.Limits.Elements
public import Mathlib.CategoryTheory.Sites.Point.Basic
/-!
# The étale site
In this file we define the big étale site, i.e. the étale topology as a Grothendieck topology
on the category of schemes.
-/
@[expose] public section
universe v u
open CategoryTheory MorphismProperty Limits
namespace AlgebraicGeometry.Scheme
/-- Big étale site: the étale precoverage on the category of schemes. -/
def etalePrecoverage : Precoverage Scheme.{u} :=
precoverage @Etale
/-- Big étale site: the étale pretopology on the category of schemes. -/
def etalePretopology : Pretopology Scheme.{u} :=
pretopology @Etale
/-- Big étale site: the étale topology on the category of schemes. -/
abbrev etaleTopology : GrothendieckTopology Scheme.{u} :=
grothendieckTopology @Etale
lemma zariskiTopology_le_etaleTopology : zariskiTopology ≤ etaleTopology := by
apply grothendieckTopology_monotone
intro X Y f hf
infer_instance
/-- The small étale site of a scheme is the Grothendieck topology on the
category of schemes étale over `X` induced from the étale topology on `Scheme.{u}`. -/
def smallEtaleTopology (X : Scheme.{u}) : GrothendieckTopology X.Etale :=
X.smallGrothendieckTopology (P := @Etale)
set_option backward.isDefEq.respectTransparency.types false in
/-- The pretopology generating the small étale site. -/
def smallEtalePretopology (X : Scheme.{u}) : Pretopology X.Etale :=
X.smallPretopology (Q := @Etale) (P := @Etale)
set_option backward.defeqAttrib.useBackward true in
set_option backward.isDefEq.respectTransparency false in
lemma ofArrows_mem_smallEtaleTopology_iff
{X : Scheme.{u}} {W : X.Etale} {ι : Type*}
{Z : ι → X.Etale} (f : ∀ i, Z i ⟶ W) :
Sieve.ofArrows _ f ∈ smallEtaleTopology _ _ ↔
⋃ i, Set.range (f i).left = .univ := by
refine ⟨fun hf ↦ ?_, fun hf ↦ (mem_smallGrothendieckTopology _ _).2 ?_⟩
· obtain ⟨U, _, _, hU⟩ := (mem_smallGrothendieckTopology _ _).1 hf
ext y
simp only [Set.mem_iUnion, Set.mem_range, Set.mem_univ, iff_true]
obtain ⟨i, ⟨u, rfl⟩⟩ := ((ofArrows_mem_precoverage_iff _).1 U.mem₀).1 y
obtain ⟨_, b, _, ⟨j⟩, fac⟩ := hU _ _ ⟨i⟩
replace fac : b.left ≫ (f j).left = U.f i :=
(Etale.forget _ ⋙ CategoryTheory.Over.forget _).congr_map fac
exact ⟨j, b.left u, by simp [← fac]⟩
· have (w : W.left) : ∃ (i : ι), w ∈ Set.range (f i).left := by
have := Set.mem_univ w
simpa [← hf]
choose i z hz using this
let V : Cover (precoverage @Etale) W.left :=
Cover.mkOfCovers W.left (fun w ↦ (Z (i w)).left)
(fun w ↦ (f (i w)).left) (fun w ↦ ⟨_, _, hz w⟩) inferInstance
let : Cover.Over X V :=
{ over w := ⟨(Z (i w)).hom⟩
isOver_map w := by cat_disch }
have (w : W.left) : Etale (V.X w ↘ X) := (Z (i w)).prop
refine ⟨V, inferInstance, inferInstance, ?_⟩
rintro _ _ ⟨w⟩
refine ⟨_, _, _, ⟨i w⟩, by cat_disch⟩
instance {S : Scheme.{u}} ( : S.Cover (precoverage @Etale)) (i : .I₀) : Etale (.f i) :=
.map_prop i
set_option backward.isDefEq.respectTransparency false in
/-- A separably closed field `Ω` defines a point on the étale topology by the fiber
functor `X ↦ Hom(Spec Ω, X)`. -/
noncomputable
def geometricFiber (Ω : Type u) [Field Ω] [IsSepClosed Ω] : etaleTopology.Point where
fiber := coyoneda.obj ⟨Spec (.of Ω)⟩
jointly_surjective {S} R hR (f : Spec (.of Ω) ⟶ S) := by
obtain ⟨⟨x, a⟩, rfl⟩ := (Scheme.SpecToEquivOfField Ω S).symm.surjective f
rw [mem_grothendieckTopology_iff] at hR
obtain ⟨, hle⟩ := hR
obtain ⟨i, y, rfl⟩ := .exists_eq x
refine ⟨.X i, .f i, hle _ _ ⟨i⟩, ?_⟩
let k := (.X i).residueField y
let m : S.residueField (.f i y) ⟶ (.X i).residueField y :=
(.f i).residueFieldMap y
algebraize [((.f i).residueFieldMap y).hom, a.hom]
let b : (.X i).residueField y →ₐ[S.residueField (.f i y)] Ω :=
IsSepClosed.lift
have hfac : (.f i).residueFieldMap y ≫ CommRingCat.ofHom b.toRingHom = a := by
ext1; exact b.comp_algebraMap
use Spec.map (CommRingCat.ofHom b.toRingHom) ≫ (.X i).fromSpecResidueField y
simp [SpecToEquivOfField, ← hfac]
end AlgebraicGeometry.Scheme
¤ Dauer der Verarbeitung: 0.4 Sekunden
¤
*© Formatika GbR, Deutschland