Module

OpenFlatLocus.lean

Nyll.SchemeTheory.Morphisms.OpenFlatLocus
7 declarations indexed from sourceView source ↗

The open flat locus of a locally finite type scheme morphism

Over a locally Noetherian target, flatness of the original stalk map is an open condition on the source. The affine stalk-localization comparison identifies it with the ring-theoretic flat locus. Affine chart maps then transport this open set back to the original scheme.

In particular, flatness at a supplied point constructs an actual open neighborhood on which the original morphism is flat.

Imports7
  • Nyll.SchemeTheory.RingTheory.Flat.OpenLocus
  • Mathlib.AlgebraicGeometry.AffineScheme
  • Mathlib.AlgebraicGeometry.Morphisms.Flat
  • Mathlib.AlgebraicGeometry.Morphisms.FiniteType
  • Mathlib.AlgebraicGeometry.Noetherian
  • Mathlib.AlgebraicGeometry.Restrict
  • Mathlib.RingTheory.Flat.Localization
Imported by2

Declarations

AlgebraicGeometry.flat_stalkMap_iff

On actual affine charts, flatness of the original stalk map is flatness of the source prime localization over the target section ring.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory TopologicalSpace
namespace AlgebraicGeometry
universe u
variable {X Y : Scheme.{u}}
lemma flat_stalkMap_iff {f : X ⟶ Y} {x : X}
    (U : Y.Opens) (hU : IsAffineOpen U)
    (V : X.Opens) (hV : IsAffineOpen V) (hVU : V ≤ f ⁻¹ᵁ U) (hx : x ∈ V) :
    let _ : Algebra Γ(Y, U) Γ(X, V) := (f.appLE U V hVU).hom.toAlgebra
    (f.stalkMap x).hom.Flat ↔
      Module.Flat Γ(Y, U) (Localization.AtPrime (hV.primeIdealOf ⟨x, hx⟩).asIdeal) := by
  intro sectionAlgebra
  let p := (hU.primeIdealOf ⟨f x, hVU hx⟩).asIdeal
  let q := (hV.primeIdealOf ⟨x, hx⟩).asIdeal
  have : q.LiesOver p :=
    ⟨(congrArg PrimeSpectrum.asIdeal
      (IsAffineOpen.comap_primeIdealOf_appLE U hU V hV hVU hx)).symm⟩
  let : Algebra (Localization.AtPrime p) (Localization.AtPrime q) :=
    Localization.AtPrime.algebraOfLiesOver p q
  change (f.stalkMap x).hom.Flat ↔ Module.Flat Γ(Y, U) (Localization.AtPrime q)
  trans Module.Flat (Localization.AtPrime p) (Localization.AtPrime q)
  · rw [← RingHom.flat_algebraMap_iff]
    exact RingHom.Flat.respectsIso.arrow_mk_iso_iff
      (IsAffineOpen.arrowStalkMapIso f U hU V hV hVU hx)
  · exact Module.flat_iff_of_isLocalization
      (Localization.AtPrime p) p.primeCompl (Localization.AtPrime q)
AlgebraicGeometry.Scheme.Hom.isOpen_flatLocus

The flat locus is open for a locally finite type morphism to a locally Noetherian scheme. Its defining condition uses the original stalk maps.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory TopologicalSpace
namespace AlgebraicGeometry
universe u
variable {X Y : Scheme.{u}}
lemma Scheme.Hom.isOpen_flatLocus (f : X ⟶ Y)
    [IsLocallyNoetherian Y] [LocallyOfFiniteType f] :
    IsOpen {x : X | (f.stalkMap x).hom.Flat}
AlgebraicGeometry.Scheme.Hom.flatLocus

The open subscheme where the original stalk maps are flat.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory TopologicalSpace
namespace AlgebraicGeometry
universe u
variable {X Y : Scheme.{u}}
def Scheme.Hom.flatLocus (f : X ⟶ Y)
    [IsLocallyNoetherian Y] [LocallyOfFiniteType f] : X.Opens
AlgebraicGeometry.Scheme.Hom.mem_flatLocus
Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory TopologicalSpace
namespace AlgebraicGeometry
universe u
variable {X Y : Scheme.{u}}
lemma Scheme.Hom.mem_flatLocus {f : X ⟶ Y}
    [IsLocallyNoetherian Y] [LocallyOfFiniteType f] {x : X} :
    x ∈ f.flatLocus ↔ (f.stalkMap x).hom.Flat
AlgebraicGeometry.Scheme.Hom.flat_flatLocus

Restriction of the original morphism to its constructed flat locus is flat.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory TopologicalSpace
namespace AlgebraicGeometry
universe u
variable {X Y : Scheme.{u}}
theorem Scheme.Hom.flat_flatLocus (f : X ⟶ Y)
    [IsLocallyNoetherian Y] [LocallyOfFiniteType f] : Flat (f.flatLocus.ι ≫ f)
AlgebraicGeometry.exists_flat_open_of_flat_stalkMap

A flat original stalk map supplies an actual flat open neighborhood.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory TopologicalSpace
namespace AlgebraicGeometry
universe u
variable {X Y : Scheme.{u}}
theorem exists_flat_open_of_flat_stalkMap (f : X ⟶ Y)
    [IsLocallyNoetherian Y] [LocallyOfFiniteType f]
    (x : X) (hx : (f.stalkMap x).hom.Flat) :
    ∃ W : X.Opens, x ∈ W ∧ Flat (W.ι ≫ f)
AlgebraicGeometry.exists_flat_open_iff_flat_stalkMap

Flatness of the original stalk is equivalent to existence of a flat open neighborhood, under the same finite type hypotheses.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory TopologicalSpace
namespace AlgebraicGeometry
universe u
variable {X Y : Scheme.{u}}
theorem exists_flat_open_iff_flat_stalkMap (f : X ⟶ Y)
    [IsLocallyNoetherian Y] [LocallyOfFiniteType f] (x : X) :
    (∃ W : X.Opens, x ∈ W ∧ Flat (W.ι ≫ f)) ↔ (f.stalkMap x).hom.Flat