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 / V28. Algebraic geometry

Mathlib.AlgebraicGeometry.ResidueField

87 declarations. Mathlib docs · Source

Residue fields of points

Main definitions

The following are in the AlgebraicGeometry.Scheme namespace:

  • AlgebraicGeometry.Scheme.residueField: The residue field of the stalk at x.
  • AlgebraicGeometry.Scheme.evaluation: For open subsets U of X containing x, the evaluation map from sections over U to the residue field at x.
  • AlgebraicGeometry.Scheme.Hom.residueFieldMap: A morphism of schemes induce a homomorphism of residue fields.
  • AlgebraicGeometry.Scheme.fromSpecResidueField: The canonical map Spec κ(x) ⟶ X.
  • AlgebraicGeometry.Scheme.SpecToEquivOfField: morphisms Spec K ⟶ X for a field K correspond to pairs of x : X with embedding κ(x) ⟶ K.

theorem AlgebraicGeometry.Scheme.descResidueField.hcongr_6 E1 #

∀ (K K' : Type u),
  K = K' →
    ∀ (inst : Field K) (inst' : Field K'),
      inst ≍ inst' →
        ∀ (X X' : AlgebraicGeometry.Scheme),
          X = X' →
            ∀ (x : ↥X) (x' : ↥X'),
              x ≍ x' →
                ∀ (f : X.presheaf.stalk x ⟶ ↧K) (f' : X'.presheaf.stalk x' ⟶ ↧K'),
                  f ≍ f' →
                    ∀ (inst_1 : IsLocalHom (CommRingCat.Hom.hom f)) (inst'_1 : IsLocalHom (CommRingCat.Hom.hom f')),
                      inst_1 ≍ inst'_1 →
                        AlgebraicGeometry.Scheme.descResidueField f ≍ AlgebraicGeometry.Scheme.descResidueField f'

theorem AlgebraicGeometry.Scheme.descResidueField.congr_simp E1 #

∀ {K : Type u} [inst : Field K] {X : AlgebraicGeometry.Scheme} {x : ↥X} (f f_1 : X.presheaf.stalk x ⟶ ↧K)
  (e_f : f = f_1) [inst_1 : IsLocalHom (CommRingCat.Hom.hom f)],
  AlgebraicGeometry.Scheme.descResidueField f = AlgebraicGeometry.Scheme.descResidueField f_1

theorem AlgebraicGeometry.Scheme.evaluation.congr_simp E1 #

∀ (X : AlgebraicGeometry.Scheme) (U : X.Opens) (x : ↥X) (hx : x ∈ U), X.evaluation U x hx = X.evaluation U x hx

theorem AlgebraicGeometry.Spec.map.hcongr_3 E1 #

∀ (R R' : CommRingCat),
  R = R' →
    ∀ (S S' : CommRingCat),
      S = S' → ∀ (f : R ⟶ S) (f' : R' ⟶ S'), f ≍ f' → AlgebraicGeometry.Spec.map f ≍ AlgebraicGeometry.Spec.map f'

theorem AlgebraicGeometry.Scheme.residueFieldCongr.congr_simp E1 #

∀ {X : AlgebraicGeometry.Scheme} {x y : ↥X} (h : x = y),
  AlgebraicGeometry.Scheme.residueFieldCongr h = AlgebraicGeometry.Scheme.residueFieldCongr h

theorem AlgebraicGeometry.Scheme.fromSpecResidueField.hcongr_2 E1 #

∀ (X X' : AlgebraicGeometry.Scheme),
  X = X' → ∀ (x : ↥X) (x' : ↥X'), x ≍ x' → X.fromSpecResidueField x ≍ X'.fromSpecResidueField x'

def AlgebraicGeometry.Scheme.residueField E3 #

(X : AlgebraicGeometry.Scheme) → ↥X → CommRingCat

The residue field of X at a point x is the residue field of the stalk of X at x.

instance AlgebraicGeometry.Scheme.instFieldCarrierResidueField E0 #

(X : AlgebraicGeometry.Scheme) → (x : ↥X) → Field ↑(X.residueField x)

instance AlgebraicGeometry.Scheme.instUniqueCarrierCarrierCommRingCatSpecResidueField E0 #

(X : AlgebraicGeometry.Scheme) → (x : ↥X) → Unique ↥(AlgebraicGeometry.Spec (X.residueField x))

def AlgebraicGeometry.Scheme.residue E1 #

(X : AlgebraicGeometry.Scheme) → (x : ↥X) → X.presheaf.stalk x ⟶ X.residueField x

The residue map from the stalk to the residue field.

instance AlgebraicGeometry.Scheme.instIsPreimmersionMapResidue E0 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X), AlgebraicGeometry.IsPreimmersion (AlgebraicGeometry.Spec.map (X.residue x))

See AlgebraicGeometry.IsClosedImmersion.SpecMap_residue for the stronger result that Spec.map (X.residue x) is a closed immersion.

theorem AlgebraicGeometry.Scheme.SpecMap_residue_apply E0 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X) (s : ↥(AlgebraicGeometry.Spec (X.residueField x))),
  (AlgebraicGeometry.Spec.map (X.residue x)) s = IsLocalRing.closedPoint ↑(X.presheaf.stalk x)

theorem AlgebraicGeometry.Scheme.residue_surjective E1 #

∀ (X : AlgebraicGeometry.Scheme) (x : ↥X), Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (X.residue x))

instance AlgebraicGeometry.Scheme.instEpiCommRingCatResidue E0 #

∀ (X : AlgebraicGeometry.Scheme) (x : ↥X), CategoryTheory.Epi (X.residue x)

def AlgebraicGeometry.Scheme.descResidueField E1 #

{K : Type u} →
  [inst : Field K] →
    {X : AlgebraicGeometry.Scheme} →
      {x : ↥X} → (f : X.presheaf.stalk x ⟶ ↧K) → [IsLocalHom (CommRingCat.Hom.hom f)] → X.residueField x ⟶ ↧K

If K is a field and f : 𝒪_{X, x} ⟶ K is a ring map, then this is the induced map κ(x) ⟶ K.

theorem AlgebraicGeometry.Scheme.residue_descResidueField E0 #

∀ {K : Type u} [inst : Field K] {X : AlgebraicGeometry.Scheme} {x : ↥X} (f : X.presheaf.stalk x ⟶ ↧K)
  [inst_1 : IsLocalHom (CommRingCat.Hom.hom f)],
  CategoryTheory.CategoryStruct.comp (X.residue x) (AlgebraicGeometry.Scheme.descResidueField f) = f

theorem AlgebraicGeometry.Scheme.residue_descResidueField_assoc E0 #

∀ {K : Type u} [inst : Field K] {X : AlgebraicGeometry.Scheme} {x : ↥X} (f : X.presheaf.stalk x ⟶ ↧K)
  [inst_1 : IsLocalHom (CommRingCat.Hom.hom f)] {Z : CommRingCat} (h : ↧K ⟶ Z),
  CategoryTheory.CategoryStruct.comp (X.residue x)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.descResidueField f) h) =
    CategoryTheory.CategoryStruct.comp f h

def AlgebraicGeometry.Scheme.evaluation E3 #

(X : AlgebraicGeometry.Scheme) → (U : X.Opens) → (x : ↥X) → x ∈ U → (X.presheaf.obj (Opposite.op U) ⟶ X.residueField x)

If U is an open of X containing x, we have a canonical ring map from the sections over U to the residue field of x.

If we interpret sections over U as functions of X defined on U, then this ring map corresponds to evaluation at x.

theorem AlgebraicGeometry.Scheme.germ_residue_assoc E1 #

∀ (X : AlgebraicGeometry.Scheme) {U : X.Opens} (x : ↥X) (hx : x ∈ U) {Z : CommRingCat} (h : X.residueField x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (X.presheaf.germ U x hx) (CategoryTheory.CategoryStruct.comp (X.residue x) h) =
    CategoryTheory.CategoryStruct.comp (X.evaluation U x hx) h

theorem AlgebraicGeometry.Scheme.germ_residue E1 #

∀ (X : AlgebraicGeometry.Scheme) {U : X.Opens} (x : ↥X) (hx : x ∈ U),
  CategoryTheory.CategoryStruct.comp (X.presheaf.germ U x hx) (X.residue x) = X.evaluation U x hx

abbrev AlgebraicGeometry.Scheme.Γevaluation E1 #

(X : AlgebraicGeometry.Scheme) → (x : ↥X) → X.presheaf.obj (Opposite.op ⊤) ⟶ X.residueField x

The global evaluation map from Γ(X, ⊤) to the residue field at x.

theorem AlgebraicGeometry.Scheme.evaluation_eq_zero_iff_notMem_basicOpen E0 #

∀ (X : AlgebraicGeometry.Scheme) {U : X.Opens} (x : ↥X) (hx : x ∈ U) (f : ↑(X.presheaf.obj (Opposite.op U))),
  (CategoryTheory.ConcreteCategory.hom (X.evaluation U x hx)) f = 0 ↔ x ∉ X.basicOpen f

theorem AlgebraicGeometry.Scheme.evaluation_ne_zero_iff_mem_basicOpen E1 #

∀ (X : AlgebraicGeometry.Scheme) {U : X.Opens} (x : ↥X) (hx : x ∈ U) (f : ↑(X.presheaf.obj (Opposite.op U))),
  (CategoryTheory.ConcreteCategory.hom (X.evaluation U x hx)) f ≠ 0 ↔ x ∈ X.basicOpen f

theorem AlgebraicGeometry.Scheme.basicOpen_eq_bot_iff_forall_evaluation_eq_zero E1 #

∀ (X : AlgebraicGeometry.Scheme) {U : X.Opens} (f : ↑(X.presheaf.obj (Opposite.op U))),
  X.basicOpen f = ⊥ ↔ ∀ (x : ↥U), (CategoryTheory.ConcreteCategory.hom (X.evaluation U ↑x ⋯)) f = 0

def AlgebraicGeometry.Scheme.Hom.residueFieldMap E3 #

{X Y : AlgebraicGeometry.Scheme} → (f : X ⟶ Y) → (x : ↥X) → Y.residueField (f x) ⟶ X.residueField x

If X ⟶ Y is a morphism of locally ringed spaces and x a point of X, we obtain a morphism of residue fields in the other direction.

theorem AlgebraicGeometry.Scheme.residue_residueFieldMap_assoc E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (x : ↥X) {Z : CommRingCat} (h : X.residueField x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (Y.residue (f x))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.stalkMap f x)
      (CategoryTheory.CategoryStruct.comp (X.residue x) h)

theorem AlgebraicGeometry.Scheme.residue_residueFieldMap E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (x : ↥X),
  CategoryTheory.CategoryStruct.comp (Y.residue (f x)) (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.stalkMap f x) (X.residue x)

theorem AlgebraicGeometry.Scheme.residueFieldMap_id E0 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X),
  AlgebraicGeometry.Scheme.Hom.residueFieldMap (CategoryTheory.CategoryStruct.id X) x =
    CategoryTheory.CategoryStruct.id (X.residueField x)

theorem AlgebraicGeometry.Scheme.residueFieldMap_comp E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) {Z : AlgebraicGeometry.Scheme} (g : Y ⟶ Z) (x : ↥X),
  AlgebraicGeometry.Scheme.Hom.residueFieldMap (CategoryTheory.CategoryStruct.comp f g) x =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap g (f x))
      (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x)

def AlgebraicGeometry.Scheme.Hom.residueDegree E1 #

{X Y : AlgebraicGeometry.Scheme} → (X ⟶ Y) → ↥X → ℕ

Degree of f at a point x is defined to be the degree of the associated field extension from κ(f x) to κ(x). We return a default value of zero when this degree is infinite.

theorem AlgebraicGeometry.Scheme.Hom.residueDegree_id E0 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X),
  AlgebraicGeometry.Scheme.Hom.residueDegree (CategoryTheory.CategoryStruct.id X) x = 1

theorem AlgebraicGeometry.Scheme.evaluation_naturality E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) {V : Y.Opens} (x : ↥X) (hx : f x ∈ V),
  CategoryTheory.CategoryStruct.comp (Y.evaluation V (f x) hx) (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.app f V)
      (X.evaluation ((TopologicalSpace.Opens.map f.base).obj V) x hx)

theorem AlgebraicGeometry.Scheme.evaluation_naturality_assoc E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) {V : Y.Opens} (x : ↥X) (hx : f x ∈ V) {Z : CommRingCat}
  (h : X.residueField x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (Y.evaluation V (f x) hx)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.app f V)
      (CategoryTheory.CategoryStruct.comp (X.evaluation ((TopologicalSpace.Opens.map f.base).obj V) x hx) h)

theorem AlgebraicGeometry.Scheme.evaluation_naturality_apply E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) {V : Y.Opens} (x : ↥X) (hx : f x ∈ V)
  (s : ↑(Y.presheaf.obj (Opposite.op V))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x))
      ((CategoryTheory.ConcreteCategory.hom (Y.evaluation V (f x) hx)) s) =
    (CategoryTheory.ConcreteCategory.hom (X.evaluation ((TopologicalSpace.Opens.map f.base).obj V) x hx))
      ((CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.app f V)) s)

theorem AlgebraicGeometry.Scheme.Γevaluation_naturality_assoc E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (x : ↥X) {Z : CommRingCat} (h : X.residueField x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (Y.Γevaluation (f x))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.appTop f)
      (CategoryTheory.CategoryStruct.comp (X.Γevaluation x) h)

theorem AlgebraicGeometry.Scheme.Γevaluation_naturality E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (x : ↥X),
  CategoryTheory.CategoryStruct.comp (Y.Γevaluation (f x)) (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.appTop f) (X.Γevaluation x)

theorem AlgebraicGeometry.Scheme.Γevaluation_naturality_apply E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (x : ↥X) (a : ↑(Y.presheaf.obj (Opposite.op ⊤))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x))
      ((CategoryTheory.ConcreteCategory.hom (Y.Γevaluation (f x))) a) =
    (CategoryTheory.ConcreteCategory.hom (X.Γevaluation x))
      ((CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.Scheme.Hom.appTop f)) a)

instance AlgebraicGeometry.Scheme.instIsIsoCommRingCatResidueFieldMapOfIsOpenImmersion E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) [AlgebraicGeometry.IsOpenImmersion f] (x : ↥X),
  CategoryTheory.IsIso (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x)

def AlgebraicGeometry.Scheme.residueFieldCongr E1 #

{X : AlgebraicGeometry.Scheme} → {x y : ↥X} → x = y → (X.residueField x ≅ X.residueField y)

The isomorphism between residue fields of equal points.

theorem AlgebraicGeometry.Scheme.residueFieldCongr_refl E0 #

∀ {X : AlgebraicGeometry.Scheme} {x : ↥X},
  AlgebraicGeometry.Scheme.residueFieldCongr ⋯ = CategoryTheory.Iso.refl (X.residueField x)

theorem AlgebraicGeometry.Scheme.residueFieldCongr_symm E0 #

∀ {X : AlgebraicGeometry.Scheme} {x y : ↥X} (e : x = y),
  (AlgebraicGeometry.Scheme.residueFieldCongr e).symm = AlgebraicGeometry.Scheme.residueFieldCongr ⋯

theorem AlgebraicGeometry.Scheme.residueFieldCongr_inv E0 #

∀ {X : AlgebraicGeometry.Scheme} {x y : ↥X} (e : x = y),
  (AlgebraicGeometry.Scheme.residueFieldCongr e).inv = (AlgebraicGeometry.Scheme.residueFieldCongr ⋯).hom

theorem AlgebraicGeometry.Scheme.residueFieldCongr_trans E0 #

∀ {X : AlgebraicGeometry.Scheme} {x y z : ↥X} (e : x = y) (e' : y = z),
  AlgebraicGeometry.Scheme.residueFieldCongr e ≪≫ AlgebraicGeometry.Scheme.residueFieldCongr e' =
    AlgebraicGeometry.Scheme.residueFieldCongr ⋯

theorem AlgebraicGeometry.Scheme.residueFieldCongr_trans_hom E0 #

∀ (X : AlgebraicGeometry.Scheme) {x y z : ↥X} (e : x = y) (e' : y = z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr e).hom
      (AlgebraicGeometry.Scheme.residueFieldCongr e').hom =
    (AlgebraicGeometry.Scheme.residueFieldCongr ⋯).hom

theorem AlgebraicGeometry.Scheme.residueFieldCongr_trans_hom_assoc E0 #

∀ (X : AlgebraicGeometry.Scheme) {x y z : ↥X} (e : x = y) (e' : y = z) {Z : CommRingCat} (h : X.residueField z ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr e).hom
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr e').hom h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr ⋯).hom h

theorem AlgebraicGeometry.Scheme.residue_residueFieldCongr E1 #

∀ (X : AlgebraicGeometry.Scheme) {x y : ↥X} (h : x = y),
  CategoryTheory.CategoryStruct.comp (X.residue x) (AlgebraicGeometry.Scheme.residueFieldCongr h).hom =
    CategoryTheory.CategoryStruct.comp (X.presheaf.stalkCongr ⋯).hom (X.residue y)

theorem AlgebraicGeometry.Scheme.residue_residueFieldCongr_assoc E1 #

∀ (X : AlgebraicGeometry.Scheme) {x y : ↥X} (h : x = y) {Z : CommRingCat} (h_1 : X.residueField y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (X.residue x)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr h).hom h_1) =
    CategoryTheory.CategoryStruct.comp (X.presheaf.stalkCongr ⋯).hom
      (CategoryTheory.CategoryStruct.comp (X.residue y) h_1)

theorem AlgebraicGeometry.Scheme.Hom.residueFieldMap_congr E1 #

∀ {X Y : AlgebraicGeometry.Scheme} {f g : X ⟶ Y} (e : f = g) (x : ↥X),
  AlgebraicGeometry.Scheme.Hom.residueFieldMap f x =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr ⋯).hom
      (AlgebraicGeometry.Scheme.Hom.residueFieldMap g x)

theorem AlgebraicGeometry.Scheme.Hom.residueFieldMap_congr' E1 #

∀ {X Y : AlgebraicGeometry.Scheme} {f : X ⟶ Y} {x₁ x₂ : ↥X} (e : x₁ = x₂),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x₁)
      (AlgebraicGeometry.Scheme.residueFieldCongr e).hom =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr ⋯).hom
      (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x₂)

theorem AlgebraicGeometry.Scheme.Hom.residueFieldMap_congr'_assoc E1 #

∀ {X Y : AlgebraicGeometry.Scheme} {f : X ⟶ Y} {x₁ x₂ : ↥X} (e : x₁ = x₂) {Z : CommRingCat} (h : X.residueField x₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x₁)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr e).hom h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr ⋯).hom
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x₂) h)

def AlgebraicGeometry.Scheme.fromSpecResidueField E3 #

(X : AlgebraicGeometry.Scheme) → (x : ↥X) → AlgebraicGeometry.Spec (X.residueField x) ⟶ X

The canonical map Spec κ(x) ⟶ X.

instance AlgebraicGeometry.Scheme.instIsPreimmersionFromSpecResidueField E0 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X), AlgebraicGeometry.IsPreimmersion (X.fromSpecResidueField x)

theorem AlgebraicGeometry.Scheme.over_def E0 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X), AlgebraicGeometry.Spec (X.residueField x) ↘ X = X.fromSpecResidueField x

instance AlgebraicGeometry.Scheme.instOverSpecResidueField E0 #

{X : AlgebraicGeometry.Scheme} → (x : ↥X) → (AlgebraicGeometry.Spec (X.residueField x)).Over X

instance AlgebraicGeometry.Scheme.instCanonicallyOverSpecResidueField E0 #

{X : AlgebraicGeometry.Scheme} → (x : ↥X) → (AlgebraicGeometry.Spec (X.residueField x)).CanonicallyOver X

theorem AlgebraicGeometry.Scheme.residueFieldCongr_fromSpecResidueField E0 #

∀ {X : AlgebraicGeometry.Scheme} {x y : ↥X} (h : x = y),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.residueFieldCongr h).hom)
      (X.fromSpecResidueField x) =
    X.fromSpecResidueField y

theorem AlgebraicGeometry.Scheme.residueFieldCongr_fromSpecResidueField_assoc E0 #

∀ {X : AlgebraicGeometry.Scheme} {x y : ↥X} (h : x = y) {Z : AlgebraicGeometry.Scheme} (h_1 : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.residueFieldCongr h).hom)
      (CategoryTheory.CategoryStruct.comp (X.fromSpecResidueField x) h_1) =
    CategoryTheory.CategoryStruct.comp (X.fromSpecResidueField y) h_1

instance AlgebraicGeometry.Scheme.instIsOverMapHomCommRingCatResidueFieldCongr E0 #

∀ {X : AlgebraicGeometry.Scheme} {x y : ↥X} (h : x = y),
  AlgebraicGeometry.Scheme.Hom.IsOver (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.residueFieldCongr h).hom) X

theorem AlgebraicGeometry.Scheme.Hom.SpecMap_residueFieldMap_fromSpecResidueField_assoc E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (x : ↥X) {Z : AlgebraicGeometry.Scheme} (h : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x))
      (CategoryTheory.CategoryStruct.comp (Y.fromSpecResidueField (f x)) h) =
    CategoryTheory.CategoryStruct.comp (X.fromSpecResidueField x) (CategoryTheory.CategoryStruct.comp f h)

theorem AlgebraicGeometry.Scheme.Hom.SpecMap_residueFieldMap_fromSpecResidueField E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) (x : ↥X),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x))
      (Y.fromSpecResidueField (f x)) =
    CategoryTheory.CategoryStruct.comp (X.fromSpecResidueField x) f

instance AlgebraicGeometry.Scheme.instIsOverMapResidueFieldMapOverInferInstanceOverClass E0 #

∀ {X Y : AlgebraicGeometry.Scheme} [inst : X.Over Y] (x : ↥X),
  AlgebraicGeometry.Scheme.Hom.IsOver
    (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.Hom.residueFieldMap (X ↘ Y) x)) Y

theorem AlgebraicGeometry.Scheme.fromSpecResidueField_apply E0 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X) (s : ↥(AlgebraicGeometry.Spec (X.residueField x))),
  (X.fromSpecResidueField x) s = x

theorem AlgebraicGeometry.Scheme.range_fromSpecResidueField E1 #

∀ {X : AlgebraicGeometry.Scheme} (x : ↥X), Set.range ⇑(X.fromSpecResidueField x) = {x}

theorem AlgebraicGeometry.Scheme.descResidueField_fromSpecResidueField E1 #

∀ {K : Type u_1} [inst : Field K] (X : AlgebraicGeometry.Scheme) {x : ↥X} (f : X.presheaf.stalk x ⟶ ↧K)
  [inst_1 : IsLocalHom (CommRingCat.Hom.hom f)],
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.descResidueField f))
      (X.fromSpecResidueField x) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map f) (X.fromSpecStalk x)

theorem AlgebraicGeometry.Scheme.descResidueField_stalkClosedPointTo_fromSpecResidueField E1 #

∀ (K : Type u) [inst : Field K] (X : AlgebraicGeometry.Scheme) (f : AlgebraicGeometry.Spec ↧K ⟶ X),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map
        (AlgebraicGeometry.Scheme.descResidueField (AlgebraicGeometry.Scheme.stalkClosedPointTo f)))
      (X.fromSpecResidueField (f (IsLocalRing.closedPoint K))) =
    f

def AlgebraicGeometry.Scheme.Spec.residueFieldIso E1 #

(R : CommRingCat) →
  (x : ↥(AlgebraicGeometry.Spec R)) → (AlgebraicGeometry.Spec R).residueField x ≅ ↧x.asIdeal.ResidueField

The residue fields of Spec R are isomorphic to Ideal.ResidueField.

theorem AlgebraicGeometry.Scheme.Spec.algebraMap_residueFieldIso_inv E0 #

∀ (R : CommRingCat) (x : ↥(AlgebraicGeometry.Spec R)),
  CategoryTheory.CategoryStruct.comp (CommRingCat.ofHom (algebraMap (↑R) x.asIdeal.ResidueField))
      (AlgebraicGeometry.Scheme.Spec.residueFieldIso R x).inv =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso R).inv
      (CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Spec R).presheaf.germ ⊤ x trivial)
        ((AlgebraicGeometry.Spec R).residue x))

theorem AlgebraicGeometry.Scheme.Spec.algebraMap_residueFieldIso_inv_assoc E0 #

∀ (R : CommRingCat) (x : ↥(AlgebraicGeometry.Spec R)) {Z : CommRingCat}
  (h : (AlgebraicGeometry.Spec R).residueField x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CommRingCat.ofHom (algebraMap (↑R) x.asIdeal.ResidueField))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Spec.residueFieldIso R x).inv h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso R).inv
      (CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Spec R).presheaf.germ ⊤ x trivial)
        (CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Spec R).residue x) h))

theorem AlgebraicGeometry.Scheme.Spec.residue_residueFieldIso_hom_assoc E0 #

∀ (R : CommRingCat) (x : ↥(AlgebraicGeometry.Spec R)) {Z : CommRingCat} (h : ↧x.asIdeal.ResidueField ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Spec R).residue x)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Spec.residueFieldIso R x).hom h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.stalkIso R x).hom
      (CategoryTheory.CategoryStruct.comp
        (CommRingCat.ofHom (algebraMap (Localization.AtPrime x.asIdeal) x.asIdeal.ResidueField)) h)

theorem AlgebraicGeometry.Scheme.Spec.residue_residueFieldIso_hom E0 #

∀ (R : CommRingCat) (x : ↥(AlgebraicGeometry.Spec R)),
  CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Spec R).residue x)
      (AlgebraicGeometry.Scheme.Spec.residueFieldIso R x).hom =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.stalkIso R x).hom
      (CommRingCat.ofHom (algebraMap (Localization.AtPrime x.asIdeal) x.asIdeal.ResidueField))

theorem AlgebraicGeometry.Scheme.Spec.map_residueFieldIso_inv_eq_fromSpecResidueField E0 #

∀ (R : CommRingCat) (x : ↥(AlgebraicGeometry.Spec R)),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.Spec.residueFieldIso R x).inv)
      (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap (↑R) x.asIdeal.ResidueField))) =
    (AlgebraicGeometry.Spec R).fromSpecResidueField x

theorem AlgebraicGeometry.Scheme.Spec.map_residueFieldIso_inv_eq_fromSpecResidueField_assoc E0 #

∀ (R : CommRingCat) (x : ↥(AlgebraicGeometry.Spec R)) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ↧↑R ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.Spec.residueFieldIso R x).inv)
      (CategoryTheory.CategoryStruct.comp
        (AlgebraicGeometry.Spec.map (CommRingCat.ofHom (algebraMap (↑R) x.asIdeal.ResidueField))) h) =
    CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Spec R).fromSpecResidueField x) h

theorem AlgebraicGeometry.Scheme.Spec.Γevaluation_eq_of_field E1 #

∀ {k : Type u} [inst : Field k] (x : ↥(AlgebraicGeometry.Spec ↧k)),
  (AlgebraicGeometry.Spec ↧k).Γevaluation x =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧k).hom
      (CategoryTheory.CategoryStruct.comp x.asIdeal.algEquivResidueFieldOfField.toRingEquiv.toCommRingCatIso.hom
        (AlgebraicGeometry.Scheme.Spec.residueFieldIso (↧k) x).inv)

instance AlgebraicGeometry.Scheme.Spec.isIso_Γevaluation E0 #

∀ {k : Type u} [inst : Field k] (x : ↥(AlgebraicGeometry.Spec ↧k)),
  CategoryTheory.IsIso ((AlgebraicGeometry.Spec ↧k).Γevaluation x)

def AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField E1 #

{k : Type u} → [inst : Field k] → (x : ↥(AlgebraicGeometry.Spec ↧k)) → (AlgebraicGeometry.Spec ↧k).residueField x ≅ ↧k

For a field k, the residue field of Spec k at any point x is canonically isomorphic to k.

theorem AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField_inv E1 #

∀ {k : Type u} [inst : Field k] (x : ↥(AlgebraicGeometry.Spec ↧k)),
  (AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField x).inv =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧k).inv
      ((AlgebraicGeometry.Spec ↧k).Γevaluation x)

theorem AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField_inv_assoc E1 #

∀ {k : Type u} [inst : Field k] (x : ↥(AlgebraicGeometry.Spec ↧k)) {Z : CommRingCat}
  (h : (AlgebraicGeometry.Spec ↧k).residueField x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField x).inv h =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧k).inv
      (CategoryTheory.CategoryStruct.comp ((AlgebraicGeometry.Spec ↧k).Γevaluation x) h)

theorem AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField_eq E0 #

∀ {k : Type u} [inst : Field k] (x : ↥(AlgebraicGeometry.Spec ↧k)),
  AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField x =
    AlgebraicGeometry.Scheme.Spec.residueFieldIso (↧k) x ≪≫
      x.asIdeal.algEquivResidueFieldOfField.symm.toRingEquiv.toCommRingCatIso

theorem AlgebraicGeometry.Scheme.Hom.residueFieldIsoOfField_inv_residueFieldMap E1 #

∀ {X : AlgebraicGeometry.Scheme} {k : Type u} [inst : Field k] (f : X ⟶ AlgebraicGeometry.Spec ↧k) (x : ↥X),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField (f x)).inv
      (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧k).inv
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.appTop f) (X.Γevaluation x))

The k-algebra structure on κ(x) induced by a morphism f : X ⟶ Spec k factors through f.residueFieldMap x, after identifying κ(f x) with k via Spec.residueFieldIsoOfField.

theorem AlgebraicGeometry.Scheme.Hom.residueFieldIsoOfField_inv_residueFieldMap_assoc E1 #

∀ {X : AlgebraicGeometry.Scheme} {k : Type u} [inst : Field k] (f : X ⟶ AlgebraicGeometry.Spec ↧k) (x : ↥X)
  {Z : CommRingCat} (h : X.residueField x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Spec.residueFieldIsoOfField (f x)).inv
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f x) h) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧k).inv
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.appTop f)
        (CategoryTheory.CategoryStruct.comp (X.Γevaluation x) h))

The k-algebra structure on κ(x) induced by a morphism f : X ⟶ Spec k factors through f.residueFieldMap x, after identifying κ(f x) with k via Spec.residueFieldIsoOfField.

theorem AlgebraicGeometry.Scheme.Hom.residueDegree_eq_finrank E1 #

∀ {X : AlgebraicGeometry.Scheme} {k : Type u} [inst : Field k] (f : X ⟶ AlgebraicGeometry.Spec ↧k) (x : ↥X),
  AlgebraicGeometry.Scheme.Hom.residueDegree f x = Module.finrank k ↑(X.residueField x)

The residue degree of a morphism f : X ⟶ Spec k to the spectrum of a field at a point x equals the degree of κ(x) as a k-algebra, via the canonical k-algebra structure on κ(x) induced by f.

theorem AlgebraicGeometry.Scheme.SpecToEquivOfField_eq_iff E0 #

∀ {K : Type u_1} [inst : Field K] {X : AlgebraicGeometry.Scheme} {f₁ f₂ : (x : ↥X) × (X.residueField x ⟶ ↧K)},
  f₁ = f₂ ↔
    ∃ (e : f₁.fst = f₂.fst),
      f₁.snd = CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.residueFieldCongr e).hom f₂.snd

A helper lemma to work with AlgebraicGeometry.Scheme.SpecToEquivOfField.

def AlgebraicGeometry.Scheme.SpecToEquivOfField E3 #

(K : Type u) →
  [inst : Field K] →
    (X : AlgebraicGeometry.Scheme) → (AlgebraicGeometry.Spec ↧K ⟶ X) ≃ (x : ↥X) × (X.residueField x ⟶ ↧K)

For a field K and a scheme X, the morphisms Spec K ⟶ X bijectively correspond to pairs of points x of X and embeddings κ(x) ⟶ K.

theorem AlgebraicGeometry.Scheme.SpecToEquivOfField_symm_apply E0 #

∀ (K : Type u) [inst : Field K] (X : AlgebraicGeometry.Scheme) (xf : (x : ↥X) × (X.residueField x ⟶ ↧K)),
  (AlgebraicGeometry.Scheme.SpecToEquivOfField K X).symm xf =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map xf.snd) (X.fromSpecResidueField xf.fst)

theorem AlgebraicGeometry.Scheme.SpecToEquivOfField_apply_fst E0 #

∀ (K : Type u) [inst : Field K] (X : AlgebraicGeometry.Scheme) (f : AlgebraicGeometry.Spec ↧K ⟶ X),
  ((AlgebraicGeometry.Scheme.SpecToEquivOfField K X) f).fst = f (IsLocalRing.closedPoint ↑↧K)

theorem AlgebraicGeometry.Scheme.SpecToEquivOfField_apply_snd E0 #

∀ (K : Type u) [inst : Field K] (X : AlgebraicGeometry.Scheme) (f : AlgebraicGeometry.Spec ↧K ⟶ X),
  ((AlgebraicGeometry.Scheme.SpecToEquivOfField K X) f).snd =
    AlgebraicGeometry.Scheme.descResidueField (AlgebraicGeometry.Scheme.stalkClosedPointTo f)

theorem AlgebraicGeometry.Scheme.descResidueField_stalkClosedPointTo_comp E0 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) {K : Type u} [inst : Field K] (g : AlgebraicGeometry.Spec ↧K ⟶ X),
  AlgebraicGeometry.Scheme.descResidueField
      (AlgebraicGeometry.Scheme.stalkClosedPointTo (CategoryTheory.CategoryStruct.comp g f)) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.residueFieldMap f (g (IsLocalRing.closedPoint K)))
      (AlgebraicGeometry.Scheme.descResidueField (AlgebraicGeometry.Scheme.stalkClosedPointTo g))