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