This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Geometry.ExactDivisorialVisibleFrameExistence 3 public import Stafford38.Geometry.CompletedDVRPowerSeriesEquiv 4 public import Stafford38.Geometry.GeneralDivisorialVisibleFrameData 5 6 @[expose] public section 7 8 set_option autoImplicit false 9 10 /-! 11 # Divisorial visible frames for arbitrary prime affine components 12 13 An invertible, transcendental coordinate on a prime affine component gives 14 a normalized visible divisor frame. This removes the canonical Weyl-support 15 hypotheses from the boundary producer. Identification of the resulting Laurent 16 direction with the smooth projective conormal closure is performed downstream 17 in the general asymptotic-conormal construction. 18 -/ 19 20 namespace Stafford38.Geometry.GeneralDivisorialVisibleFrame 21 22 open IsLocalRing Polynomial 23 open Stafford38 24 open Stafford38.Geometry.AsymptoticDivisorExistence 25 open Stafford38.Geometry.AffineComponentCoordinateSplit 26 open Stafford38.Geometry.ComponentFunctionFieldBoundary 27 open Stafford38.Geometry.ComponentProjectiveClosure 28 open Stafford38.Geometry.ComponentProjectiveClosureNormalization 29 open Stafford38.Geometry.ComponentProjectiveOrder 30 open Stafford38.Geometry.CompletedDVRPowerSeries 31 open Stafford38.Geometry.ExactDivisorialVisibleFrameExistence 32 open Stafford38.Geometry.ExactVisibleDivisorFrameInterface 33 open Stafford38.Geometry.KaehlerDVRVisibility 34 open Stafford38.Geometry.ProjectiveDivisorOrderGap 35 open Stafford38.Geometry.ProjectiveValuationNormalization 36 open Stafford38.Geometry.RelativeCoefficientDVR 37 open Stafford38.Geometry.RelativeRetainedBoundaryPlace 38 open Stafford38.Geometry.RetainedDVR 39 open Stafford38.Geometry.RetainedGroundMapIdentification 40 open Stafford38.Geometry.DivisorTangentLattice 41 42 noncomputable section 43 44 set_option maxHeartbeats 4000000 45 set_option synthInstance.maxHeartbeats 400000 46 47 universe u 48 49 set_option maxHeartbeats 4000000 in 50 51 /-- The general divisorial producer with its actual Lane-C residue 52 algebraicity retained, together with Lemma 5.10(c): `Ω_{V/k}` is a finitely 53 generated `V`-module for the place `V` of the witness (used for Nakayama's 54 lemma in the proof of Lemma 5.12(a)). The algebraicity is for the same 55 normalized column and the same visible frame, under the ground algebra 56 structure induced by the retained coefficient map. -/ 57 theorem generalDivisorialVisibleFrameWithKaehlerFinite 58 {k : Type u} [Field k] [CharZero k] 59 {m : ℕ} (hm : 0 < m) 60 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) 61 (hunit : ∃ g : MvPolynomial (Fin m) k, 62 MvPolynomial.X ⟨0, hm⟩ * g - 1 ∈ P.asIdeal) 63 (htrans : Transcendental k 64 (componentCoordinate P ⟨0, hm⟩)) : 65 ∃ w : GeneralDivisorialVisibleFrameWitness hm P, 66 letI : Algebra (CoordinateZeroLocalRing w.column.W.coefficientField) 67 (ComponentFractionField P) := w.column.W.ambientAlgebra 68 let V := w.column.W.place.valuation.toSubring 69 letI : Algebra k V := w.column.groundCoeff.toAlgebra 70 Module.Finite V (Ω[V⁄k]) := by 71 let i : Fin m := ⟨0, hm⟩ 72 let K := ComponentFractionField P 73 obtain ⟨E, V, hEV, hVdvr, hxV, htransE, hxm, hEfin, hkaehler, halgAll, j, hj, hqV⟩ := 74 Stafford38.Geometry.LaneC.divisorialVisibleFrameExistenceWithChart 75 k K m (componentCoordinate P) i 76 (componentCoordinate_adjoin_eq_top P) htrans 77 letI : IsLocalRing V.toSubring := hVdvr.toIsLocalRing 78 letI : Algebra E V.toSubring := 79 (Stafford38.Geometry.LaneC.coeffHom E V hEV).toAlgebra 80 letI : Algebra k V.toSubring := 81 (Stafford38.Geometry.LaneC.groundHom E V hEV).toAlgebra 82 letI : Algebra V.toSubring K := V.toSubring.subtype.toAlgebra 83 letI : IsScalarTower k V.toSubring K := 84 IsScalarTower.of_algebraMap_eq fun c => by 85 change algebraMap k K c = (algebraMap k E c : K) 86 exact IsScalarTower.algebraMap_apply k E K c 87 letI : Module.Finite V.toSubring (Ω[V.toSubring⁄k]) := hkaehler 88 let W : Data k K (componentCoordinate P i) := 89 retainedDataOfValuation E V hEV hVdvr (componentCoordinate P i) hxV 90 htransE hxm hEfin 91 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) K := 92 W.ambientAlgebra 93 letI : IsScalarTower W.coefficientField 94 (CoordinateZeroLocalRing W.coefficientField) K := W.coefficientTower 95 -- The column `q_a = x̄_a / x̄_j` with the chart `j` of Lemma 5.9. 96 obtain ⟨chart, qraw, scale, hscale, hchartRaw, hqraw⟩ : 97 ∃ (chart : Fin (m + 1)) (q : Fin (m + 1) → V) (scale : K), 98 scale ≠ 0 ∧ q chart = 1 ∧ ∀ a, (q a : K) = scale * componentProjectivePoint P a := by 99 simp only [componentProjectivePoint_eq_finCases] 100 refine ⟨j, fun a ↦ ⟨_, hqV a⟩, (Fin.cases 1 (componentCoordinate P) j : K)⁻¹, 101 inv_ne_zero hj, Subtype.ext (div_self hj), fun a ↦ ?_⟩ 102 change (Fin.cases 1 (componentCoordinate P) a : K) / _ = _ 103 rw [div_eq_inv_mul] 104 let q : Fin (m + 1) → V.toSubring := fun a => 105 ⟨qraw a, (qraw a).property⟩ 106 have hchart : q chart = 1 := by 107 apply Subtype.ext 108 exact congrArg Subtype.val hchartRaw 109 have hq : ∀ a, (q a : K) = scale * componentProjectivePoint P a := by 110 intro a 111 exact hqraw a 112 have hq0 : q 0 ≠ 0 := by 113 intro hzero 114 apply hscale 115 have hz : ((q 0 : V.toSubring) : K) = 0 := 116 congrArg (fun z : V.toSubring => (z : K)) hzero 117 have h := hq 0 118 rw [hz] at h 119 simpa only [componentProjectivePoint_eq_finCases, Fin.cases_zero, mul_one] 120 using h.symm 121 let xV : V.toSubring := ⟨componentCoordinate P i, hxV⟩ 122 have hratioV : q (Fin.succ i) = q 0 * xV := by 123 apply Subtype.ext 124 change (q (Fin.succ i) : K) = (q 0 : K) * componentCoordinate P i 125 rw [hq, hq] 126 simp only [componentProjectivePoint_eq_finCases, Fin.cases_zero, 127 Fin.cases_succ, mul_one] 128 let coeff : k →+* V := 129 (relativeCoefficientMap W.coefficientField W.place).comp 130 (algebraMap k W.coefficientField) 131 have hcoeff : W.place.valuation.toSubring.subtype.comp coeff = 132 algebraMap k K := by 133 ext c 134 change ((relativeCoefficientMap W.coefficientField W.place 135 (algebraMap k W.coefficientField c) : V) : K) = algebraMap k K c 136 calc 137 ((relativeCoefficientMap W.coefficientField W.place 138 (algebraMap k W.coefficientField c) : V) : K) = 139 algebraMap W.coefficientField K 140 (algebraMap k W.coefficientField c) := 141 DFunLike.congr_fun 142 (relativeCoefficientMap_commutes W.coefficientField W.place) 143 (algebraMap k W.coefficientField c) 144 _ = algebraMap k K c := 145 IsScalarTower.algebraMap_apply k W.coefficientField K c 146 have hLaneCoeff : W.place.valuation.toSubring.subtype.comp 147 (Stafford38.Geometry.LaneC.groundHom E V hEV) = algebraMap k K := by 148 ext c 149 change ((algebraMap k E c : E) : K) = algebraMap k K c 150 exact IsScalarTower.algebraMap_apply k E K c 151 have hCoeffEq : coeff = Stafford38.Geometry.LaneC.groundHom E V hEV := by 152 apply RingHom.ext 153 intro c 154 apply Subtype.ext 155 change ((coeff c : V) : K) = 156 ((Stafford38.Geometry.LaneC.groundHom E V hEV c : V) : K) 157 calc 158 ((coeff c : V) : K) = algebraMap k K c := by 159 have hc := DFunLike.congr_fun hcoeff c 160 change ((coeff c : V) : K) = algebraMap k K c at hc 161 exact hc 162 _ = ((Stafford38.Geometry.LaneC.groundHom E V hEV c : V) : K) := by 163 have hc := DFunLike.congr_fun hLaneCoeff c 164 change ((Stafford38.Geometry.LaneC.groundHom E V hEV c : V) : K) = 165 algebraMap k K c at hc 166 exact hc.symm 167 have hq0nonunit : ¬ IsUnit (q 0) := by 168 obtain ⟨g, hg⟩ := hunit 169 let F := K 170 letI : Algebra (CoordinateZeroLocalRing W.coefficientField) F := 171 W.ambientAlgebra 172 letI : IsScalarTower W.coefficientField 173 (CoordinateZeroLocalRing W.coefficientField) F := W.coefficientTower 174 let phi : MvPolynomial (Fin m) k →+* F := 175 (algebraMap (MvPolynomial (Fin m) k ⧸ P.asIdeal) F).comp 176 (Ideal.Quotient.mk P.asIdeal) 177 have hphiC : phi.comp MvPolynomial.C = algebraMap k F := by 178 ext c 179 exact IsScalarTower.algebraMap_apply k 180 (MvPolynomial (Fin m) k ⧸ P.asIdeal) F c 181 have hphiX : ∀ j, phi (MvPolynomial.X j) = componentCoordinate P j := by 182 intro j 183 rfl 184 have hpoly : phi g = MvPolynomial.eval₂ (algebraMap k F) 185 (fun j ↦ componentCoordinate P j) g := by 186 rw [MvPolynomial.map_mvPolynomial_eq_eval₂ phi g] 187 change MvPolynomial.eval₂Hom (phi.comp MvPolynomial.C) 188 (fun j ↦ phi (MvPolynomial.X j)) g = 189 MvPolynomial.eval₂Hom (algebraMap k F) 190 (fun j ↦ componentCoordinate P j) g 191 apply MvPolynomial.eval₂Hom_congr hphiC 192 · funext j 193 exact hphiX j 194 · rfl 195 have hinverse : componentCoordinate P i * 196 MvPolynomial.eval₂ (algebraMap k F) 197 (fun j ↦ componentCoordinate P j) g = 1 := by 198 have hzero : phi (MvPolynomial.X i * g - 1) = 0 := by 199 have hmk : Ideal.Quotient.mk P.asIdeal 200 (MvPolynomial.X i * g - 1) = 0 := 201 Ideal.Quotient.eq_zero_iff_mem.mpr hg 202 simpa [phi] using (congrArg 203 (algebraMap (MvPolynomial (Fin m) k ⧸ P.asIdeal) F) hmk) 204 rw [map_sub, map_mul, map_one, sub_eq_zero, hphiX, hpoly] at hzero 205 exact hzero 206 exact normalized_denominator_nonunit_of_polynomial_inverse 207 (V := W.place.valuation) (coeff := coeff) hcoeff 208 (x := fun j ↦ componentCoordinate P j) 209 (qzero := q 0) (q := fun j ↦ q (Fin.succ j)) (scale := scale) 210 (i := i) (parameter := W.place.parameter) (g := g) 211 (by simpa only [componentProjectivePoint_eq_finCases, Fin.cases_zero, mul_one] using hq 0) 212 (by intro j; simpa only [componentProjectivePoint_eq_finCases, Fin.cases_succ] 213 using hq (Fin.succ j)) 214 W.parameter_eq_coordinate W.place.parameter_nonunit hinverse 215 let A_lane : Algebra k (ResidueField V) := 216 ((residue V).comp (Stafford38.Geometry.LaneC.groundHom E V hEV)).toAlgebra 217 let A_retained : Algebra k (ResidueField V) := 218 retainedResidueGroundAlgebra P i W 219 have hresMapEq : 220 (residue V).comp (Stafford38.Geometry.LaneC.groundHom E V hEV) = 221 (residue V).comp (retainedComponentCoefficientMap P i W) := by 222 change (residue V).comp (Stafford38.Geometry.LaneC.groundHom E V hEV) = 223 (residue V).comp coeff 224 rw [← hCoeffEq] 225 have hresAlgEq : A_lane = A_retained := by 226 change ((residue V).comp 227 (Stafford38.Geometry.LaneC.groundHom E V hEV)).toAlgebra = 228 ((residue V).comp (retainedComponentCoefficientMap P i W)).toAlgebra 229 exact congrArg RingHom.toAlgebra hresMapEq 230 have halgLane : 231 letI : Algebra k (ResidueField V) := A_lane 232 Algebra.IsAlgebraic 233 (IntermediateField.adjoin k 234 (Set.range fun j : Fin m ↦ residue V (q (Fin.succ j))) : 235 IntermediateField k (ResidueField V)) 236 (ResidueField V) := by 237 letI : Algebra k (ResidueField V) := A_lane 238 have hqFinCases : ∀ a, 239 (q a : K) = scale * Fin.cases 1 240 (fun i ↦ componentCoordinate P i) a := by 241 intro a 242 have hpoint : componentProjectivePoint P a = 243 Fin.cases 1 (fun i ↦ componentCoordinate P i) a := 244 congrFun (componentProjectivePoint_eq_finCases P) a 245 calc 246 (q a : K) = scale * componentProjectivePoint P a := hq a 247 _ = scale * Fin.cases 1 (fun i ↦ componentCoordinate P i) a := by 248 rw [hpoint] 249 exact halgAll scale q hqFinCases 250 ⟨chart, hchart⟩ hq0nonunit 251 have halg := algebraic_adjoin_transfer_of_algebra_eq 252 A_lane A_retained hresAlgEq 253 (Set.range fun j : Fin m ↦ residue V (q (Fin.succ j))) halgLane 254 have hchart_ne : chart ≠ 0 := by 255 intro hzero 256 apply hq0nonunit 257 rw [← hzero, hchart] 258 exact isUnit_one 259 obtain ⟨j₀, rfl⟩ := Fin.exists_succ_eq_of_ne_zero hchart_ne 260 let t := Stafford38.Geometry.CompletedDVRPowerSeries.chosenUniformizer 261 V.toSubring 262 have ht : Irreducible t := 263 Stafford38.Geometry.CompletedDVRPowerSeries.chosenUniformizer_irreducible 264 V.toSubring 265 have hq0max : q 0 ∈ maximalIdeal V.toSubring := by 266 apply (IsLocalRing.mem_maximalIdeal (q 0)).2 267 exact mem_nonunits_iff.mpr hq0nonunit 268 have hxV_ne : xV ≠ 0 := by 269 intro hx0 270 apply htransE 271 have hx0K : componentCoordinate P i = 0 := congrArg Subtype.val hx0 272 exact hx0K ▸ isAlgebraic_zero 273 obtain ⟨a, e, b, u₀, ur, u₁, ha, he, hb, hab, 274 hq0factor, hparameterFactor, hu₁, hq1factor⟩ := 275 exists_uniformizer_strict_orderGap t ht (q 0) xV 276 (q (Fin.succ i)) hq0 hxV_ne hq0max hxm hratioV 277 let Q : Fin m → V.toSubring := fun j => q (Fin.succ j) 278 have hQj₀ : Q j₀ = 1 := hchart 279 have hq0frame : q 0 = t ^ a * (u₀ : V.toSubring) := by 280 simpa [mul_comm] using hq0factor 281 have hq1frame : q (Fin.succ i) = t ^ (a + e) * (u₁ : V.toSubring) := by 282 simpa [hb, mul_comm] using hq1factor 283 obtain ⟨D, hD0, hD1, hDt, hDu, hDw, hDQ, hDa, hDe, hDj, hDW⟩ := 284 exists_visibleDivisorFrame_of_kaehler_image 285 (k := k) (F := K) (q 0) (q (Fin.succ i)) t 286 (u₀ : V.toSubring) (u₁ : V.toSubring) Q a e j₀ 287 ht.maximalIdeal_eq ht.ne_zero u₀.isUnit 288 (Nat.one_le_iff_ne_zero.mpr ha.ne') 289 (Nat.one_le_iff_ne_zero.mpr he.ne') hq0frame hq1frame hQj₀ halgLane 290 have hretMap : 291 @algebraMap k (ResidueField V) _ _ A_retained = 292 (residue V).comp (retainedComponentCoefficientMap P i W) := by 293 exact RingHom.algebraMap_toAlgebra _ 294 let C : GeneralDivisorialVisibleFrameColumn hm P := { 295 W := W 296 chart := Fin.succ j₀ 297 q := q 298 scale := scale 299 scale_ne := hscale 300 chart_one := hchart 301 q0_ne := hq0 302 q_commonScale := hq 303 q_parameter := by 304 apply Subtype.ext 305 have hv := congrArg Subtype.val hratioV 306 change (q (Fin.succ ⟨0, hm⟩) : K) = 307 (q 0 : K) * componentCoordinate P ⟨0, hm⟩ at hv 308 calc 309 (q (Fin.succ ⟨0, hm⟩) : K) = 310 (q 0 : K) * componentCoordinate P ⟨0, hm⟩ := hv 311 _ = (q 0 : K) * (W.place.parameter : K) := by 312 rw [W.parameter_eq_coordinate] 313 groundCoeff := Stafford38.Geometry.LaneC.groundHom E V hEV 314 groundCoeff_commutes := hLaneCoeff 315 groundCoeff_eq_retained := hCoeffEq.symm 316 groundTower := by 317 let V' := W.place.valuation.toSubring 318 letI : Algebra k V' := 319 (Stafford38.Geometry.LaneC.groundHom E V hEV).toAlgebra 320 letI : Algebra V' (ComponentFractionField P) := V'.subtype.toAlgebra 321 exact IsScalarTower.of_algebraMap_eq fun c => by 322 exact (DFunLike.congr_fun hLaneCoeff c).symm 323 } 324 let core : GeneralDivisorialVisibleFrameCore hm P C := { 325 D := D 326 D_Q0 := hD0 327 D_Q1 := hD1 328 D_Q := fun j => by rw [hDQ] 329 D_maximalIdeal := by 330 rw [hDt] 331 exact Stafford38.Geometry.CompletedDVRPowerSeries.maximalIdeal_eq_span_chosenUniformizer 332 V.toSubring 333 D_uniformizer := hDt 334 D_w_unit := by 335 rw [hDw] 336 exact u₁.isUnit 337 } 338 let S : GeneralDivisorialVisibleFrameSourceImage hm P C core := 339 ⟨hDW⟩ 340 let F : GeneralDivisorialVisibleFrameDifferential hm P C := 341 ⟨core, S⟩ 342 exact ⟨{ 343 column := C 344 differential := F 345 retainedGroundMap := RingHom.algebraMap_toAlgebra _ 346 halg := halg 347 }, hkaehler⟩ 348 349 /-- The witness alone. -/ 350 theorem generalDivisorialVisibleFrameWithResidueAlgebraicity 351 {k : Type u} [Field k] [CharZero k] 352 {m : ℕ} (hm : 0 < m) 353 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) 354 (hunit : ∃ g : MvPolynomial (Fin m) k, 355 MvPolynomial.X ⟨0, hm⟩ * g - 1 ∈ P.asIdeal) 356 (htrans : Transcendental k 357 (componentCoordinate P ⟨0, hm⟩)) : 358 Nonempty (GeneralDivisorialVisibleFrameWitness hm P) := 359 let ⟨w, _⟩ := generalDivisorialVisibleFrameWithKaehlerFinite hm P hunit htrans 360 ⟨w⟩ 361 362 /-- The original interface is the projection of the richer Lane-C witness. -/ 363 theorem generalDivisorialVisibleFrameExistence 364 {k : Type u} [Field k] [CharZero k] 365 {m : ℕ} (hm : 0 < m) 366 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) 367 (hunit : ∃ g : MvPolynomial (Fin m) k, 368 MvPolynomial.X ⟨0, hm⟩ * g - 1 ∈ P.asIdeal) 369 (htrans : Transcendental k 370 (componentCoordinate P ⟨0, hm⟩)) : 371 HasNormalizedCompatibleVisibleFrame P hm := by 372 obtain ⟨w⟩ := 373 generalDivisorialVisibleFrameWithResidueAlgebraicity hm P hunit htrans 374 let C := w.column 375 let F := w.differential.core 376 letI : Algebra (CoordinateZeroLocalRing C.W.coefficientField) 377 (ComponentFractionField P) := C.W.ambientAlgebra 378 let V := C.W.place.valuation.toSubring 379 letI : IsDiscreteValuationRing V := C.W.place.isDiscrete 380 exact ⟨C.W, C.chart, C.q, C.scale, C.scale_ne, C.chart_one, C.q0_ne, 381 C.q_commonScale, C.q_parameter, 382 ⟨F.D, F.D_Q0, F.D_Q1, F.D_Q⟩⟩ 383 384 #print axioms generalDivisorialVisibleFrameWithKaehlerFinite 385 386 #print axioms generalDivisorialVisibleFrameWithResidueAlgebraicity 387 388 #print axioms generalDivisorialVisibleFrameExistence 389 390 end 391 392 end Stafford38.Geometry.GeneralDivisorialVisibleFrame 393