This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Mathlib.Tactic.Cases 3 public import Stafford38.Characteristic.CanonicalBaseVariety 4 public import Stafford38.Geometry.OneVariablePrimeConormal 5 public import Mathlib.FieldTheory.Perfect 6 7 @[expose] public section 8 9 /-! 10 # Ambient rank-one conormal production 11 12 In one base variable, passing from a radical ambient ideal to one of its 13 prime components loses the direction needed for conormal containment: if 14 `I ≤ P`, then the equation-conormal space of `I` is contained in that of `P`, 15 not conversely. This file avoids that invalid transfer. 16 17 Instead, the radical ambient ideal is principal after identifying the 18 one-variable multivariate polynomial ring with `k[X]`. Its nonzero generator 19 is squarefree. At every zero, separability therefore makes the derivative 20 nonzero, so the ambient equation itself spans the unique cotangent direction. 21 This produces the Laurent conormal axis for the ambient ideal directly. 22 -/ 23 24 namespace Stafford38.Geometry.OneVariableAmbientConormal 25 26 open Stafford38 27 open Stafford38.Characteristic 28 open Stafford38.Characteristic.CanonicalBaseVariety 29 open Stafford38.Characteristic.ReducedSupportIdeal 30 open Stafford38.CharacteristicInitialIdeal 31 open Stafford38.Geometry.AffineConormalClosure 32 open Stafford38.Geometry.AffineConormalSpan 33 open Stafford38.Geometry.CoisotropicTranslation 34 open Stafford38.Geometry.ScalarExtensionPoints 35 open Stafford38.GeometryRetractionSpecialization 36 open Stafford38.EulerSurjectivity 37 open Stafford38.WeylIteratedEquivalence 38 39 noncomputable section 40 41 universe u 42 43 private abbrev finOnePolynomialEquiv (k : Type u) [Field k] : 44 MvPolynomial (Fin 1) k ≃ₐ[k] Polynomial k := 45 MvPolynomial.uniqueAlgEquiv k (Fin 1) 46 47 private theorem finOnePolynomialEquiv_eval 48 {k : Type u} [Field k] (f : MvPolynomial (Fin 1) k) (y : Fin 1 → k) : 49 Polynomial.eval (y 0) (finOnePolynomialEquiv k f) = 50 MvPolynomial.eval y f := by 51 change (finOnePolynomialEquiv k f).eval₂ (RingHom.id k) (y 0) = 52 f.eval₂ (RingHom.id k) y 53 exact MvPolynomial.eval₂_uniqueAlgEquiv 54 55 private theorem finOnePolynomialEquiv_pderiv 56 {k : Type u} [Field k] (f : MvPolynomial (Fin 1) k) : 57 finOnePolynomialEquiv k (MvPolynomial.pderiv (0 : Fin 1) f) = 58 (finOnePolynomialEquiv k f).derivative := by 59 induction' f using MvPolynomial.induction_on with a p q hp hq p i hp 60 · simp [finOnePolynomialEquiv] 61 · simp only [map_add] 62 rw [hp, hq] 63 · fin_cases i 64 simp only [MvPolynomial.pderiv_mul, MvPolynomial.pderiv_X, 65 Pi.single_apply, map_add, map_mul, Polynomial.derivative_mul] 66 rw [hp] 67 simp [finOnePolynomialEquiv] 68 69 /-- A radical ambient ideal in one variable which avoids the origin has, at 70 each supplied zero, an ambient equation with nonzero differential. The 71 equation is the pullback of a principal generator after identifying the ring 72 with `k[X]`. -/ 73 theorem exists_ambientEquation_differential_ne_zero 74 {k : Type u} [Field k] [IsAlgClosed k] 75 (I : Ideal (MvPolynomial (Fin 1) k)) 76 (hIrad : I.IsRadical) 77 (y : Fin 1 → k) 78 (hy : ∀ f ∈ I, MvPolynomial.eval y f = 0) 79 (havoid : ∀ z : Fin 1 → k, 80 (∀ f ∈ I, MvPolynomial.eval z f = 0) → z 0 ≠ 0) : 81 ∃ f ∈ I, differentialAt y f 0 ≠ 0 := by 82 let e := finOnePolynomialEquiv k 83 let Q : Ideal (Polynomial k) := I.map e 84 have hIne : I ≠ ⊥ := by 85 intro hI 86 have hzero : ∀ f ∈ I, 87 MvPolynomial.eval (fun _ : Fin 1 ↦ (0 : k)) f = 0 := by 88 intro f hf 89 have hf0 : f = 0 := by 90 rw [hI] at hf 91 simpa using hf 92 simp [hf0] 93 exact (havoid (fun _ ↦ 0) hzero) rfl 94 have hQrad : Q.IsRadical := by 95 have hQeq : Q = I.comap e.symm := by 96 ext q 97 constructor 98 · intro hq 99 obtain ⟨f, hf, hef⟩ := 100 (Ideal.mem_map_iff_of_surjective e e.surjective).mp hq 101 change e.symm q ∈ I 102 simpa [← hef] using hf 103 · intro hq 104 apply (Ideal.mem_map_iff_of_surjective e e.surjective).mpr 105 exact ⟨e.symm q, hq, by simp⟩ 106 rw [hQeq] 107 exact hIrad.comap e.symm 108 have hQne : Q ≠ ⊥ := by 109 intro hQ 110 apply hIne 111 exact (Ideal.map_eq_bot_iff_of_injective e.injective).mp hQ 112 let g : Polynomial k := Submodule.IsPrincipal.generator Q 113 have hgQ : g ∈ Q := Submodule.IsPrincipal.generator_mem Q 114 have hg0 : g ≠ 0 := by 115 intro hg 116 apply hQne 117 rw [← Ideal.span_singleton_generator Q] 118 have hgenerator : Submodule.IsPrincipal.generator Q = 0 := by 119 simpa [g] using hg 120 rw [hgenerator, Ideal.span_singleton_eq_bot] 121 have hgrad : IsRadical g := by 122 rw [isRadical_iff_span_singleton] 123 have hspan : Ideal.span ({g} : Set (Polynomial k)) = Q := by 124 simp [g] 125 rw [hspan] 126 exact hQrad 127 have hgsq : Squarefree g := 128 (isRadical_iff_squarefree_of_ne_zero hg0).mp hgrad 129 have hgsep : g.Separable := 130 PerfectField.separable_iff_squarefree.mpr hgsq 131 let f : MvPolynomial (Fin 1) k := e.symm g 132 have hef : e f = g := e.apply_symm_apply g 133 have hfI : f ∈ I := by 134 have : e.symm g ∈ I := by 135 obtain ⟨f', hf', hef'⟩ := 136 (Ideal.mem_map_iff_of_surjective e e.surjective).mp hgQ 137 simpa [← hef'] using hf' 138 exact this 139 have hgeval : Polynomial.eval (y 0) g = 0 := by 140 rw [← hef] 141 exact (finOnePolynomialEquiv_eval f y).trans (hy f hfI) 142 have hgderiv : Polynomial.eval (y 0) g.derivative ≠ 0 := 143 hgsep.eval₂_derivative_ne_zero (RingHom.id k) (by simpa using hgeval) 144 refine ⟨f, hfI, ?_⟩ 145 change MvPolynomial.eval y (MvPolynomial.pderiv 0 f) ≠ 0 146 rw [← finOnePolynomialEquiv_eval (MvPolynomial.pderiv 0 f) y, 147 finOnePolynomialEquiv_pderiv] 148 rw [hef] 149 exact hgderiv 150 151 /-- In rank one, one ambient equation with nonzero differential spans the 152 entire cotangent line. -/ 153 theorem pureAxis_mem_affineConormalSpace_of_differential_ne_zero 154 {k : Type u} [Field k] 155 (I : Ideal (MvPolynomial (Fin 1) k)) 156 (y : Fin 1 → k) (f : MvPolynomial (Fin 1) k) 157 (hf : f ∈ I) (hdf : differentialAt y f 0 ≠ 0) : 158 coordinateCovector (fun _ : Fin 1 ↦ 1) ∈ affineConormalSpace y I := by 159 rw [affineConormalSpace_eq_equationCovectorSpan] 160 have hgenerator : differentialCovector y f ∈ equationCovectorSpan y I := by 161 apply Submodule.subset_span 162 exact ⟨⟨f, hf⟩, rfl⟩ 163 have hscaled := (equationCovectorSpan y I).smul_mem (differentialAt y f 0)⁻¹ hgenerator 164 convert hscaled using 1 165 apply LinearMap.ext 166 intro v 167 simp [differentialCovector, coordinateCovector, hdf] 168 169 /-- A radical ambient rank-one ideal with a zero and with origin avoidance 170 produces the exact Laurent conormal axis required by the terminal projected 171 consumer. No prime-component conormal is transferred to the ambient ideal. -/ 172 theorem exists_laurentConormalAxis_of_radical_ambient_axis_avoidance 173 {k : Type u} [Field k] [IsAlgClosed k] 174 (I : Ideal (MvPolynomial (Fin 1) k)) 175 (hIrad : I.IsRadical) 176 (hexists : ∃ y : Fin 1 → k, 177 ∀ f ∈ I, MvPolynomial.eval y f = 0) 178 (havoid : ∀ y : Fin 1 → k, 179 (∀ f ∈ I, MvPolynomial.eval y f = 0) → y 0 ≠ 0) : 180 ∃ (yL : Fin 1 → LaurentSeries k) 181 (xi : Fin 1 → PowerSeries k), 182 Sum.elim yL 183 (fun j ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi j)) ∈ 184 equationConormalLocus 185 (I.map (scalarPolynomialMap 186 (k := k) (K := LaurentSeries k) (Fin 1))) ∧ 187 residueColumn xi = (fun _ : Fin 1 ↦ 1) := by 188 obtain ⟨y, hy⟩ := hexists 189 obtain ⟨f, hf, hdf⟩ := 190 exists_ambientEquation_differential_ne_zero I hIrad y hy havoid 191 let yL : Fin 1 → LaurentSeries k := 192 fun j ↦ algebraMap k (LaurentSeries k) (y j) 193 let xi : Fin 1 → PowerSeries k := fun _ ↦ PowerSeries.C 1 194 let IL := I.map 195 (scalarPolynomialMap (k := k) (K := LaurentSeries k) (Fin 1)) 196 have hyL : ∀ g ∈ IL, MvPolynomial.eval yL g = 0 := by 197 rw [show (∀ g ∈ IL, MvPolynomial.eval yL g = 0) ↔ 198 yL ∈ MvPolynomial.zeroLocus (LaurentSeries k) IL by rfl] 199 rw [mem_zeroLocus_map_iff] 200 intro g hg 201 change MvPolynomial.eval₂ (algebraMap k (LaurentSeries k)) 202 ((algebraMap k (LaurentSeries k)) ∘ y) g = 0 203 rw [← MvPolynomial.eval₂_comp, hy g hg, map_zero] 204 have hfIL : scalarPolynomialMap 205 (k := k) (K := LaurentSeries k) (Fin 1) f ∈ IL := 206 Ideal.mem_map_of_mem _ hf 207 have hdfL : differentialAt yL 208 (scalarPolynomialMap 209 (k := k) (K := LaurentSeries k) (Fin 1) f) 0 ≠ 0 := by 210 rw [differentialAt_scalarPolynomialMap] 211 change MvPolynomial.eval₂ (algebraMap k (LaurentSeries k)) 212 ((algebraMap k (LaurentSeries k)) ∘ y) 213 (MvPolynomial.pderiv 0 f) ≠ 0 214 rw [← MvPolynomial.eval₂_comp] 215 simpa [differentialAt] using 216 (algebraMap k (LaurentSeries k)).injective.ne hdf 217 have haxisL : coordinateCovector (fun _ : Fin 1 ↦ (1 : LaurentSeries k)) ∈ 218 affineConormalSpace yL IL := 219 pureAxis_mem_affineConormalSpace_of_differential_ne_zero IL yL _ hfIL hdfL 220 refine ⟨yL, xi, ?_, ?_⟩ 221 · refine ⟨hyL, ?_⟩ 222 simpa [xi] using haxisL 223 · funext j 224 simp [xi, residueColumn] 225 226 /-- Canonical rank-one integration. Phase-space axis avoidance and nonempty 227 support provide exactly the ambient base hypotheses; radicality of the 228 canonical contracted base ideal then supplies the Laurent conormal axis. -/ 229 theorem exists_canonical_rankOne_laurentConormalAxis 230 {k : Type u} [Field k] [IsAlgClosed k] 231 (I : RightIdeal (PresentedWeyl k 1)) 232 (hdisjoint : Disjoint 233 (orderCharacteristicSupport k I) 234 (PrimeSpectrum.zeroLocus 235 ({MvPolynomial.X (.inl (0 : Fin 1))} : 236 Set (SymbolRing k 1)))) 237 (hsupp : (orderCharacteristicSupport k I).Nonempty) : 238 ∃ (yL : Fin 1 → LaurentSeries k) 239 (xi : Fin 1 → PowerSeries k), 240 Sum.elim yL 241 (fun j ↦ algebraMap (PowerSeries k) (LaurentSeries k) (xi j)) ∈ 242 equationConormalLocus 243 ((reducedOrderBaseIdeal k I).map 244 (scalarPolynomialMap 245 (k := k) (K := LaurentSeries k) (Fin 1))) ∧ 246 residueColumn xi = (fun _ : Fin 1 ↦ 1) := by 247 obtain ⟨hexists, havoid⟩ := 248 exists_baseZero_and_all_coordinate_ne_zero I (0 : Fin 1) hdisjoint hsupp 249 exact exists_laurentConormalAxis_of_radical_ambient_axis_avoidance 250 (reducedOrderBaseIdeal k I) 251 (reducedOrderBaseIdeal_isRadical k I) hexists havoid 252 253 #print axioms exists_ambientEquation_differential_ne_zero 254 #print axioms pureAxis_mem_affineConormalSpace_of_differential_ne_zero 255 #print axioms exists_laurentConormalAxis_of_radical_ambient_axis_avoidance 256 #print axioms exists_canonical_rankOne_laurentConormalAxis 257 258 end 259 260 end Stafford38.Geometry.OneVariableAmbientConormal 261