This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Mathlib.LinearAlgebra.Dual.Lemmas 3 public import Mathlib.LinearAlgebra.Finsupp.LinearCombination 4 public import Stafford38.Characteristic.BaseZeroSection 5 public import Stafford38.Geometry.PointwiseConormalContainment 6 7 @[expose] public section 8 9 /-! 10 # Affine conormals are finite spans of equation differentials 11 12 For an ideal of equations in affine space and a rational point, define the 13 embedded Zariski tangent space as the common kernel of the evaluated 14 differentials. Its annihilator is exactly the span of those differentials. 15 Because the ambient affine space is finite-dimensional, every conormal 16 covector is therefore an explicit finite linear combination of equation 17 differentials. 18 19 The final theorem feeds that finite representation into the pointwise 20 Hamiltonian-translation theorem. No smoothness assumption is needed for this 21 linear-algebraic bridge. What is not proved here is the scheme-geometric 22 identification of this equation-defined tangent space with the tangent fibre 23 of a smooth locus, or the passage from pointwise fibres to the closure of the 24 smooth conormal bundle. 25 -/ 26 27 namespace Stafford38.Geometry.AffineConormalSpan 28 29 open Stafford38.Characteristic 30 open Stafford38.Characteristic.BaseRelativePoisson 31 open Stafford38.Characteristic.BaseZeroSection 32 open Stafford38.Characteristic.ReducedSupportIdeal 33 open Stafford38.Characteristic.ZeroSectionContainment 34 open Stafford38.Geometry.CoisotropicTranslation 35 open Stafford38.Geometry.PointwiseConormalContainment 36 open Stafford38.EulerSurjectivity 37 open Stafford38.WeylIteratedEquivalence 38 39 noncomputable section 40 41 variable {k : Type*} [Field k] {n : ℕ} 42 43 abbrev AffineTangentVector (k : Type*) (n : ℕ) := Fin n → k 44 45 /-- The differential of `f` at `y`, viewed as a linear functional on the 46 ambient affine tangent space. -/ 47 def differentialCovector (y : Fin n → k) (f : MvPolynomial (Fin n) k) : 48 Module.Dual k (AffineTangentVector k n) where 49 toFun v := ∑ i, differentialAt y f i * v i 50 map_add' u v := by simp [mul_add, Finset.sum_add_distrib] 51 map_smul' a v := by simp [mul_assoc, mul_left_comm, mul_comm, Finset.mul_sum] 52 53 @[simp] 54 theorem differentialCovector_apply (y : Fin n → k) 55 (f : MvPolynomial (Fin n) k) (v : AffineTangentVector k n) : 56 differentialCovector y f v = ∑ i, differentialAt y f i * v i := 57 rfl 58 59 /-- Product rule for the evaluated differential covector. All consumers, 60 including scalar extensions, use this low-level identity rather than carrying 61 private copies of the polynomial product-rule calculation. -/ 62 theorem differentialCovector_mul (y : Fin n → k) 63 (p q : MvPolynomial (Fin n) k) : 64 differentialCovector y (p * q) = 65 MvPolynomial.eval y q • differentialCovector y p + 66 MvPolynomial.eval y p • differentialCovector y q := by 67 apply LinearMap.ext 68 intro v 69 change (∑ i, differentialAt y (p * q) i * v i) = 70 MvPolynomial.eval y q * (∑ i, differentialAt y p i * v i) + 71 MvPolynomial.eval y p * (∑ i, differentialAt y q i * v i) 72 simp only [differentialAt, MvPolynomial.pderiv_mul, map_add, map_mul, 73 Finset.mul_sum, ← Finset.sum_add_distrib] 74 refine Finset.sum_congr rfl fun i _ ↦ ?_ 75 ring 76 77 /-- Covectors generated by the differentials of all equations in `I`. -/ 78 def equationCovectorSpan (y : Fin n → k) 79 (I : Ideal (MvPolynomial (Fin n) k)) : 80 Submodule k (Module.Dual k (AffineTangentVector k n)) := 81 Submodule.span k (Set.range fun f : I ↦ differentialCovector y f.1) 82 83 /-- The embedded Zariski tangent space cut out by the first-order parts of all 84 equations in `I`. -/ 85 def zariskiTangentSpace (y : Fin n → k) 86 (I : Ideal (MvPolynomial (Fin n) k)) : 87 Submodule k (AffineTangentVector k n) := 88 (equationCovectorSpan y I).dualCoannihilator 89 90 /-- The embedded conormal space, defined as the annihilator of the embedded 91 Zariski tangent space. -/ 92 def affineConormalSpace (y : Fin n → k) 93 (I : Ideal (MvPolynomial (Fin n) k)) : 94 Submodule k (Module.Dual k (AffineTangentVector k n)) := 95 (zariskiTangentSpace y I).dualAnnihilator 96 97 /-- The embedded conormal is exactly the span of evaluated differentials of 98 the equation ideal. This is finite-dimensional double-annihilator duality. -/ 99 theorem affineConormalSpace_eq_equationCovectorSpan 100 (y : Fin n → k) (I : Ideal (MvPolynomial (Fin n) k)) : 101 affineConormalSpace y I = equationCovectorSpan y I := by 102 classical 103 exact Subspace.dualCoannihilator_dualAnnihilator_eq 104 105 /-- Every embedded conormal covector has an explicit finite-support expansion 106 in differentials of equations. -/ 107 theorem mem_affineConormalSpace_iff_exists_finsupp 108 (y : Fin n → k) (I : Ideal (MvPolynomial (Fin n) k)) 109 (phi : Module.Dual k (AffineTangentVector k n)) : 110 phi ∈ affineConormalSpace y I ↔ 111 ∃ c : I →₀ k, 112 Finsupp.linearCombination k (fun f : I ↦ differentialCovector y f.1) c = phi := by 113 classical 114 rw [affineConormalSpace_eq_equationCovectorSpan] 115 exact Finsupp.mem_span_range_iff_exists_finsupp 116 117 /-- The coordinate covector associated with a fibre coordinate `xi`. -/ 118 def coordinateCovector (xi : Fin n → k) : 119 Module.Dual k (AffineTangentVector k n) where 120 toFun v := ∑ i, xi i * v i 121 map_add' u v := by simp [mul_add, Finset.sum_add_distrib] 122 map_smul' a v := by simp [mul_assoc, mul_left_comm, mul_comm, Finset.mul_sum] 123 124 @[simp] 125 theorem coordinateCovector_apply (xi v : Fin n → k) : 126 coordinateCovector xi v = ∑ i, xi i * v i := 127 rfl 128 129 /-- Equality of coordinate covectors recovers equality of their coordinates. -/ 130 theorem coordinateCovector_injective : 131 Function.Injective (coordinateCovector (k := k) (n := n)) := by 132 intro xi eta h 133 funext i 134 have hi := LinearMap.congr_fun h (Pi.single i 1) 135 simpa [coordinateCovector, Pi.single_apply] using hi 136 137 /-- A conormal coordinate covector admits a finite-support expansion in 138 gradients of equations. -/ 139 theorem coordinate_mem_affineConormalSpace_exists_finsupp 140 (y xi : Fin n → k) (I : Ideal (MvPolynomial (Fin n) k)) : 141 coordinateCovector xi ∈ affineConormalSpace y I → 142 ∃ c : I →₀ k, ∀ i, 143 xi i = ∑ f ∈ c.support, c f * differentialAt y f.1 i := by 144 classical 145 intro hxi 146 obtain ⟨c, hc⟩ := 147 (mem_affineConormalSpace_iff_exists_finsupp y I (coordinateCovector xi)).mp hxi 148 refine ⟨c, fun i ↦ ?_⟩ 149 have hi := LinearMap.congr_fun hc (Pi.single i 1) 150 simpa [Finsupp.linearCombination_apply, differentialCovector, coordinateCovector, 151 Pi.single_apply, Finsupp.sum, mul_comm, mul_left_comm, mul_assoc] using hi.symm 152 153 /-- The genuine conormal consumer: under the existing base-relative Poisson 154 hypothesis, every coordinate covector in the equation-defined affine 155 conormal space gives a common zero in the corresponding support fibre. -/ 156 theorem affineConormal_coordinatePoint_isCommonZero 157 [CharZero k] 158 (J : Ideal (SymbolRing k n)) (hJ : IsBaseRelativePoisson J) 159 (y : Fin n → k) 160 (hzero : ∀ g ∈ J, MvPolynomial.eval (zeroSectionPoint y) g = 0) 161 (I : Ideal (MvPolynomial (Fin n) k)) 162 (hlift : ∀ f : I, baseLift f.1 ∈ J) 163 (xi : Fin n → k) 164 (hxi : coordinateCovector xi ∈ affineConormalSpace y I) : 165 ∀ g ∈ J, MvPolynomial.eval (Sum.elim y xi) g = 0 := by 166 classical 167 obtain ⟨c, hc⟩ := 168 coordinate_mem_affineConormalSpace_exists_finsupp y xi I hxi 169 let ι := {f : I // f ∈ c.support} 170 let equations : ι → MvPolynomial (Fin n) k := fun f ↦ f.1.1 171 let coefficients : ι → k := fun f ↦ c f.1 172 have hpoint : differentialCombinationPoint y coefficients equations = Sum.elim y xi := by 173 funext q 174 rcases q with i | i 175 · rfl 176 · rw [differentialCombinationPoint_inr] 177 simp only [coefficients, equations, Sum.elim_inr] 178 rw [hc i] 179 exact (Finset.sum_subtype c.support (by simp) 180 (fun f ↦ c f * differentialAt y f.1 i)).symm 181 rw [← hpoint] 182 exact differentialCombinationPoint_isCommonZero J hJ y hzero equations 183 (fun f ↦ hlift f.1) coefficients 184 185 /-- Concrete characteristic-support form. If `(y, eta)` lies in the reduced 186 order support and the required base-relative Gabber fragment holds, then the 187 entire equation-defined conormal space of the contracted base ideal over `y` 188 lies in the same reduced support fibre. -/ 189 theorem reducedOrderSupport_affineConormal_coordinatePoint_isCommonZero 190 [CharZero k] 191 (W : RightIdeal (PresentedWeyl k n)) 192 (hJ : IsBaseRelativePoisson (reducedOrderSupportIdeal k W)) 193 (y eta : Fin n → k) 194 (hpoint : ∀ g ∈ reducedOrderSupportIdeal k W, 195 MvPolynomial.eval (Sum.elim y eta) g = 0) 196 (xi : Fin n → k) 197 (hxi : coordinateCovector xi ∈ 198 affineConormalSpace y (reducedOrderBaseIdeal k W)) : 199 ∀ g ∈ reducedOrderSupportIdeal k W, 200 MvPolynomial.eval (Sum.elim y xi) g = 0 := by 201 apply affineConormal_coordinatePoint_isCommonZero 202 (reducedOrderSupportIdeal k W) hJ y 203 (zeroSection_mem_of_mem_reducedOrderSupport_zeroSet k W y eta hpoint) 204 (reducedOrderBaseIdeal k W) 205 · intro f 206 exact (mem_reducedOrderBaseIdeal_iff k W f.1).mp f.2 207 · exact hxi 208 209 /-- Stronger contracted-base form: every equation-defined conormal covector 210 over a common zero of the contracted base ideal lies in the reduced support 211 fibre. No auxiliary point of that fibre is required. -/ 212 theorem reducedOrderBaseZero_affineConormal_coordinatePoint_isCommonZero 213 [CharZero k] 214 (W : RightIdeal (PresentedWeyl k n)) 215 (hJ : IsBaseRelativePoisson (reducedOrderSupportIdeal k W)) 216 (y : Fin n → k) 217 (hy : ∀ f ∈ reducedOrderBaseIdeal k W, 218 MvPolynomial.eval y f = 0) 219 (xi : Fin n → k) 220 (hxi : coordinateCovector xi ∈ 221 affineConormalSpace y (reducedOrderBaseIdeal k W)) : 222 ∀ g ∈ reducedOrderSupportIdeal k W, 223 MvPolynomial.eval (Sum.elim y xi) g = 0 := by 224 apply affineConormal_coordinatePoint_isCommonZero 225 (reducedOrderSupportIdeal k W) hJ y 226 (zeroSection_mem_of_mem_reducedOrderBaseZeroSet k W y hy) 227 (reducedOrderBaseIdeal k W) 228 · intro f 229 exact (mem_reducedOrderBaseIdeal_iff k W f.1).mp f.2 230 · exact hxi 231 232 #print axioms affineConormalSpace_eq_equationCovectorSpan 233 #print axioms mem_affineConormalSpace_iff_exists_finsupp 234 #print axioms coordinate_mem_affineConormalSpace_exists_finsupp 235 #print axioms affineConormal_coordinatePoint_isCommonZero 236 #print axioms reducedOrderSupport_affineConormal_coordinatePoint_isCommonZero 237 #print axioms reducedOrderBaseZero_affineConormal_coordinatePoint_isCommonZero 238 239 end 240 241 end Stafford38.Geometry.AffineConormalSpan 242