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.AxisContraction |
| 2 | import NavierStokes.AxisEvaluationAlgebra |
| 3 | import Mathlib.Analysis.Calculus.Deriv.Mul |
| 4 | import Mathlib.Tactic.Ring |
| 5 | |
| 6 | /-! |
| 7 | # From the coefficient fixed point to actual natural-axis profiles |
| 8 | |
| 9 | This bridge uses ordinary real derivatives of the evaluated functions. The |
| 10 | fixed input data must still be supplied as members of the coefficient space; |
| 11 | their construction from the outgoing schedule is a separate obligation. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.NaturalAxisBridge |
| 17 | |
| 18 | private local instance (I : AxisCoefficientSpace.Window) (ε : ℝ) : |
| 19 | NormedAddCommGroup (AxisCoefficientSpace.AxisSpace I ε) := inferInstance |
| 20 | private local instance (I : AxisCoefficientSpace.Window) (ε : ℝ) : |
| 21 | NormedSpace ℝ (AxisCoefficientSpace.AxisSpace I ε) := inferInstance |
| 22 | |
| 23 | open Set Filter |
| 24 | open scoped Topology ContDiff |
| 25 | open AxisCoefficientSpace AxisWeightEstimates |
| 26 | |
| 27 | /-- Ordinary radial partial derivative of an actual function. -/ |
| 28 | def partialY (F : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 29 | deriv (fun Y => F (Y, p.2)) p.1 |
| 30 | |
| 31 | /-- Ordinary parameter partial derivative of an actual function. -/ |
| 32 | def partialEta (F : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 33 | deriv (fun η => F (p.1, η)) p.2 |
| 34 | |
| 35 | /-- Actual mixed derivative, with the order used by the manuscript's jet bounds. -/ |
| 36 | def mixedDerivative (k m : ℕ) (F : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 37 | iteratedDeriv m (fun η => iteratedDeriv k (fun Y => F (Y, η)) p.1) p.2 |
| 38 | |
| 39 | /-- The singular radial differential expression, evaluated without division by `Y`. -/ |
| 40 | def radialDifferential (r : ℕ) (F : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 41 | p.1 * iteratedDeriv 2 (fun Y => F (Y, p.2)) p.1 + (r : ℝ) * partialY F p |
| 42 | |
| 43 | /-- The same expression in terms of the rigorously differentiated sums. -/ |
| 44 | def radialEvaluation (I : Window) (ε : ℝ) (r : ℕ) (A : AxisSpace I ε) (p : ℝ × ℝ) : ℝ := |
| 45 | p.1 * AxisEvaluation.mixedSeries I ε A 2 0 p + |
| 46 | (r : ℝ) * AxisEvaluation.mixedSeries I ε A 1 0 p |
| 47 | |
| 48 | theorem partialY_profile (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 49 | (A : AxisSpace I ε) {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 50 | partialY (AxisEvaluation.profile I ε A) p = AxisEvaluation.mixedSeries I ε A 1 0 p := by |
| 51 | simpa only [partialY, AxisEvaluation.mixedSeries_zero] using |
| 52 | (AxisEvaluation.mixedSeries_hasDerivAt_Y I hε A 0 0 hp.1 hp.2).deriv |
| 53 | |
| 54 | theorem partialEta_profile (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 55 | (A : AxisSpace I ε) {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 56 | partialEta (AxisEvaluation.profile I ε A) p = AxisEvaluation.mixedSeries I ε A 0 1 p := by |
| 57 | simpa only [partialEta, AxisEvaluation.mixedSeries_zero] using |
| 58 | (AxisEvaluation.mixedSeries_hasDerivAt_eta I hε A 0 0 hp.1 hp.2).deriv |
| 59 | |
| 60 | theorem mixedDerivative_profile (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 61 | (A : AxisSpace I ε) (k m : ℕ) {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 62 | mixedDerivative k m (AxisEvaluation.profile I ε A) p = |
| 63 | AxisEvaluation.mixedSeries I ε A k m p := by |
| 64 | simpa only [mixedDerivative, AxisEvaluation.mixedSeries, AxisEvaluation.term, |
| 65 | AxisEvaluation.polynomialJet] using |
| 66 | AxisEvaluation.mixed_derivative_profile I hε A k m hp.1 hp.2 |
| 67 | |
| 68 | theorem radialEvaluation_eq (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 69 | (r : ℕ) (A : AxisSpace I ε) {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 70 | radialEvaluation I ε r A p = radialDifferential r (AxisEvaluation.profile I ε A) p := by |
| 71 | have h2 := AxisEvaluation.iteratedDeriv_Y I hε A 0 0 2 hp.1 hp.2 |
| 72 | simp only [AxisEvaluation.mixedSeries_zero, Nat.zero_add] at h2 |
| 73 | rw [radialEvaluation, radialDifferential, partialY_profile I hε A hp, h2] |
| 74 | |
| 75 | theorem profile_add (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 76 | (A B : AxisSpace I ε) {p : ℝ × ℝ} (hp : |p.1| < 20) : |
| 77 | AxisEvaluation.profile I ε (A + B) p = |
| 78 | AxisEvaluation.profile I ε A p + AxisEvaluation.profile I ε B p := by |
| 79 | simpa only [AxisEvaluation.mixedSeries_zero] using |
| 80 | AxisEvaluation.mixedSeries_add I hε A B 0 0 hp |
| 81 | |
| 82 | theorem profile_smul (I : Window) (ε c : ℝ) (A : AxisSpace I ε) (p : ℝ × ℝ) : |
| 83 | AxisEvaluation.profile I ε (c • A) p = c * AxisEvaluation.profile I ε A p := by |
| 84 | simpa only [AxisEvaluation.mixedSeries_zero] using |
| 85 | AxisEvaluation.mixedSeries_smul I ε c A 0 0 p |
| 86 | |
| 87 | theorem profile_sub (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 88 | (A B : AxisSpace I ε) {p : ℝ × ℝ} (hp : |p.1| < 20) : |
| 89 | AxisEvaluation.profile I ε (A - B) p = |
| 90 | AxisEvaluation.profile I ε A p - AxisEvaluation.profile I ε B p := by |
| 91 | simpa only [AxisEvaluation.mixedSeries_zero] using |
| 92 | AxisEvaluation.mixedSeries_sub I hε A B 0 0 hp |
| 93 | |
| 94 | theorem profile_zero (I : Window) (ε : ℝ) (p : ℝ × ℝ) : |
| 95 | AxisEvaluation.profile I ε (0 : AxisSpace I ε) p = 0 := by |
| 96 | simp [AxisEvaluation.profile, coefficient] |
| 97 | |
| 98 | theorem radialEvaluation_add (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 99 | (r : ℕ) (A B : AxisSpace I ε) {p : ℝ × ℝ} (hp : |p.1| < 20) : |
| 100 | radialEvaluation I ε r (A + B) p = |
| 101 | radialEvaluation I ε r A p + radialEvaluation I ε r B p := by |
| 102 | simp only [radialEvaluation, AxisEvaluation.mixedSeries_add I hε A B _ _ hp] |
| 103 | ring |
| 104 | |
| 105 | theorem radialEvaluation_sub (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 106 | (r : ℕ) (A B : AxisSpace I ε) {p : ℝ × ℝ} (hp : |p.1| < 20) : |
| 107 | radialEvaluation I ε r (A - B) p = |
| 108 | radialEvaluation I ε r A p - radialEvaluation I ε r B p := by |
| 109 | simp only [radialEvaluation, AxisEvaluation.mixedSeries_sub I hε A B _ _ hp] |
| 110 | ring |
| 111 | |
| 112 | theorem radialEvaluation_smul (I : Window) (ε c : ℝ) |
| 113 | (r : ℕ) (A : AxisSpace I ε) (p : ℝ × ℝ) : |
| 114 | radialEvaluation I ε r (c • A) p = c * radialEvaluation I ε r A p := by |
| 115 | simp only [radialEvaluation, AxisEvaluation.mixedSeries_smul] |
| 116 | ring |
| 117 | |
| 118 | /-- Fixed axis data have radial degree zero; parameter dependence remains unrestricted. -/ |
| 119 | def RadiallyConstant (I : Window) (ε : ℝ) (A : AxisSpace I ε) : Prop := |
| 120 | ∀ n : ℕ, n ≠ 0 → ∀ η : ℝ, η ∈ I.interval → coefficient I (weight ε) A n η = 0 |
| 121 | |
| 122 | theorem profile_radiallyConstant (I : Window) (ε : ℝ) (A : AxisSpace I ε) |
| 123 | (hA : RadiallyConstant I ε A) (Y : ℝ) {η : ℝ} (hη : η ∈ I.interval) : |
| 124 | AxisEvaluation.profile I ε A (Y, η) = coefficient I (weight ε) A 0 η := by |
| 125 | unfold AxisEvaluation.profile |
| 126 | rw [tsum_eq_single 0] |
| 127 | · simp |
| 128 | · intro n hn |
| 129 | simp only [hA n hn η hη, mul_zero] |
| 130 | |
| 131 | theorem radialEvaluation_constant (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 132 | (r : ℕ) (A : AxisSpace I ε) (hA : RadiallyConstant I ε A) |
| 133 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 134 | radialEvaluation I ε r A p = 0 := by |
| 135 | rw [radialEvaluation_eq I hε r A hp] |
| 136 | have hfun : (fun Y => AxisEvaluation.profile I ε A (Y, p.2)) = |
| 137 | fun _ : ℝ => coefficient I (weight ε) A 0 p.2 := by |
| 138 | funext Y |
| 139 | exact profile_radiallyConstant I ε A hA Y ⟨hp.2.1.le, hp.2.2.le⟩ |
| 140 | simp only [radialDifferential, partialY, hfun] |
| 141 | norm_num [iteratedDeriv_succ, iteratedDeriv_zero] |
| 142 | |
| 143 | theorem coefficient_product_constant (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 144 | (A B : AxisSpace I ε) (hA : RadiallyConstant I ε A) |
| 145 | (n : ℕ) {η : ℝ} (hη : η ∈ I.interval) : |
| 146 | coefficient I (weight ε) (AxisOperators.product I hε A B) n η = |
| 147 | coefficient I (weight ε) A 0 η * coefficient I (weight ε) B n η := by |
| 148 | classical |
| 149 | rw [AxisOperators.coefficient_product I hε A B n hη] |
| 150 | apply Finset.sum_eq_single (0, n) |
| 151 | · intro ij hij hne |
| 152 | have hi : ij.1 ≠ 0 := by |
| 153 | intro hi |
| 154 | have hs := Finset.mem_antidiagonal.mp hij |
| 155 | apply hne |
| 156 | apply Prod.ext |
| 157 | · exact hi |
| 158 | · simpa only [hi, zero_add] using hs |
| 159 | simp only [hA ij.1 hi η hη, zero_mul] |
| 160 | · simp |
| 161 | |
| 162 | /-- A fixed parameter multiplier commutes with the radial differential expression. -/ |
| 163 | theorem radialEvaluation_product_constant (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 164 | (r : ℕ) (A B : AxisSpace I ε) (hA : RadiallyConstant I ε A) |
| 165 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 166 | radialEvaluation I ε r (AxisOperators.product I hε A B) p = |
| 167 | AxisEvaluation.profile I ε A p * radialEvaluation I ε r B p := by |
| 168 | have hη : p.2 ∈ I.interval := ⟨hp.2.1.le, hp.2.2.le⟩ |
| 169 | have hY : |p.1| < 20 := abs_lt.mpr hp.1 |
| 170 | change AxisEvaluationAlgebra.radialValue I ε r (AxisOperators.product I hε A B) p = |
| 171 | AxisEvaluation.profile I ε A p * AxisEvaluationAlgebra.radialValue I ε r B p |
| 172 | rw [AxisEvaluationAlgebra.radialValue_series I hε r _ hY, |
| 173 | AxisEvaluationAlgebra.radialValue_series I hε r _ hY, |
| 174 | profile_radiallyConstant I ε A hA p.1 hη, ← tsum_mul_left] |
| 175 | apply tsum_congr |
| 176 | intro n |
| 177 | rw [coefficient_product_constant I hε A B hA (n + 1) hη] |
| 178 | ring |
| 179 | |
| 180 | theorem profile_neg (I : Window) (ε : ℝ) (A : AxisSpace I ε) (p : ℝ × ℝ) : |
| 181 | AxisEvaluation.profile I ε (-A) p = -AxisEvaluation.profile I ε A p := by |
| 182 | simpa only [neg_one_smul, neg_one_mul] using profile_smul I ε (-1) A p |
| 183 | |
| 184 | theorem radialEvaluation_regularInverse (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 185 | (r : ℕ) (hr : 1 ≤ r) (A : AxisSpace I ε) |
| 186 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 187 | radialEvaluation I ε r (AxisOperators.regularInverse I hε r hr A) p = |
| 188 | AxisEvaluation.profile I ε A p := |
| 189 | AxisEvaluationAlgebra.regularInverse_equation I hε r hr A |
| 190 | (abs_lt.mpr hp.1) ⟨hp.2.1.le, hp.2.2.le⟩ |
| 191 | |
| 192 | theorem radialEvaluation_param (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 193 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) |
| 194 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 195 | radialEvaluation I ε r (AxisOperators.inverseParamProduct I hε r hr A B) p = |
| 196 | partialEta (AxisEvaluation.profile I ε A) p * AxisEvaluation.profile I ε B p := by |
| 197 | rw [partialEta_profile I hε A hp] |
| 198 | exact AxisEvaluationAlgebra.inverseParamProduct_equation I hε r hr A B |
| 199 | (abs_lt.mpr hp.1) ⟨hp.2.1.le, hp.2.2.le⟩ |
| 200 | |
| 201 | theorem radialEvaluation_dot (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 202 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) |
| 203 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 204 | radialEvaluation I ε r (AxisOperators.inverseDotProduct I hε r hr A B) p = |
| 205 | AxisEvaluation.profile I ε A p * (p.1 * partialY (AxisEvaluation.profile I ε B) p) := by |
| 206 | rw [partialY_profile I hε B hp] |
| 207 | exact AxisEvaluationAlgebra.inverseDotProduct_equation I hε r hr A B |
| 208 | (abs_lt.mpr hp.1) ⟨hp.2.1.le, hp.2.2.le⟩ |
| 209 | |
| 210 | theorem radialEvaluation_mixed (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 211 | (r : ℕ) (hr : 1 ≤ r) (A B : AxisSpace I ε) |
| 212 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 213 | radialEvaluation I ε r (AxisOperators.inverseMixed I hε r hr A B) p = |
| 214 | partialEta (AxisEvaluation.profile I ε A) p * |
| 215 | (p.1 * partialY (AxisEvaluation.profile I ε B) p) := by |
| 216 | rw [partialEta_profile I hε A hp, partialY_profile I hε B hp] |
| 217 | exact AxisEvaluationAlgebra.inverseMixed_equation I hε r hr A B |
| 218 | (abs_lt.mpr hp.1) ⟨hp.2.1.le, hp.2.2.le⟩ |
| 219 | |
| 220 | /-- Fixed parameter functions appearing in the scaled natural equations. -/ |
| 221 | structure ParameterData where |
| 222 | A : ℝ |
| 223 | D : ℝ |
| 224 | h : ℝ |
| 225 | chi : ℝ → ℝ |
| 226 | d : ℝ → ℝ |
| 227 | inverseL : ℝ → ℝ |
| 228 | uStar : ℝ → ℝ |
| 229 | uStarEta : ℝ → ℝ |
| 230 | wStar : ℝ → ℝ |
| 231 | hStar : ℝ → ℝ |
| 232 | kappa : ℝ → ℝ |
| 233 | zStar : ℝ → ℝ |
| 234 | |
| 235 | /-- The actual parameter function represented by the zeroth radial coefficient. -/ |
| 236 | def inputValue (I : Window) (ε : ℝ) (A : AxisSpace I ε) : ℝ → ℝ := |
| 237 | coefficient I (weight ε) A 0 |
| 238 | |
| 239 | /-- The fixed fields of the integrated system, interpreted as actual functions. -/ |
| 240 | def parameters (I : Window) (ε : ℝ) (χ : AxisSpace I ε) |
| 241 | (d : AxisContraction.AxisData (AxisSpace I ε)) : ParameterData where |
| 242 | A := d.A |
| 243 | D := d.D |
| 244 | h := d.h |
| 245 | chi := inputValue I ε χ |
| 246 | d := inputValue I ε d.d |
| 247 | inverseL := inputValue I ε d.inverseL |
| 248 | uStar := inputValue I ε d.uStar |
| 249 | uStarEta := inputValue I ε d.uStarEta |
| 250 | wStar := inputValue I ε d.wStar |
| 251 | hStar := inputValue I ε d.hStar |
| 252 | kappa := inputValue I ε d.normalizedGradient |
| 253 | zStar := inputValue I ε d.zStar |
| 254 | |
| 255 | /-- Fixed analytic input data are independent of the radial coordinate. |
| 256 | These hypotheses concern only the given inputs, never the unknown profiles. -/ |
| 257 | structure CompatibleData (I : Window) (ε : ℝ) (χ : AxisSpace I ε) |
| 258 | (d : AxisContraction.AxisData (AxisSpace I ε)) : Prop where |
| 259 | chi_radial : RadiallyConstant I ε χ |
| 260 | one_radial : RadiallyConstant I ε d.one |
| 261 | eta_radial : RadiallyConstant I ε d.eta |
| 262 | d_radial : RadiallyConstant I ε d.d |
| 263 | inverseL_radial : RadiallyConstant I ε d.inverseL |
| 264 | uStar_radial : RadiallyConstant I ε d.uStar |
| 265 | uStarEta_radial : RadiallyConstant I ε d.uStarEta |
| 266 | wStar_radial : RadiallyConstant I ε d.wStar |
| 267 | hStar_radial : RadiallyConstant I ε d.hStar |
| 268 | gradient_radial : RadiallyConstant I ε d.normalizedGradient |
| 269 | zStar_radial : RadiallyConstant I ε d.zStar |
| 270 | one_value : ∀ η ∈ I.interval, inputValue I ε d.one η = 1 |
| 271 | eta_value : ∀ η ∈ I.interval, inputValue I ε d.eta η = η |
| 272 | uStarEta_value : ∀ η ∈ Ioo I.left I.right, |
| 273 | inputValue I ε d.uStarEta η = deriv (inputValue I ε d.uStar) η |
| 274 | |
| 275 | /-- The pressure source in the complete coefficient space. -/ |
| 276 | def pressureSource (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 277 | (a Φ : AxisSpace I ε) : AxisSpace I ε := |
| 278 | AxisOperators.product I hε (AxisOperators.product I hε a a) |
| 279 | (AxisOperators.product I hε Φ Φ) |
| 280 | |
| 281 | def pressureCoefficient (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 282 | (a Φ : AxisSpace I ε) : AxisSpace I ε := |
| 283 | AxisOperators.primitive I hε (pressureSource I hε a Φ) |
| 284 | |
| 285 | /-- The reconstructed axial profile `U=U*+Λ⁻¹u`. -/ |
| 286 | def reconstructedU (d : ParameterData) (t : ℝ) (u : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 287 | d.uStar p.2 + t * u p |
| 288 | |
| 289 | /-- The actual transport coefficient using the regular radial average. -/ |
| 290 | def reconstructedW (d : ParameterData) (t : ℝ) (B : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 291 | d.wStar p.2 - t * ((2 * d.D * p.2) * B p + d.d p.2 * partialEta B p) |
| 292 | |
| 293 | def reconstructedH (d : ParameterData) (t : ℝ) (u : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 294 | d.hStar p.2 + t * d.d p.2 * u p |
| 295 | |
| 296 | /-- The first remainder in equation (17), using ordinary derivatives of |
| 297 | actual functions and `κ=ξ₀/Λ`. -/ |
| 298 | def angularRemainder (d : ParameterData) (t : ℝ) |
| 299 | (Φ u B : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 300 | d.inverseL p.2 * |
| 301 | ((reconstructedW d t B p + d.h * (1 - 2 * p.2 * reconstructedU d t u p) + |
| 302 | d.d p.2 * u p * d.kappa p.2) * Φ p + |
| 303 | reconstructedW d t B p * (p.1 * partialY Φ p) + |
| 304 | reconstructedH d t u p * partialEta Φ p) |
| 305 | |
| 306 | /-- The expanded second remainder in equation (17), including all pressure |
| 307 | terms and the actual parameter derivative of the pressure correction. -/ |
| 308 | def axialRemainder (d : ParameterData) (t : ℝ) |
| 309 | (u B P : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 310 | d.inverseL p.2 * |
| 311 | (d.A * (1 - 4 * p.2 * d.uStar p.2) * u p - |
| 312 | 2 * d.A * p.2 * t * (u p) ^ 2 + |
| 313 | reconstructedW d t B p * (p.1 * partialY u p) + |
| 314 | d.hStar p.2 * partialEta u p + d.d p.2 * d.uStarEta p.2 * u p + |
| 315 | t * d.d p.2 * u p * partialEta u p - |
| 316 | 4 * d.A * p.2 * P p + d.d p.2 * partialEta P p - |
| 317 | 2 * p.2 * (p.1 * partialY P p)) |
| 318 | |
| 319 | /-- The target is an equation for actual smooth profiles, together with the |
| 320 | regular-average and pressure identities that determine its auxiliary fields. -/ |
| 321 | structure IsScaledSolution (I : Window) (d : ParameterData) (t : ℝ) (a : ℝ → ℝ) |
| 322 | (Φ u B P : ℝ × ℝ → ℝ) : Prop where |
| 323 | phi_smooth : ContDiffOn ℝ ∞ Φ (AxisEvaluation.strip I 20) |
| 324 | u_smooth : ContDiffOn ℝ ∞ u (AxisEvaluation.strip I 20) |
| 325 | average_smooth : ContDiffOn ℝ ∞ B (AxisEvaluation.strip I 20) |
| 326 | pressure_smooth : ContDiffOn ℝ ∞ P (AxisEvaluation.strip I 20) |
| 327 | phi_axis : ∀ η ∈ Ioo I.left I.right, Φ (0, η) = 1 |
| 328 | u_axis : ∀ η ∈ Ioo I.left I.right, u (0, η) = 0 |
| 329 | average_axis : ∀ η ∈ Ioo I.left I.right, B (0, η) = u (0, η) |
| 330 | pressure_axis : ∀ η ∈ Ioo I.left I.right, P (0, η) = 0 |
| 331 | average_equation : ∀ p ∈ AxisEvaluation.strip I 20, |
| 332 | B p + p.1 * partialY B p = u p |
| 333 | pressure_equation : ∀ p ∈ AxisEvaluation.strip I 20, |
| 334 | partialY P p = (a p.2) ^ 2 * (Φ p) ^ 2 |
| 335 | average_integral : ∀ p ∈ AxisEvaluation.strip I 20, |
| 336 | p.1 * B p = ∫ y in (0 : ℝ)..p.1, u (y, p.2) |
| 337 | pressure_integral : ∀ p ∈ AxisEvaluation.strip I 20, |
| 338 | P p = ∫ y in (0 : ℝ)..p.1, (a p.2) ^ 2 * (Φ (y, p.2)) ^ 2 |
| 339 | angular_equation : ∀ p ∈ AxisEvaluation.strip I 20, |
| 340 | 2 * radialDifferential 2 Φ p = -d.chi p.2 * Φ p + t * angularRemainder d t Φ u B p |
| 341 | axial_equation : ∀ p ∈ AxisEvaluation.strip I 20, |
| 342 | 2 * radialDifferential 1 u p = -d.inverseL p.2 * d.zStar p.2 + t * axialRemainder d t u B P p |
| 343 | |
| 344 | theorem profile_inputValue (I : Window) (ε : ℝ) (A : AxisSpace I ε) |
| 345 | (hA : RadiallyConstant I ε A) {p : ℝ × ℝ} (hη : p.2 ∈ I.interval) : |
| 346 | AxisEvaluation.profile I ε A p = inputValue I ε A p.2 := |
| 347 | profile_radiallyConstant I ε A hA p.1 hη |
| 348 | |
| 349 | /-- Differentiating the actual first integrated remainder gives precisely |
| 350 | the first scaled differential remainder, including the mixed term. -/ |
| 351 | theorem angular_remainder_evaluation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 352 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) |
| 353 | (hd : CompatibleData I ε χ d) (t : ℝ) (a : AxisSpace I ε) |
| 354 | (x : AxisSpace I ε × AxisSpace I ε) {p : ℝ × ℝ} |
| 355 | (hp : p ∈ AxisEvaluation.strip I 20) : |
| 356 | radialEvaluation I ε 2 |
| 357 | (AxisContraction.naturalRemainder (AxisContraction.coefficientOperators I hε) |
| 358 | d (ContinuousLinearMap.id ℝ _) t a x).1 p = |
| 359 | angularRemainder (parameters I ε χ d) t |
| 360 | (AxisEvaluation.profile I ε x.1) (AxisEvaluation.profile I ε x.2) |
| 361 | (AxisEvaluation.profile I ε (AxisOperators.average I hε x.2)) p := by |
| 362 | have hY : |p.1| < 20 := abs_lt.mpr hp.1 |
| 363 | have hη : p.2 ∈ I.interval := ⟨hp.2.1.le, hp.2.2.le⟩ |
| 364 | have radd := fun A B => radialEvaluation_add I hε 2 A B hY |
| 365 | have rsub := fun A B => radialEvaluation_sub I hε 2 A B hY |
| 366 | have rsmul := fun c A => radialEvaluation_smul I ε c 2 A p |
| 367 | have rj := fun A => radialEvaluation_regularInverse I hε 2 (by norm_num) A hp |
| 368 | have rp := fun A B => radialEvaluation_param I hε 2 (by norm_num) A B hp |
| 369 | have rd := fun A B => radialEvaluation_dot I hε 2 (by norm_num) A B hp |
| 370 | have rm := fun A B => radialEvaluation_mixed I hε 2 (by norm_num) A B hp |
| 371 | have rfactor := fun A => radialEvaluation_product_constant I hε 2 d.d A hd.d_radial hp |
| 372 | have rinv := fun A => radialEvaluation_product_constant I hε 2 d.inverseL A hd.inverseL_radial hp |
| 373 | have pmul := fun A B => AxisEvaluationAlgebra.profile_product I hε A B hY hη |
| 374 | have padd := fun A B => profile_add I hε A B hY |
| 375 | have psub := fun A B => profile_sub I hε A B hY |
| 376 | have psmul := fun c A => profile_smul I ε c A p |
| 377 | have pbase := fun A hA => profile_inputValue I ε A hA hη |
| 378 | dsimp only [AxisContraction.naturalRemainder, AxisContraction.coefficientOperators, |
| 379 | ContinuousLinearMap.id_apply] |
| 380 | simp only [rinv, radd, rsub, rsmul, rj, rp, rd, rm, rfactor] |
| 381 | simp only [AxisContraction.angularLinearCoefficient, |
| 382 | AxisContraction.angularQuadraticCoefficient, AxisContraction.averageCoefficient, |
| 383 | AxisContraction.angularSlowCoefficient, |
| 384 | pmul, padd, psub, psmul] |
| 385 | simp only [pbase d.one hd.one_radial, pbase d.eta hd.eta_radial, |
| 386 | pbase d.d hd.d_radial, pbase d.inverseL hd.inverseL_radial, |
| 387 | pbase d.uStar hd.uStar_radial, pbase d.wStar hd.wStar_radial, |
| 388 | pbase d.hStar hd.hStar_radial, pbase d.normalizedGradient hd.gradient_radial, |
| 389 | hd.one_value p.2 hη, hd.eta_value p.2 hη] |
| 390 | simp only [angularRemainder, reconstructedW, reconstructedU, reconstructedH, parameters] |
| 391 | ring |
| 392 | |
| 393 | /-- Differentiating the second integrated remainder gives the complete |
| 394 | axial differential remainder, with the actual pressure derivatives. -/ |
| 395 | theorem axial_remainder_evaluation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 396 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) |
| 397 | (hd : CompatibleData I ε χ d) (t : ℝ) (a : AxisSpace I ε) |
| 398 | (x : AxisSpace I ε × AxisSpace I ε) {p : ℝ × ℝ} |
| 399 | (hp : p ∈ AxisEvaluation.strip I 20) : |
| 400 | radialEvaluation I ε 1 |
| 401 | (AxisContraction.naturalRemainder (AxisContraction.coefficientOperators I hε) |
| 402 | d (ContinuousLinearMap.id ℝ _) t a x).2 p = |
| 403 | axialRemainder (parameters I ε χ d) t |
| 404 | (AxisEvaluation.profile I ε x.2) |
| 405 | (AxisEvaluation.profile I ε (AxisOperators.average I hε x.2)) |
| 406 | (AxisEvaluation.profile I ε (pressureCoefficient I hε a x.1)) p := by |
| 407 | have hY : |p.1| < 20 := abs_lt.mpr hp.1 |
| 408 | have hη : p.2 ∈ I.interval := ⟨hp.2.1.le, hp.2.2.le⟩ |
| 409 | have radd := fun A B => radialEvaluation_add I hε 1 A B hY |
| 410 | have rsub := fun A B => radialEvaluation_sub I hε 1 A B hY |
| 411 | have rsmul := fun c A => radialEvaluation_smul I ε c 1 A p |
| 412 | have rj := fun A => radialEvaluation_regularInverse I hε 1 (by norm_num) A hp |
| 413 | have rp := fun A B => radialEvaluation_param I hε 1 (by norm_num) A B hp |
| 414 | have rd := fun A B => radialEvaluation_dot I hε 1 (by norm_num) A B hp |
| 415 | have rm := fun A B => radialEvaluation_mixed I hε 1 (by norm_num) A B hp |
| 416 | have rfactor := fun A => radialEvaluation_product_constant I hε 1 d.d A hd.d_radial hp |
| 417 | have rinv := fun A => radialEvaluation_product_constant I hε 1 d.inverseL A hd.inverseL_radial hp |
| 418 | have pmul := fun A B => AxisEvaluationAlgebra.profile_product I hε A B hY hη |
| 419 | have padd := fun A B => profile_add I hε A B hY |
| 420 | have psub := fun A B => profile_sub I hε A B hY |
| 421 | have psmul := fun c A => profile_smul I ε c A p |
| 422 | have pneg := fun A => profile_neg I ε A p |
| 423 | have pbase := fun A hA => profile_inputValue I ε A hA hη |
| 424 | have pparam := fun A => AxisEvaluationAlgebra.parameterPrimitive_eq_deriv_eta |
| 425 | I hε A hp.1 hp.2 |
| 426 | have pmy (A : AxisSpace I ε) : |
| 427 | AxisEvaluation.profile I ε (AxisOperators.mulY I hε A) p = |
| 428 | p.1 * partialY (AxisEvaluation.profile I ε (AxisOperators.primitive I hε A)) p := by |
| 429 | rw [AxisEvaluationAlgebra.profile_mulY I hε A hY hη, |
| 430 | partialY_profile I hε _ hp, AxisEvaluationAlgebra.primitive_Y_value I hε A hY hη] |
| 431 | dsimp only [AxisContraction.naturalRemainder, AxisContraction.coefficientOperators] |
| 432 | simp only [rinv, radd, rsub, rsmul, rj, rp, rd, rm, rfactor] |
| 433 | simp only [AxisContraction.axialLinearCoefficient, AxisContraction.axialQuadraticCoefficient, |
| 434 | AxisContraction.averageCoefficient, |
| 435 | pmul, padd, psub, psmul, pneg, pparam, pmy] |
| 436 | simp only [pbase d.one hd.one_radial, pbase d.eta hd.eta_radial, |
| 437 | pbase d.d hd.d_radial, pbase d.inverseL hd.inverseL_radial, |
| 438 | pbase d.uStar hd.uStar_radial, pbase d.uStarEta hd.uStarEta_radial, |
| 439 | pbase d.wStar hd.wStar_radial, pbase d.hStar hd.hStar_radial, |
| 440 | hd.one_value p.2 hη, hd.eta_value p.2 hη] |
| 441 | simp only [axialRemainder, reconstructedW, parameters, pressureCoefficient, pressureSource, |
| 442 | partialEta] |
| 443 | ring |
| 444 | |
| 445 | /-- Both integrated remainders have exactly zero axis value. -/ |
| 446 | theorem remainder_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 447 | (d : AxisContraction.AxisData (AxisSpace I ε)) (t : ℝ) (a : AxisSpace I ε) |
| 448 | (x : AxisSpace I ε × AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 449 | AxisEvaluation.profile I ε |
| 450 | (AxisContraction.naturalRemainder (AxisContraction.coefficientOperators I hε) |
| 451 | d (ContinuousLinearMap.id ℝ _) t a x).1 (0, η) = 0 ∧ |
| 452 | AxisEvaluation.profile I ε |
| 453 | (AxisContraction.naturalRemainder (AxisContraction.coefficientOperators I hε) |
| 454 | d (ContinuousLinearMap.id ℝ _) t a x).2 (0, η) = 0 := by |
| 455 | have hY : |(0 : ℝ)| < 20 := by norm_num |
| 456 | have padd := fun A B => profile_add I hε A B (p := (0, η)) hY |
| 457 | have psub := fun A B => profile_sub I hε A B (p := (0, η)) hY |
| 458 | have psmul := fun c A => profile_smul I ε c A (0, η) |
| 459 | have pmul := fun A B => AxisEvaluationAlgebra.profile_product I hε A B hY hη |
| 460 | have pj := fun r hr A => AxisEvaluationAlgebra.regularInverse_axis_zero I hε r hr A hη |
| 461 | have pp := fun r hr A B => AxisEvaluationAlgebra.inverseParamProduct_axis_zero I hε r hr A B hη |
| 462 | have pd := fun r hr A B => AxisEvaluationAlgebra.inverseDotProduct_axis_zero I hε r hr A B hη |
| 463 | have pm := fun r hr A B => AxisEvaluationAlgebra.inverseMixed_axis_zero I hε r hr A B hη |
| 464 | constructor <;> |
| 465 | dsimp only [AxisContraction.naturalRemainder, AxisContraction.coefficientOperators, |
| 466 | ContinuousLinearMap.id_apply] <;> |
| 467 | simp only [padd, psub, psmul, pmul, pj, pp, pd, pm, mul_zero, |
| 468 | add_zero, sub_zero] |
| 469 | |
| 470 | theorem naturalOperator_axis_zero (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 471 | (χ A : AxisSpace I ε) {η : ℝ} (hη : η ∈ I.interval) : |
| 472 | AxisEvaluation.profile I ε (AxisResolvent.naturalOperator I hε χ A) (0, η) = 0 := by |
| 473 | simp only [AxisResolvent.naturalOperator, _root_.smul_apply, |
| 474 | ContinuousLinearMap.comp_apply, profile_smul, |
| 475 | AxisEvaluationAlgebra.regularInverse_axis_zero I hε _ _ _ hη, mul_zero] |
| 476 | |
| 477 | theorem radialEvaluation_naturalOperator (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 478 | (χ A : AxisSpace I ε) (hχ : RadiallyConstant I ε χ) |
| 479 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 480 | radialEvaluation I ε 2 (AxisResolvent.naturalOperator I hε χ A) p = |
| 481 | (1 / 2 : ℝ) * inputValue I ε χ p.2 * AxisEvaluation.profile I ε A p := by |
| 482 | simp only [AxisResolvent.naturalOperator, _root_.smul_apply, |
| 483 | ContinuousLinearMap.comp_apply, radialEvaluation_smul] |
| 484 | rw [radialEvaluation_regularInverse I hε 2 (by norm_num) _ hp, |
| 485 | AxisEvaluationAlgebra.profile_product I hε χ A (abs_lt.mpr hp.1) ⟨hp.2.1.le, hp.2.2.le⟩, |
| 486 | profile_inputValue I ε χ hχ ⟨hp.2.1.le, hp.2.2.le⟩] |
| 487 | ring |
| 488 | |
| 489 | theorem pressure_equation (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 490 | (a Φ : AxisSpace I ε) (ha : RadiallyConstant I ε a) |
| 491 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 492 | partialY (AxisEvaluation.profile I ε (pressureCoefficient I hε a Φ)) p = |
| 493 | (inputValue I ε a p.2) ^ 2 * (AxisEvaluation.profile I ε Φ p) ^ 2 := by |
| 494 | have hY : |p.1| < 20 := abs_lt.mpr hp.1 |
| 495 | have hη : p.2 ∈ I.interval := ⟨hp.2.1.le, hp.2.2.le⟩ |
| 496 | rw [pressureCoefficient, partialY_profile I hε _ hp, |
| 497 | AxisEvaluationAlgebra.primitive_Y_value I hε _ hY hη] |
| 498 | simp only [pressureSource, AxisEvaluationAlgebra.profile_product I hε _ _ hY hη, |
| 499 | profile_inputValue I ε a ha hη] |
| 500 | ring |
| 501 | |
| 502 | /-- The pressure field is the ordinary integral from the axis, rather |
| 503 | than merely a formal coefficient primitive. -/ |
| 504 | theorem pressure_integral (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 505 | (a Φ : AxisSpace I ε) (ha : RadiallyConstant I ε a) |
| 506 | {p : ℝ × ℝ} (hp : p ∈ AxisEvaluation.strip I 20) : |
| 507 | AxisEvaluation.profile I ε (pressureCoefficient I hε a Φ) p = |
| 508 | ∫ y in (0 : ℝ)..p.1, |
| 509 | (inputValue I ε a p.2) ^ 2 * (AxisEvaluation.profile I ε Φ (y, p.2)) ^ 2 := by |
| 510 | rw [pressureCoefficient, AxisEvaluationAlgebra.primitive_integral I hε _ hp.1 hp.2] |
| 511 | apply intervalIntegral.integral_congr |
| 512 | intro y hy |
| 513 | have hY : |y| < 20 := abs_lt.mpr (AxisEvaluationAlgebra.radial_segment_mem hp.1 hy) |
| 514 | have hη : p.2 ∈ I.interval := ⟨hp.2.1.le, hp.2.2.le⟩ |
| 515 | simp only [pressureSource, AxisEvaluationAlgebra.profile_product I hε _ _ hY hη, |
| 516 | profile_inputValue I ε a ha (p := (y, p.2)) hη] |
| 517 | ring |
| 518 | |
| 519 | /-- The integrated coefficient equations give the literal scaled equations |
| 520 | for actual smooth functions on the open real strip. -/ |
| 521 | theorem integrated_solution (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 522 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) |
| 523 | (hd : CompatibleData I ε χ d) (t s : ℝ) (hst : 2 * s = t) |
| 524 | (a : AxisSpace I ε) (ha : RadiallyConstant I ε a) |
| 525 | (x : AxisSpace I ε × AxisSpace I ε) |
| 526 | (hφ : x.1 + AxisResolvent.naturalOperator I hε χ x.1 = |
| 527 | d.one + s • (AxisContraction.naturalRemainder |
| 528 | (AxisContraction.coefficientOperators I hε) d (ContinuousLinearMap.id ℝ _) t a x).1) |
| 529 | (hu : x.2 = -(1 / 2 : ℝ) • AxisOperators.regularInverse I hε 1 (by norm_num) |
| 530 | (AxisOperators.product I hε d.inverseL d.zStar) + |
| 531 | s • (AxisContraction.naturalRemainder |
| 532 | (AxisContraction.coefficientOperators I hε) d (ContinuousLinearMap.id ℝ _) t a x).2) : |
| 533 | IsScaledSolution I (parameters I ε χ d) t (inputValue I ε a) |
| 534 | (AxisEvaluation.profile I ε x.1) (AxisEvaluation.profile I ε x.2) |
| 535 | (AxisEvaluation.profile I ε (AxisOperators.average I hε x.2)) |
| 536 | (AxisEvaluation.profile I ε (pressureCoefficient I hε a x.1)) := by |
| 537 | refine { |
| 538 | phi_smooth := AxisEvaluation.profile_smooth I hε x.1 |
| 539 | u_smooth := AxisEvaluation.profile_smooth I hε x.2 |
| 540 | average_smooth := AxisEvaluation.profile_smooth I hε _ |
| 541 | pressure_smooth := AxisEvaluation.profile_smooth I hε _ |
| 542 | phi_axis := ?_ |
| 543 | u_axis := ?_ |
| 544 | average_axis := ?_ |
| 545 | pressure_axis := ?_ |
| 546 | average_equation := ?_ |
| 547 | pressure_equation := fun p hp => pressure_equation I hε a x.1 ha hp |
| 548 | average_integral := ?_ |
| 549 | pressure_integral := fun p hp => pressure_integral I hε a x.1 ha hp |
| 550 | angular_equation := ?_ |
| 551 | axial_equation := ?_ } |
| 552 | · intro η hη |
| 553 | have hηc : η ∈ I.interval := ⟨hη.1.le, hη.2.le⟩ |
| 554 | have h0 : |(0 : ℝ)| < 20 := by norm_num |
| 555 | have he := congrArg (fun A => AxisEvaluation.profile I ε A (0, η)) hφ |
| 556 | simp only [profile_add I hε _ _ (p := (0, η)) h0, |
| 557 | naturalOperator_axis_zero I hε χ x.1 hηc, |
| 558 | profile_smul, (remainder_axis_zero I hε d t a x hηc).1, |
| 559 | profile_inputValue I ε d.one hd.one_radial (p := (0, η)) hηc, |
| 560 | hd.one_value η hηc] at he |
| 561 | simpa only [add_zero, mul_zero] using he |
| 562 | · intro η hη |
| 563 | have hηc : η ∈ I.interval := ⟨hη.1.le, hη.2.le⟩ |
| 564 | have h0 : |(0 : ℝ)| < 20 := by norm_num |
| 565 | have he := congrArg (fun A => AxisEvaluation.profile I ε A (0, η)) hu |
| 566 | simp only [profile_add I hε _ _ (p := (0, η)) h0, profile_smul, |
| 567 | AxisEvaluationAlgebra.regularInverse_axis_zero I hε 1 (by norm_num) _ hηc, |
| 568 | (remainder_axis_zero I hε d t a x hηc).2] at he |
| 569 | simpa only [mul_zero, add_zero] using he |
| 570 | · intro η hη |
| 571 | exact AxisEvaluationAlgebra.average_axis I hε x.2 ⟨hη.1.le, hη.2.le⟩ |
| 572 | · intro η hη |
| 573 | exact AxisEvaluationAlgebra.primitive_axis_zero I hε _ ⟨hη.1.le, hη.2.le⟩ |
| 574 | · intro p hp |
| 575 | rw [partialY_profile I hε _ hp] |
| 576 | exact AxisEvaluationAlgebra.average_equation I hε x.2 (abs_lt.mpr hp.1) |
| 577 | ⟨hp.2.1.le, hp.2.2.le⟩ |
| 578 | · intro p hp |
| 579 | exact AxisEvaluationAlgebra.average_integral I hε x.2 hp.1 hp.2 |
| 580 | · intro p hp |
| 581 | have hY : |p.1| < 20 := abs_lt.mpr hp.1 |
| 582 | have he := congrArg (fun A => radialEvaluation I ε 2 A p) hφ |
| 583 | simp only [radialEvaluation_add I hε 2 _ _ hY, |
| 584 | radialEvaluation_naturalOperator I hε χ x.1 hd.chi_radial hp, |
| 585 | radialEvaluation_constant I hε 2 d.one hd.one_radial hp, |
| 586 | radialEvaluation_smul, angular_remainder_evaluation I hε χ d hd t a x hp, |
| 587 | radialEvaluation_eq I hε 2 x.1 hp] at he |
| 588 | change 2 * radialDifferential 2 (AxisEvaluation.profile I ε x.1) p = |
| 589 | -inputValue I ε χ p.2 * AxisEvaluation.profile I ε x.1 p + _ |
| 590 | calc |
| 591 | _ = -inputValue I ε χ p.2 * AxisEvaluation.profile I ε x.1 p + |
| 592 | (2 * s) * angularRemainder (parameters I ε χ d) t |
| 593 | (AxisEvaluation.profile I ε x.1) (AxisEvaluation.profile I ε x.2) |
| 594 | (AxisEvaluation.profile I ε (AxisOperators.average I hε x.2)) p := by |
| 595 | nlinarith only [he] |
| 596 | _ = _ := by rw [hst] |
| 597 | · intro p hp |
| 598 | have hY : |p.1| < 20 := abs_lt.mpr hp.1 |
| 599 | have hη : p.2 ∈ I.interval := ⟨hp.2.1.le, hp.2.2.le⟩ |
| 600 | have he := congrArg (fun A => radialEvaluation I ε 1 A p) hu |
| 601 | simp only [radialEvaluation_add I hε 1 _ _ hY, |
| 602 | radialEvaluation_smul, |
| 603 | radialEvaluation_regularInverse I hε 1 (by norm_num) _ hp, |
| 604 | axial_remainder_evaluation I hε χ d hd t a x hp, |
| 605 | AxisEvaluationAlgebra.profile_product I hε d.inverseL d.zStar hY hη, |
| 606 | profile_inputValue I ε d.inverseL hd.inverseL_radial hη, |
| 607 | profile_inputValue I ε d.zStar hd.zStar_radial hη, |
| 608 | radialEvaluation_eq I hε 1 x.2 hp] at he |
| 609 | change 2 * radialDifferential 1 (AxisEvaluation.profile I ε x.2) p = |
| 610 | -inputValue I ε d.inverseL p.2 * inputValue I ε d.zStar p.2 + _ |
| 611 | calc |
| 612 | _ = -inputValue I ε d.inverseL p.2 * inputValue I ε d.zStar p.2 + |
| 613 | (2 * s) * axialRemainder (parameters I ε χ d) t |
| 614 | (AxisEvaluation.profile I ε x.2) |
| 615 | (AxisEvaluation.profile I ε (AxisOperators.average I hε x.2)) |
| 616 | (AxisEvaluation.profile I ε (pressureCoefficient I hε a x.1)) p := by |
| 617 | nlinarith only [he] |
| 618 | _ = _ := by rw [hst] |
| 619 | |
| 620 | /-- The leading pair defined using the proved angular resolvent. -/ |
| 621 | def referenceCoefficients (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 622 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) : |
| 623 | AxisSpace I ε × AxisSpace I ε := |
| 624 | AxisContraction.referencePair (AxisContraction.coefficientOperators I hε) d |
| 625 | (AxisResolvent.naturalResolvent I hε χ) |
| 626 | |
| 627 | /-- The limiting system is stated directly for actual functions. -/ |
| 628 | structure IsLeadingSolution (I : Window) (d : ParameterData) |
| 629 | (Φ u : ℝ × ℝ → ℝ) : Prop where |
| 630 | phi_smooth : ContDiffOn ℝ ∞ Φ (AxisEvaluation.strip I 20) |
| 631 | u_smooth : ContDiffOn ℝ ∞ u (AxisEvaluation.strip I 20) |
| 632 | phi_axis : ∀ η ∈ Ioo I.left I.right, Φ (0, η) = 1 |
| 633 | u_axis : ∀ η ∈ Ioo I.left I.right, u (0, η) = 0 |
| 634 | angular_equation : ∀ p ∈ AxisEvaluation.strip I 20, |
| 635 | 2 * radialDifferential 2 Φ p = -d.chi p.2 * Φ p |
| 636 | axial_equation : ∀ p ∈ AxisEvaluation.strip I 20, |
| 637 | 2 * radialDifferential 1 u p = -d.inverseL p.2 * d.zStar p.2 |
| 638 | |
| 639 | /-- The profiles used in the error estimate really solve the regular |
| 640 | leading equations with the prescribed axis data. -/ |
| 641 | theorem reference_isLeadingSolution (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 642 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) |
| 643 | (hd : CompatibleData I ε χ d) : |
| 644 | IsLeadingSolution I (parameters I ε χ d) |
| 645 | (AxisEvaluation.profile I ε (referenceCoefficients I hε χ d).1) |
| 646 | (AxisEvaluation.profile I ε (referenceCoefficients I hε χ d).2) := by |
| 647 | have hzero : RadiallyConstant I ε (0 : AxisSpace I ε) := by |
| 648 | intro n hn η hη |
| 649 | simp [coefficient] |
| 650 | have hφ : (referenceCoefficients I hε χ d).1 + |
| 651 | AxisResolvent.naturalOperator I hε χ (referenceCoefficients I hε χ d).1 = |
| 652 | d.one + (0 : ℝ) • (AxisContraction.naturalRemainder |
| 653 | (AxisContraction.coefficientOperators I hε) d (ContinuousLinearMap.id ℝ _) 0 0 |
| 654 | (referenceCoefficients I hε χ d)).1 := by |
| 655 | simpa only [referenceCoefficients, AxisContraction.referencePair, zero_smul, add_zero] using |
| 656 | AxisResolvent.naturalResolvent_equation I hε χ d.one |
| 657 | have hu : (referenceCoefficients I hε χ d).2 = |
| 658 | -(1 / 2 : ℝ) • AxisOperators.regularInverse I hε 1 (by norm_num) |
| 659 | (AxisOperators.product I hε d.inverseL d.zStar) + |
| 660 | (0 : ℝ) • (AxisContraction.naturalRemainder |
| 661 | (AxisContraction.coefficientOperators I hε) d (ContinuousLinearMap.id ℝ _) 0 0 |
| 662 | (referenceCoefficients I hε χ d)).2 := by |
| 663 | simp only [zero_smul, add_zero] |
| 664 | rfl |
| 665 | have hs := integrated_solution I hε χ d hd 0 0 (by norm_num) 0 hzero |
| 666 | (referenceCoefficients I hε χ d) hφ hu |
| 667 | refine ⟨hs.phi_smooth, hs.u_smooth, hs.phi_axis, hs.u_axis, ?_, ?_⟩ |
| 668 | · intro p hp |
| 669 | simpa only [zero_mul, add_zero] using hs.angular_equation p hp |
| 670 | · intro p hp |
| 671 | simpa only [zero_mul, add_zero] using hs.axial_equation p hp |
| 672 | |
| 673 | /-- A fixed finite constant computed from the input norms and the genuine |
| 674 | bounded operators. It is independent of `Λ` and of the amplitude in its norm ball. -/ |
| 675 | def errorConstant (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 676 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) |
| 677 | (M : ℝ) (hM : 0 ≤ M) : ℝ := |
| 678 | AxisContraction.remainderBound (AxisContraction.coefficientOperators I hε) d |
| 679 | (AxisResolvent.naturalResolvent I hε χ) |
| 680 | (‖referenceCoefficients I hε χ d‖ + 1) M (by positivity) hM |
| 681 | |
| 682 | theorem errorConstant_nonneg (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 683 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) |
| 684 | (M : ℝ) (hM : 0 ≤ M) : 0 ≤ errorConstant I hε χ d M hM := |
| 685 | AxisContraction.remainderBound_nonneg _ _ _ _ _ _ _ |
| 686 | |
| 687 | /-- Simultaneous estimates for every ordinary mixed derivative, uniform on |
| 688 | each smaller radial interval and on the whole open parameter interval. -/ |
| 689 | def UniformMixedError (I : Window) (ε K : ℝ) |
| 690 | (Φ u Φ₀ u₀ : ℝ × ℝ → ℝ) : Prop := |
| 691 | ∀ R : ℝ, 1 ≤ R → R < 20 → ∀ k m : ℕ, ∀ p : ℝ × ℝ, |
| 692 | |p.1| ≤ R → p.2 ∈ Ioo I.left I.right → |
| 693 | |mixedDerivative k m Φ p - mixedDerivative k m Φ₀ p| ≤ |
| 694 | AxisEvaluation.jetBound ε R k m * K ∧ |
| 695 | |mixedDerivative k m u p - mixedDerivative k m u₀ p| ≤ |
| 696 | AxisEvaluation.jetBound ε R k m * K |
| 697 | |
| 698 | theorem uniformMixedError_of_norm (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 699 | (x x₀ : AxisSpace I ε × AxisSpace I ε) (K : ℝ) (hK : ‖x - x₀‖ ≤ K) : |
| 700 | UniformMixedError I ε K |
| 701 | (AxisEvaluation.profile I ε x.1) (AxisEvaluation.profile I ε x.2) |
| 702 | (AxisEvaluation.profile I ε x₀.1) (AxisEvaluation.profile I ε x₀.2) := by |
| 703 | intro R hR hR20 k m p hY hη |
| 704 | constructor |
| 705 | · simpa only [mixedDerivative, Real.norm_eq_abs] using |
| 706 | AxisContraction.evaluated_mixed_error I hε hR hR20 x.1 x₀.1 K |
| 707 | ((norm_fst_le (x - x₀)).trans hK) k m hY hη |
| 708 | · simpa only [mixedDerivative, Real.norm_eq_abs] using |
| 709 | AxisContraction.evaluated_mixed_error I hε hR hR20 x.2 x₀.2 K |
| 710 | ((norm_snd_le (x - x₀)).trans hK) k m hY hη |
| 711 | |
| 712 | /-- Actual smooth natural-axis profiles exist for every sufficiently large |
| 713 | `Λ`, uniformly over all radially constant angular amplitudes in a fixed norm |
| 714 | ball. The conclusion is a differential/integral system for real functions, |
| 715 | and its error estimate concerns their ordinary derivatives of every order. -/ |
| 716 | theorem exists_scaled_profiles (I : Window) {ε : ℝ} (hε : 0 < ε) |
| 717 | (χ : AxisSpace I ε) (d : AxisContraction.AxisData (AxisSpace I ε)) |
| 718 | (hd : CompatibleData I ε χ d) (M : ℝ) (hM : 0 ≤ M) : |
| 719 | ∃ Λ₀ : ℝ, 0 < Λ₀ ∧ ∀ Λ : ℝ, Λ₀ ≤ Λ → |
| 720 | ∀ a : AxisSpace I ε, ‖a‖ ≤ M → RadiallyConstant I ε a → |
| 721 | ∃ Φ u B P : ℝ × ℝ → ℝ, |
| 722 | IsScaledSolution I (parameters I ε χ d) (1 / Λ) (inputValue I ε a) Φ u B P ∧ |
| 723 | UniformMixedError I ε (errorConstant I hε χ d M hM / (2 * Λ)) |
| 724 | Φ u (AxisEvaluation.profile I ε (referenceCoefficients I hε χ d).1) |
| 725 | (AxisEvaluation.profile I ε (referenceCoefficients I hε χ d).2) := by |
| 726 | obtain ⟨Λ₀, hΛ₀, hexists⟩ := AxisContraction.natural_axis_profiles I hε χ d M hM |
| 727 | refine ⟨Λ₀, hΛ₀, ?_⟩ |
| 728 | intro Λ hΛ a ha harad |
| 729 | obtain ⟨x, _, herr, hφ, hu, _, _⟩ := hexists Λ hΛ a ha |
| 730 | have hscale : 2 * (1 / (2 * Λ)) = 1 / Λ := by |
| 731 | field_simp [(hΛ₀.trans_le hΛ).ne'] |
| 732 | refine ⟨AxisEvaluation.profile I ε x.1, AxisEvaluation.profile I ε x.2, |
| 733 | AxisEvaluation.profile I ε (AxisOperators.average I hε x.2), |
| 734 | AxisEvaluation.profile I ε (pressureCoefficient I hε a x.1), |
| 735 | integrated_solution I hε χ d hd (1 / Λ) (1 / (2 * Λ)) hscale a harad x hφ hu, ?_⟩ |
| 736 | exact uniformMixedError_of_norm I hε x (referenceCoefficients I hε χ d) |
| 737 | (errorConstant I hε χ d M hM / (2 * Λ)) herr |
| 738 | |
| 739 | end NavierStokes.NaturalAxisBridge |
| 740 | |
| 741 | end |