This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Geometry.SameWitness.EndpointOfAlgHoms 3 public import Stafford38.Geometry.SameWitness.ChartSetup 4 public import Stafford38.Geometry.SameWitness.CoordinatePresentation 5 public import Stafford38.Geometry.SameWitness.CommonOpen 6 public import Stafford38.Geometry.SameWitness.CommonOpenArc 7 public import Stafford38.Geometry.SameWitness.CommonOpenPositions 8 public import Stafford38.Geometry.SameWitness.CommonOpenColumns 9 public import Stafford38.Geometry.SameWitness.CommonOpenEtale 10 11 @[expose] public section 12 13 set_option autoImplicit false 14 set_option maxHeartbeats 1600000 15 16 noncomputable section 17 18 namespace Stafford38.Geometry.SameWitness 19 20 open Stafford38.Geometry.GeneralDivisorialVisibleFrame 21 open Stafford38.Geometry.ActualSameWitnessGroundPointCompletion 22 open Stafford38.Geometry.PrescribedAffineResidueCompletion 23 open Stafford38.Geometry.PrescribedGroundPointUnitPowerChart 24 25 universe u 26 27 /-- Package the residue point and two completed unit series over abstract 28 normalization rings, using the retained coordinate and étale dictionaries. -/ 29 private noncomputable def retainedClosureChartData 30 {k B : Type u} [Field k] [CommRing B] {d : ℕ} 31 (coeff : k →+* B) 32 (fFin : @AlgHom k (MvPolynomial (Option (Fin d)) k) B _ _ _ _ coeff.toAlgebra) 33 (hfinite : @Algebra.FiniteType k B _ _ coeff.toAlgebra) 34 (M : Ideal B) (hM : M.IsMaximal) 35 (eM : letI : Algebra k B := coeff.toAlgebra 36 (B ⧸ M) ≃ₐ[k] k) 37 (hEtM : 38 letI : M.IsMaximal := hM 39 let R := MvPolynomial (Option (Fin d)) k 40 letI : Algebra k B := coeff.toAlgebra 41 letI : Algebra.FiniteType k B := hfinite 42 letI : Algebra R B := fFin.toRingHom.toAlgebra 43 letI : IsScalarTower k R B := IsScalarTower.of_algHom fFin 44 letI : Algebra.EssFiniteType R B := Algebra.EssFiniteType.of_comp k R B 45 letI : Algebra R (Localization.AtPrime M) := inferInstance 46 Algebra.FormallyEtale R (Localization.AtPrime M)) 47 (u₀ u₁ : Localization.AtPrime M) : 48 ((Fin d → k) × MvPowerSeries (Fin (d + 1)) k) × 49 MvPowerSeries (Fin (d + 1)) k := by 50 letI : M.IsMaximal := hM 51 let R := MvPolynomial (Option (Fin d)) k 52 letI : Algebra k B := coeff.toAlgebra 53 letI : Algebra R B := fFin.toRingHom.toAlgebra 54 letI : IsScalarTower k R B := IsScalarTower.of_algHom fFin 55 letI : Algebra.FiniteType k B := hfinite 56 letI : Algebra.EssFiniteType R B := Algebra.EssFiniteType.of_comp k R B 57 letI : Algebra R (Localization.AtPrime M) := inferInstance 58 letI : Algebra.FormallyEtale R (Localization.AtPrime M) := hEtM 59 let chart := pointLocalPowerSeriesChart coeff fFin hfinite M eM hEtM 60 exact ((fun z => residueCoordinates M eM (some z), chart u₀), chart u₁) 61 62 /-- Transport the retained lift by the chart coercion and computed tuple equalities. -/ 63 private theorem retainedClosureChartData_lift 64 {k B : Type u} [Field k] [CommRing B] {d : ℕ} 65 (coeff : k →+* B) 66 (fFin : @AlgHom k (MvPolynomial (Option (Fin d)) k) B _ _ _ _ coeff.toAlgebra) 67 (hfinite : @Algebra.FiniteType k B _ _ coeff.toAlgebra) 68 (M : Ideal B) (hM : M.IsMaximal) 69 (eM : letI : Algebra k B := coeff.toAlgebra 70 (B ⧸ M) ≃ₐ[k] k) 71 (hEtM : 72 letI : M.IsMaximal := hM 73 let R := MvPolynomial (Option (Fin d)) k 74 letI : Algebra k B := coeff.toAlgebra 75 letI : Algebra.FiniteType k B := hfinite 76 letI : Algebra R B := fFin.toRingHom.toAlgebra 77 letI : IsScalarTower k R B := IsScalarTower.of_algHom fFin 78 letI : Algebra.EssFiniteType R B := Algebra.EssFiniteType.of_comp k R B 79 letI : Algebra R (Localization.AtPrime M) := inferInstance 80 Algebra.FormallyEtale R (Localization.AtPrime M)) 81 (u₀ u₁ : Localization.AtPrime M) : 82 letI : M.IsMaximal := hM 83 let R := MvPolynomial (Option (Fin d)) k 84 letI : Algebra k B := coeff.toAlgebra 85 letI : Algebra R B := fFin.toRingHom.toAlgebra 86 letI : IsScalarTower k R B := IsScalarTower.of_algHom fFin 87 letI : Algebra.FiniteType k B := hfinite 88 letI : Algebra.EssFiniteType R B := Algebra.EssFiniteType.of_comp k R B 89 letI : Algebra R (Localization.AtPrime M) := inferInstance 90 letI : Algebra.FormallyEtale R (Localization.AtPrime M) := hEtM 91 ∀ {n : ℕ} (qT : Fin (n + 1) → Localization.AtPrime M) 92 (rows : Fin d ↪ Fin (n + 1)) (chart zero axis : Fin (n + 1)) 93 (a b : ℕ) (alpha : Fin d → k) 94 (qPre : Fin (n + 1) → MvPowerSeries (Fin (d + 1)) k) 95 (hqPre : qPre = fun i => pointLocalPowerSeriesChart coeff fFin hfinite M eM hEtM (qT i)), 96 Stafford38.Geometry.SmoothLocalTiltedArcAxisLift.SelectedCoordinateAxisLiftData 97 (fun i => localToFinSuccPowerSeries M eM (qT i)) rows chart zero axis a b 98 (fun j => residueCoordinates M eM (some j)) alpha 99 (localToFinSuccPowerSeries M eM u₀) (localToFinSuccPowerSeries M eM u₁) → 100 let chartData := retainedClosureChartData coeff fFin hfinite M hM eM hEtM u₀ u₁ 101 Stafford38.Geometry.SmoothLocalTiltedArcAxisLift.SelectedCoordinateAxisLiftData 102 qPre rows chart zero axis a b chartData.1.1 alpha chartData.1.2 chartData.2 := by 103 104 letI : M.IsMaximal := hM 105 let R := MvPolynomial (Option (Fin d)) k 106 letI : Algebra k B := coeff.toAlgebra 107 letI : Algebra R B := fFin.toRingHom.toAlgebra 108 letI : IsScalarTower k R B := IsScalarTower.of_algHom fFin 109 letI : Algebra.FiniteType k B := hfinite 110 letI : Algebra.EssFiniteType R B := Algebra.EssFiniteType.of_comp k R B 111 letI : Algebra R (Localization.AtPrime M) := inferInstance 112 letI : Algebra.FormallyEtale R (Localization.AtPrime M) := hEtM 113 dsimp only 114 intro n qT rows chart zero axis a b alpha qPre hqPre hdata 115 have hchart (x : Localization.AtPrime M) : 116 pointLocalPowerSeriesChart coeff fFin hfinite M eM hEtM x = 117 localToFinSuccPowerSeries (k := k) (B := B) (d := d) M eM x := by 118 unfold pointLocalPowerSeriesChart 119 dsimp only [id_eq] 120 exact congrFun (AlgHom.coe_toRingHom 121 (localToFinSuccPowerSeries (k := k) (B := B) (d := d) M eM)) x 122 have hcolumns : (fun i => pointLocalPowerSeriesChart coeff fFin hfinite M eM hEtM (qT i)) = 123 (fun i => localToFinSuccPowerSeries M eM (qT i)) := by 124 funext i 125 exact hchart (qT i) 126 have htuple : retainedClosureChartData coeff fFin hfinite M hM eM hEtM u₀ u₁ = 127 ((fun j => residueCoordinates M eM (some j), localToFinSuccPowerSeries M eM u₀), 128 localToFinSuccPowerSeries M eM u₁) := by 129 unfold retainedClosureChartData 130 dsimp only 131 rw [hchart, hchart] 132 rw [hqPre, hcolumns, htuple] 133 exact hdata 134 135 /-- The smooth affine-conormal axis lies in the fibre closure through the 136 retained ground-point output and its same-witness common-open arc. -/ 137 theorem axis_mem_smoothConormalFibreProjection_closure_of_groundPointOutput 138 {k : Type u} [Field k] [CharZero k] [IsAlgClosed k] 139 {m : ℕ} (hm : 0 < m) 140 (P : PrimeSpectrum (MvPolynomial (Fin m) k)) 141 (w : GeneralDivisorialVisibleFrameWitness hm P) 142 (hpoint : actualSameWitnessGroundPointOutput hm P w) 143 (hsmoothOpen : ∃ fbar : MvPolynomial (Fin m) k ⧸ P.asIdeal, 144 fbar ≠ 0 ∧ Algebra.Smooth k (Localization.Away fbar)) : 145 (fun i : Fin m => if i = (⟨0, hm⟩ : Fin m) then (1 : k) else 0) ∈ 146 MvPolynomial.zeroLocus k 147 (MvPolynomial.vanishingIdeal k 148 (Stafford38.Geometry.ProjectiveConormalDirections.smoothConormalFibreProjection 149 P.asIdeal)) := by 150 classical 151 letI : IsLocalRing ( 152 letI : Algebra 153 (Stafford38.Geometry.AsymptoticDivisorExistence.CoordinateZeroLocalRing 154 w.column.W.coefficientField) 155 (Stafford38.Geometry.ComponentProjectiveClosure.ComponentFractionField P) := 156 w.column.W.ambientAlgebra; 157 w.column.W.place.valuation.toSubring) := 158 letI : Algebra 159 (Stafford38.Geometry.AsymptoticDivisorExistence.CoordinateZeroLocalRing 160 w.column.W.coefficientField) 161 (Stafford38.Geometry.ComponentProjectiveClosure.ComponentFractionField P) := 162 w.column.W.ambientAlgebra 163 w.column.W.place.isDiscrete.toIsLocalRing 164 obtain ⟨setup⟩ := nonempty_chartSetup hm P w hsmoothOpen 165 obtain ⟨coords⟩ := nonempty_coordinatePresentation hm P w setup hpoint 166 obtain ⟨common⟩ := nonempty_commonOpenData hm P w setup coords hpoint 167 obtain ⟨arc⟩ := exists_commonOpenArcData hm P w setup coords common 168 let arcData := arc.common 169 obtain ⟨etale⟩ := nonempty_commonOpenEtaleData hm P w setup coords arc 170 let positions := commonOpenPositionData_of_arc hm P w setup coords arc 171 let cols := commonOpenColumnsData_of_arc hm P w setup coords arc etale positions 172 let d := @Fintype.card coords.t coords.htFinite 173 let chartData := retainedClosureChartData 174 coords.coeff coords.fFin coords.hBfinite arcData.M arcData.hM 175 arcData.eM arcData.hEtM arcData.u0 arcData.u1 176 let beta := chartData.1.1 177 let u₀ := chartData.1.2 178 let u₁ := chartData.2 179 have hchartPre : positions.qPre w.column.chart = 1 := by 180 rw [setup.hchart] 181 exact positions.hchartPre 182 have hdata := retainedClosureChartData_lift 183 coords.coeff coords.fFin coords.hBfinite arcData.M arcData.hM 184 arcData.eM arcData.hEtM arcData.u0 arcData.u1 185 arcData.qT coords.rows (Fin.succ setup.j) 0 (⟨0, hm⟩ : Fin m).succ 186 w.differential.core.D.a (w.differential.core.D.a + w.differential.core.D.e) 187 arcData.alpha positions.qPre positions.hqPre arcData.hdata 188 rw [← setup.hchart] at hdata 189 have hchartU : ∀ i : Fin m, arc.common.qU i.succ = 190 arc.common.qU 0 * etale.φk (Ideal.Quotient.mk P.asIdeal (MvPolynomial.X i)) := by 191 intro i 192 calc 193 _ = arc.common.qU 0 * arc.common.φ 194 (Ideal.Quotient.mk P.asIdeal (MvPolynomial.X i)) := arcData.hchartU i 195 _ = _ := congrArg (fun z => arc.common.qU 0 * z) 196 (RingHom.congr_fun etale.hφAction 197 (Ideal.Quotient.mk P.asIdeal (MvPolynomial.X i))).symm 198 exact axis_mem_smoothConormalFibreProjection_closure_of_algHoms 199 (k := k) (E := arc.common.U) (n := m) (d := d) (I := P.asIdeal) 200 etale.φk etale.ψU etale.hφEtale etale.hψEtale arc.rhoU arc.hgroundU 201 arc.common.qU positions.qPre coords.rows w.column.chart (⟨0, hm⟩ : Fin m) 202 w.differential.core.D.a 203 (w.differential.core.D.a + w.differential.core.D.e) 204 beta arcData.alpha u₀ u₁ hchartPre hdata 205 positions.hpositionL cols.htransverse cols.hraw hchartU 206 setup.p setup.fbar setup.hrep setup.hsmooth cols.hnumerator 207 208 end Stafford38.Geometry.SameWitness 209 210 end 211