This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Geometry.ActualAffineSmoothPointFromNumeratorCore 3 public import Stafford38.Geometry.SmoothLocalTiltedArcAxisLift 4 public import Stafford38.Geometry.DirectSummandInputOfActualChart 5 public import Stafford38.Geometry.GeneralTangentLimitCriterion 6 public import Stafford38.Geometry.FormalDivisorLaurentConormal 7 public import Stafford38.Geometry.HomogenizedAffineEvaluation 8 9 @[expose] public section 10 11 set_option autoImplicit false 12 set_option maxHeartbeats 3000000 13 14 namespace Stafford38.Geometry.ActualSameWitnessAffineFibreEndpoint 15 16 open Stafford38.Geometry.ActualAffineSmoothPointFromNumerator 17 open Stafford38.Geometry.SmoothLocalTiltedArcAxisLift 18 open Stafford38.Geometry.ProjectiveConormalDehomogenization 19 open Stafford38.Geometry.FormalDivisorLaurentConormal 20 open Stafford38.Geometry.ScalarExtensionPoints 21 open Stafford38.Geometry.SmoothAffineConormal 22 open Stafford38.Geometry.EtaleCotangentBasis 23 open Stafford38.Geometry.HomogenizedAffineEvaluation 24 open Stafford38.Geometry.LocalizedProjectiveChartTransition 25 26 noncomputable section 27 28 universe u 29 30 /-- The original affine smooth-fibre axis endpoint follows from the same 31 common-open column identities used by the tangent calculation. The selected 32 unit-power data supplies the nonzero zeroth coordinate; the actual 33 homogenized numerator supplies smoothness, and quotient evaluation supplies 34 the closure hypothesis needed by the existing direct-summand owner. -/ 35 theorem axis_mem_smoothConormalFibreProjection_closure_of_actual_columns 36 {k E : Type u} [Field k] [IsAlgClosed k] [CharZero k] 37 [CommRing E] {n d : ℕ} {I : Ideal (MvPolynomial (Fin n) k)} 38 [I.IsPrime] [Algebra k E] 39 [Algebra (MvPolynomial (Fin n) k ⧸ I) E] 40 [Algebra (MvPolynomial (Fin n) k) E] 41 [Algebra (MvPolynomial (Option (Fin d)) k) E] 42 [IsScalarTower k (MvPolynomial (Fin n) k ⧸ I) E] 43 [IsScalarTower k (MvPolynomial (Fin n) k) E] 44 [IsScalarTower k (MvPolynomial (Option (Fin d)) k) E] 45 [IsScalarTower (MvPolynomial (Fin n) k) 46 (MvPolynomial (Fin n) k ⧸ I) E] 47 [Algebra.FormallyEtale (MvPolynomial (Fin n) k ⧸ I) E] 48 [Algebra.FormallyEtale (MvPolynomial (Option (Fin d)) k) E] 49 (rho : E →+* LaurentSeries k) 50 (hground : rho.comp (algebraMap k E) = algebraMap k (LaurentSeries k)) : 51 letI : Algebra E (LaurentSeries k) := 52 RingHom.toAlgebra' rho (by intro x y; exact mul_comm _ _) 53 letI : Algebra k (LaurentSeries k) := 54 RingHom.toAlgebra' (algebraMap k (LaurentSeries k)) 55 (by intro x y; exact mul_comm _ _) 56 letI : Module k (LaurentSeries k) := Algebra.toModule 57 letI : SMul k (LaurentSeries k) := 58 (Algebra.toModule : Module k (LaurentSeries k)).toSMul 59 letI : IsScalarTower k E (LaurentSeries k) := 60 IsScalarTower.of_algebraMap_eq' hground.symm 61 ∀ (qC : Fin (n + 1) → E) 62 (qPre : Fin (n + 1) → MvPowerSeries (Fin (d + 1)) k) 63 (rows : Fin d ↪ Fin (n + 1)) (chart : Fin (n + 1)) (axis : Fin n) 64 (a b : ℕ) (beta alpha : Fin d → k) 65 (u₀ u₁ : MvPowerSeries (Fin (d + 1)) k) 66 (hqchartPre : qPre chart = 1) 67 (hdata : SelectedCoordinateAxisLiftData qPre rows chart 0 axis.succ 68 a b beta alpha u₀ u₁) 69 (hposition : ∀ i, rho (qC i) = 70 algebraMap (PowerSeries k) (LaurentSeries k) 71 (tiltedArc alpha (qPre i))) 72 (htransverse : ∀ j i, 73 coordinateDerivation (k := k) (σ := Option (Fin d)) (B := E) 74 (L := LaurentSeries k) (some j) (qC i) = 75 algebraMap (PowerSeries k) (LaurentSeries k) 76 (tiltedTransverseDerivativeMatrix alpha qPre i j)) 77 (hraw : ∀ i, 78 algebraMap (PowerSeries k) (LaurentSeries k) 79 (PowerSeries.derivative (R := k) (tiltedArc alpha (qPre i))) = 80 coordinateDerivation (k := k) (σ := Option (Fin d)) (B := E) 81 (L := LaurentSeries k) none (qC i) + 82 ∑ j, algebraMap (PowerSeries k) (LaurentSeries k) 83 (PowerSeries.C (alpha j)) * 84 coordinateDerivation (k := k) (σ := Option (Fin d)) (B := E) 85 (L := LaurentSeries k) (some j) (qC i)) 86 (hchart : ∀ i : Fin n, 87 qC i.succ = qC 0 * 88 algebraMap (MvPolynomial (Fin n) k ⧸ I) E 89 (Ideal.Quotient.mk I (MvPolynomial.X i))) 90 (p : MvPolynomial (Fin n) k) 91 (fbar : MvPolynomial (Fin n) k ⧸ I) 92 (hrep : Ideal.Quotient.mk I p = fbar) 93 (hsmooth : Algebra.Smooth k (Localization.Away fbar)) 94 (hnumerator : MvPolynomial.eval 95 (laurentColumn (fun i => tiltedArc alpha (qPre i))) 96 (MvPolynomial.map (algebraMap k (LaurentSeries k)) 97 (homogenizeAtZero p)) ≠ 0), 98 (fun i : Fin n => if i = axis then (1 : k) else 0) ∈ 99 MvPolynomial.zeroLocus k 100 (MvPolynomial.vanishingIdeal k 101 (Stafford38.Geometry.ProjectiveConormalDirections.smoothConormalFibreProjection I)) := by 102 intro qC qPre rows chart axis a b beta alpha u₀ u₁ hqchartPre hdata 103 hposition htransverse hraw hchart p fbar hrep hsmooth hnumerator 104 letI : Algebra E (LaurentSeries k) := 105 RingHom.toAlgebra' rho (by intro x y; exact mul_comm _ _) 106 letI : Algebra k (LaurentSeries k) := 107 RingHom.toAlgebra' (algebraMap k (LaurentSeries k)) 108 (by intro x y; exact mul_comm _ _) 109 letI : Module k (LaurentSeries k) := Algebra.toModule 110 letI : SMul k (LaurentSeries k) := 111 (Algebra.toModule : Module k (LaurentSeries k)).toSMul 112 letI : IsScalarTower k E (LaurentSeries k) := 113 IsScalarTower.of_algebraMap_eq' hground.symm 114 let q : Fin (n + 1) → PowerSeries k := 115 fun i => tiltedArc alpha (qPre i) 116 let qL : Fin (n + 1) → LaurentSeries k := laurentColumn q 117 rcases hdata with 118 ⟨hzero, hunit₀, _, _, _, _, _, hexists⟩ 119 rcases hexists with 120 ⟨c, tau, C, ell, hc, hrowDerivative, hTauChart, hTauRows, 121 hfactor, hTauNonzero, hTauAxis, haxisColumns, hCB, hrowEll, hresidue⟩ 122 have hunitSeries : q 0 ≠ 0 := by 123 change tiltedArc alpha (qPre 0) ≠ 0 124 rw [hzero] 125 have hu : tiltedArc alpha u₀ ≠ 0 := by 126 intro hz 127 apply hunit₀ 128 simpa [hz] 129 exact mul_ne_zero (pow_ne_zero a (PowerSeries.X_ne_zero (R := k))) hu 130 have hq0 : qL 0 ≠ 0 := 131 laurentColumn_ne_zero_of_ne_zero q hunitSeries 132 have hqchart : q chart = 1 := by 133 change tiltedArc alpha (qPre chart) = 1 134 rw [hqchartPre] 135 simp [tiltedArc] 136 let φ : (MvPolynomial (Fin n) k ⧸ I) →ₐ[k] LaurentSeries k := 137 { toRingHom := rho.comp (algebraMap (MvPolynomial (Fin n) k ⧸ I) E) 138 commutes' := by 139 intro z 140 change rho (algebraMap (MvPolynomial (Fin n) k ⧸ I) E 141 (algebraMap k (MvPolynomial (Fin n) k ⧸ I) z)) = 142 algebraMap k (LaurentSeries k) z 143 rw [← IsScalarTower.algebraMap_apply k 144 (MvPolynomial (Fin n) k ⧸ I) E z] 145 exact congrArg (fun f : k →+* LaurentSeries k => f z) hground } 146 have hpos : ∀ i, rho (qC i) = qL i := by 147 intro i 148 simpa [qL, laurentColumn, q] using hposition i 149 have hq0rho : rho (qC 0) ≠ 0 := by 150 rw [hpos 0] 151 exact hq0 152 have hdehom : 153 dehomogenizedPoint qL = 154 fun i => φ (Ideal.Quotient.mk I (MvPolynomial.X i)) := by 155 funext i 156 rw [ProjectiveConormalDehomogenization.dehomogenizedPoint] 157 calc 158 qL i.succ / qL 0 = rho (qC i.succ) / rho (qC 0) := by 159 rw [← hpos i.succ, ← hpos 0] 160 _ = rho (algebraMap (MvPolynomial (Fin n) k ⧸ I) E 161 (Ideal.Quotient.mk I (MvPolynomial.X i))) := by 162 rw [hchart i, map_mul] 163 exact mul_div_cancel_left₀ _ hq0rho 164 _ = φ (Ideal.Quotient.mk I (MvPolynomial.X i)) := by 165 simp [φ] 166 have hsmoothPoint : SmoothAffinePoint 167 (I.map (scalarPolynomialMap (k := k) (K := LaurentSeries k) (Fin n))) 168 (dehomogenizedPoint qL) := 169 smoothAffinePoint_of_homogenized_eval I p fbar hrep φ qL 170 hdehom hq0 hsmooth hnumerator 171 have hclosure : dehomogenizedPoint qL ∈ 172 MvPolynomial.zeroLocus (LaurentSeries k) 173 (I.map (scalarPolynomialMap (k := k) 174 (K := LaurentSeries k) (Fin n))) := by 175 intro r hr 176 obtain ⟨e, heval, _⟩ := hsmoothPoint 177 have hmk : Ideal.Quotient.mk 178 (I.map (scalarPolynomialMap (k := k) 179 (K := LaurentSeries k) (Fin n))) r = 0 := 180 Ideal.Quotient.eq_zero_iff_mem.mpr hr 181 rw [← heval r, hmk, map_zero] 182 have hq0chart : algebraMap E (LaurentSeries k) (qC 0) ≠ 0 := by 183 change rho (qC 0) ≠ 0 184 rw [hposition 0] 185 exact hq0 186 have hprime : I.IsPrime := inferInstance 187 obtain ⟨D, hDaxis⟩ := 188 Stafford38.Geometry.DirectSummandInputOfActualChart.directSummandInput_of_actual_chart_columns 189 (rho := rho) hground qC q 190 (tiltedTransverseDerivativeMatrix alpha qPre) tau 191 (fun j => PowerSeries.C (alpha j)) c hfactor 192 hposition htransverse hraw hq0chart hchart chart hqchart hunitSeries axis C 193 hCB haxisColumns hprime hclosure hsmoothPoint 194 have hendpoint := 195 Stafford38.Geometry.GeneralTangentLimitCriterion.tangent_limit_affine_fibre_closure_of_directSummand 196 I q (Stafford38.Geometry.PaperDivisorTangent.normalizedTangentLattice 197 q (tiltedTransverseDerivativeMatrix alpha qPre) tau) D 198 rw [hDaxis] at hendpoint 199 exact hendpoint 200 201 end 202 203 end Stafford38.Geometry.ActualSameWitnessAffineFibreEndpoint 204