Reduction on points of a finite flat algebra is surjective over a normal Henselian local domain with algebraically closed fraction and residue fields.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
namespace SchemeTheory
universe utheorem surjective_finiteFlat_pointReduction
(R Ω B : Type u) [CommRing R] [IsDomain R] [HenselianLocalRing R]
[IsIntegrallyClosed R] [Field Ω] [IsAlgClosed Ω]
[Algebra R Ω] [IsFractionRing R Ω] [IsAlgClosed (IsLocalRing.ResidueField R)]
[CommRing B] [Algebra R B] [Module.Finite R B] [Module.Flat R B] :
Function.Surjective (fun f : B →ₐ[R] R =>
(IsScalarTower.toAlgHom R R (IsLocalRing.ResidueField R)).comp f) := by
intro ψ
let Q : Ideal B := RingHom.ker ψ.toRingHom
have : Q.IsPrime := RingHom.ker_isPrime ψ.toRingHom
have : Q.LiesOver (IsLocalRing.maximalIdeal R) := ⟨by
ext r
change r ∈ IsLocalRing.maximalIdeal R ↔ ψ (algebraMap R B r) = 0
rw [ψ.commutes]
exact (IsLocalRing.residue_eq_zero_iff r).symm⟩
obtain ⟨P, hPQ, hP, hPover⟩ :=
Ideal.exists_ideal_le_liesOver_of_le (R := R) (S := B)
(p := (⊥ : Ideal R)) (q := IsLocalRing.maximalIdeal R) Q bot_le
have : P.IsPrime := hP
have : P.LiesOver (⊥ : Ideal R) := hPover
let D := B ⧸ P
let q : B →ₐ[R] D := Ideal.Quotient.mkₐ R P
have : Module.Finite R D :=
Module.Finite.of_surjective q.toLinearMap (Ideal.Quotient.mkₐ_surjective R P)
have hinj : Function.Injective (algebraMap R D) := by
apply (RingHom.injective_iff_ker_eq_bot _).mpr
ext r
change Ideal.Quotient.mk P (algebraMap R B r) = 0 ↔ r = 0
rw [Ideal.Quotient.eq_zero_iff_mem]
change r ∈ P.under R ↔ r ∈ (⊥ : Ideal R)
rw [← P.over_def (⊥ : Ideal R)]
have : Module.IsTorsionFree R D :=
Module.isTorsionFree_iff_algebraMap_injective.mpr hinj
have : IsLocalRing D := isLocalRing_of_finite_domain_henselian R D
let ψD : D →ₐ[R] IsLocalRing.ResidueField R :=
Ideal.Quotient.liftₐ P ψ (fun b hb => hPQ hb)
let genericPoint : D →ₐ[R] Ω := IsAlgClosed.lift
let integralPoint : D →ₐ[R] R := integralPointLift R R Ω D genericPoint
let r : R →ₐ[R] IsLocalRing.ResidueField R :=
IsScalarTower.toAlgHom R R (IsLocalRing.ResidueField R)
have hpoint : r.comp integralPoint = ψD := by
obtain ⟨θ, _, _, huniq⟩ :=
existsUnique_localPoint_of_finite_local R D (IsLocalRing.residue R)
have h₁ : (r.comp integralPoint).toRingHom = θ := huniq _ (by
ext a
exact (r.comp integralPoint).commutes a)
have h₂ : ψD.toRingHom = θ := huniq _ (by
ext a
exact ψD.commutes a)
apply AlgHom.ext
intro a
exact RingHom.congr_fun (h₁.trans h₂.symm) a
refine ⟨integralPoint.comp q, ?_⟩
change r.comp (integralPoint.comp q) = ψ
calc
r.comp (integralPoint.comp q) = (r.comp integralPoint).comp q := rfl
_ = ψD.comp q := congrArg (fun f => f.comp q) hpoint
_ = ψ := Ideal.Quotient.liftₐ_comp P ψ (fun b hb => hPQ hb)