This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Geometry.CanonicalNonconstantFiniteGradientProductionProof 3 public import Stafford38.Geometry.DivisorTangentLattice 4 public import Stafford38.Geometry.RetainedGroundMapIdentification 5 6 @[expose] public section 7 8 /-! 9 # Transport of a divisor-tangent conormal row to the completed chart 10 11 Let `P` be a prime component of affine `m`-space, `F` its function field, 12 `W` a retained boundary place for a transcendental component coordinate, 13 `V` its valuation ring and `Kres` its residue field. Given 14 15 * normalized projective coordinates `q : Fin (m + 1) → V` of the generic 16 point (the output of 17 `exists_normalizedProjectivePoint_relativeRetainedBoundaryPlace`), 18 * a visible divisor frame `D` on those coordinates (the input of the 19 divisor-tangent lattice lemma), and 20 * the generic-point Kähler bridge `hbridge` (a relation in `Ω[F⁄k]` among 21 the differentials of the coordinates yields an equation-defined conormal 22 covector over `F`; proved in a sibling file and taken here as an explicit 23 hypothesis), 24 25 this file produces the `RegularizedOneRowConormalData` consumed by 26 `CanonicalNonconstantFiniteGradientProductionProof`, with the residue field 27 carrying the residue-induced ground structure 28 `retainedResidueGroundAlgebra`. 29 30 What is proved (all trust-zero, no axioms beyond the standard three): 31 32 1. `divisorFrame_kaehler_relation`: the lattice lemma gives a covector 33 `xi = e₀ - ∑ c_j e_j` with `c_j ∈ V` and `∑ xi_i • d y_i = 0`. 34 2. `coordinateCovector_map_mem_affineConormalSpace`: equation-defined 35 conormal membership transports along any ring homomorphism of fields. 36 3. `retainedLaurentLift`: the ring homomorphism `F →+* LaurentSeries Kres` 37 extending the retained completion, with its ground identification 38 `retainedLaurentLift_algebraMap_ground`. 39 4. `retainedLaurentLift_componentCoordinate`: the transported generic point 40 is the dehomogenized completed projective column. 41 5. `annihilation_identity`: the exact `V`-identity giving the projective 42 annihilation row. 43 6. `regularizedOneRowConormalData_of_transport`: the assembly over an 44 abstract local ring `V ⊆ F` with an injective completion map killing the 45 residue of nonunits and a compatible Laurent lift of `F`. 46 7. `exists_regularizedOneRowConormalData`: the instantiation at a retained 47 boundary place; the residue field carries `retainedResidueGroundAlgebra`. 48 49 What is not proved here: the existence of a visible divisor frame `D`, and 50 the bridge `hbridge`; both are explicit hypotheses. 51 -/ 52 53 namespace Stafford38.Geometry.RetainedPlaceConormalTransport 54 55 open IsLocalRing 56 open Stafford38.Geometry.AffineComponentCoordinateSplit 57 open Stafford38.Geometry.AffineConormalSpan 58 open Stafford38.Geometry.AsymptoticDivisorExistence 59 open Stafford38.Geometry.CanonicalNonconstantFiniteGradientProductionProof 60 open Stafford38.Geometry.CoisotropicTranslation 61 open Stafford38.Geometry.ComponentFunctionFieldBoundary 62 open Stafford38.Geometry.ComponentProjectiveClosure 63 open Stafford38.Geometry.ComponentProjectiveClosureNormalization 64 open Stafford38.Geometry.DivisorTangentLattice 65 open Stafford38.Geometry.FiniteGradientFromTangentInclusion 66 open Stafford38.Geometry.FormalDivisorLaurentConormal 67 open Stafford38.Geometry.LaurentConormalResidueExtension 68 open Stafford38.Geometry.ProjectiveConormalDehomogenization 69 open Stafford38.Geometry.RelativeCoefficientDVR 70 open Stafford38.Geometry.RelativeRetainedBoundaryPlace 71 open Stafford38.Geometry.RetainedGroundMapIdentification 72 open Stafford38.Geometry.RetainedProjectiveCompletion 73 open Stafford38.GeometryRetractionSpecialization 74 75 noncomputable section 76 77 set_option maxHeartbeats 20000000 78 set_option synthInstance.maxHeartbeats 1200000 79 80 universe u v 81 82 /-! ## Generic algebra: covector transport along a ring homomorphism -/ 83 84 section CovectorTransport 85 86 variable {F L : Type*} [Field F] [Field L] {n : ℕ} 87 88 /-- `differentialAt` commutes with coefficient transport. -/ 89 theorem differentialAt_map (ℓ : F →+* L) (y : Fin n → F) 90 (f : MvPolynomial (Fin n) F) (i : Fin n) : 91 ℓ (differentialAt y f i) = 92 differentialAt (ℓ ∘ y) (MvPolynomial.map ℓ f) i := by 93 unfold differentialAt 94 rw [MvPolynomial.pderiv_map, MvPolynomial.eval_map, MvPolynomial.eval, 95 MvPolynomial.coe_eval₂Hom, MvPolynomial.eval₂_comp_left] 96 rfl 97 98 /-- A coordinate covector given by a finite gradient identity lies in the 99 equation-defined conormal space. -/ 100 theorem coordinateCovector_mem_of_gradient_identity 101 (I : Ideal (MvPolynomial (Fin n) F)) (y xi : Fin n → F) 102 {r : ℕ} (equations : Fin r → MvPolynomial (Fin n) F) 103 (hmem : ∀ j, equations j ∈ I) (coefficients : Fin r → F) 104 (hxi : ∀ i, xi i = ∑ j, coefficients j * differentialAt y (equations j) i) : 105 coordinateCovector xi ∈ affineConormalSpace y I := by 106 rw [affineConormalSpace_eq_equationCovectorSpan] 107 have hcov : coordinateCovector xi = 108 ∑ j, coefficients j • differentialCovector y (equations j) := by 109 apply LinearMap.ext 110 intro v 111 simp only [coordinateCovector_apply, LinearMap.sum_apply, LinearMap.smul_apply, 112 differentialCovector_apply, smul_eq_mul, Finset.mul_sum, hxi, Finset.sum_mul] 113 rw [Finset.sum_comm] 114 refine Finset.sum_congr rfl fun i _ ↦ Finset.sum_congr rfl fun j _ ↦ ?_ 115 ring 116 rw [hcov] 117 refine Submodule.sum_mem _ fun j _ ↦ Submodule.smul_mem _ _ ?_ 118 exact Submodule.subset_span ⟨⟨equations j, hmem j⟩, rfl⟩ 119 120 /-- Equation-defined conormal membership transports along a ring 121 homomorphism of fields, with the ideal mapped along the same homomorphism. -/ 122 theorem coordinateCovector_map_mem_affineConormalSpace 123 (ℓ : F →+* L) (I : Ideal (MvPolynomial (Fin n) F)) (y xi : Fin n → F) 124 (hxi : coordinateCovector xi ∈ affineConormalSpace y I) : 125 coordinateCovector (ℓ ∘ xi) ∈ 126 affineConormalSpace (ℓ ∘ y) (I.map (MvPolynomial.map ℓ)) := by 127 obtain ⟨r, equations, coefficients, hgradient⟩ := 128 exists_fin_gradient_identity_of_mem_affineConormalSpace I y xi hxi 129 refine coordinateCovector_mem_of_gradient_identity _ (ℓ ∘ y) (ℓ ∘ xi) 130 (fun j ↦ MvPolynomial.map ℓ (equations j).1) 131 (fun j ↦ Ideal.mem_map_of_mem _ (equations j).2) 132 (fun j ↦ ℓ (coefficients j)) fun i ↦ ?_ 133 simp only [Function.comp_apply, hgradient i, map_sum, map_mul, differentialAt_map] 134 135 end CovectorTransport 136 137 /-! ## Generic algebra: the Kähler relation from the lattice lemma -/ 138 139 section KaehlerRelation 140 141 variable {k V F Ω : Type*} 142 variable [CommRing k] [CommRing V] [IsLocalRing V] [Field F] 143 variable [Algebra k F] [Algebra V F] 144 variable [AddCommGroup Ω] [Module k Ω] [Module F Ω] [Module V Ω] 145 variable [IsScalarTower V F Ω] 146 variable {d : Derivation k F Ω} {ι : Type*} [Fintype ι] [DecidableEq ι] 147 148 /-- The lattice lemma, rewritten as a single vanishing relation for the 149 covector `e_{j₀'} - ∑ c_j e_j` where `c_j = t^(a+e-1) b_j ∈ V`. -/ 150 theorem divisorFrame_kaehler_relation 151 (D : VisibleDivisorFrame (V := V) d ι) 152 (hinj : Function.Injective (algebraMap V F)) 153 (y : ι → F) (i₀ : ι) 154 (hy : ∀ j, algebraMap V F (D.Q j) / algebraMap V F D.Q₀ = y j) 155 (hy₁ : algebraMap V F D.Q₁ / algebraMap V F D.Q₀ = y i₀) : 156 ∃ b : ι → V, 157 ∑ j, ((if j = i₀ then 1 else 0) - 158 algebraMap V F (D.t ^ (D.a + D.e - 1) * b j)) • d (y j) = 0 := by 159 obtain ⟨b, hb⟩ := D.exists_coefficients hinj 160 refine ⟨b, ?_⟩ 161 simp only [hy, hy₁] at hb 162 simp only [sub_smul, Finset.sum_sub_distrib, ite_smul, one_smul, zero_smul, 163 Finset.sum_ite_eq', Finset.mem_univ, if_true, algebraMap_smul] 164 rw [← hb, sub_self] 165 166 end KaehlerRelation 167 168 /-! ## Generic algebra: the annihilation identity in the valuation ring -/ 169 170 section Annihilation 171 172 variable {V : Type*} [CommRing V] {ι : Type*} [Fintype ι] [DecidableEq ι] 173 174 /-- The row `(ell₀, xi_j)` annihilates the projective column `(q₀, q_j)`. 175 Here `q₀ = t^a u`, `q_{i₀} = q₀ p`, `u uinv = 1`, `c_j = t^(a+e-1) b_j`, 176 `xi_j = δ_{j i₀} - c_j`, and `ell₀ = ∑ t^(e-1) b_j q_j uinv - p`. -/ 177 theorem annihilation_identity 178 (t u uinv p : V) (a e : ℕ) (he : 1 ≤ e) (hu : u * uinv = 1) 179 (q₀ : V) (qs : ι → V) (i₀ : ι) (b : ι → V) 180 (hq₀ : q₀ = t ^ a * u) (hq₁ : qs i₀ = q₀ * p) : 181 ((∑ j, t ^ (e - 1) * b j * qs j * uinv) - p) * q₀ + 182 ∑ j, ((if j = i₀ then 1 else 0) - t ^ (a + e - 1) * b j) * qs j = 0 := by 183 obtain ⟨e', rfl⟩ := Nat.exists_eq_add_of_le' he 184 simp only [Nat.add_sub_cancel, sub_mul, Finset.sum_sub_distrib, ite_mul, one_mul, 185 zero_mul, Finset.sum_ite_eq', Finset.mem_univ, if_true, hq₁, Finset.sum_mul] 186 have hpow : ∀ j, t ^ (a + (e' + 1) - 1) * b j * qs j = 187 t ^ e' * b j * qs j * uinv * q₀ := by 188 intro j 189 rw [show a + (e' + 1) - 1 = e' + a by omega, pow_add, hq₀] 190 linear_combination (-(t ^ e' * b j * qs j * t ^ a)) * hu 191 simp only [hpow] 192 ring 193 194 end Annihilation 195 196 197 /-! ## The generic point as a ratio of normalized projective coordinates -/ 198 199 section GenericPoint 200 201 variable {k : Type u} [Field k] {m : ℕ} 202 203 /-- A common-scale lift of the projective generic point dehomogenizes to the 204 component coordinates. -/ 205 theorem componentCoordinate_eq_div 206 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) 207 (qF : Fin (m + 1) → ComponentFractionField P) 208 (scale : ComponentFractionField P) 209 (hq : ∀ a, qF a = scale * componentProjectivePoint P a) 210 (hq0 : qF 0 ≠ 0) (j : Fin m) : 211 qF j.succ / qF 0 = componentCoordinate P j := by 212 have hscale : scale ≠ 0 := by 213 intro h 214 apply hq0 215 rw [hq 0, h, zero_mul] 216 rw [hq, hq] 217 simp only [ 218 Stafford38.Geometry.ComponentFunctionFieldBoundary.componentProjectivePoint_eq_finCases, 219 Fin.cases_zero, Fin.cases_succ, mul_one] 220 field_simp 221 222 /-- Every equation of the affine component vanishes at the transported 223 generic point, for any ring homomorphism out of the function field. -/ 224 theorem eval_map_componentCoordinate_eq_zero 225 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) 226 {L : Type*} [Field L] (ℓ : ComponentFractionField P →+* L) 227 {g : MvPolynomial (Fin m) k} (hg : g ∈ P.asIdeal) : 228 MvPolynomial.eval (ℓ ∘ componentCoordinate P) 229 (MvPolynomial.map (ℓ.comp (algebraMap k (ComponentFractionField P))) g) = 0 := by 230 rw [MvPolynomial.eval_map, ← MvPolynomial.eval₂_comp_left, 231 ← componentAffineGenericPointMap_eq_eval₂, 232 componentAffineGenericPointMap_eq_zero_of_mem P hg, map_zero] 233 234 end GenericPoint 235 236 /-! ## The Laurent lift of the retained completion -/ 237 238 section RetainedLift 239 240 variable {k : Type u} [Field k] [CharZero k] {m : ℕ} 241 242 /-- The retained completion followed by the Laurent embedding. -/ 243 def retainedLaurentBase 244 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (i : Fin m) 245 (W : Data k (ComponentFractionField P) (componentCoordinate P i)) : 246 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 247 (ComponentFractionField P) := W.ambientAlgebra 248 let V := W.place.valuation.toSubring 249 letI : IsDiscreteValuationRing V := W.place.isDiscrete 250 letI : Algebra W.coefficientField V := 251 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 252 V →+* LaurentSeries (ResidueField V) := by 253 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 254 (ComponentFractionField P) := W.ambientAlgebra 255 let V := W.place.valuation.toSubring 256 letI : IsDiscreteValuationRing V := W.place.isDiscrete 257 letI : Algebra W.coefficientField V := 258 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 259 exact (algebraMap (PowerSeries (ResidueField V)) 260 (LaurentSeries (ResidueField V))).comp (retainedToCompletedPowerSeries W) 261 262 theorem retainedLaurentBase_injective 263 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (i : Fin m) 264 (W : Data k (ComponentFractionField P) (componentCoordinate P i)) : 265 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 266 (ComponentFractionField P) := W.ambientAlgebra 267 let V := W.place.valuation.toSubring 268 letI : IsDiscreteValuationRing V := W.place.isDiscrete 269 letI : Algebra W.coefficientField V := 270 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 271 Function.Injective (retainedLaurentBase P i W) := by 272 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 273 (ComponentFractionField P) := W.ambientAlgebra 274 let V := W.place.valuation.toSubring 275 letI : IsDiscreteValuationRing V := W.place.isDiscrete 276 letI : Algebra W.coefficientField V := 277 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 278 exact (IsFractionRing.injective (PowerSeries (ResidueField V)) 279 (LaurentSeries (ResidueField V))).comp 280 (retainedToCompletedPowerSeries_injective W) 281 282 /-- The retained completion `V →+* PowerSeries Kres`, followed by the Laurent 283 embedding, extends uniquely to the component function field. -/ 284 def retainedLaurentLift 285 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (i : Fin m) 286 (W : Data k (ComponentFractionField P) (componentCoordinate P i)) : 287 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 288 (ComponentFractionField P) := W.ambientAlgebra 289 let V := W.place.valuation.toSubring 290 letI : IsDiscreteValuationRing V := W.place.isDiscrete 291 letI : Algebra W.coefficientField V := 292 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 293 ComponentFractionField P →+* LaurentSeries (ResidueField V) := by 294 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 295 (ComponentFractionField P) := W.ambientAlgebra 296 let V := W.place.valuation.toSubring 297 letI : IsDiscreteValuationRing V := W.place.isDiscrete 298 letI : Algebra W.coefficientField V := 299 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 300 letI : IsFractionRing V (ComponentFractionField P) := 301 (inferInstance : IsFractionRing (↥W.place.valuation) (ComponentFractionField P)) 302 exact IsFractionRing.lift (A := V) (K := ComponentFractionField P) 303 (retainedLaurentBase_injective P i W) 304 305 /-- The Laurent lift restricts to the retained completion on `V`. -/ 306 theorem retainedLaurentLift_algebraMap 307 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (i : Fin m) 308 (W : Data k (ComponentFractionField P) (componentCoordinate P i)) : 309 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 310 (ComponentFractionField P) := W.ambientAlgebra 311 let V := W.place.valuation.toSubring 312 letI : IsDiscreteValuationRing V := W.place.isDiscrete 313 letI : Algebra W.coefficientField V := 314 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 315 ∀ v : ↥V, retainedLaurentLift P i W (algebraMap V (ComponentFractionField P) v) = 316 algebraMap (PowerSeries (ResidueField V)) (LaurentSeries (ResidueField V)) 317 (retainedToCompletedPowerSeries W v) := by 318 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 319 (ComponentFractionField P) := W.ambientAlgebra 320 let V := W.place.valuation.toSubring 321 letI : IsDiscreteValuationRing V := W.place.isDiscrete 322 letI : Algebra W.coefficientField V := 323 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 324 letI : IsFractionRing V (ComponentFractionField P) := 325 (inferInstance : IsFractionRing (↥W.place.valuation) (ComponentFractionField P)) 326 dsimp only 327 intro v 328 exact IsFractionRing.lift_algebraMap (A := V) (K := ComponentFractionField P) 329 (retainedLaurentBase_injective P i W) v 330 331 /-- With the residue-induced ground structure, the Laurent lift restricts to 332 the terminal consumer's ground map on `k`. -/ 333 theorem retainedLaurentLift_comp_algebraMap 334 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (i : Fin m) 335 (W : Data k (ComponentFractionField P) (componentCoordinate P i)) : 336 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 337 (ComponentFractionField P) := W.ambientAlgebra 338 let V := W.place.valuation.toSubring 339 letI : IsDiscreteValuationRing V := W.place.isDiscrete 340 letI : Algebra W.coefficientField V := 341 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 342 letI : Algebra k (ResidueField V) := 343 retainedResidueGroundAlgebra P i W 344 (retainedLaurentLift P i W).comp (algebraMap k (ComponentFractionField P)) = 345 groundLaurentMap (k := k) (K := ResidueField V) := by 346 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 347 (ComponentFractionField P) := W.ambientAlgebra 348 let V := W.place.valuation.toSubring 349 letI : IsDiscreteValuationRing V := W.place.isDiscrete 350 letI : Algebra W.coefficientField V := 351 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 352 letI : Algebra k (ResidueField V) := 353 retainedResidueGroundAlgebra P i W 354 letI : IsScalarTower W.coefficientField 355 (CoordinateZeroLocalRing W.coefficientField) 356 (ComponentFractionField P) := W.coefficientTower 357 have hcoeff : ∀ c : k, algebraMap k (ComponentFractionField P) c = 358 algebraMap V (ComponentFractionField P) 359 (retainedComponentCoefficientMap P i W c) := by 360 intro c 361 change algebraMap k (ComponentFractionField P) c = 362 ((relativeCoefficientMap W.coefficientField W.place 363 (algebraMap k W.coefficientField c) : V) : ComponentFractionField P) 364 calc 365 algebraMap k (ComponentFractionField P) c = 366 algebraMap W.coefficientField (ComponentFractionField P) 367 (algebraMap k W.coefficientField c) := 368 IsScalarTower.algebraMap_apply k W.coefficientField 369 (ComponentFractionField P) c 370 _ = ((relativeCoefficientMap W.coefficientField W.place 371 (algebraMap k W.coefficientField c) : V) : 372 ComponentFractionField P) := 373 (DFunLike.congr_fun 374 (relativeCoefficientMap_commutes W.coefficientField W.place) 375 (algebraMap k W.coefficientField c)).symm 376 have hlift : (retainedLaurentLift P i W).comp 377 (algebraMap k (ComponentFractionField P)) = 378 retainedLaurentCoefficientMap P i W := by 379 refine RingHom.ext fun c ↦ ?_ 380 change retainedLaurentLift P i W (algebraMap k (ComponentFractionField P) c) = _ 381 rw [hcoeff, retainedLaurentLift_algebraMap] 382 rfl 383 exact hlift.trans (retainedLaurentCoefficientMap_eq_groundLaurentMap P i W) 384 385 /-- The transported generic point is the dehomogenized completed projective 386 column. -/ 387 theorem retainedLaurentLift_componentCoordinate 388 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (i : Fin m) 389 (W : Data k (ComponentFractionField P) (componentCoordinate P i)) : 390 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 391 (ComponentFractionField P) := W.ambientAlgebra 392 let V := W.place.valuation.toSubring 393 letI : IsDiscreteValuationRing V := W.place.isDiscrete 394 letI : Algebra W.coefficientField V := 395 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 396 ∀ (q : Fin (m + 1) → V) (scale : ComponentFractionField P), 397 (∀ a, (q a : ComponentFractionField P) = 398 scale * componentProjectivePoint P a) → 399 q 0 ≠ 0 → 400 retainedLaurentLift P i W ∘ componentCoordinate P = 401 dehomogenizedPoint 402 (laurentColumn fun a ↦ retainedToCompletedPowerSeries W (q a)) := by 403 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 404 (ComponentFractionField P) := W.ambientAlgebra 405 let V := W.place.valuation.toSubring 406 letI : IsDiscreteValuationRing V := W.place.isDiscrete 407 letI : Algebra W.coefficientField V := 408 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 409 dsimp only 410 intro q scale hq hq0 411 have hq0F : (q 0 : ComponentFractionField P) ≠ 0 := fun h ↦ hq0 (Subtype.ext h) 412 have hlift : ∀ v : V, retainedLaurentLift P i W (algebraMap V (ComponentFractionField P) v) = 413 algebraMap (PowerSeries (ResidueField V)) (LaurentSeries (ResidueField V)) 414 (retainedToCompletedPowerSeries W v) := retainedLaurentLift_algebraMap P i W 415 have hdiv : ∀ j : Fin m, componentCoordinate P j = 416 algebraMap V (ComponentFractionField P) (q j.succ) / 417 algebraMap V (ComponentFractionField P) (q 0) := fun j ↦ 418 (componentCoordinate_eq_div P (fun a ↦ (q a : ComponentFractionField P)) 419 scale hq hq0F j).symm 420 funext j 421 simp only [Function.comp_apply, dehomogenizedPoint, laurentColumn, hdiv, map_div₀, hlift] 422 rfl 423 424 end RetainedLift 425 /-! ## Abstract assembly -/ 426 427 section AbstractAssembly 428 429 variable {k F Kres V : Type u} [Field k] [Field F] [Algebra k F] [Field Kres] [Algebra k Kres] 430 variable [CommRing V] [IsLocalRing V] [Algebra V F] 431 variable [SMulCommClass k V F] 432 variable {m : ℕ} 433 434 /-- Abstract assembly of the one-row datum. `φ` is the completion of `V` 435 (injective, killing the residue of nonunits), `ℓ` the compatible extension 436 to `F` with the ground identification, `q` the normalized projective 437 coordinates of the generic point `y`, `D` the divisor frame on `q`, and 438 `hbridge` the generic-point Kähler bridge. -/ 439 theorem regularizedOneRowConormalData_of_transport 440 (hm : 0 < m) (I : Ideal (MvPolynomial (Fin m) k)) (y : Fin m → F) 441 (hIy : ∀ g ∈ I, MvPolynomial.eval₂ (algebraMap k F) y g = 0) 442 (hinj : Function.Injective (algebraMap V F)) 443 (φ : V →+* PowerSeries Kres) (hφinj : Function.Injective φ) 444 (hφconst : ∀ v : V, ¬IsUnit v → PowerSeries.constantCoeff (R := Kres) (φ v) = 0) 445 (ℓ : F →+* LaurentSeries Kres) 446 (hℓ : ∀ v : V, ℓ (algebraMap V F v) = 447 algebraMap (PowerSeries Kres) (LaurentSeries Kres) (φ v)) 448 (hground : ℓ.comp (algebraMap k F) = groundLaurentMap (k := k) (K := Kres)) 449 (q : Fin (m + 1) → V) (hq0 : q 0 ≠ 0) 450 (hdiv : ∀ j, algebraMap V F (q j.succ) / algebraMap V F (q 0) = y j) 451 (p : V) (hratio : q (Fin.succ ⟨0, hm⟩) = q 0 * p) 452 (D : VisibleDivisorFrame (V := V) (KaehlerDifferential.D k F) (Fin m)) 453 (hQ₀ : D.Q₀ = q 0) (hQ₁ : D.Q₁ = q (Fin.succ ⟨0, hm⟩)) 454 (hQ : ∀ j, D.Q j = q (Fin.succ j)) 455 (hbridge : ∀ xi : Fin m → F, 456 ∑ j, xi j • KaehlerDifferential.D k F (y j) = 0 → 457 coordinateCovector xi ∈ affineConormalSpace y 458 (I.map (MvPolynomial.map (algebraMap k F)))) : 459 Nonempty (RegularizedOneRowConormalData (k := k) (K := Kres) hm I 460 (fun a ↦ φ (q a))) := by 461 let i₀ : Fin m := ⟨0, hm⟩ 462 let ψ : PowerSeries Kres →+* LaurentSeries Kres := 463 algebraMap (PowerSeries Kres) (LaurentSeries Kres) 464 have hpoint : ℓ ∘ y = dehomogenizedPoint (laurentColumn fun a ↦ φ (q a)) := by 465 funext j 466 simp only [Function.comp_apply, dehomogenizedPoint, laurentColumn, ← hdiv, map_div₀, hℓ] 467 obtain ⟨b, hb⟩ := divisorFrame_kaehler_relation D hinj y i₀ 468 (fun j ↦ by rw [hQ j, hQ₀]; exact hdiv j) (by rw [hQ₁, hQ₀]; exact hdiv i₀) 469 let c : Fin m → V := fun j ↦ D.t ^ (D.a + D.e - 1) * b j 470 let xiV : Fin m → V := fun j ↦ (if j = i₀ then 1 else 0) - c j 471 let xi : Fin m → F := fun j ↦ (if j = i₀ then 1 else 0) - algebraMap V F (c j) 472 have hxi : ∀ j, algebraMap V F (xiV j) = xi j := by 473 intro j 474 simp only [xiV, xi, map_sub] 475 split_ifs <;> simp 476 have hconormalF : coordinateCovector xi ∈ affineConormalSpace y 477 (I.map (MvPolynomial.map (algebraMap k F))) := hbridge xi hb 478 have hcnonunit : ∀ j, ¬IsUnit (c j) := by 479 intro j 480 have hpos : 0 < D.a + D.e - 1 := by 481 have := D.one_le_a; have := D.one_le_e; omega 482 have hmem : c j ∈ maximalIdeal V := 483 Ideal.mul_mem_right _ _ (Ideal.pow_mem_of_mem _ D.t_mem _ hpos) 484 exact mem_nonunits_iff.1 ((mem_maximalIdeal _).1 hmem) 485 let uinv : V := ↑D.u_unit.unit⁻¹ 486 have hu : D.u * uinv = 1 := D.u_unit.mul_val_inv 487 let ell₀ : V := (∑ j, D.t ^ (D.e - 1) * b j * q j.succ * uinv) - p 488 have hann : ell₀ * q 0 + ∑ j, xiV j * q j.succ = 0 := 489 annihilation_identity D.t D.u uinv p D.a D.e D.one_le_e hu 490 (q 0) (fun j ↦ q j.succ) i₀ b (hQ₀.symm.trans D.Q₀_eq) hratio 491 let ell : Fin (m + 1) → PowerSeries Kres := 492 Fin.cases (φ ell₀) (fun j ↦ φ (xiV j)) 493 have hcol : (fun i ↦ laurentColumn ell i.succ) = ℓ ∘ xi := by 494 funext i 495 simp only [laurentColumn, ell, Fin.cases_succ, Function.comp_apply, ← hxi, hℓ] 496 have hground' : ℓ.comp (algebraMap k F) = algebraMap k (LaurentSeries Kres) := 497 hground 498 have hideal : (I.map (MvPolynomial.map (algebraMap k F))).map (MvPolynomial.map ℓ) = 499 I.map (groundPolynomialMap (k := k) (K := Kres) (Fin m)) := by 500 rw [Ideal.map_map] 501 congr 1 502 refine RingHom.ext fun f ↦ ?_ 503 simp only [RingHom.comp_apply, MvPolynomial.map_map, groundPolynomialMap, 504 ScalarExtensionPoints.scalarPolynomialMap, hground, groundLaurentMap] 505 refine ⟨{ 506 ell := ell 507 q_origin_ne := ?_ 508 projective_annihilation := ?_ 509 base_vanish := ?_ 510 conormal := ?_ 511 residue_axis := ?_ }⟩ 512 · intro h 513 exact hq0 (hφinj (h.trans (map_zero _).symm)) 514 · have h := congrArg (ψ.comp φ) hann 515 simp only [RingHom.comp_apply, map_add, map_mul, map_sum, map_zero] at h 516 simpa only [laurentColumn, Fin.sum_univ_succ, ell, Fin.cases_zero, Fin.cases_succ] 517 using h 518 · intro f hf 519 rw [← hpoint] 520 have hle : I.map (groundPolynomialMap (k := k) (K := Kres) (Fin m)) ≤ 521 RingHom.ker (MvPolynomial.eval (ℓ ∘ y)) := by 522 refine Ideal.map_le_iff_le_comap.mpr fun g hg ↦ ?_ 523 rw [Ideal.mem_comap, RingHom.mem_ker, groundPolynomialMap, 524 ScalarExtensionPoints.scalarPolynomialMap, ← hground', 525 MvPolynomial.eval_map, ← MvPolynomial.eval₂_comp_left, hIy g hg, map_zero] 526 exact hle hf 527 · rw [hcol, ← hpoint, ← hideal] 528 exact coordinateCovector_map_mem_affineConormalSpace ℓ _ _ xi hconormalF 529 · funext j 530 simp only [residueColumn, ell, Fin.cases_succ, xiV, map_sub, hφconst (c j) (hcnonunit j), 531 sub_zero] 532 split_ifs <;> simp 533 534 end AbstractAssembly 535 536 537 /-! ## The concrete transport theorem -/ 538 539 section Assembly 540 541 variable {k : Type u} [Field k] [CharZero k] {m : ℕ} 542 543 /-- The transport theorem at a retained boundary place. Explicit inputs: 544 normalized projective coordinates `q` of the generic point in the retained 545 valuation ring (as produced by 546 `exists_normalizedProjectivePoint_relativeRetainedBoundaryPlace`), a visible 547 divisor frame `D` on them, and the generic-point Kähler bridge `hbridge`. -/ 548 theorem exists_regularizedOneRowConormalData 549 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) (hm : 0 < m) 550 (W : Data k (ComponentFractionField P) (componentCoordinate P ⟨0, hm⟩)) : 551 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 552 (ComponentFractionField P) := W.ambientAlgebra 553 let V := W.place.valuation.toSubring 554 letI : IsDiscreteValuationRing V := W.place.isDiscrete 555 letI : Algebra W.coefficientField V := 556 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 557 letI : Algebra k (ResidueField V) := 558 retainedResidueGroundAlgebra P ⟨0, hm⟩ W 559 ∀ (q : Fin (m + 1) → V) (scale : ComponentFractionField P), 560 q 0 ≠ 0 → 561 (∀ a, (q a : ComponentFractionField P) = 562 scale * componentProjectivePoint P a) → 563 q (Fin.succ ⟨0, hm⟩) = q 0 * W.place.parameter → 564 ∀ D : VisibleDivisorFrame (V := V) 565 (KaehlerDifferential.D k (ComponentFractionField P)) (Fin m), 566 D.Q₀ = q 0 → D.Q₁ = q (Fin.succ ⟨0, hm⟩) → (∀ j, D.Q j = q (Fin.succ j)) → 567 (∀ xi : Fin m → ComponentFractionField P, 568 ∑ j, xi j • KaehlerDifferential.D k (ComponentFractionField P) 569 (componentCoordinate P j) = 0 → 570 coordinateCovector xi ∈ affineConormalSpace (componentCoordinate P) 571 (P.asIdeal.map (MvPolynomial.map 572 (algebraMap k (ComponentFractionField P))))) → 573 Nonempty (RegularizedOneRowConormalData (k := k) (K := ResidueField V) 574 hm P.asIdeal (fun a ↦ retainedToCompletedPowerSeries W (q a))) := by 575 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) 576 (ComponentFractionField P) := W.ambientAlgebra 577 let V := W.place.valuation.toSubring 578 letI : IsDiscreteValuationRing V := W.place.isDiscrete 579 letI : Algebra W.coefficientField V := 580 (relativeCoefficientMap W.coefficientField W.place).toAlgebra 581 letI : Algebra k (ResidueField V) := 582 retainedResidueGroundAlgebra P ⟨0, hm⟩ W 583 dsimp only 584 intro q scale hq0 hq hratio D hQ₀ hQ₁ hQ hbridge 585 have hq0F : (q 0 : ComponentFractionField P) ≠ 0 := fun h ↦ hq0 (Subtype.ext h) 586 have hIy : ∀ g ∈ P.asIdeal, 587 MvPolynomial.eval₂ (algebraMap k (ComponentFractionField P)) 588 (componentCoordinate P) g = 0 := by 589 intro g hg 590 rw [← componentAffineGenericPointMap_eq_eval₂] 591 exact componentAffineGenericPointMap_eq_zero_of_mem P hg 592 exact regularizedOneRowConormalData_of_transport hm P.asIdeal (componentCoordinate P) 593 hIy Subtype.val_injective (retainedToCompletedPowerSeries W) 594 (retainedToCompletedPowerSeries_injective W) 595 (retainedToCompletedPowerSeries_constantCoeff_eq_zero_of_nonunit W) 596 (retainedLaurentLift P ⟨0, hm⟩ W) 597 (retainedLaurentLift_algebraMap P ⟨0, hm⟩ W) 598 (retainedLaurentLift_comp_algebraMap P ⟨0, hm⟩ W) 599 q hq0 (componentCoordinate_eq_div P (fun a ↦ (q a : ComponentFractionField P)) 600 scale hq hq0F) 601 W.place.parameter hratio D hQ₀ hQ₁ hQ hbridge 602 603 end Assembly 604 605 #print axioms differentialAt_map 606 #print axioms coordinateCovector_mem_of_gradient_identity 607 #print axioms coordinateCovector_map_mem_affineConormalSpace 608 #print axioms divisorFrame_kaehler_relation 609 #print axioms annihilation_identity 610 #print axioms componentCoordinate_eq_div 611 #print axioms eval_map_componentCoordinate_eq_zero 612 #print axioms retainedLaurentBase_injective 613 #print axioms retainedLaurentLift_algebraMap 614 #print axioms retainedLaurentLift_comp_algebraMap 615 #print axioms retainedLaurentLift_componentCoordinate 616 #print axioms regularizedOneRowConormalData_of_transport 617 #print axioms exists_regularizedOneRowConormalData 618 619 end 620 621 end Stafford38.Geometry.RetainedPlaceConormalTransport 622