Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.AxisEvaluation |
| 2 | import NavierStokes.AxisOperators |
| 3 | import Mathlib.Analysis.Normed.Ring.InfiniteSum |
| 4 | import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus |
| 5 | |
| 6 | /-! |
| 7 | # Actual profile equations for the coefficient operators |
| 8 | |
| 9 | The identities here combine the convergent, smooth evaluation of `AxisSpace` |
| 10 | with the exact compatible coefficient operators of `AxisOperators`. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set Filter |
| 16 | open scoped Topology ContDiff BigOperators |
| 17 | open NavierStokes.AxisCoefficientSpace NavierStokes.AxisWeightEstimates |
| 18 | open NavierStokes.AxisEvaluation NavierStokes.AxisOperators |
| 19 | |
| 20 | namespace NavierStokes.AxisEvaluationAlgebra |
| 21 | |
| 22 | theorem powerSeries_mul {f g : ℕ → ℝ} {Y : ℝ} |
| 23 | (hf : Summable (fun n => ‖Y ^ n * f n‖)) |
| 24 | (hg : Summable (fun n => ‖Y ^ n * g n‖)) : |
| 25 | (∑' n : ℕ, Y ^ n * f n) * (∑' n : ℕ, Y ^ n * g n) = |
| 26 | ∑' n : ℕ, Y ^ n * ∑ ij ∈ Finset.antidiagonal n, f ij.1 * g ij.2 := by |
| 27 | rw [tsum_mul_tsum_eq_tsum_sum_antidiagonal_of_summable_norm hf hg] |
| 28 | apply tsum_congr |
| 29 | intro n |
| 30 | rw [Finset.mul_sum] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro ij hij |
| 33 | rw [← Finset.mem_antidiagonal.mp hij, pow_add] |
| 34 | ring |
| 35 | |
| 36 | theorem profile_series_norm_summable (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 37 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) : |
| 38 | Summable (fun n => ‖Y ^ n * coefficient I (weight ε) A n η‖) := by |
| 39 | simpa only [Real.norm_eq_abs] using (profile_hasSum I hε A (p := (Y, η)) hY).summable.abs |
| 40 | |
| 41 | /-- Multiplication in the coefficient space evaluates to pointwise multiplication. -/ |
| 42 | theorem profile_product (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 43 | (A B : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 44 | profile I ε (product I hε A B) (Y, η) = |
| 45 | profile I ε A (Y, η) * profile I ε B (Y, η) := by |
| 46 | rw [profile, profile, profile, powerSeries_mul |
| 47 | (profile_series_norm_summable I hε A hY) (profile_series_norm_summable I hε B hY)] |
| 48 | apply tsum_congr |
| 49 | intro n |
| 50 | rw [coefficient_product I hε A B n hη] |
| 51 | |
| 52 | theorem profile_axis (I : Window) (ε : ℝ) (A : AxisSpace I ε) (η : ℝ) : |
| 53 | profile I ε A (0, η) = coefficient I (weight ε) A 0 η := by |
| 54 | unfold profile |
| 55 | rw [tsum_eq_single 0] |
| 56 | · simp |
| 57 | · intro n hn |
| 58 | simp [zero_pow hn] |
| 59 | |
| 60 | theorem profile_deriv_Y (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 61 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 62 | (hη : η ∈ Ioo I.left I.right) : |
| 63 | deriv (fun y => profile I ε A (y, η)) Y = mixedSeries I ε A 1 0 (Y, η) := by |
| 64 | have hd := mixedSeries_hasDerivAt_Y I hε A 0 0 hY hη |
| 65 | rw [mixedSeries_zero] at hd |
| 66 | exact hd.deriv |
| 67 | |
| 68 | theorem profile_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 69 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 70 | (hη : η ∈ Ioo I.left I.right) : |
| 71 | deriv (fun x => profile I ε A (Y, x)) η = mixedSeries I ε A 0 1 (Y, η) := by |
| 72 | have hd := mixedSeries_hasDerivAt_eta I hε A 0 0 hY hη |
| 73 | rw [mixedSeries_zero] at hd |
| 74 | exact hd.deriv |
| 75 | |
| 76 | theorem profile_iteratedDeriv_Y (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 77 | (A : AxisSpace I ε) (k : ℕ) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 78 | (hη : η ∈ Ioo I.left I.right) : |
| 79 | iteratedDeriv k (fun y => profile I ε A (y, η)) Y = mixedSeries I ε A k 0 (Y, η) := by |
| 80 | simpa only [mixedSeries_zero, Nat.zero_add] using iteratedDeriv_Y I hε A 0 0 k hY hη |
| 81 | |
| 82 | def radialValue (I : Window) (ε : ℝ) (r : ℕ) (A : AxisSpace I ε) (p : ℝ × ℝ) : ℝ := |
| 83 | p.1 * mixedSeries I ε A 2 0 p + (r : ℝ) * mixedSeries I ε A 1 0 p |
| 84 | |
| 85 | theorem radialValue_eq_derivatives (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 86 | (r : ℕ) (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 87 | (hη : η ∈ Ioo I.left I.right) : |
| 88 | radialValue I ε r A (Y, η) = |
| 89 | Y * iteratedDeriv 2 (fun y => profile I ε A (y, η)) Y + |
| 90 | (r : ℝ) * deriv (fun y => profile I ε A (y, η)) Y := by |
| 91 | rw [profile_iteratedDeriv_Y I hε A 2 hY hη, profile_deriv_Y I hε A hY hη] |
| 92 | rfl |
| 93 | |
| 94 | theorem polynomialJet_radial (r n : ℕ) (Y : ℝ) : |
| 95 | Y * polynomialJet (n + 1) 2 Y + (r : ℝ) * polynomialJet (n + 1) 1 Y = |
| 96 | radialDivisor r n * Y ^ n := by |
| 97 | cases n with |
| 98 | | zero => simp [polynomialJet, radialDivisor, Nat.descFactorial_succ] |
| 99 | | succ n => |
| 100 | have he : n + 1 + 1 - 2 = n := by omega |
| 101 | simp only [polynomialJet, Nat.descFactorial_succ, Nat.descFactorial_zero, |
| 102 | Nat.sub_zero, Nat.cast_mul, Nat.cast_add, Nat.cast_one] |
| 103 | simp only [Nat.add_sub_cancel, he] |
| 104 | unfold radialDivisor |
| 105 | push_cast |
| 106 | rw [pow_succ] |
| 107 | ring |
| 108 | |
| 109 | /-- Coefficient formula for the actual regular radial differential operator. -/ |
| 110 | theorem radialValue_series (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 111 | (r : ℕ) (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) : |
| 112 | radialValue I ε r A (Y, η) = |
| 113 | ∑' n : ℕ, radialDivisor r n * Y ^ n * coefficient I (weight ε) A (n + 1) η := by |
| 114 | have h₂ := mixedSeries_summable I hε A 2 0 (p := (Y, η)) hY |
| 115 | have h₁ := mixedSeries_summable I hε A 1 0 (p := (Y, η)) hY |
| 116 | have hs := (h₂.mul_left Y).add (h₁.mul_left (r : ℝ)) |
| 117 | calc |
| 118 | _ = ∑' n : ℕ, (Y * term I ε A 2 0 n (Y, η) + |
| 119 | (r : ℝ) * term I ε A 1 0 n (Y, η)) := by |
| 120 | rw [Summable.tsum_add (h₂.mul_left Y) (h₁.mul_left (r : ℝ)), tsum_mul_left, tsum_mul_left] |
| 121 | rfl |
| 122 | _ = ∑' n : ℕ, (Y * term I ε A 2 0 (n + 1) (Y, η) + |
| 123 | (r : ℝ) * term I ε A 1 0 (n + 1) (Y, η)) := by |
| 124 | rw [hs.tsum_eq_zero_add] |
| 125 | simp [term, polynomialJet] |
| 126 | _ = _ := by |
| 127 | apply tsum_congr |
| 128 | intro n |
| 129 | calc |
| 130 | _ = (Y * polynomialJet (n + 1) 2 Y + (r : ℝ) * polynomialJet (n + 1) 1 Y) * |
| 131 | coefficient I (weight ε) A (n + 1) η := by unfold term coefficient; ring |
| 132 | _ = _ := by rw [polynomialJet_radial] |
| 133 | |
| 134 | /-- The regular inverse is a genuine right inverse on evaluated profiles. -/ |
| 135 | theorem regularInverse_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 136 | (r : ℕ) (hr : 1 ≤ r) (A : AxisSpace I ε) {Y η : ℝ} |
| 137 | (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 138 | radialValue I ε r (regularInverse I hε r hr A) (Y, η) = profile I ε A (Y, η) := by |
| 139 | rw [radialValue_series I hε r _ hY] |
| 140 | unfold profile |
| 141 | apply tsum_congr |
| 142 | intro n |
| 143 | change radialDivisor r n * Y ^ n * inputJet I ε (regularInverse I hε r hr A) (n + 1) 0 η = _ |
| 144 | rw [jet_regularInverse_succ I hε r hr A n 0 hη] |
| 145 | change radialDivisor r n * Y ^ n * (coefficient I (weight ε) A n η / radialDivisor r n) = _ |
| 146 | field_simp [(radialDivisor_pos hr n).ne'] |
| 147 | |
| 148 | theorem regularInverse_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 149 | (r : ℕ) (hr : 1 ≤ r) (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 150 | profile I ε (regularInverse I hε r hr A) (0, η) = 0 := by |
| 151 | rw [profile_axis] |
| 152 | exact jet_regularInverse_zero I hε r hr A 0 hη |
| 153 | |
| 154 | theorem derivativeSeries (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 155 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) : |
| 156 | mixedSeries I ε A 1 0 (Y, η) = |
| 157 | ∑' n : ℕ, ((n : ℝ) + 1) * Y ^ n * coefficient I (weight ε) A (n + 1) η := by |
| 158 | have hs := mixedSeries_summable I hε A 1 0 (p := (Y, η)) hY |
| 159 | unfold mixedSeries |
| 160 | rw [hs.tsum_eq_zero_add] |
| 161 | simp only [term, polynomialJet, Nat.zero_descFactorial_succ, Nat.cast_zero, |
| 162 | zero_mul, zero_add] |
| 163 | apply tsum_congr |
| 164 | intro n |
| 165 | simp [coefficient] |
| 166 | |
| 167 | theorem jet_average_eval (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 168 | (A : AxisSpace I ε) (n m : ℕ) {η : ℝ} (hη : η ∈ I.interval) : |
| 169 | inputJet I ε (average I hε A) n m η = inputJet I ε A n m η / ((n : ℝ) + 1) := by |
| 170 | change inputJet I ε (linearLift I hε (averageData I hε) A) n m η = _ |
| 171 | rw [jet_linearLift I hε (averageData I hε) A n m hη] |
| 172 | change (1 / ((n : ℝ) + 1)) * inputJet I ε A n (0 + m) η = _ |
| 173 | rw [Nat.zero_add] |
| 174 | ring |
| 175 | |
| 176 | theorem jet_primitive_eval (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 177 | (A : AxisSpace I ε) (n m : ℕ) {η : ℝ} (hη : η ∈ I.interval) : |
| 178 | inputJet I ε (primitive I hε A) n m η = primitiveScale n * inputJet I ε A n.pred m η := by |
| 179 | change inputJet I ε (linearLift I hε (primitiveData I hε) A) n m η = _ |
| 180 | rw [jet_linearLift I hε (primitiveData I hε) A n m hη] |
| 181 | change primitiveScale n * inputJet I ε A n.pred (0 + m) η = _ |
| 182 | rw [Nat.zero_add] |
| 183 | |
| 184 | theorem jet_parameterPrimitive_eval (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 185 | (A : AxisSpace I ε) (n m : ℕ) {η : ℝ} (hη : η ∈ I.interval) : |
| 186 | inputJet I ε (parameterPrimitive I hε A) n m η = |
| 187 | primitiveScale n * inputJet I ε A n.pred (1 + m) η := by |
| 188 | change inputJet I ε (linearLift I hε (parameterPrimitiveData I hε) A) n m η = _ |
| 189 | exact jet_linearLift I hε (parameterPrimitiveData I hε) A n m hη |
| 190 | |
| 191 | theorem jet_mulY_eval (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 192 | (A : AxisSpace I ε) (n m : ℕ) {η : ℝ} (hη : η ∈ I.interval) : |
| 193 | inputJet I ε (mulY I hε A) n m η = multiplyYScale n * inputJet I ε A n.pred m η := by |
| 194 | change inputJet I ε (linearLift I hε (multiplyYData I hε) A) n m η = _ |
| 195 | rw [jet_linearLift I hε (multiplyYData I hε) A n m hη] |
| 196 | change multiplyYScale n * inputJet I ε A n.pred (0 + m) η = _ |
| 197 | rw [Nat.zero_add] |
| 198 | |
| 199 | theorem primitive_Y_value (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 200 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 201 | mixedSeries I ε (primitive I hε A) 1 0 (Y, η) = profile I ε A (Y, η) := by |
| 202 | rw [derivativeSeries I hε _ hY] |
| 203 | unfold profile |
| 204 | apply tsum_congr |
| 205 | intro n |
| 206 | change ((n : ℝ) + 1) * Y ^ n * inputJet I ε (primitive I hε A) (n + 1) 0 η = _ |
| 207 | rw [jet_primitive_eval I hε A (n + 1) 0 hη] |
| 208 | simp only [primitiveScale, Nat.pred_succ] |
| 209 | change ((n : ℝ) + 1) * Y ^ n * (1 / ((n : ℝ) + 1) * coefficient I (weight ε) A n η) = _ |
| 210 | field_simp |
| 211 | |
| 212 | theorem primitive_hasDerivAt (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 213 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 214 | (hη : η ∈ Ioo I.left I.right) : |
| 215 | HasDerivAt (fun y => profile I ε (primitive I hε A) (y, η)) (profile I ε A (Y, η)) Y := by |
| 216 | have hd := mixedSeries_hasDerivAt_Y I hε (primitive I hε A) 0 0 hY hη |
| 217 | rw [mixedSeries_zero, primitive_Y_value I hε A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩] at hd |
| 218 | exact hd |
| 219 | |
| 220 | theorem primitive_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 221 | (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 222 | profile I ε (primitive I hε A) (0, η) = 0 := by |
| 223 | rw [profile_axis] |
| 224 | change inputJet I ε (primitive I hε A) 0 0 η = _ |
| 225 | rw [jet_primitive_eval I hε A 0 0 hη] |
| 226 | simp [primitiveScale] |
| 227 | |
| 228 | theorem profile_mulY (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 229 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 230 | profile I ε (mulY I hε A) (Y, η) = Y * profile I ε A (Y, η) := by |
| 231 | have hs := (profile_hasSum I hε (mulY I hε A) (p := (Y, η)) hY).summable |
| 232 | unfold profile |
| 233 | rw [hs.tsum_eq_zero_add] |
| 234 | have hzero : coefficient I (weight ε) (mulY I hε A) 0 η = 0 := by |
| 235 | change inputJet I ε (mulY I hε A) 0 0 η = _ |
| 236 | rw [jet_mulY_eval I hε A 0 0 hη] |
| 237 | simp [multiplyYScale] |
| 238 | rw [hzero, mul_zero, zero_add, ← tsum_mul_left] |
| 239 | apply tsum_congr |
| 240 | intro n |
| 241 | change Y ^ (n + 1) * inputJet I ε (mulY I hε A) (n + 1) 0 η = _ |
| 242 | rw [jet_mulY_eval I hε A (n + 1) 0 hη] |
| 243 | simp only [multiplyYScale, Nat.pred_succ, one_mul, pow_succ] |
| 244 | change Y ^ n * Y * coefficient I (weight ε) A n η = _ |
| 245 | ring |
| 246 | |
| 247 | theorem primitive_eq_mulY_average (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 248 | (A : AxisSpace I ε) : primitive I hε A = mulY I hε (average I hε A) := by |
| 249 | apply coefficient_ext I (weight ε) (fun n m => (weight_pos hε n m).ne') |
| 250 | intro n η hη |
| 251 | change inputJet I ε (primitive I hε A) n 0 η = inputJet I ε (mulY I hε (average I hε A)) n 0 η |
| 252 | rw [jet_primitive_eval I hε A n 0 hη, jet_mulY_eval I hε (average I hε A) n 0 hη, |
| 253 | jet_average_eval I hε A n.pred 0 hη] |
| 254 | cases n <;> simp [primitiveScale, multiplyYScale, div_eq_mul_inv, mul_comm] |
| 255 | |
| 256 | theorem average_times_Y (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 257 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 258 | Y * profile I ε (average I hε A) (Y, η) = profile I ε (primitive I hε A) (Y, η) := by |
| 259 | rw [primitive_eq_mulY_average, profile_mulY I hε _ hY hη] |
| 260 | |
| 261 | theorem parameterSeries (I : Window) (ε : ℝ) (A : AxisSpace I ε) |
| 262 | (m : ℕ) (Y η : ℝ) : |
| 263 | mixedSeries I ε A 0 m (Y, η) = ∑' n : ℕ, Y ^ n * inputJet I ε A n m η := by |
| 264 | simp only [mixedSeries, term, polynomialJet, Nat.descFactorial_zero, Nat.cast_one, |
| 265 | Nat.sub_zero, one_mul, inputJet] |
| 266 | |
| 267 | theorem parameterSeries_norm_summable (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 268 | (A : AxisSpace I ε) (m : ℕ) {Y η : ℝ} (hY : |Y| < 20) : |
| 269 | Summable (fun n : ℕ => ‖Y ^ n * inputJet I ε A n m η‖) := by |
| 270 | simpa only [term, polynomialJet, Nat.descFactorial_zero, Nat.cast_one, Nat.sub_zero, |
| 271 | one_mul, Prod.fst, Prod.snd, inputJet, Real.norm_eq_abs] using |
| 272 | (mixedSeries_summable I hε A 0 m (p := (Y, η)) hY).abs |
| 273 | |
| 274 | theorem polynomialJet_dot (n : ℕ) (Y : ℝ) : |
| 275 | Y * polynomialJet n 1 Y = (n : ℝ) * Y ^ n := by |
| 276 | cases n with |
| 277 | | zero => simp [polynomialJet] |
| 278 | | succ n => |
| 279 | simp only [polynomialJet, Nat.descFactorial_one, Nat.add_sub_cancel, |
| 280 | Nat.cast_add, Nat.cast_one, pow_succ] |
| 281 | ring |
| 282 | |
| 283 | theorem dotSeries (I : Window) (ε : ℝ) (A : AxisSpace I ε) (Y η : ℝ) : |
| 284 | Y * mixedSeries I ε A 1 0 (Y, η) = |
| 285 | ∑' n : ℕ, Y ^ n * ((n : ℝ) * inputJet I ε A n 0 η) := by |
| 286 | rw [mixedSeries, ← tsum_mul_left] |
| 287 | apply tsum_congr |
| 288 | intro n |
| 289 | change Y * (polynomialJet n 1 Y * inputJet I ε A n 0 η) = _ |
| 290 | rw [← mul_assoc, polynomialJet_dot] |
| 291 | ring |
| 292 | |
| 293 | theorem dotSeries_norm_summable (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 294 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) : |
| 295 | Summable (fun n : ℕ => ‖Y ^ n * ((n : ℝ) * inputJet I ε A n 0 η)‖) := by |
| 296 | have hs := ((mixedSeries_summable I hε A 1 0 (p := (Y, η)) hY).mul_left Y).abs |
| 297 | convert! hs using 1 |
| 298 | funext n |
| 299 | change |Y ^ n * ((n : ℝ) * inputJet I ε A n 0 η)| = |
| 300 | |Y * (polynomialJet n 1 Y * inputJet I ε A n 0 η)| |
| 301 | have he : Y * (polynomialJet n 1 Y * inputJet I ε A n 0 η) = |
| 302 | Y ^ n * ((n : ℝ) * inputJet I ε A n 0 η) := by |
| 303 | rw [← mul_assoc, polynomialJet_dot] |
| 304 | ring |
| 305 | rw [he] |
| 306 | |
| 307 | theorem radialValue_of_convolution (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 308 | (r : ℕ) (C : AxisSpace I ε) (f g : ℕ → ℝ) {Y η : ℝ} (hY : |Y| < 20) |
| 309 | (hf : Summable (fun n => ‖Y ^ n * f n‖)) |
| 310 | (hg : Summable (fun n => ‖Y ^ n * g n‖)) |
| 311 | (hC : ∀ n, radialDivisor r n * inputJet I ε C (n + 1) 0 η = |
| 312 | ∑ ij ∈ Finset.antidiagonal n, f ij.1 * g ij.2) : |
| 313 | radialValue I ε r C (Y, η) = (∑' n, Y ^ n * f n) * (∑' n, Y ^ n * g n) := by |
| 314 | rw [radialValue_series I hε r C hY, powerSeries_mul hf hg] |
| 315 | apply tsum_congr |
| 316 | intro n |
| 317 | change radialDivisor r n * Y ^ n * inputJet I ε C (n + 1) 0 η = _ |
| 318 | calc |
| 319 | _ = Y ^ n * (radialDivisor r n * inputJet I ε C (n + 1) 0 η) := by ring |
| 320 | _ = _ := by rw [hC n] |
| 321 | |
| 322 | theorem differentialFamily_cancel (I : Window) (ε : ℝ) (r p : ℕ) (hr : 1 ≤ r) |
| 323 | (d : ℕ → ℝ) (A B : AxisSpace I ε) (n : ℕ) (η : ℝ) : |
| 324 | radialDivisor r n * differentialFamily I ε r p d A B (n + 1) 0 η = |
| 325 | ∑ ij ∈ Finset.antidiagonal n, inputJet I ε A ij.1 p η * |
| 326 | (d ij.2 * inputJet I ε B ij.2 0 η) := by |
| 327 | simp only [differentialFamily, Finset.Nat.antidiagonal_zero, Finset.sum_singleton, |
| 328 | Nat.choose_zero_right, Nat.cast_one, mul_one, |
| 329 | Nat.add_zero, Finset.mul_sum] |
| 330 | apply Finset.sum_congr rfl |
| 331 | intro ij hij |
| 332 | field_simp [(radialDivisor_pos hr n).ne'] |
| 333 | |
| 334 | /-- The parameter derivative is on the first factor and the radial dot is |
| 335 | on the second factor, as required by the manuscript's mixed estimate. -/ |
| 336 | theorem inverseMixed_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 337 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {Y η : ℝ} |
| 338 | (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 339 | radialValue I ε r (inverseMixed I hε r hr A B) (Y, η) = |
| 340 | mixedSeries I ε A 0 1 (Y, η) * (Y * mixedSeries I ε B 1 0 (Y, η)) := by |
| 341 | rw [parameterSeries, dotSeries] |
| 342 | apply radialValue_of_convolution I hε r _ _ _ hY |
| 343 | (parameterSeries_norm_summable I hε A 1 hY) (dotSeries_norm_summable I hε B hY) |
| 344 | intro n |
| 345 | rw [jet_inverseMixed I hε r hr A B (n + 1) 0 hη] |
| 346 | exact differentialFamily_cancel I ε r 1 hr (fun j => (j : ℝ)) A B n η |
| 347 | |
| 348 | theorem inverseParamProduct_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 349 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {Y η : ℝ} |
| 350 | (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 351 | radialValue I ε r (inverseParamProduct I hε r hr A B) (Y, η) = |
| 352 | mixedSeries I ε A 0 1 (Y, η) * profile I ε B (Y, η) := by |
| 353 | rw [parameterSeries] |
| 354 | change radialValue I ε r (inverseParamProduct I hε r hr A B) (Y, η) = |
| 355 | (∑' n, Y ^ n * inputJet I ε A n 1 η) * (∑' n, Y ^ n * inputJet I ε B n 0 η) |
| 356 | apply radialValue_of_convolution I hε r _ _ _ hY |
| 357 | (parameterSeries_norm_summable I hε A 1 hY) (parameterSeries_norm_summable I hε B 0 hY) |
| 358 | intro n |
| 359 | rw [jet_inverseParamProduct I hε r hr A B (n + 1) 0 hη] |
| 360 | simpa only [one_mul] using differentialFamily_cancel I ε r 1 hr (fun _ => 1) A B n η |
| 361 | |
| 362 | theorem inverseDotProduct_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 363 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {Y η : ℝ} |
| 364 | (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 365 | radialValue I ε r (inverseDotProduct I hε r hr A B) (Y, η) = |
| 366 | profile I ε A (Y, η) * (Y * mixedSeries I ε B 1 0 (Y, η)) := by |
| 367 | rw [dotSeries] |
| 368 | change radialValue I ε r (inverseDotProduct I hε r hr A B) (Y, η) = |
| 369 | (∑' n : ℕ, Y ^ n * inputJet I ε A n 0 η) * |
| 370 | (∑' n : ℕ, Y ^ n * ((n : ℝ) * inputJet I ε B n 0 η)) |
| 371 | apply radialValue_of_convolution I hε r _ _ _ hY |
| 372 | (parameterSeries_norm_summable I hε A 0 hY) (dotSeries_norm_summable I hε B hY) |
| 373 | intro n |
| 374 | rw [jet_inverseDotProduct I hε r hr A B (n + 1) 0 hη] |
| 375 | exact differentialFamily_cancel I ε r 0 hr (fun j => (j : ℝ)) A B n η |
| 376 | |
| 377 | theorem inverseMixed_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 378 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 379 | profile I ε (inverseMixed I hε r hr A B) (0, η) = 0 := by |
| 380 | rw [profile_axis] |
| 381 | exact jet_inverseMixed I hε r hr A B 0 0 hη |
| 382 | |
| 383 | theorem inverseParamProduct_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 384 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 385 | profile I ε (inverseParamProduct I hε r hr A B) (0, η) = 0 := by |
| 386 | rw [profile_axis] |
| 387 | exact jet_inverseParamProduct I hε r hr A B 0 0 hη |
| 388 | |
| 389 | theorem inverseDotProduct_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 390 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 391 | profile I ε (inverseDotProduct I hε r hr A B) (0, η) = 0 := by |
| 392 | rw [profile_axis] |
| 393 | exact jet_inverseDotProduct I hε r hr A B 0 0 hη |
| 394 | |
| 395 | theorem parameterPrimitive_eta_value (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 396 | (A : AxisSpace I ε) (Y : ℝ) {η : ℝ} (hη : η ∈ I.interval) : |
| 397 | profile I ε (parameterPrimitive I hε A) (Y, η) = |
| 398 | mixedSeries I ε (primitive I hε A) 0 1 (Y, η) := by |
| 399 | rw [parameterSeries] |
| 400 | unfold profile |
| 401 | apply tsum_congr |
| 402 | intro n |
| 403 | change Y ^ n * inputJet I ε (parameterPrimitive I hε A) n 0 η = _ |
| 404 | rw [jet_parameterPrimitive_eval I hε A n 0 hη, jet_primitive_eval I hε A n 1 hη] |
| 405 | |
| 406 | /-- The pressure parameter primitive is the actual parameter derivative |
| 407 | of the radial primitive. -/ |
| 408 | theorem parameterPrimitive_eq_deriv_eta (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 409 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 410 | (hη : η ∈ Ioo I.left I.right) : |
| 411 | profile I ε (parameterPrimitive I hε A) (Y, η) = |
| 412 | deriv (fun x => profile I ε (primitive I hε A) (Y, x)) η := by |
| 413 | rw [profile_deriv_eta I hε _ hY hη] |
| 414 | exact parameterPrimitive_eta_value I hε A Y ⟨hη.1.le, hη.2.le⟩ |
| 415 | |
| 416 | theorem parameterPrimitive_Y_value (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 417 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 418 | mixedSeries I ε (parameterPrimitive I hε A) 1 0 (Y, η) = |
| 419 | mixedSeries I ε A 0 1 (Y, η) := by |
| 420 | rw [derivativeSeries I hε _ hY, parameterSeries] |
| 421 | apply tsum_congr |
| 422 | intro n |
| 423 | change ((n : ℝ) + 1) * Y ^ n * inputJet I ε (parameterPrimitive I hε A) (n + 1) 0 η = _ |
| 424 | rw [jet_parameterPrimitive_eval I hε A (n + 1) 0 hη] |
| 425 | simp only [primitiveScale, Nat.pred_succ, Nat.add_zero] |
| 426 | field_simp |
| 427 | |
| 428 | theorem parameterPrimitive_hasDerivAt (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 429 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 430 | (hη : η ∈ Ioo I.left I.right) : |
| 431 | HasDerivAt (fun y => profile I ε (parameterPrimitive I hε A) (y, η)) |
| 432 | (deriv (fun x => profile I ε A (Y, x)) η) Y := by |
| 433 | have hd := mixedSeries_hasDerivAt_Y I hε (parameterPrimitive I hε A) 0 0 hY hη |
| 434 | rw [mixedSeries_zero, parameterPrimitive_Y_value I hε A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩] at hd |
| 435 | rwa [profile_deriv_eta I hε A hY hη] |
| 436 | |
| 437 | theorem parameterPrimitive_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 438 | (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 439 | profile I ε (parameterPrimitive I hε A) (0, η) = 0 := by |
| 440 | rw [profile_axis] |
| 441 | change inputJet I ε (parameterPrimitive I hε A) 0 0 η = _ |
| 442 | rw [jet_parameterPrimitive_eval I hε A 0 0 hη] |
| 443 | simp [primitiveScale] |
| 444 | |
| 445 | theorem radial_segment_mem {Y y : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 446 | (hy : y ∈ uIcc (0 : ℝ) Y) : y ∈ Ioo (-20 : ℝ) 20 := by |
| 447 | rcases le_total (0 : ℝ) Y with h | h |
| 448 | · rw [uIcc_of_le h] at hy |
| 449 | exact ⟨lt_of_lt_of_le (by norm_num) hy.1, hy.2.trans_lt hY.2⟩ |
| 450 | · rw [uIcc_of_ge h] at hy |
| 451 | exact ⟨hY.1.trans_le hy.1, lt_of_le_of_lt hy.2 (by norm_num)⟩ |
| 452 | |
| 453 | /-- The coefficient primitive equals the ordinary oriented integral. -/ |
| 454 | theorem primitive_integral (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 455 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 456 | (hη : η ∈ Ioo I.left I.right) : |
| 457 | profile I ε (primitive I hε A) (Y, η) = |
| 458 | ∫ y in (0 : ℝ)..Y, profile I ε A (y, η) := by |
| 459 | have hcont : ContinuousOn (fun y => profile I ε A (y, η)) (uIcc (0 : ℝ) Y) := by |
| 460 | intro y hy |
| 461 | have hd := mixedSeries_hasDerivAt_Y I hε A 0 0 (radial_segment_mem hY hy) hη |
| 462 | rw [mixedSeries_zero] at hd |
| 463 | exact hd.continuousAt.continuousWithinAt |
| 464 | have hi := intervalIntegral.integral_eq_sub_of_hasDerivAt |
| 465 | (fun y hy => primitive_hasDerivAt I hε A (radial_segment_mem hY hy) hη) |
| 466 | hcont.intervalIntegrable |
| 467 | rw [primitive_axis_zero I hε A ⟨hη.1.le, hη.2.le⟩, sub_zero] at hi |
| 468 | exact hi.symm |
| 469 | |
| 470 | theorem average_integral (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 471 | (A : AxisSpace I ε) {Y η : ℝ} (hY : Y ∈ Ioo (-20 : ℝ) 20) |
| 472 | (hη : η ∈ Ioo I.left I.right) : |
| 473 | Y * profile I ε (average I hε A) (Y, η) = |
| 474 | ∫ y in (0 : ℝ)..Y, profile I ε A (y, η) := by |
| 475 | rw [average_times_Y I hε A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩] |
| 476 | exact primitive_integral I hε A hY hη |
| 477 | |
| 478 | theorem regularInverse_actual_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 479 | (r : ℕ) (hr : 1 ≤ r) (A : AxisSpace I ε) {Y η : ℝ} |
| 480 | (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : |
| 481 | Y * iteratedDeriv 2 (fun y => profile I ε (regularInverse I hε r hr A) (y, η)) Y + |
| 482 | (r : ℝ) * deriv (fun y => profile I ε (regularInverse I hε r hr A) (y, η)) Y = |
| 483 | profile I ε A (Y, η) := by |
| 484 | rw [← radialValue_eq_derivatives I hε r _ hY hη] |
| 485 | exact regularInverse_equation I hε r hr A (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩ |
| 486 | |
| 487 | theorem inverseMixed_actual_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 488 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) {Y η : ℝ} |
| 489 | (hY : Y ∈ Ioo (-20 : ℝ) 20) (hη : η ∈ Ioo I.left I.right) : |
| 490 | Y * iteratedDeriv 2 (fun y => profile I ε (inverseMixed I hε r hr A B) (y, η)) Y + |
| 491 | (r : ℝ) * deriv (fun y => profile I ε (inverseMixed I hε r hr A B) (y, η)) Y = |
| 492 | deriv (fun x => profile I ε A (Y, x)) η * |
| 493 | (Y * deriv (fun y => profile I ε B (y, η)) Y) := by |
| 494 | rw [← radialValue_eq_derivatives I hε r _ hY hη, |
| 495 | profile_deriv_eta I hε A hY hη, profile_deriv_Y I hε B hY hη] |
| 496 | exact inverseMixed_equation I hε r hr A B (abs_lt.mpr hY) ⟨hη.1.le, hη.2.le⟩ |
| 497 | |
| 498 | theorem average_axis (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 499 | (A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 500 | profile I ε (average I hε A) (0, η) = profile I ε A (0, η) := by |
| 501 | rw [profile_axis, profile_axis] |
| 502 | change inputJet I ε (average I hε A) 0 0 η = inputJet I ε A 0 0 η |
| 503 | rw [jet_average_eval I hε A 0 0 hη] |
| 504 | norm_num |
| 505 | |
| 506 | theorem average_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 507 | (A : AxisSpace I ε) {Y η : ℝ} (hY : |Y| < 20) (hη : η ∈ I.interval) : |
| 508 | profile I ε (average I hε A) (Y, η) + |
| 509 | Y * mixedSeries I ε (average I hε A) 1 0 (Y, η) = profile I ε A (Y, η) := by |
| 510 | have hs := (parameterSeries_norm_summable I hε (average I hε A) 0 (η := η) hY).of_norm |
| 511 | have hd := (dotSeries_norm_summable I hε (average I hε A) (η := η) hY).of_norm |
| 512 | change (∑' n : ℕ, Y ^ n * inputJet I ε (average I hε A) n 0 η) + |
| 513 | Y * mixedSeries I ε (average I hε A) 1 0 (Y, η) = |
| 514 | ∑' n : ℕ, Y ^ n * inputJet I ε A n 0 η |
| 515 | rw [dotSeries, ← hs.tsum_add hd] |
| 516 | apply tsum_congr |
| 517 | intro n |
| 518 | rw [jet_average_eval I hε A n 0 hη] |
| 519 | field_simp ; ring |
| 520 | |
| 521 | end NavierStokes.AxisEvaluationAlgebra |