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.BaseResidual |
| 2 | import NavierStokes.PhysicalHeatCoordinates |
| 3 | import NavierStokes.TerminalPressure |
| 4 | import NavierStokes.HeatProfileExtension |
| 5 | import NavierStokes.AssembledSlowBase |
| 6 | |
| 7 | /-! |
| 8 | # The actual pure-heat exterior of the summed slow base |
| 9 | |
| 10 | The exterior comparison is with the physical radial heat solution and its |
| 11 | canonical improper-integral pressure. All stream cutoffs are retained until |
| 12 | their coefficients are shown to vanish in an exterior neighborhood. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set Filter MeasureTheory |
| 18 | open scoped Topology ContDiff BigOperators |
| 19 | |
| 20 | namespace NavierStokes.BaseExterior |
| 21 | |
| 22 | open SimilarityProfile ProblemStatement SlowBorelBase |
| 23 | |
| 24 | private theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 25 | (ENat.natCast_lt_of_coe_top_le_withTop le_rfl n).le |
| 26 | |
| 27 | section PureHeat |
| 28 | |
| 29 | /-- The regular Cartesian swirl coefficient of the physical heat solution. -/ |
| 30 | noncomputable def heatCoefficient (C h : ℝ) : PhysicalProfile := |
| 31 | TerminalStress.swirlCoefficient C h (fun _ => 1) |
| 32 | |
| 33 | /-- The pressure is the literal canonical radial integral. -/ |
| 34 | noncomputable def heatPressure (C h : ℝ) : PhysicalProfile := |
| 35 | TerminalStress.canonicalPressure (heatCoefficient C h) |
| 36 | |
| 37 | noncomputable def heatVelocity (C h : ℝ) : VelocityField := |
| 38 | AxisymmetricResidual.velocity (fun _ => 0) (heatCoefficient C h) (fun _ => 0) |
| 39 | |
| 40 | noncomputable def heatPressureField (C h : ℝ) : PressureField := |
| 41 | AxisymmetricResidual.pressure (heatPressure C h) |
| 42 | |
| 43 | theorem heatCoefficient_eq (C h : ℝ) (p : PhysicalPoint) : |
| 44 | heatCoefficient C h p = TerminalStress.physicalHeat C (1 + h) p / Real.sqrt (2 * p.2.1) := by |
| 45 | simp [heatCoefficient, TerminalStress.swirlCoefficient, TerminalStress.flattening] |
| 46 | |
| 47 | theorem heatCoefficient_z_invariant (C h t s z z' : ℝ) : |
| 48 | heatCoefficient C h (t, (s, z)) = heatCoefficient C h (t, (s, z')) := rfl |
| 49 | |
| 50 | theorem heatPressure_z_invariant (C h t s z z' : ℝ) : |
| 51 | heatPressure C h (t, (s, z)) = heatPressure C h (t, (s, z')) := rfl |
| 52 | |
| 53 | theorem heatCoefficient_smoothAt (C : ℝ) {h : ℝ} (hh : 0 < h) |
| 54 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 55 | ContDiffAt ℝ ∞ (heatCoefficient C h) p := by |
| 56 | have he : heatCoefficient C h = fun p => |
| 57 | TerminalStress.physicalHeat C (1 + h) p / Real.sqrt (2 * p.2.1) := |
| 58 | funext (heatCoefficient_eq C h) |
| 59 | rw [he] |
| 60 | exact (TerminalStress.physicalHeat_contDiffAt C (by linarith) ht hs).div |
| 61 | ((contDiffAt_const.mul contDiffAt_snd.fst).sqrt (by positivity)) |
| 62 | (ne_of_gt (Real.sqrt_pos.mpr (by positivity))) |
| 63 | |
| 64 | theorem heatPressure_smoothAt (C : ℝ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 65 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 66 | ContDiffAt ℝ ∞ (heatPressure C h) p := |
| 67 | TerminalPressure.canonicalPressure_contDiffAt (Y := 0) C hh hh1 ht hs contDiff_const |
| 68 | (fun _ => by norm_num) (fun _ _ => rfl) |
| 69 | |
| 70 | theorem partialZ_of_invariant {f : PhysicalProfile} {p : PhysicalPoint} |
| 71 | (hf : DifferentiableAt ℝ f p) |
| 72 | (he : ∀ z : ℝ, f (p.1, (p.2.1, z)) = f p) : partialZ f p = 0 := by |
| 73 | have hd := hf.hasFDerivAt.comp_hasDerivAt p.2.2 |
| 74 | ((hasDerivAt_const p.2.2 p.1).prodMk |
| 75 | ((hasDerivAt_const p.2.2 p.2.1).prodMk (hasDerivAt_id p.2.2))) |
| 76 | have hz : HasDerivAt (fun z => f (p.1, (p.2.1, z))) 0 p.2.2 := by |
| 77 | simpa only [he] using hasDerivAt_const p.2.2 (f p) |
| 78 | exact hd.unique hz |
| 79 | |
| 80 | theorem heatCoefficient_partialZ (C : ℝ) {h : ℝ} (hh : 0 < h) |
| 81 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 82 | partialZ (heatCoefficient C h) p = 0 := |
| 83 | partialZ_of_invariant ((heatCoefficient_smoothAt C hh ht hs).differentiableAt (by simp)) |
| 84 | (fun z => heatCoefficient_z_invariant C h _ _ z _) |
| 85 | |
| 86 | theorem heatCoefficient_partialZZ (C : ℝ) {h : ℝ} (hh : 0 < h) |
| 87 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 88 | partialZ (partialZ (heatCoefficient C h)) p = 0 := by |
| 89 | have he : partialZ (heatCoefficient C h) =ᶠ[𝓝 p] (fun _ => 0) := by |
| 90 | filter_upwards [continuousAt_fst.eventually (Iio_mem_nhds ht), |
| 91 | continuousAt_snd.fst.eventually (Ioi_mem_nhds hs)] with y hyt hys |
| 92 | exact heatCoefficient_partialZ C hh hyt hys |
| 93 | simp [partialZ, he.fderiv_eq] |
| 94 | |
| 95 | theorem heatPressure_partialZ (C : ℝ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 96 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 97 | partialZ (heatPressure C h) p = 0 := |
| 98 | partialZ_of_invariant ((heatPressure_smoothAt C hh hh1 ht hs).differentiableAt (by simp)) |
| 99 | (fun z => heatPressure_z_invariant C h _ _ z _) |
| 100 | |
| 101 | theorem heatCoefficient_sq_integrable (C : ℝ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 102 | {t a z : ℝ} (ht : t < 1) (ha : 0 < a) : |
| 103 | IntegrableOn (fun s => heatCoefficient C h (t, (s, z)) ^ 2) (Ioi a) := |
| 104 | TerminalPressure.swirlCoefficient_sq_integrable (p := (t, (a, z))) C hh hh1 ht ha |
| 105 | continuous_const (fun _ => by norm_num) |
| 106 | |
| 107 | theorem heatCoefficient_sq_continuous (C : ℝ) {h : ℝ} (hh : 0 < h) |
| 108 | {t a z : ℝ} (ht : t < 1) (ha : 0 < a) : |
| 109 | ContinuousOn (fun s => heatCoefficient C h (t, (s, z)) ^ 2) (Ioi a) := by |
| 110 | intro s hs |
| 111 | exact (((heatCoefficient_smoothAt C hh (p := (t, (s, z))) ht (ha.trans hs)).comp s |
| 112 | (contDiffAt_const.prodMk (contDiffAt_id.prodMk contDiffAt_const))).pow 2).continuousAt.continuousWithinAt |
| 113 | |
| 114 | theorem heatPressure_partialS (C : ℝ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 115 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 116 | partialS (heatPressure C h) p = heatCoefficient C h p ^ 2 := |
| 117 | TerminalStress.canonicalPressure_partialS (a := p.2.1 / 2) (by linarith) |
| 118 | (heatCoefficient_sq_integrable C hh hh1 ht (by positivity)) |
| 119 | (heatCoefficient_sq_continuous C hh ht (by positivity)) |
| 120 | ((heatPressure_smoothAt C hh hh1 ht hs).differentiableAt (by simp)) |
| 121 | |
| 122 | theorem heatCoefficient_residual_zero (C : ℝ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 123 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 124 | TerminalStress.residualCoefficient (heatCoefficient C h) p = 0 := by |
| 125 | let r := Real.sqrt (2 * p.2.1) |
| 126 | have hr : 0 < r := Real.sqrt_pos.mpr (by positivity) |
| 127 | have he : TerminalStress.radiusPoint p.1 r p.2.2 = p := by |
| 128 | have hr2 : r ^ 2 = 2 * p.2.1 := Real.sq_sqrt (by positivity) |
| 129 | simp only [TerminalStress.radiusPoint, hr2] |
| 130 | congr 1 |
| 131 | ext <;> simp |
| 132 | have hd := TerminalStress.swirlCoefficient_leading_residual C (z := p.2.2) hh hh1 ht hr |
| 133 | (f := fun _ => 1) contDiffAt_const |
| 134 | rw [he] at hd |
| 135 | have hzero : TerminalStress.leadingResidual C h (fun _ => 1) p.1 r p.2.2 = 0 := by |
| 136 | have hc : TerminalStress.radialSlice (TerminalStress.flattening h (fun _ => 1)) p.1 p.2.2 = |
| 137 | (fun _ => 1) := rfl |
| 138 | simp [TerminalStress.leadingResidual, TerminalStress.viscousResidual, |
| 139 | hc] |
| 140 | rw [hzero] at hd |
| 141 | have hmain := (mul_eq_zero.mp hd).resolve_left hr.ne' |
| 142 | unfold TerminalStress.residualCoefficient |
| 143 | rw [heatCoefficient_partialZZ C hh ht hs, sub_zero] |
| 144 | exact hmain |
| 145 | |
| 146 | /-- The physical heat exterior solves the unforced Cartesian equations |
| 147 | exactly. Both the heat equation and canonical pressure balance are proved. -/ |
| 148 | theorem heat_navierStokesResidual_zero (C : ℝ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 149 | {t : ℝ} {x : Space} (ht : t < 1) (hs : 0 < AxisymmetricFields.radialEnergy x) : |
| 150 | navierStokesResidual (heatVelocity C h) (heatPressureField C h) t x = 0 := by |
| 151 | unfold heatVelocity heatPressureField |
| 152 | rw [TerminalStress.pureSwirl_navierStokesResidual |
| 153 | ((heatCoefficient_smoothAt C hh ht hs).of_le (nat_le_infty 2)) |
| 154 | ((heatPressure_smoothAt C hh hh1 ht hs).differentiableAt (by simp)), |
| 155 | heatPressure_partialS C hh hh1 ht hs, heatPressure_partialZ C hh hh1 ht hs, |
| 156 | heatCoefficient_residual_zero C hh hh1 ht hs] |
| 157 | simp [AxisymmetricResidual.pack] |
| 158 | |
| 159 | end PureHeat |
| 160 | |
| 161 | section ExteriorSummation |
| 162 | |
| 163 | /-- Original scalar coefficient and mass identities. These say nothing |
| 164 | about the summed velocity or its residual. -/ |
| 165 | structure ExteriorCoefficients (d : Coefficients) (R : ℝ) : Prop where |
| 166 | axial : ∀ n : ℕ, ∀ w : Inner, R < w.1 → w.2 ∈ Icc (-1) 1 → d.axial n w = 0 |
| 167 | mass : ∀ n : ℕ, ∀ w : Inner, R < w.1 → w.2 ∈ Icc (-1) 1 → |
| 168 | ProfileHistories.primitive (d.axial n) w = 0 |
| 169 | phi : ∀ n : ℕ, 0 < n → ∀ w : Inner, R < w.1 → w.2 ∈ Icc (-1) 1 → d.phi n w = 0 |
| 170 | pressure : ∀ n : ℕ, 0 < n → ∀ w : Inner, R < w.1 → w.2 ∈ Icc (-1) 1 → d.pressure n w = 0 |
| 171 | |
| 172 | theorem ExteriorCoefficients.average {d : Coefficients} {R : ℝ} |
| 173 | (hd : ExteriorCoefficients d R) (hR : 0 ≤ R) (n : ℕ) {w : Inner} |
| 174 | (hw : R < w.1) (he : w.2 ∈ Icc (-1) 1) : ProfileHistories.average (d.axial n) w = 0 := by |
| 175 | have hm := hd.mass n w hw he |
| 176 | rw [ProfileHistories.primitive_eq_mul_average] at hm |
| 177 | exact (mul_eq_zero.mp hm).resolve_left (ne_of_gt (hR.trans_lt hw)) |
| 178 | |
| 179 | theorem physical_eta_mem {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 180 | {p : PhysicalPoint} (ht : p.1 < 1) : (physicalChart h p).2.2 ∈ Icc (-1) 1 := |
| 181 | (physicalChart_inner_mem (lo := (physicalChart h p).2.1) (hi := (physicalChart h p).2.1) |
| 182 | hh hh1 ht ⟨le_rfl, le_rfl⟩).2 |
| 183 | |
| 184 | noncomputable def exteriorDomain (h R : ℝ) : Set PhysicalPoint := |
| 185 | {p | p.1 < 1 ∧ R < (physicalChart h p).2.1} |
| 186 | |
| 187 | noncomputable def cartesianExterior (h R : ℝ) : Set SpaceTime := |
| 188 | {z | z.1 < 1 ∧ R < (cartesianChart h z).2.1} |
| 189 | |
| 190 | theorem exteriorDomain_isOpen {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (R : ℝ) : |
| 191 | IsOpen (exteriorDomain h R) := by |
| 192 | simpa [exteriorDomain, SimilarityProfile.physicalDomain] using |
| 193 | SimilarityProfile.isOpen_physicalDomain hh hh1 |
| 194 | ((isOpen_Ioi : IsOpen (Ioi R)).prod (isOpen_univ : IsOpen (univ : Set ℝ))) |
| 195 | |
| 196 | theorem cartesianExterior_isOpen {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (R : ℝ) : |
| 197 | IsOpen (cartesianExterior h R) := |
| 198 | (exteriorDomain_isOpen hh hh1 R).preimage |
| 199 | (AxisymmetricFields.contDiff_profilePoint (n := ∞)).continuous |
| 200 | |
| 201 | theorem physicalProfile_eq_leading {a : ℕ → ℕ} {h b : ℝ} {f : ℕ → Inner → ℝ} |
| 202 | {p : PhysicalPoint} (hf : ∀ n : ℕ, 0 < n → f n (physicalChart h p).2 = 0) : |
| 203 | physicalProfile a h b f p = SimilarityProfile.pullback h b (f 0) p := by |
| 204 | unfold physicalProfile |
| 205 | rw [show slowSum a h f (physicalChart h p) = f 0 (physicalChart h p).2 from |
| 206 | BaseResidual.slowSum_eq_leading_of_positive_zero a h _ hf] |
| 207 | rfl |
| 208 | |
| 209 | theorem exterior_stream_zero {a : ℕ → ℕ} {h C R : ℝ} {d : Coefficients} |
| 210 | (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) (hd : ExteriorCoefficients d R) |
| 211 | {p : PhysicalPoint} (hp : p ∈ exteriorDomain h R) : streamFactor a h C d p = 0 := by |
| 212 | apply BaseResidual.physicalProfile_zero_of_all |
| 213 | intro n |
| 214 | exact hd.average hR n hp.2 (physical_eta_mem hh hh1 hp.1) |
| 215 | |
| 216 | /-- All derivatives of the actual cut stream vanish in the exterior. |
| 217 | In particular this includes derivatives falling on the scale cutoffs. -/ |
| 218 | theorem exterior_stream_germ {a : ℕ → ℕ} {h C R : ℝ} {d : Coefficients} |
| 219 | (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) (hd : ExteriorCoefficients d R) |
| 220 | {p : PhysicalPoint} (hp : p ∈ exteriorDomain h R) : |
| 221 | streamFactor a h C d =ᶠ[𝓝 p] (fun _ => 0) := by |
| 222 | filter_upwards [(exteriorDomain_isOpen hh hh1 R).mem_nhds hp] with y hy |
| 223 | exact exterior_stream_zero hh hh1 hR hd hy |
| 224 | |
| 225 | noncomputable def leadingAngular (h C : ℝ) (d : Coefficients) : PhysicalProfile := |
| 226 | fun p => C⁻¹ * SimilarityProfile.pullback h (-CoordinateAlgebra.A h - 1 / 2) (d.phi 0) p |
| 227 | |
| 228 | noncomputable def leadingPressure (h : ℝ) (d : Coefficients) : PhysicalProfile := |
| 229 | SimilarityProfile.pullback h (-2 * CoordinateAlgebra.A h) (d.pressure 0) |
| 230 | |
| 231 | theorem exterior_swirl_derivative {a : ℕ → ℕ} (ha : StrictMono a) {h C R : ℝ} |
| 232 | {d : Coefficients} (hh : 0 < h) (hh1 : h < 1 / 2) (hds : SmoothCoefficients d) |
| 233 | (hd : ExteriorCoefficients d R) {p : PhysicalPoint} (hp : p ∈ exteriorDomain h R) : |
| 234 | AxisymmetricFields.partialS (swirlPotential a h C d) p = -leadingAngular h C d p := by |
| 235 | rw [partialS_swirlPotential ha hh hh1 hds C hp.1, |
| 236 | physicalProfile_eq_leading (fun n hn => hd.phi n hn _ hp.2 (physical_eta_mem hh hh1 hp.1))] |
| 237 | simp only [leadingAngular] |
| 238 | ring |
| 239 | |
| 240 | theorem exterior_velocity_eq_leading {a : ℕ → ℕ} (ha : StrictMono a) {h C R : ℝ} |
| 241 | {d : Coefficients} (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) |
| 242 | (hds : SmoothCoefficients d) (hd : ExteriorCoefficients d R) |
| 243 | {z : SpaceTime} (hz : z ∈ cartesianExterior h R) : |
| 244 | baseVelocity a h C d z = |
| 245 | AxisymmetricResidual.velocity (fun _ => 0) (leadingAngular h C d) (fun _ => 0) z := by |
| 246 | let p := AxisymmetricFields.profilePoint z.1 z.2 |
| 247 | have hp : p ∈ exteriorDomain h R := hz |
| 248 | have hH : DifferentiableAt ℝ (streamFactor a h C d) p := |
| 249 | (physicalProfile_smoothAt ha hh hh1 (bundleComponent_smooth hds C 0) _ hp.1).differentiableAt (by simp) |
| 250 | have hK : DifferentiableAt ℝ (swirlPotential a h C d) p := |
| 251 | (physicalProfile_smoothAt ha hh hh1 (bundleComponent_smooth hds C 1) _ hp.1).differentiableAt (by simp) |
| 252 | have he := exterior_stream_germ (a := a) (C := C) hh hh1 hR hd hp |
| 253 | have h0 := he.self_of_nhds |
| 254 | have hS : AxisymmetricFields.partialS (streamFactor a h C d) p = 0 := by |
| 255 | simp [AxisymmetricFields.partialS, he.fderiv_eq] |
| 256 | have hZ : AxisymmetricFields.partialZ (streamFactor a h C d) p = 0 := by |
| 257 | simp [AxisymmetricFields.partialZ, he.fderiv_eq] |
| 258 | have hsw := exterior_swirl_derivative (C := C) ha hh hh1 hds hd hp |
| 259 | dsimp only [p] at h0 hS hZ hsw |
| 260 | ext i |
| 261 | fin_cases i |
| 262 | · change baseVelocity a h C d z 0 = _ |
| 263 | rw [show baseVelocity a h C d z 0 = _ from AxisymmetricFields.velocity_zero _ _ _ _ hH hK] |
| 264 | simp [hZ, hsw, AxisymmetricResidual.velocity, AxisymmetricResidual.componentX, |
| 265 | AxisymmetricResidual.componentY, AxisymmetricResidual.pack, AxisymmetricResidual.lift, |
| 266 | coordinateVector] |
| 267 | · change baseVelocity a h C d z 1 = _ |
| 268 | rw [show baseVelocity a h C d z 1 = _ from AxisymmetricFields.velocity_one _ _ _ _ hH hK] |
| 269 | simp [hZ, hsw, AxisymmetricResidual.velocity, AxisymmetricResidual.componentX, |
| 270 | AxisymmetricResidual.componentY, AxisymmetricResidual.pack, AxisymmetricResidual.lift, |
| 271 | coordinateVector] |
| 272 | · change baseVelocity a h C d z 2 = _ |
| 273 | rw [show baseVelocity a h C d z 2 = _ from AxisymmetricFields.velocity_two _ _ _ _ hH hK] |
| 274 | simp [h0, hS, AxisymmetricResidual.velocity, AxisymmetricResidual.componentX, |
| 275 | AxisymmetricResidual.componentY, AxisymmetricResidual.pack, AxisymmetricResidual.lift, |
| 276 | coordinateVector, Fin.ext_iff] |
| 277 | |
| 278 | theorem exterior_pressure_eq_leading {a : ℕ → ℕ} {h C R : ℝ} {d : Coefficients} |
| 279 | (hh : 0 < h) (hh1 : h < 1 / 2) (hd : ExteriorCoefficients d R) |
| 280 | {z : SpaceTime} (hz : z ∈ cartesianExterior h R) : |
| 281 | basePressure a h C d z = AxisymmetricResidual.pressure (leadingPressure h d) z := by |
| 282 | apply physicalProfile_eq_leading |
| 283 | intro n hn |
| 284 | exact hd.pressure n hn _ hz.2 (physical_eta_mem hh hh1 hz.1) |
| 285 | |
| 286 | /-- Exact physical leading identities suffice for the exterior comparison; |
| 287 | there is no hypothesis about the summed velocity or residual. -/ |
| 288 | theorem exterior_base_eq_heat {a : ℕ → ℕ} (ha : StrictMono a) {h C R K : ℝ} |
| 289 | {d : Coefficients} (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) |
| 290 | (hds : SmoothCoefficients d) (hd : ExteriorCoefficients d R) |
| 291 | (hphi : EqOn (leadingAngular h C d) (heatCoefficient K h) (exteriorDomain h R)) |
| 292 | (hp : EqOn (leadingPressure h d) (heatPressure K h) (exteriorDomain h R)) : |
| 293 | EqOn (baseVelocity a h C d) (heatVelocity K h) (cartesianExterior h R) ∧ |
| 294 | EqOn (basePressure a h C d) (heatPressureField K h) (cartesianExterior h R) := by |
| 295 | constructor |
| 296 | · intro z hz |
| 297 | rw [exterior_velocity_eq_leading ha hh hh1 hR hds hd hz] |
| 298 | unfold AxisymmetricResidual.velocity heatVelocity AxisymmetricResidual.componentX |
| 299 | AxisymmetricResidual.componentY AxisymmetricResidual.lift |
| 300 | rw [hphi hz] |
| 301 | rfl |
| 302 | · intro z hz |
| 303 | rw [exterior_pressure_eq_leading hh hh1 hd hz] |
| 304 | exact hp hz |
| 305 | |
| 306 | theorem exterior_base_residual_zero {a : ℕ → ℕ} (ha : StrictMono a) {h C R K : ℝ} |
| 307 | {d : Coefficients} (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) |
| 308 | (hds : SmoothCoefficients d) (hd : ExteriorCoefficients d R) |
| 309 | (hphi : EqOn (leadingAngular h C d) (heatCoefficient K h) (exteriorDomain h R)) |
| 310 | (hp : EqOn (leadingPressure h d) (heatPressure K h) (exteriorDomain h R)) |
| 311 | {z : SpaceTime} (hz : z ∈ cartesianExterior h R) : |
| 312 | navierStokesResidual (baseVelocity a h C d) (basePressure a h C d) z.1 z.2 = 0 := by |
| 313 | have he := exterior_base_eq_heat ha hh hh1 hR hds hd hphi hp |
| 314 | have heq := ResidualRegularity.residual_eqOn (cartesianExterior_isOpen hh hh1 R) he.1 he.2 hz |
| 315 | change navierStokesResidual (baseVelocity a h C d) (basePressure a h C d) z.1 z.2 = |
| 316 | navierStokesResidual (heatVelocity K h) (heatPressureField K h) z.1 z.2 at heq |
| 317 | rw [heq] |
| 318 | apply heat_navierStokesResidual_zero K hh hh1 hz.1 |
| 319 | have hx : 0 < (cartesianChart h z).2.1 := hR.trans_lt hz.2 |
| 320 | change 0 < AxisymmetricFields.radialEnergy z.2 / _ at hx |
| 321 | exact (div_pos_iff.mp hx).resolve_right (fun h => |
| 322 | (not_lt_of_ge (AxisymmetricFields.radialEnergy_nonneg z.2)) h.1) |>.1 |
| 323 | |
| 324 | end ExteriorSummation |
| 325 | |
| 326 | section PressureScaling |
| 327 | |
| 328 | theorem q_radial (h t s s' z : ℝ) : q h (t, (s, z)) = q h (t, (s', z)) := rfl |
| 329 | |
| 330 | theorem eta_radial (h t s s' z : ℝ) : eta h (t, (s, z)) = eta h (t, (s', z)) := rfl |
| 331 | |
| 332 | theorem pullback_radial_scaled (h b : ℝ) (f : InnerProfile) {p : PhysicalPoint} |
| 333 | (hq : 0 < q h p) (u : ℝ) : |
| 334 | pullback h b f (p.1, (q h p * u, p.2.2)) = q h p ^ b * f (u, eta h p) := by |
| 335 | change q h p ^ b * f (q h p * u / q h p, eta h p) = _ |
| 336 | rw [mul_div_cancel_left₀ _ hq.ne'] |
| 337 | |
| 338 | /-- Dilation of the actual improper pressure integral. No pressure |
| 339 | regularity or pressure identity is assumed. -/ |
| 340 | theorem canonicalPressure_pullback (h b : ℝ) (f : InnerProfile) {p : PhysicalPoint} |
| 341 | (hq : 0 < q h p) : |
| 342 | TerminalStress.canonicalPressure (pullback h b f) p = |
| 343 | q h p ^ (2 * b + 1) * (-(∫ u in Ioi (X h p), f (u, eta h p) ^ 2)) := by |
| 344 | let g : ℝ → ℝ := fun s => pullback h b f (p.1, (s, p.2.2)) ^ 2 |
| 345 | have hscale := integral_comp_mul_left_Ioi g (X h p) hq |
| 346 | have hqx : q h p * X h p = p.2.1 := by |
| 347 | unfold X |
| 348 | exact mul_div_cancel₀ _ hq.ne' |
| 349 | rw [hqx] at hscale |
| 350 | have he : (∫ s in Ioi p.2.1, g s) = q h p * (∫ u in Ioi (X h p), g (q h p * u)) := by |
| 351 | rw [hscale, smul_eq_mul, ← mul_assoc, mul_inv_cancel₀ hq.ne', one_mul] |
| 352 | have hg : (fun u => g (q h p * u)) = |
| 353 | (fun u => (q h p ^ b) ^ 2 * f (u, eta h p) ^ 2) := by |
| 354 | funext u |
| 355 | simp only [g, pullback_radial_scaled h b f hq u, mul_pow] |
| 356 | have hpow : q h p * (q h p ^ b) ^ 2 = q h p ^ (2 * b + 1) := by |
| 357 | rw [← Real.rpow_natCast, ← Real.rpow_mul hq.le, Real.rpow_add hq, Real.rpow_one] |
| 358 | norm_num only |
| 359 | rw [mul_comm b 2] |
| 360 | ring |
| 361 | change -(∫ s in Ioi p.2.1, g s) = _ |
| 362 | rw [he, hg, integral_const_mul, ← mul_assoc, hpow] |
| 363 | ring |
| 364 | |
| 365 | theorem canonicalPressure_congr_tail {F G : PhysicalProfile} {p : PhysicalPoint} |
| 366 | (he : ∀ s : ℝ, p.2.1 < s → F (p.1, (s, p.2.2)) = G (p.1, (s, p.2.2))) : |
| 367 | TerminalStress.canonicalPressure F p = TerminalStress.canonicalPressure G p := by |
| 368 | unfold TerminalStress.canonicalPressure |
| 369 | congr 1 |
| 370 | exact setIntegral_congr_fun measurableSet_Ioi (fun s hs => congrArg (fun x : ℝ => x ^ 2) (he s hs)) |
| 371 | |
| 372 | theorem physical_angular_from_profile (h : ℝ) {f E : InnerProfile} {p : PhysicalPoint} |
| 373 | (hq : 0 < q h p) (hs : 0 < p.2.1) |
| 374 | (he : E (inner h p) = Real.sqrt (2 * X h p) * f (inner h p)) : |
| 375 | pullback h (-CoordinateAlgebra.A h - 1 / 2) f p = |
| 376 | q h p ^ (-CoordinateAlgebra.A h) * E (inner h p) / Real.sqrt (2 * p.2.1) := by |
| 377 | have hroot : Real.sqrt (2 * p.2.1) ≠ 0 := (Real.sqrt_pos.mpr (by positivity)).ne' |
| 378 | rw [he] |
| 379 | unfold pullback |
| 380 | rw [X, show 2 * (p.2.1 / q h p) = (2 * p.2.1) / q h p by ring, |
| 381 | Real.sqrt_div (by positivity : 0 ≤ 2 * p.2.1) (q h p), Real.sqrt_eq_rpow (q h p), |
| 382 | Real.rpow_sub hq] |
| 383 | field_simp |
| 384 | |
| 385 | end PressureScaling |
| 386 | |
| 387 | section ClosedTimeRegularity |
| 388 | |
| 389 | noncomputable def closedHeatDomain : Set PhysicalPoint := {p | p.1 ≤ 1 ∧ 0 < p.2.1} |
| 390 | |
| 391 | theorem heatCoefficient_sq_scaled (C h : ℝ) {p : PhysicalPoint} (hs : 0 < p.2.1) |
| 392 | {v : ℝ} (hv : 0 < v) : |
| 393 | heatCoefficient C h (p.1, (p.2.1 * v, p.2.2)) ^ 2 = |
| 394 | (C ^ 2 / 2 * p.2.1 ^ (-2 * TerminalPressure.amplitudeExponent h - 1)) * |
| 395 | TerminalPressure.heatDensity h ((1 - p.1) / p.2.1) v := by |
| 396 | rw [heatCoefficient, TerminalPressure.swirlCoefficient_sq C h (fun _ => 1) (mul_pos hs hv), |
| 397 | Real.mul_rpow hs.le hv.le] |
| 398 | have he : 2 * (1 - p.1) / (p.2.1 * v) = 2 * ((1 - p.1) / p.2.1) / v := by ring |
| 399 | rw [he] |
| 400 | unfold TerminalPressure.heatDensity TerminalPressure.pressureWeight |
| 401 | ring |
| 402 | |
| 403 | /-- A formula for the canonical heat pressure valid also at zero time |
| 404 | remaining. Its factor is the actual convergent pressure integral. -/ |
| 405 | theorem heatPressure_formula (C h : ℝ) {p : PhysicalPoint} (hs : 0 < p.2.1) : |
| 406 | heatPressure C h p = |
| 407 | -(C ^ 2 / 2) * p.2.1 ^ (-2 * TerminalPressure.amplitudeExponent h) * |
| 408 | TerminalPressure.heatPressureFactor h ((1 - p.1) / p.2.1) := by |
| 409 | let g : ℝ → ℝ := fun s => heatCoefficient C h (p.1, (s, p.2.2)) ^ 2 |
| 410 | have hscale := integral_comp_mul_left_Ioi g 1 hs |
| 411 | have he : (∫ s in Ioi p.2.1, g s) = p.2.1 * (∫ v in Ioi (1 : ℝ), g (p.2.1 * v)) := by |
| 412 | rw [hscale, mul_one, smul_eq_mul, ← mul_assoc, mul_inv_cancel₀ hs.ne', one_mul] |
| 413 | have hd : (∫ v in Ioi (1 : ℝ), g (p.2.1 * v)) = |
| 414 | (C ^ 2 / 2 * p.2.1 ^ (-2 * TerminalPressure.amplitudeExponent h - 1)) * |
| 415 | TerminalPressure.heatPressureFactor h ((1 - p.1) / p.2.1) := by |
| 416 | rw [TerminalPressure.heatPressureFactor, ← integral_const_mul] |
| 417 | apply integral_congr_ae |
| 418 | filter_upwards [ae_restrict_mem measurableSet_Ioi] with v hv |
| 419 | exact heatCoefficient_sq_scaled C h hs (zero_lt_one.trans hv) |
| 420 | change -(∫ s in Ioi p.2.1, g s) = _ |
| 421 | rw [he, hd, Real.rpow_sub hs, Real.rpow_one] |
| 422 | field_simp |
| 423 | |
| 424 | /-- Joint one-sided smoothness at `t=1` at every positive physical radius. -/ |
| 425 | theorem heatCoefficient_contDiffOn_closed (C : ℝ) {h : ℝ} (hh : 0 < h) : |
| 426 | ContDiffOn ℝ ∞ (heatCoefficient C h) closedHeatDomain := by |
| 427 | have hheat : ContDiffOn ℝ ∞ (fun p : PhysicalPoint => |
| 428 | RadialHeatProfile.spatialProfile (1 + h) (1 - p.1) p.2.1) closedHeatDomain := |
| 429 | (RadialHeatProfile.spatialProfile_joint_contDiffOn (by linarith)).comp |
| 430 | (contDiffOn_snd.fst.prodMk (contDiffOn_const.sub contDiffOn_fst)) |
| 431 | (fun _ hp => ⟨hp.2, sub_nonneg.mpr hp.1⟩) |
| 432 | have hr : ContDiffOn ℝ ∞ (fun p : PhysicalPoint => Real.sqrt (2 * p.2.1)) closedHeatDomain := |
| 433 | (contDiffOn_const.mul contDiffOn_snd.fst).sqrt (fun _ hp => by have := hp.2; positivity) |
| 434 | have hdiv := ((contDiffOn_const (c := C)).mul hheat).div hr |
| 435 | (fun _ hp => (Real.sqrt_pos.mpr (by have := hp.2; positivity)).ne') |
| 436 | rw [show heatCoefficient C h = (fun p => TerminalStress.physicalHeat C (1 + h) p / |
| 437 | Real.sqrt (2 * p.2.1)) from funext (heatCoefficient_eq C h)] |
| 438 | exact hdiv |
| 439 | |
| 440 | theorem heatPressure_contDiffOn_closed (C : ℝ) {h : ℝ} (hh : 0 < h) : |
| 441 | ContDiffOn ℝ ∞ (heatPressure C h) closedHeatDomain := by |
| 442 | have hnu : ContDiffOn ℝ ∞ (fun p : PhysicalPoint => (1 - p.1) / p.2.1) closedHeatDomain := |
| 443 | (contDiffOn_const.sub contDiffOn_fst).div contDiffOn_snd.fst (fun _ hp => hp.2.ne') |
| 444 | have hfac := (TerminalPressure.heatPressureFactor_contDiffOn hh).comp hnu |
| 445 | (fun _ hp => div_nonneg (sub_nonneg.mpr hp.1) hp.2.le) |
| 446 | have hpow : ContDiffOn ℝ ∞ (fun p : PhysicalPoint => |
| 447 | p.2.1 ^ (-2 * TerminalPressure.amplitudeExponent h)) closedHeatDomain := |
| 448 | contDiffOn_snd.fst.rpow_const_of_ne (fun _ hp => hp.2.ne') |
| 449 | apply ((contDiffOn_const.mul hpow).mul hfac).congr |
| 450 | intro p hp |
| 451 | exact heatPressure_formula C h hp.2 |
| 452 | |
| 453 | end ClosedTimeRegularity |
| 454 | |
| 455 | section NominalExterior |
| 456 | |
| 457 | open AssembledSlowBase |
| 458 | |
| 459 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 460 | |
| 461 | noncomputable def nominalHeatSwitch : ℝ := OutgoingDilation.switchRadius F W.controls.radius |
| 462 | |
| 463 | noncomputable def nominalExteriorRadius : ℝ := |
| 464 | max (nominalOuterX W) (max W.controls.radius (nominalHeatSwitch W * Real.exp 3)) |
| 465 | |
| 466 | noncomputable def nominalHeatNormalization : ℝ := |
| 467 | PhysicalHeatCoordinates.normalization F.data (nominalHeatSwitch W) |
| 468 | |
| 469 | theorem nominalHeatSwitch_pos : 0 < nominalHeatSwitch W := |
| 470 | OutgoingDilation.switchRadius_pos F W.controls.radius W.controls.radius_pos |
| 471 | |
| 472 | theorem nominalExteriorRadius_pos : 0 < nominalExteriorRadius W := |
| 473 | (nominalOuterX_pos W).trans_le (le_max_left _ _) |
| 474 | |
| 475 | theorem nominalExteriorRadius_ge_outer : nominalOuterX W ≤ nominalExteriorRadius W := le_max_left _ _ |
| 476 | |
| 477 | theorem nominalExteriorRadius_ge_radius : W.controls.radius ≤ nominalExteriorRadius W := |
| 478 | (le_max_left _ _).trans (le_max_right _ _) |
| 479 | |
| 480 | theorem nominalExteriorRadius_ge_late : nominalHeatSwitch W * Real.exp 3 ≤ nominalExteriorRadius W := |
| 481 | (le_max_right _ _).trans (le_max_right _ _) |
| 482 | |
| 483 | theorem nominalExteriorRadius_gt_switch : nominalHeatSwitch W < nominalExteriorRadius W := by |
| 484 | have he : (1 : ℝ) < Real.exp 3 := Real.one_lt_exp_iff.mpr (by norm_num) |
| 485 | exact (lt_mul_of_one_lt_right (nominalHeatSwitch_pos W) he).trans_le |
| 486 | (nominalExteriorRadius_ge_late W) |
| 487 | |
| 488 | /-- All required original coefficient support and mass identities are |
| 489 | discharged for the actual repaired nominal sequence. -/ |
| 490 | theorem nominal_exterior_coefficients : |
| 491 | ExteriorCoefficients (nominalCoefficients W) (nominalExteriorRadius W) := by |
| 492 | constructor |
| 493 | · intro n w hw he |
| 494 | exact nominalCoefficients_axial_zero_all W n |
| 495 | ((nominalExteriorRadius_ge_outer W).trans hw.le) (abs_le.mpr he) |
| 496 | · intro n w hw he |
| 497 | exact nominal_axial_primitive_zero_all W n |
| 498 | ((nominalExteriorRadius_ge_outer W).trans hw.le) (abs_le.mpr he) |
| 499 | · intro n hn w hw _ |
| 500 | exact (nominalCoefficients_positive_exterior W hn |
| 501 | ((nominalExteriorRadius_ge_outer W).trans hw.le)).1 |
| 502 | · intro n hn w hw _ |
| 503 | exact (nominalCoefficients_positive_exterior W hn |
| 504 | ((nominalExteriorRadius_ge_outer W).trans hw.le)).2.2 |
| 505 | |
| 506 | theorem nominal_leadingAngular_eq_pullback {p : PhysicalPoint} |
| 507 | (ht : p.1 < 1) (hX : 0 ≤ X F.data.h p) : |
| 508 | leadingAngular F.data.h W.axis.normalization (nominalCoefficients W) p = |
| 509 | pullback F.data.h (-CoordinateAlgebra.A F.data.h - 1 / 2) W.f p := by |
| 510 | have he := physical_eta_mem F.data.h_pos F.data.h_lt_half ht |
| 511 | have hc := (nominalCoefficients_zero_fields W hX (abs_le.mpr he)).1 |
| 512 | simp only [physicalChart_eq] at hc |
| 513 | unfold leadingAngular pullback |
| 514 | rw [hc] |
| 515 | field_simp [W.axis.normalization_pos.ne'] |
| 516 | |
| 517 | theorem nominal_late_ratio {X : ℝ} (hX : nominalExteriorRadius W < X) : |
| 518 | 3 ≤ Real.log (X / nominalHeatSwitch W) + 1 / 5 := by |
| 519 | have hx : 0 < X := (nominalExteriorRadius_pos W).trans hX |
| 520 | have harg : 0 < X / nominalHeatSwitch W := div_pos hx (nominalHeatSwitch_pos W) |
| 521 | have he : Real.exp (3 : ℝ) < X / nominalHeatSwitch W := by |
| 522 | apply (lt_div_iff₀ (nominalHeatSwitch_pos W)).mpr |
| 523 | rw [mul_comm] |
| 524 | exact (nominalExteriorRadius_ge_late W).trans_lt hX |
| 525 | have hl := (Real.lt_log_iff_exp_lt harg).mpr he |
| 526 | linarith |
| 527 | |
| 528 | theorem nominal_angular_pure_heat {p : PhysicalPoint} |
| 529 | (hp : p ∈ exteriorDomain F.data.h (nominalExteriorRadius W)) : |
| 530 | leadingAngular F.data.h W.axis.normalization (nominalCoefficients W) p = |
| 531 | heatCoefficient (nominalHeatNormalization W) F.data.h p := by |
| 532 | have hq := q_pos F.data.h_pos F.data.h_lt_half hp.1 |
| 533 | have hX : 0 < X F.data.h p := (nominalExteriorRadius_pos W).trans hp.2 |
| 534 | have hs : 0 < p.2.1 := (div_pos_iff.mp hX).resolve_right |
| 535 | (fun h => (not_lt_of_ge hq.le) h.2) |>.1 |
| 536 | have he : eta F.data.h p ∈ HeatedOutgoing.parameterDomain := |
| 537 | physical_eta_mem F.data.h_pos F.data.h_lt_half hp.1 |
| 538 | have hjoin : W.controls.heatJoin < X F.data.h p := |
| 539 | (W.controls.heatJoin_lt_radius.trans_le (nominalExteriorRadius_ge_radius W)).trans hp.2 |
| 540 | have hswitch : nominalHeatSwitch W ≤ X F.data.h p := |
| 541 | (nominalExteriorRadius_gt_switch W).le.trans hp.2.le |
| 542 | have hE : W.E (inner F.data.h p) = |
| 543 | ParametricHeatTail.physicalEdit F.data (nominalHeatSwitch W) (eta F.data.h p) (X F.data.h p) := |
| 544 | (W.heat_agreement hjoin he).2.1.trans |
| 545 | (HeatedOutgoing.E_after_switch F W.controls.radius W.heat.physical.coefficients |
| 546 | (eta F.data.h p) (X F.data.h p) W.controls.radius_pos hswitch) |
| 547 | rw [nominal_leadingAngular_eq_pullback W hp.1 hX.le, |
| 548 | physical_angular_from_profile F.data.h hq hs (W.E_eq_sqrt_f hX), hE] |
| 549 | change PhysicalHeatCoordinates.editedAngular F.data (nominalHeatSwitch W) p / |
| 550 | Real.sqrt (2 * p.2.1) = _ |
| 551 | rw [PhysicalHeatCoordinates.editedAngular_eq_pure_heat F.data (nominalHeatSwitch_pos W) |
| 552 | F.data.h_lt_half hp.1 hs (nominal_late_ratio W hp.2), heatCoefficient_eq] |
| 553 | rfl |
| 554 | |
| 555 | /-- The nominal pressure is the actual squared regular swirl integral. -/ |
| 556 | theorem nominal_pressure_regular_integral {X eta : ℝ} (hX : 0 ≤ X) |
| 557 | (he : eta ∈ HeatedOutgoing.parameterDomain) : |
| 558 | W.Pi (X, eta) = -(∫ u in Ioi X, W.f (u, eta) ^ 2) := by |
| 559 | rw [W.pressure_canonical hX he] |
| 560 | have hi : (∫ u in Ioi X, W.E (u, eta) ^ 2 / u) = |
| 561 | ∫ u in Ioi X, 2 * W.f (u, eta) ^ 2 := by |
| 562 | apply setIntegral_congr_fun measurableSet_Ioi |
| 563 | intro u hu |
| 564 | have hu0 := hX.trans_lt hu |
| 565 | change W.E (u, eta) ^ 2 / u = 2 * W.f (u, eta) ^ 2 |
| 566 | rw [W.E_eq_sqrt_f (p := (u, eta)) hu0, mul_pow, Real.sq_sqrt (by positivity)] |
| 567 | field_simp |
| 568 | rw [hi, integral_const_mul] |
| 569 | ring |
| 570 | |
| 571 | theorem nominal_pressure_pullback {p : PhysicalPoint} |
| 572 | (ht : p.1 < 1) (hX : 0 ≤ X F.data.h p) : |
| 573 | leadingPressure F.data.h (nominalCoefficients W) p = |
| 574 | TerminalStress.canonicalPressure |
| 575 | (pullback F.data.h (-CoordinateAlgebra.A F.data.h - 1 / 2) W.f) p := by |
| 576 | have he := physical_eta_mem F.data.h_pos F.data.h_lt_half ht |
| 577 | have hc := (nominalCoefficients_zero_fields W hX (abs_le.mpr he)).2.2 |
| 578 | simp only [physicalChart_eq] at hc |
| 579 | have hp := canonicalPressure_pullback F.data.h (-CoordinateAlgebra.A F.data.h - 1 / 2) W.f |
| 580 | (q_pos F.data.h_pos F.data.h_lt_half ht) |
| 581 | rw [show 2 * (-CoordinateAlgebra.A F.data.h - 1 / 2) + 1 = |
| 582 | -2 * CoordinateAlgebra.A F.data.h by ring] at hp |
| 583 | unfold leadingPressure pullback |
| 584 | rw [hc] |
| 585 | change q F.data.h p ^ (-2 * CoordinateAlgebra.A F.data.h) * |
| 586 | W.Pi (X F.data.h p, eta F.data.h p) = _ |
| 587 | rw [nominal_pressure_regular_integral W hX (show eta F.data.h p ∈ HeatedOutgoing.parameterDomain from he)] |
| 588 | exact hp.symm |
| 589 | |
| 590 | theorem nominal_pressure_pure_heat {p : PhysicalPoint} |
| 591 | (hp : p ∈ exteriorDomain F.data.h (nominalExteriorRadius W)) : |
| 592 | leadingPressure F.data.h (nominalCoefficients W) p = |
| 593 | heatPressure (nominalHeatNormalization W) F.data.h p := by |
| 594 | have hX : 0 < X F.data.h p := (nominalExteriorRadius_pos W).trans hp.2 |
| 595 | rw [nominal_pressure_pullback W hp.1 hX.le] |
| 596 | apply canonicalPressure_congr_tail |
| 597 | intro s hs |
| 598 | have hq := q_pos F.data.h_pos F.data.h_lt_half hp.1 |
| 599 | have hx' : nominalExteriorRadius W < X F.data.h (p.1, (s, p.2.2)) := by |
| 600 | exact hp.2.trans (div_lt_div_of_pos_right hs hq) |
| 601 | have hpt : (p.1, (s, p.2.2)) ∈ exteriorDomain F.data.h (nominalExteriorRadius W) := |
| 602 | ⟨hp.1, hx'⟩ |
| 603 | rw [← nominal_leadingAngular_eq_pullback W (p := (p.1, (s, p.2.2))) hp.1 |
| 604 | ((nominalExteriorRadius_pos W).trans hx').le] |
| 605 | exact nominal_angular_pure_heat W hpt |
| 606 | |
| 607 | /-- The actual summed nominal velocity and pressure are exactly the radial |
| 608 | heat field outside one common profile radius, for every cutoff schedule. -/ |
| 609 | theorem nominal_base_eq_heat {a : ℕ → ℕ} (ha : StrictMono a) : |
| 610 | EqOn (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) |
| 611 | (heatVelocity (nominalHeatNormalization W) F.data.h) |
| 612 | (cartesianExterior F.data.h (nominalExteriorRadius W)) ∧ |
| 613 | EqOn (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) |
| 614 | (heatPressureField (nominalHeatNormalization W) F.data.h) |
| 615 | (cartesianExterior F.data.h (nominalExteriorRadius W)) := |
| 616 | exterior_base_eq_heat ha F.data.h_pos F.data.h_lt_half (nominalExteriorRadius_pos W).le |
| 617 | (nominalCoefficients_smooth W) (nominal_exterior_coefficients W) |
| 618 | (fun _ hp => nominal_angular_pure_heat W hp) (fun _ hp => nominal_pressure_pure_heat W hp) |
| 619 | |
| 620 | /-- Exact zero residual in the actual summed exterior. No exterior |
| 621 | solution property is supplied as a premise. -/ |
| 622 | theorem nominal_base_residual_zero {a : ℕ → ℕ} (ha : StrictMono a) |
| 623 | {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : |
| 624 | navierStokesResidual (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) |
| 625 | (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) z.1 z.2 = 0 := |
| 626 | exterior_base_residual_zero ha F.data.h_pos F.data.h_lt_half (nominalExteriorRadius_pos W).le |
| 627 | (nominalCoefficients_smooth W) (nominal_exterior_coefficients W) |
| 628 | (fun _ hp => nominal_angular_pure_heat W hp) (fun _ hp => nominal_pressure_pure_heat W hp) hz |
| 629 | |
| 630 | theorem nominal_base_residual_germ_zero {a : ℕ → ℕ} (ha : StrictMono a) |
| 631 | {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : |
| 632 | (fun y => navierStokesResidual |
| 633 | (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) |
| 634 | (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) y.1 y.2) |
| 635 | =ᶠ[𝓝 z] (fun _ => 0) := by |
| 636 | filter_upwards [(cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half |
| 637 | (nominalExteriorRadius W)).mem_nhds hz] with y hy |
| 638 | exact nominal_base_residual_zero W ha hy |
| 639 | |
| 640 | /-- Every physical derivative of the actual Cartesian residual is exactly |
| 641 | zero on the exterior, not just asymptotically small. -/ |
| 642 | theorem nominal_base_residual_jets_zero {a : ℕ → ℕ} (ha : StrictMono a) |
| 643 | {z : SpaceTime} (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) (m : ℕ) : |
| 644 | iteratedFDeriv ℝ m (fun y => navierStokesResidual |
| 645 | (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) |
| 646 | (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) y.1 y.2) z = 0 := by |
| 647 | rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (nominal_base_residual_germ_zero W ha hz) m).self_of_nhds, |
| 648 | iteratedFDeriv_fun_zero, Pi.zero_apply] |
| 649 | |
| 650 | end NominalExterior |
| 651 | |
| 652 | section TerminalExtension |
| 653 | |
| 654 | noncomputable def closedCartesianHeatDomain : Set SpaceTime := |
| 655 | {z | z.1 ≤ 1 ∧ 0 < AxisymmetricFields.radialEnergy z.2} |
| 656 | |
| 657 | theorem heatVelocity_eq_angularVector (C h : ℝ) (z : SpaceTime) : |
| 658 | heatVelocity C h z = heatCoefficient C h (AxisymmetricFields.profilePoint z.1 z.2) • |
| 659 | BaseResidual.angularVector z := by |
| 660 | ext i |
| 661 | fin_cases i <;> |
| 662 | simp [heatVelocity, AxisymmetricResidual.velocity, AxisymmetricResidual.componentX, |
| 663 | AxisymmetricResidual.componentY, AxisymmetricResidual.lift, AxisymmetricResidual.pack, |
| 664 | BaseResidual.angularVector, coordinateVector, Fin.ext_iff] <;> ring |
| 665 | |
| 666 | /-- The exact exterior solution is jointly smooth up to the terminal time |
| 667 | on every region of positive physical radius, in Cartesian coordinates. -/ |
| 668 | theorem heatVelocity_contDiffOn_closed (C : ℝ) {h : ℝ} (hh : 0 < h) : |
| 669 | ContDiffOn ℝ ∞ (heatVelocity C h) closedCartesianHeatDomain := by |
| 670 | have hs := (heatCoefficient_contDiffOn_closed C hh).comp |
| 671 | (AxisymmetricFields.contDiff_profilePoint (n := ∞)).contDiffOn |
| 672 | (show MapsTo (fun z : SpaceTime => AxisymmetricFields.profilePoint z.1 z.2) |
| 673 | closedCartesianHeatDomain closedHeatDomain from fun _ hz => hz) |
| 674 | have he : heatVelocity C h = (fun z => |
| 675 | heatCoefficient C h (AxisymmetricFields.profilePoint z.1 z.2) • BaseResidual.angularVector z) := |
| 676 | funext (heatVelocity_eq_angularVector C h) |
| 677 | rw [he] |
| 678 | exact hs.smul BaseResidual.angularVector_smooth.contDiffOn |
| 679 | |
| 680 | theorem heatPressureField_contDiffOn_closed (C : ℝ) {h : ℝ} (hh : 0 < h) : |
| 681 | ContDiffOn ℝ ∞ (heatPressureField C h) closedCartesianHeatDomain := |
| 682 | (heatPressure_contDiffOn_closed C hh).comp |
| 683 | (AxisymmetricFields.contDiff_profilePoint (n := ∞)).contDiffOn |
| 684 | (show MapsTo (fun z : SpaceTime => AxisymmetricFields.profilePoint z.1 z.2) |
| 685 | closedCartesianHeatDomain closedHeatDomain from fun _ hz => hz) |
| 686 | |
| 687 | theorem near_one_in_exterior {h R : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) |
| 688 | {x : Space} (hx : x 2 = 0) (_hs : 0 < AxisymmetricFields.radialEnergy x) |
| 689 | {t : ℝ} (ht : t ∈ Ioo (1 - AxisymmetricFields.radialEnergy x / (R + 1)) 1) : |
| 690 | (t, x) ∈ cartesianExterior h R := by |
| 691 | have hq : q h (AxisymmetricFields.profilePoint t x) = 1 - t := by |
| 692 | change NaturalCore.physicalQ h (t, (AxisymmetricFields.radialEnergy x, x 2)) = _ |
| 693 | rw [hx] |
| 694 | exact NaturalCore.physicalQ_at_zero_z hh hh1 ht.2 _ |
| 695 | refine ⟨ht.2, ?_⟩ |
| 696 | change R < AxisymmetricFields.radialEnergy x / q h (AxisymmetricFields.profilePoint t x) |
| 697 | rw [hq] |
| 698 | apply (lt_div_iff₀ (sub_pos.mpr ht.2)).mpr |
| 699 | have hRp : 0 < R + 1 := by linarith |
| 700 | have hsmall : 1 - t < AxisymmetricFields.radialEnergy x / (R + 1) := by linarith [ht.1] |
| 701 | have hprod := (lt_div_iff₀ hRp).mp hsmall |
| 702 | nlinarith [sub_pos.mpr ht.2] |
| 703 | |
| 704 | open AssembledSlowBase |
| 705 | |
| 706 | /-- For each fixed positive radius on the central plane, the actual base |
| 707 | equals the explicit heat extension on a whole terminal time interval. -/ |
| 708 | theorem nominal_base_terminal_extension {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 709 | {a : ℕ → ℕ} (ha : StrictMono a) {x : Space} (hx : x 2 = 0) |
| 710 | (hs : 0 < AxisymmetricFields.radialEnergy x) : |
| 711 | ∃ δ : ℝ, 0 < δ ∧ |
| 712 | (∀ t ∈ Ioo (1 - δ) 1, |
| 713 | baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) (t, x) = |
| 714 | heatVelocity (nominalHeatNormalization W) F.data.h (t, x) ∧ |
| 715 | basePressure a F.data.h W.axis.normalization (nominalCoefficients W) (t, x) = |
| 716 | heatPressureField (nominalHeatNormalization W) F.data.h (t, x)) ∧ |
| 717 | ContDiffOn ℝ ∞ (fun t => heatVelocity (nominalHeatNormalization W) F.data.h (t, x)) (Iic 1) ∧ |
| 718 | ContDiffOn ℝ ∞ (fun t => heatPressureField (nominalHeatNormalization W) F.data.h (t, x)) (Iic 1) := by |
| 719 | refine ⟨AxisymmetricFields.radialEnergy x / (nominalExteriorRadius W + 1), |
| 720 | div_pos hs (by linarith [nominalExteriorRadius_pos W]), ?_, ?_, ?_⟩ |
| 721 | · intro t ht |
| 722 | have hm := near_one_in_exterior F.data.h_pos F.data.h_lt_half (nominalExteriorRadius_pos W).le hx hs ht |
| 723 | exact ⟨(nominal_base_eq_heat W ha).1 hm, (nominal_base_eq_heat W ha).2 hm⟩ |
| 724 | · exact (heatVelocity_contDiffOn_closed (nominalHeatNormalization W) F.data.h_pos).comp |
| 725 | (contDiffOn_id.prodMk contDiffOn_const) (fun _ ht => ⟨ht, hs⟩) |
| 726 | · exact (heatPressureField_contDiffOn_closed (nominalHeatNormalization W) F.data.h_pos).comp |
| 727 | (contDiffOn_id.prodMk contDiffOn_const) (fun _ ht => ⟨ht, hs⟩) |
| 728 | |
| 729 | theorem nominal_base_meridional_zero {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 730 | {a : ℕ → ℕ} (ha : StrictMono a) {z : SpaceTime} |
| 731 | (hz : z ∈ cartesianExterior F.data.h (nominalExteriorRadius W)) : |
| 732 | baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 2 = 0 ∧ |
| 733 | z.2 0 * baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 0 + |
| 734 | z.2 1 * baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) z 1 = 0 := by |
| 735 | rw [(nominal_base_eq_heat W ha).1 hz, heatVelocity_eq_angularVector] |
| 736 | simp [BaseResidual.angularVector, coordinateVector, Fin.ext_iff] |
| 737 | ring |
| 738 | |
| 739 | end TerminalExtension |
| 740 | |
| 741 | end NavierStokes.BaseExterior |