This project (Stafford38) · 1029fdb382eee06e7b59bcf32801f40931e2079a
1 module 2 public import Stafford38.Characteristic.PostScalarExtensionPoisson 3 public import Stafford38.Characteristic.LocalizedPartialDerivation 4 public import Mathlib.RingTheory.Ideal.MinimalPrime.Localization 5 6 @[expose] public section 7 8 /-! 9 # Localization proof of componentwise involutivity 10 11 This file formalizes the localization route in the paper's proof of 12 componentwise involutivity. First extend each polynomial partial derivative 13 to fractions by the quotient rule, and use these derivations to define the 14 localized Poisson bracket. Then localize the involutive radical, identify it 15 with the maximal ideal at a minimal prime, and contract bracket membership 16 using primeness. 17 -/ 18 19 namespace Stafford38.Characteristic.PaperLocalizedInvolutivity 20 21 open Stafford38.Characteristic 22 open Stafford38.Characteristic.PostScalarExtensionPoisson 23 open Stafford38.Characteristic.LocalizedPartialDerivation 24 25 noncomputable section 26 27 variable {k : Type*} [Field k] {n : ℕ} 28 29 def localizedPoissonBracket (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 30 (f g : AtPrime P) : AtPrime P := 31 ∑ i : Fin n, 32 (localizedPDeriv P (Sum.inl i) f * localizedPDeriv P (Sum.inr i) g - 33 localizedPDeriv P (Sum.inr i) f * localizedPDeriv P (Sum.inl i) g) 34 35 theorem localizedPoissonBracket_add_left 36 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 37 (f₁ f₂ g : AtPrime P) : 38 localizedPoissonBracket P (f₁ + f₂) g = 39 localizedPoissonBracket P f₁ g + localizedPoissonBracket P f₂ g := by 40 unfold localizedPoissonBracket 41 simp only [localizedPDeriv_add, add_mul] 42 rw [← Finset.sum_add_distrib] 43 apply Finset.sum_congr rfl 44 intro i hi 45 ring 46 47 theorem localizedPoissonBracket_add_right 48 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 49 (f g₁ g₂ : AtPrime P) : 50 localizedPoissonBracket P f (g₁ + g₂) = 51 localizedPoissonBracket P f g₁ + localizedPoissonBracket P f g₂ := by 52 unfold localizedPoissonBracket 53 simp only [localizedPDeriv_add, mul_add] 54 rw [← Finset.sum_add_distrib] 55 apply Finset.sum_congr rfl 56 intro i hi 57 ring 58 59 theorem localizedPoissonBracket_mul_left 60 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 61 (a f g : AtPrime P) : 62 localizedPoissonBracket P (a * f) g = 63 a * localizedPoissonBracket P f g + f * localizedPoissonBracket P a g := by 64 simp only [localizedPoissonBracket, localizedPDeriv_mul] 65 rw [Finset.mul_sum, Finset.mul_sum, ← Finset.sum_add_distrib] 66 apply Finset.sum_congr rfl 67 intro i hi 68 ring 69 70 theorem localizedPoissonBracket_mul_right 71 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 72 (f a g : AtPrime P) : 73 localizedPoissonBracket P f (a * g) = 74 a * localizedPoissonBracket P f g + g * localizedPoissonBracket P f a := by 75 simp only [localizedPoissonBracket, localizedPDeriv_mul] 76 rw [Finset.mul_sum, Finset.mul_sum, ← Finset.sum_add_distrib] 77 apply Finset.sum_congr rfl 78 intro i hi 79 ring 80 81 theorem localizedPoissonBracket_algebraMap 82 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 83 (f g : R (k := k) (n := n)) : 84 localizedPoissonBracket (k := k) (n := n) P 85 (algebraMap (R (k := k) (n := n)) (AtPrime P) f) 86 (algebraMap (R (k := k) (n := n)) (AtPrime P) g) = 87 algebraMap (R (k := k) (n := n)) (AtPrime P) (poissonBracket f g) := by 88 simp [localizedPoissonBracket, localizedPDeriv_algebraMap, poissonBracket, 89 map_sum, map_sub, map_mul] 90 91 theorem localizedPDeriv_zero 92 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 93 (i : PhaseVar n) : 94 localizedPDeriv P i (0 : AtPrime P) = 0 := 95 Derivation.map_zero (localizedPDeriv P i) 96 97 theorem localizedPoissonBracket_zero_left 98 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 99 (g : AtPrime P) : 100 localizedPoissonBracket P 0 g = 0 := by 101 simp [localizedPoissonBracket, localizedPDeriv_zero] 102 103 theorem localizedPoissonBracket_zero_right 104 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 105 (f : AtPrime P) : 106 localizedPoissonBracket P f 0 = 0 := by 107 simp [localizedPoissonBracket, localizedPDeriv_zero] 108 109 /-- The involutive condition survives localization. This is proved by 110 induction on the localized ideal's generators; the product identities are 111 the biderivation rules for the fraction-extended bracket above. -/ 112 theorem localizedMap_isInvolutive 113 (P : Ideal (R (k := k) (n := n))) [P.IsPrime] 114 (I : Ideal (R (k := k) (n := n))) (hI : IsInvolutive I) : 115 ∀ f ∈ I.map (algebraMap (R (k := k) (n := n)) (AtPrime P)), 116 ∀ g ∈ I.map (algebraMap (R (k := k) (n := n)) (AtPrime P)), 117 localizedPoissonBracket P f g ∈ 118 I.map (algebraMap (R (k := k) (n := n)) (AtPrime P)) := by 119 let M : Ideal (AtPrime P) := 120 I.map (algebraMap (R (k := k) (n := n)) (AtPrime P)) 121 intro f hf 122 change f ∈ I.map (algebraMap (R (k := k) (n := n)) (AtPrime P)) at hf 123 rw [Ideal.map] at hf 124 induction hf using Submodule.span_induction with 125 | mem f hf => 126 rcases hf with ⟨f₀, hf₀, rfl⟩ 127 intro g hg 128 change g ∈ I.map (algebraMap (R (k := k) (n := n)) (AtPrime P)) at hg 129 rw [Ideal.map] at hg 130 induction hg using Submodule.span_induction with 131 | mem g hg => 132 rcases hg with ⟨g₀, hg₀, rfl⟩ 133 change localizedPoissonBracket P 134 (algebraMap (R (k := k) (n := n)) (AtPrime P) f₀) 135 (algebraMap (R (k := k) (n := n)) (AtPrime P) g₀) ∈ M 136 rw [localizedPoissonBracket_algebraMap] 137 exact Ideal.mem_map_of_mem _ (hI f₀ hf₀ g₀ hg₀) 138 | zero => 139 rw [localizedPoissonBracket_zero_right] 140 exact M.zero_mem 141 | add g₁ g₂ _ _ hg₁ hg₂ => 142 rw [localizedPoissonBracket_add_right] 143 exact M.add_mem hg₁ hg₂ 144 | smul a g hgm hg => 145 rw [smul_eq_mul, localizedPoissonBracket_mul_right] 146 exact M.add_mem (M.mul_mem_left _ hg) (M.mul_mem_right _ hgm) 147 | zero => 148 intro g hg 149 rw [localizedPoissonBracket_zero_left] 150 exact M.zero_mem 151 | add f₁ f₂ _ _ hf₁ hf₂ => 152 intro g hg 153 rw [localizedPoissonBracket_add_left] 154 exact M.add_mem (hf₁ g hg) (hf₂ g hg) 155 | smul a f hfm hf => 156 intro g hg 157 rw [smul_eq_mul, localizedPoissonBracket_mul_left] 158 exact M.add_mem (M.mul_mem_left _ (hf g hg)) (M.mul_mem_right _ hfm) 159 160 /-- At a prime minimal over `J`, the radical of the localized ideal is the 161 localized prime. The first equality is the general localization-radical 162 identity; the second is the minimal-prime theorem for localization. -/ 163 theorem radical_map_eq_prime_map_of_minimal 164 (J P : Ideal (R (k := k) (n := n))) [P.IsPrime] 165 (hP : P ∈ J.minimalPrimes) : 166 J.radical.map (algebraMap (R (k := k) (n := n)) (AtPrime P)) = 167 P.map (algebraMap (R (k := k) (n := n)) (AtPrime P)) := by 168 rw [IsLocalization.map_radical (P.primeCompl) (AtPrime P)] 169 exact IsLocalization.AtPrime.radical_map_of_mem_minimalPrimes 170 (A := AtPrime P) P J hP 171 172 /-- The localized radical is exactly the maximal ideal of the local ring at 173 the minimal prime. -/ 174 theorem radical_map_eq_maximalIdeal_of_minimal 175 (J P : Ideal (R (k := k) (n := n))) [P.IsPrime] 176 (hP : P ∈ J.minimalPrimes) : 177 J.radical.map (algebraMap (R (k := k) (n := n)) (AtPrime P)) = 178 IsLocalRing.maximalIdeal (AtPrime P) := by 179 rw [radical_map_eq_prime_map_of_minimal J P hP] 180 exact IsLocalization.AtPrime.map_eq_maximalIdeal P (AtPrime P) 181 182 /-- Localization proof of the componentwise statement: involutivity of 183 `√J` implies involutivity of each minimal prime over `J`. Unlike the 184 saturation proof in `RadicalMinimalPrimeInvolutivity`, this follows the paper's 185 argument through the localized Poisson structure, its maximal ideal, and 186 contraction by primeness. -/ 187 theorem minimalPrimes_isInvolutive_of_radical_isInvolutive_viaLocalization 188 (J : Ideal (R (k := k) (n := n))) (hJ : IsInvolutive J.radical) : 189 ∀ P ∈ J.minimalPrimes, IsInvolutive P := by 190 intro P hP 191 letI : P.IsPrime := hP.1.1 192 intro f hf g hg 193 let φ := algebraMap (R (k := k) (n := n)) (AtPrime P) 194 have hrad := radical_map_eq_prime_map_of_minimal J P hP 195 have hfLoc : φ f ∈ P.map φ := Ideal.mem_map_of_mem φ hf 196 have hgLoc : φ g ∈ P.map φ := Ideal.mem_map_of_mem φ hg 197 rw [← hrad] at hfLoc hgLoc 198 have hbrLoc := localizedMap_isInvolutive P J.radical hJ (φ f) hfLoc (φ g) hgLoc 199 rw [localizedPoissonBracket_algebraMap] at hbrLoc 200 rw [hrad] at hbrLoc 201 obtain ⟨s, hs, hmul⟩ := 202 (IsLocalization.algebraMap_mem_map_algebraMap_iff P.primeCompl 203 (AtPrime P) P (poissonBracket f g)).mp hbrLoc 204 have hprime : P.IsPrime := hP.1.1 205 rcases hprime.mem_or_mem hmul with hsP | hbr 206 · exact (hs hsP).elim 207 · exact hbr 208 209 #print axioms localizedPDeriv 210 #print axioms localizedPDeriv_mul 211 #print axioms localizedPoissonBracket_mul_left 212 #print axioms localizedMap_isInvolutive 213 #print axioms radical_map_eq_prime_map_of_minimal 214 #print axioms radical_map_eq_maximalIdeal_of_minimal 215 #print axioms minimalPrimes_isInvolutive_of_radical_isInvolutive_viaLocalization 216 217 end 218 end Stafford38.Characteristic.PaperLocalizedInvolutivity 219