This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure 3 public import Mathlib.RingTheory.MvPolynomial 4 public import Mathlib.RingTheory.Spectrum.Prime.RingHom 5 public import Stafford38.Geometry.ScalarExtensionPoints 6 7 @[expose] public section 8 9 /-! 10 # Geometric points and support after algebraic closure 11 12 For finitely many polynomial variables over an arbitrary field, a proper 13 ideal has a common zero in the algebraic closure. This file records the 14 result with the coefficient map and its map/comap consequences explicit. 15 16 The proof chooses a maximal ideal above the given ideal, uses Zariski's lemma 17 to make its residue field algebraic over the ground field, and embeds that 18 residue field into the algebraic closure. It does not use characteristic 19 varieties, Gabber's theorem, or asymptotic geometry. 20 -/ 21 22 namespace Stafford38.Characteristic.GeometricSupportDescent 23 24 open Stafford38.Geometry.ScalarExtensionPoints 25 open Stafford38.Characteristic 26 open Stafford38.CharacteristicInitialIdeal 27 open Stafford38.WeylIteratedEquivalence 28 open Stafford38.EulerSurjectivity 29 30 noncomputable section 31 32 variable {k : Type*} [Field k] 33 variable {σ : Type*} [Finite σ] 34 35 /-- A proper ideal in a finite-variable polynomial ring has a common zero in 36 the algebraic closure of the coefficient field. -/ 37 theorem exists_algebraicClosure_zero_of_ne_top 38 (J : Ideal (MvPolynomial σ k)) (hJ : J ≠ ⊤) : 39 ∃ q : σ → AlgebraicClosure k, 40 q ∈ MvPolynomial.zeroLocus (AlgebraicClosure k) 41 (J.map (scalarPolynomialMap 42 (k := k) (K := AlgebraicClosure k) σ)) := by 43 obtain ⟨M, hMmax, hJM⟩ := Ideal.exists_le_maximal J hJ 44 letI : M.IsMaximal := hMmax 45 let Q := MvPolynomial σ k ⧸ M 46 letI : Field Q := Ideal.Quotient.field M 47 letI : Module.IsTorsionFree k Q := 48 Module.isTorsionFree_iff_algebraMap_injective.mpr 49 (MvPolynomial.quotient_mk_comp_C_injective σ k M hMmax.ne_top) 50 have hIntegral : 51 RingHom.IsIntegral 52 ((Ideal.Quotient.mk M).comp (MvPolynomial.C : k →+* MvPolynomial σ k)) := 53 MvPolynomial.comp_C_integral_of_surjective_of_isJacobsonRing 54 (Ideal.Quotient.mk M) Ideal.Quotient.mk_surjective 55 letI : Algebra.IsIntegral k Q := ⟨hIntegral⟩ 56 letI : Algebra.IsAlgebraic k Q := Algebra.IsIntegral.isAlgebraic 57 let φ : Q →ₐ[k] AlgebraicClosure k := IsAlgClosed.lift 58 let q : σ → AlgebraicClosure k := fun i => φ (Ideal.Quotient.mk M (MvPolynomial.X i)) 59 refine ⟨q, (mem_zeroLocus_map_iff J q).2 ?_⟩ 60 intro f hf 61 let ψ : MvPolynomial σ k →+* AlgebraicClosure k := 62 φ.toRingHom.comp (Ideal.Quotient.mk M) 63 have hψ : ψ f = 0 := by 64 change φ (Ideal.Quotient.mk M f) = 0 65 rw [Ideal.Quotient.eq_zero_iff_mem.mpr (hJM hf), map_zero] 66 have hcoeff : ψ.comp MvPolynomial.C = 67 algebraMap k (AlgebraicClosure k) := by 68 ext a 69 change φ (Ideal.Quotient.mk M (MvPolynomial.C a)) = 70 algebraMap k (AlgebraicClosure k) a 71 rw [show Ideal.Quotient.mk M (MvPolynomial.C a) = algebraMap k Q a from rfl] 72 exact φ.commutes a 73 rw [MvPolynomial.map_mvPolynomial_eq_eval₂ ψ] at hψ 74 rw [hcoeff] at hψ 75 simpa [ψ, q] using hψ 76 77 /-- Over the algebraic closure, geometric emptiness is exactly the unit-ideal 78 condition on the original ground-field ideal. -/ 79 theorem algebraicClosure_zeroLocus_eq_empty_iff 80 (J : Ideal (MvPolynomial σ k)) : 81 MvPolynomial.zeroLocus (AlgebraicClosure k) 82 (J.map (scalarPolynomialMap 83 (k := k) (K := AlgebraicClosure k) σ)) = ∅ ↔ 84 J = ⊤ := by 85 constructor 86 · intro hzero 87 by_contra hJ 88 obtain ⟨q, hq⟩ := exists_algebraicClosure_zero_of_ne_top J hJ 89 rw [hzero] at hq 90 exact hq 91 · rintro rfl 92 change MvPolynomial.zeroLocus (AlgebraicClosure k) 93 ((⊤ : Ideal (MvPolynomial σ k)).map 94 (scalarPolynomialMap 95 (k := k) (K := AlgebraicClosure k) σ)) = 96 (⊥ : Set (σ → AlgebraicClosure k)) 97 rw [Ideal.map_top, MvPolynomial.zeroLocus_top] 98 99 /-- Scalar extension to the algebraic closure reflects and preserves the 100 unit ideal for finite-variable polynomial rings. -/ 101 theorem map_scalarPolynomialMap_eq_top_iff 102 (J : Ideal (MvPolynomial σ k)) : 103 J.map (scalarPolynomialMap 104 (k := k) (K := AlgebraicClosure k) σ) = ⊤ ↔ 105 J = ⊤ := by 106 constructor 107 · intro hmap 108 apply (algebraicClosure_zeroLocus_eq_empty_iff J).mp 109 rw [hmap] 110 exact MvPolynomial.zeroLocus_top 111 · rintro rfl 112 exact Ideal.map_top _ 113 114 /-- A nonempty ground-field prime-spectrum zero locus yields a geometric 115 point after passing to the algebraic closure. -/ 116 theorem exists_algebraicClosure_zero_of_mem_primeZeroLocus 117 (J : Ideal (MvPolynomial σ k)) 118 (p : PrimeSpectrum (MvPolynomial σ k)) 119 (hp : p ∈ PrimeSpectrum.zeroLocus (J : Set (MvPolynomial σ k))) : 120 ∃ q : σ → AlgebraicClosure k, 121 q ∈ MvPolynomial.zeroLocus (AlgebraicClosure k) 122 (J.map (scalarPolynomialMap 123 (k := k) (K := AlgebraicClosure k) σ)) := by 124 apply exists_algebraicClosure_zero_of_ne_top J 125 intro hJ 126 subst J 127 exact p.2.ne_top (by simpa using hp) 128 129 /-- A geometric point gives a prime of the original polynomial ring by 130 contracting its evaluation kernel. The displayed equality records the exact 131 map/comap orientation. -/ 132 def groundPrimeOfAlgebraicClosurePoint (q : σ → AlgebraicClosure k) : 133 PrimeSpectrum (MvPolynomial σ k) := 134 PrimeSpectrum.comap (scalarPolynomialMap 135 (k := k) (K := AlgebraicClosure k) σ) 136 (MvPolynomial.pointToPoint q) 137 138 theorem groundPrimeOfAlgebraicClosurePoint_asIdeal 139 (q : σ → AlgebraicClosure k) : 140 (groundPrimeOfAlgebraicClosurePoint (k := k) q).asIdeal = 141 (MvPolynomial.vanishingIdeal (AlgebraicClosure k) {q}).comap 142 (scalarPolynomialMap 143 (k := k) (K := AlgebraicClosure k) σ) := 144 rfl 145 146 /-- Conversely, a geometric zero of the extended ideal contracts to a prime 147 of the ground polynomial ring containing the original ideal. -/ 148 theorem groundPrimeOfAlgebraicClosurePoint_mem_zeroLocus 149 (J : Ideal (MvPolynomial σ k)) (q : σ → AlgebraicClosure k) 150 (hq : q ∈ MvPolynomial.zeroLocus (AlgebraicClosure k) 151 (J.map (scalarPolynomialMap 152 (k := k) (K := AlgebraicClosure k) σ))) : 153 groundPrimeOfAlgebraicClosurePoint (k := k) q ∈ 154 PrimeSpectrum.zeroLocus (J : Set (MvPolynomial σ k)) := by 155 rw [PrimeSpectrum.mem_zeroLocus] 156 intro f hf 157 change scalarPolynomialMap 158 (k := k) (K := AlgebraicClosure k) σ f ∈ 159 MvPolynomial.vanishingIdeal (AlgebraicClosure k) {q} 160 rw [MvPolynomial.mem_vanishingIdeal_singleton_iff] 161 exact hq _ (Ideal.mem_map_of_mem _ hf) 162 163 /-- Thus nonemptiness of the prime-spectrum support and nonemptiness of the 164 algebraic-closure geometric zero locus are equivalent. -/ 165 theorem primeZeroLocus_nonempty_iff_algebraicClosure_zeroLocus_nonempty 166 (J : Ideal (MvPolynomial σ k)) : 167 Set.Nonempty (PrimeSpectrum.zeroLocus (J : Set (MvPolynomial σ k))) ↔ 168 Set.Nonempty (MvPolynomial.zeroLocus (AlgebraicClosure k) 169 (J.map (scalarPolynomialMap 170 (k := k) (K := AlgebraicClosure k) σ))) := by 171 constructor 172 · rintro ⟨p, hp⟩ 173 exact exists_algebraicClosure_zero_of_mem_primeZeroLocus J p hp 174 · rintro ⟨q, hq⟩ 175 exact ⟨groundPrimeOfAlgebraicClosurePoint (k := k) q, 176 groundPrimeOfAlgebraicClosurePoint_mem_zeroLocus J q hq⟩ 177 178 /-- Project-facing form: a proper order initial ideal has a geometric point 179 after coefficient extension to the algebraic closure. -/ 180 theorem exists_algebraicClosure_orderInitialZero_of_ne_top 181 {n : ℕ} (I : RightIdeal (PresentedWeyl k n)) 182 (hI : orderInitialIdeal k I ≠ ⊤) : 183 ∃ q : PhaseVar n → AlgebraicClosure k, 184 q ∈ MvPolynomial.zeroLocus (AlgebraicClosure k) 185 ((orderInitialIdeal k I).map 186 (scalarPolynomialMap 187 (k := k) (K := AlgebraicClosure k) (PhaseVar n))) := 188 exists_algebraicClosure_zero_of_ne_top (orderInitialIdeal k I) hI 189 190 /-- The literal prime-spectrum order support is nonempty exactly when the 191 extended order initial ideal has an algebraic-closure-valued point. -/ 192 theorem orderCharacteristicSupport_nonempty_iff_geometric_nonempty 193 {n : ℕ} (I : RightIdeal (PresentedWeyl k n)) : 194 Set.Nonempty (orderCharacteristicSupport k I) ↔ 195 Set.Nonempty (MvPolynomial.zeroLocus (AlgebraicClosure k) 196 ((orderInitialIdeal k I).map 197 (scalarPolynomialMap 198 (k := k) (K := AlgebraicClosure k) (PhaseVar n)))) := by 199 rw [orderCharacteristicSupport_eq_zeroLocus] 200 exact primeZeroLocus_nonempty_iff_algebraicClosure_zeroLocus_nonempty 201 (orderInitialIdeal k I) 202 203 /-- Geometric emptiness over the algebraic closure descends all the way to 204 the unit order initial ideal and hence to empty prime-spectrum support. -/ 205 theorem geometric_orderInitialZeroLocus_empty_iff_support_empty 206 {n : ℕ} (I : RightIdeal (PresentedWeyl k n)) : 207 MvPolynomial.zeroLocus (AlgebraicClosure k) 208 ((orderInitialIdeal k I).map 209 (scalarPolynomialMap 210 (k := k) (K := AlgebraicClosure k) (PhaseVar n))) = ∅ ↔ 211 orderCharacteristicSupport k I = ∅ := by 212 rw [algebraicClosure_zeroLocus_eq_empty_iff, 213 orderCharacteristicSupport_eq_empty_iff] 214 215 #print axioms exists_algebraicClosure_zero_of_ne_top 216 #print axioms algebraicClosure_zeroLocus_eq_empty_iff 217 #print axioms map_scalarPolynomialMap_eq_top_iff 218 #print axioms exists_algebraicClosure_zero_of_mem_primeZeroLocus 219 #print axioms groundPrimeOfAlgebraicClosurePoint 220 #print axioms groundPrimeOfAlgebraicClosurePoint_asIdeal 221 #print axioms groundPrimeOfAlgebraicClosurePoint_mem_zeroLocus 222 #print axioms primeZeroLocus_nonempty_iff_algebraicClosure_zeroLocus_nonempty 223 #print axioms exists_algebraicClosure_orderInitialZero_of_ne_top 224 #print axioms orderCharacteristicSupport_nonempty_iff_geometric_nonempty 225 #print axioms geometric_orderInitialZeroLocus_empty_iff_support_empty 226 227 end 228 229 end Stafford38.Characteristic.GeometricSupportDescent 230