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.ActualSlowAxis |
| 2 | import NavierStokes.SlowResidualMatching |
| 3 | |
| 4 | /-! |
| 5 | # The natural core solves the actual order-zero residual equations |
| 6 | |
| 7 | The natural solution is the one retained by `NaturalEntrance.CoefficientProfile`. |
| 8 | Its scalar swirl is normalized as `phi = C*f`, its pressure is unchanged, and |
| 9 | its radial flux is `X*beta`. The two residual equations below are derived from |
| 10 | the constructed natural equations, not assumed as slow-order hypotheses. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set Filter |
| 16 | open scoped Topology ContDiff |
| 17 | |
| 18 | namespace NavierStokes.NaturalCoefficientBridge |
| 19 | |
| 20 | open SimilarityProfile (InnerPoint InnerProfile partialX partialEta T Z) |
| 21 | open SlowExpansionResidual |
| 22 | |
| 23 | theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 24 | WithTop.coe_le_coe.mpr le_top |
| 25 | |
| 26 | theorem partialX_eq_slice {f : InnerProfile} {w : InnerPoint} |
| 27 | (hf : DifferentiableAt ℝ f w) : |
| 28 | partialX f w = deriv (fun x => f (x, w.2)) w.1 := by |
| 29 | symm |
| 30 | exact (hf.hasFDerivAt.comp_hasDerivAt w.1 |
| 31 | ((hasDerivAt_id w.1).prodMk (hasDerivAt_const w.1 w.2))).deriv |
| 32 | |
| 33 | theorem partialEta_eq_slice {f : InnerProfile} {w : InnerPoint} |
| 34 | (hf : DifferentiableAt ℝ f w) : |
| 35 | partialEta f w = deriv (fun η => f (w.1, η)) w.2 := by |
| 36 | symm |
| 37 | exact (hf.hasFDerivAt.comp_hasDerivAt w.2 |
| 38 | ((hasDerivAt_const w.2 w.1).prodMk (hasDerivAt_id w.2))).deriv |
| 39 | |
| 40 | theorem secondX_eq_slice {f : InnerProfile} {w : InnerPoint} |
| 41 | (hf : ContDiffAt ℝ ∞ f w) : |
| 42 | partialX (partialX f) w = iteratedDeriv 2 (fun x => f (x, w.2)) w.1 := by |
| 43 | have hfx : DifferentiableAt ℝ (partialX f) w := |
| 44 | (SimilarityProfile.partialX_smoothAt hf (m := 1) |
| 45 | (by norm_num)).differentiableAt (by norm_num) |
| 46 | rw [partialX_eq_slice hfx, iteratedDeriv_succ, iteratedDeriv_one] |
| 47 | have he : (fun x => partialX f (x, w.2)) =ᶠ[𝓝 w.1] |
| 48 | deriv (fun x => f (x, w.2)) := by |
| 49 | have hn := (continuous_id.prodMk continuous_const).continuousAt |
| 50 | ((hf.of_le (nat_le_infty 1)).eventually (by norm_num)) |
| 51 | filter_upwards [hn] with x hx |
| 52 | exact partialX_eq_slice |
| 53 | ((show ContDiffAt ℝ 1 f (x, w.2) from hx).differentiableAt (by norm_num)) |
| 54 | exact he.deriv_eq |
| 55 | |
| 56 | theorem radialDifferential_eq {f : InnerProfile} {w : InnerPoint} |
| 57 | (hf : ContDiffAt ℝ ∞ f w) (m : ℕ) : |
| 58 | NaturalAxisBridge.radialDifferential m f w = |
| 59 | w.1 * partialX (partialX f) w + m * partialX f w := by |
| 60 | rw [secondX_eq_slice hf, partialX_eq_slice (hf.differentiableAt (by simp))] |
| 61 | rfl |
| 62 | |
| 63 | theorem partialX_const_mul (C : ℝ) {f : InnerProfile} {w : InnerPoint} |
| 64 | (hf : DifferentiableAt ℝ f w) : |
| 65 | partialX (fun p => C * f p) w = C * partialX f w := by |
| 66 | simp only [partialX, fderiv_const_mul hf, _root_.smul_apply, smul_eq_mul] |
| 67 | |
| 68 | theorem partialEta_const_mul (C : ℝ) {f : InnerProfile} {w : InnerPoint} |
| 69 | (hf : DifferentiableAt ℝ f w) : |
| 70 | partialEta (fun p => C * f p) w = C * partialEta f w := by |
| 71 | simp only [partialEta, fderiv_const_mul hf, _root_.smul_apply, smul_eq_mul] |
| 72 | |
| 73 | theorem secondX_const_mul (C : ℝ) {f : InnerProfile} {w : InnerPoint} |
| 74 | (hf : ContDiffAt ℝ ∞ f w) : |
| 75 | partialX (partialX (fun p => C * f p)) w = C * partialX (partialX f) w := by |
| 76 | rw [secondX_eq_slice (contDiffAt_const.mul hf), secondX_eq_slice hf] |
| 77 | exact iteratedDeriv_const_mul |
| 78 | C ((hf.comp w.1 (contDiffAt_id.prodMk contDiffAt_const)).of_le (nat_le_infty 2)) |
| 79 | |
| 80 | /-- Flux reconstructed from the actual natural radial average. -/ |
| 81 | noncomputable def naturalFlux (h : ℝ) (U V : InnerProfile) (w : InnerPoint) : ℝ := |
| 82 | w.1 / CoordinateAlgebra.L h w.2 * |
| 83 | (2 * w.2 * U w - 2 * CoordinateAlgebra.D h * w.2 * V w - |
| 84 | CoordinateAlgebra.d w.2 * NaturalAxisBridge.partialEta V w) |
| 85 | |
| 86 | noncomputable def zeroSequence (f : InnerProfile) (n : ℕ) : InnerProfile := |
| 87 | if n = 0 then f else fun _ => 0 |
| 88 | |
| 89 | noncomputable def naturalProfiles (h C : ℝ) (f U V P : InnerProfile) : SlowProfiles where |
| 90 | phi := zeroSequence (fun w => C * f w) |
| 91 | axial := zeroSequence U |
| 92 | flux := zeroSequence (naturalFlux h U V) |
| 93 | pressure := zeroSequence P |
| 94 | |
| 95 | theorem angular_zero_formula (h : ℝ) (f : SlowProfiles) (w : InnerPoint) : |
| 96 | angularCoefficient h f 0 w = |
| 97 | T h (angularExponent h) (f.phi 0) w - |
| 98 | 2 * (w.1 * partialX (partialX (f.phi 0)) w + 2 * partialX (f.phi 0) w) + |
| 99 | (f.flux 0 w * (partialX (f.phi 0) w + f.phi 0 w / w.1) + |
| 100 | f.axial 0 w * Z h (angularExponent h) (f.phi 0) w) := by |
| 101 | simp [angularCoefficient, transportCoefficient, recurrence, transportLinear, transportPair, |
| 102 | convolution, previous] |
| 103 | |
| 104 | theorem axial_zero_formula (h : ℝ) (f : SlowProfiles) (w : InnerPoint) : |
| 105 | axialCoefficient h f 0 w = |
| 106 | T h (axialExponent h) (f.axial 0) w - |
| 107 | 2 * (w.1 * partialX (partialX (f.axial 0)) w + partialX (f.axial 0) w) + |
| 108 | Z h (pressureExponent h) (f.pressure 0) w + |
| 109 | (f.flux 0 w * partialX (f.axial 0) w + |
| 110 | f.axial 0 w * Z h (axialExponent h) (f.axial 0) w) := by |
| 111 | simp [axialCoefficient, transportCoefficient, recurrence, transportLinear, transportPair, |
| 112 | convolution, previous, axialPressureSource] |
| 113 | |
| 114 | theorem natural_angular_zero {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} |
| 115 | (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V P) |
| 116 | (C : ℝ) {w : InnerPoint} (hw : w ∈ NaturalProfile.domain Λ) |
| 117 | (hX : w.1 ≠ 0) (hL : CoordinateAlgebra.L h w.2 ≠ 0) : |
| 118 | angularCoefficient h (naturalProfiles h C f U V P) 0 w = 0 := by |
| 119 | have hf := hs.f_smooth.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hw) |
| 120 | have hn := hs.angular_equation w hw |
| 121 | rw [radialDifferential_eq hf 2] at hn |
| 122 | rw [angular_zero_formula] |
| 123 | simp only [naturalProfiles, zeroSequence, ↓reduceIte] |
| 124 | unfold T Z CoordinateAlgebra.timeCoeff CoordinateAlgebra.axialCoeff |
| 125 | rw [partialX_const_mul C (hf.differentiableAt (by simp)), secondX_const_mul C hf, |
| 126 | partialEta_const_mul C (hf.differentiableAt (by simp))] |
| 127 | have hx : NaturalAxisBridge.partialY f w = partialX f w := |
| 128 | (partialX_eq_slice (hf.differentiableAt (by simp))).symm |
| 129 | have he : NaturalAxisBridge.partialEta f w = partialEta f w := |
| 130 | (partialEta_eq_slice (hf.differentiableAt (by simp))).symm |
| 131 | rw [hx, he] at hn |
| 132 | dsimp only [naturalFlux, angularExponent, CoordinateAlgebra.A, CoordinateAlgebra.D, CoordinateAlgebra.d, |
| 133 | NaturalProfile.transportW, NaturalProfile.transportH, NaturalAxisData.A, NaturalAxisData.D, |
| 134 | NaturalAxisData.d] at hn ⊢ |
| 135 | change _ ≠ 0 at hL |
| 136 | change 2 * CoordinateAlgebra.L h w.2 * _ = _ at hn |
| 137 | field_simp [hL, hX] |
| 138 | linear_combination -2 * C * hn |
| 139 | |
| 140 | theorem natural_axial_zero {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} |
| 141 | (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V P) |
| 142 | (C : ℝ) {w : InnerPoint} (hw : w ∈ NaturalProfile.domain Λ) |
| 143 | (hL : CoordinateAlgebra.L h w.2 ≠ 0) : |
| 144 | axialCoefficient h (naturalProfiles h C f U V P) 0 w = 0 := by |
| 145 | have hu := hs.U_smooth.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hw) |
| 146 | have hp := hs.pressure_smooth.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hw) |
| 147 | have hn := hs.axial_equation w hw |
| 148 | rw [radialDifferential_eq hu 1] at hn |
| 149 | rw [axial_zero_formula] |
| 150 | simp only [naturalProfiles, zeroSequence, ↓reduceIte] |
| 151 | unfold T Z CoordinateAlgebra.timeCoeff CoordinateAlgebra.axialCoeff |
| 152 | have hx : NaturalAxisBridge.partialY U w = partialX U w := |
| 153 | (partialX_eq_slice (hu.differentiableAt (by simp))).symm |
| 154 | have he : NaturalAxisBridge.partialEta U w = partialEta U w := |
| 155 | (partialEta_eq_slice (hu.differentiableAt (by simp))).symm |
| 156 | have hpx : NaturalAxisBridge.partialY P w = partialX P w := |
| 157 | (partialX_eq_slice (hp.differentiableAt (by simp))).symm |
| 158 | have hpe : NaturalAxisBridge.partialEta P w = partialEta P w := |
| 159 | (partialEta_eq_slice (hp.differentiableAt (by simp))).symm |
| 160 | rw [hx, he, hpx, hpe] at hn |
| 161 | dsimp only [naturalFlux, axialExponent, pressureExponent, CoordinateAlgebra.A, CoordinateAlgebra.D, |
| 162 | CoordinateAlgebra.d, NaturalProfile.transportW, NaturalProfile.transportH, NaturalAxisData.A, |
| 163 | NaturalAxisData.D, NaturalAxisData.d] at hn ⊢ |
| 164 | change 2 * CoordinateAlgebra.L h w.2 * _ = _ at hn |
| 165 | field_simp [hL] |
| 166 | linear_combination -2 * hn |
| 167 | |
| 168 | /-- The natural average is the genuine radial average, including the axis. -/ |
| 169 | theorem natural_average_eq {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} |
| 170 | (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V P) |
| 171 | {w : InnerPoint} (hw : w ∈ NaturalProfile.domain Λ) : |
| 172 | V w = ProfileHistories.average U w := by |
| 173 | by_cases hX : w.1 = 0 |
| 174 | · rcases w with ⟨X, η⟩ |
| 175 | dsimp only at hX |
| 176 | subst X |
| 177 | rw [ProfileHistories.average_at_axis, hs.average_axis η hw.2, hs.U_axis η hw.2] |
| 178 | · apply mul_left_cancel₀ hX |
| 179 | exact (hs.average_integral w hw).trans (ProfileHistories.primitive_eq_mul_average U w) |
| 180 | |
| 181 | /-- The flux in the natural equations is precisely the canonical divergence |
| 182 | primitive used by the slow recursion. -/ |
| 183 | theorem naturalFlux_eq_radialFlux {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} |
| 184 | (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V P) |
| 185 | {w : InnerPoint} (hw : w ∈ NaturalProfile.domain Λ) : |
| 186 | naturalFlux h U V w = SlowDivergence.radialFlux h 0 U w := by |
| 187 | have he : V =ᶠ[𝓝 w] ProfileHistories.average U := by |
| 188 | filter_upwards [(NaturalProfile.domain_isOpen Λ).mem_nhds hw] with p hp |
| 189 | exact natural_average_eq hs hp |
| 190 | have hv := hs.average_smooth.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hw) |
| 191 | have hd : NaturalAxisBridge.partialEta V w = |
| 192 | partialEta (ProfileHistories.average U) w := by |
| 193 | change deriv (fun η => V (w.1, η)) w.2 = _ |
| 194 | rw [← partialEta_eq_slice (hv.differentiableAt (by simp))] |
| 195 | exact congrArg (fun L : InnerPoint →L[ℝ] ℝ => L (0, 1)) he.fderiv_eq |
| 196 | simp only [naturalFlux, SlowDivergence.radialFlux, he.eq_of_nhds, hd, add_zero] |
| 197 | ring |
| 198 | |
| 199 | /-- Germ transfer to any actual slow sequence. Higher coefficients are |
| 200 | irrelevant at order zero. No order-zero residual equation is a hypothesis. -/ |
| 201 | theorem zero_of_natural_germs {h j Λ C : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} |
| 202 | (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V P) |
| 203 | {g : SlowProfiles} {w : InnerPoint} (hw : w ∈ NaturalProfile.domain Λ) |
| 204 | (hX : w.1 ≠ 0) (hL : CoordinateAlgebra.L h w.2 ≠ 0) |
| 205 | (hphi : g.phi 0 =ᶠ[𝓝 w] fun p => C * f p) |
| 206 | (hu : g.axial 0 =ᶠ[𝓝 w] U) |
| 207 | (hv : g.flux 0 =ᶠ[𝓝 w] naturalFlux h U V) |
| 208 | (hp : g.pressure 0 =ᶠ[𝓝 w] P) : |
| 209 | angularCoefficient h g 0 w = 0 ∧ axialCoefficient h g 0 w = 0 := by |
| 210 | have hvg : ∀ n ≤ 0, g.flux n =ᶠ[𝓝 w] (naturalProfiles h C f U V P).flux n := by |
| 211 | intro n hn |
| 212 | obtain rfl := Nat.le_zero.mp hn |
| 213 | simpa only [naturalProfiles, zeroSequence, ↓reduceIte] using hv |
| 214 | have hug : ∀ n ≤ 0, g.axial n =ᶠ[𝓝 w] (naturalProfiles h C f U V P).axial n := by |
| 215 | intro n hn |
| 216 | obtain rfl := Nat.le_zero.mp hn |
| 217 | simpa only [naturalProfiles, zeroSequence, ↓reduceIte] using hu |
| 218 | have hfg : ∀ n ≤ 0, g.phi n =ᶠ[𝓝 w] (naturalProfiles h C f U V P).phi n := by |
| 219 | intro n hn |
| 220 | obtain rfl := Nat.le_zero.mp hn |
| 221 | simpa only [naturalProfiles, zeroSequence, ↓reduceIte] using hphi |
| 222 | have hpg : g.pressure 0 =ᶠ[𝓝 w] (naturalProfiles h C f U V P).pressure 0 := by |
| 223 | simpa only [naturalProfiles, zeroSequence, ↓reduceIte] using hp |
| 224 | exact ⟨(SlowResidualMatching.angularCoefficient_congr_germ h 0 hvg hug hfg).trans |
| 225 | (natural_angular_zero hs C hw hX hL), |
| 226 | (SlowResidualMatching.axialCoefficient_congr_germ h 0 hvg hug hpg).trans |
| 227 | (natural_axial_zero hs C hw hL)⟩ |
| 228 | |
| 229 | theorem zero_of_radialFlux_germs {h j Λ C : ℝ} {P0 a0 : ℝ → ℝ} {f U V P : InnerProfile} |
| 230 | (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V P) |
| 231 | {g : SlowProfiles} {w : InnerPoint} (hw : w ∈ NaturalProfile.domain Λ) |
| 232 | (hX : w.1 ≠ 0) (hL : CoordinateAlgebra.L h w.2 ≠ 0) |
| 233 | (hphi : g.phi 0 =ᶠ[𝓝 w] fun p => C * f p) |
| 234 | (hu : g.axial 0 =ᶠ[𝓝 w] U) |
| 235 | (hv : g.flux 0 =ᶠ[𝓝 w] SlowDivergence.radialFlux h 0 U) |
| 236 | (hp : g.pressure 0 =ᶠ[𝓝 w] P) : |
| 237 | angularCoefficient h g 0 w = 0 ∧ axialCoefficient h g 0 w = 0 := by |
| 238 | apply zero_of_natural_germs hs hw hX hL hphi hu _ hp |
| 239 | apply hv.trans |
| 240 | filter_upwards [(NaturalProfile.domain_isOpen Λ).mem_nhds hw] with p hp |
| 241 | exact (naturalFlux_eq_radialFlux hs hp).symm |
| 242 | |
| 243 | /-- The closed initial segment on which ACT and the stock continuation retain |
| 244 | the natural fields. Its parameter interval is open and contains `[-1,1]`. -/ |
| 245 | noncomputable def initialBand (Λ : ℝ) : Set InnerPoint := |
| 246 | Icc (0 : ℝ) (4 / Λ) ×ˢ ReferencePath.parameterInterval |
| 247 | |
| 248 | noncomputable def initialCore (Λ : ℝ) : Set InnerPoint := |
| 249 | Ioo (0 : ℝ) (4 / Λ) ×ˢ ReferencePath.parameterInterval |
| 250 | |
| 251 | theorem initialCore_open (Λ : ℝ) : IsOpen (initialCore Λ) := |
| 252 | isOpen_Ioo.prod ReferencePath.parameterInterval_open |
| 253 | |
| 254 | theorem initialCore_subset_band (Λ : ℝ) : initialCore Λ ⊆ initialBand Λ := |
| 255 | Set.prod_mono Ioo_subset_Icc_self Subset.rfl |
| 256 | |
| 257 | theorem initialBand_mem_domain {Λ : ℝ} (hΛ : 0 < Λ) {w : InnerPoint} |
| 258 | (hw : w ∈ initialBand Λ) : w ∈ NaturalProfile.domain Λ := by |
| 259 | change (-20 < Λ * w.1 ∧ Λ * w.1 < 20) ∧ w.2 ∈ ReferencePath.parameterInterval |
| 260 | have hlo := mul_nonneg hΛ.le hw.1.1 |
| 261 | have hhi : Λ * w.1 ≤ 4 := by |
| 262 | have ht := (le_div_iff₀ hΛ).mp hw.1.2 |
| 263 | linarith |
| 264 | exact ⟨⟨by linarith, by linarith⟩, hw.2⟩ |
| 265 | |
| 266 | theorem radialFlux_congr_germ (h lam : ℝ) {U V : InnerProfile} {w : InnerPoint} |
| 267 | (hu : U =ᶠ[𝓝 w] V) |
| 268 | (ha : ProfileHistories.average U =ᶠ[𝓝 w] ProfileHistories.average V) : |
| 269 | SlowDivergence.radialFlux h lam U =ᶠ[𝓝 w] SlowDivergence.radialFlux h lam V := by |
| 270 | filter_upwards [hu, ha, ha.fderiv (𝕜 := ℝ)] with p hp hpa hpd |
| 271 | simp only [SlowDivergence.radialFlux, hp, hpa, partialEta, hpd] |
| 272 | |
| 273 | section ConstructedFamily |
| 274 | |
| 275 | variable {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} |
| 276 | variable {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} |
| 277 | variable (F : NaturalProfile.ProfileFamily d Λ C) (hΛ : 0 < Λ) |
| 278 | variable (hP0 : ContDiff ℝ ∞ P0) |
| 279 | |
| 280 | include hΛ hP0 |
| 281 | |
| 282 | /-- Initial field agreement determines the actual integral histories; no |
| 283 | pressure or average matching is postulated separately. -/ |
| 284 | theorem initial_histories {D : ProfileHistories.RadialDomain} |
| 285 | (Q : ProfileHistories.Profiles D) (hq0 : Q.pressure0 = P0) |
| 286 | (hf : EqOn Q.f F.f (initialBand Λ)) (hu : EqOn Q.U F.U (initialBand Λ)) |
| 287 | {w : InnerPoint} (hw : w ∈ initialBand Λ) : |
| 288 | Q.Ubar w = F.Ubar w ∧ Q.pressure w = F.Pi w := by |
| 289 | have hh := ActualSlowAxis.histories_congr_below Q |
| 290 | (ActivationStocks.naturalHistories F hΛ hP0) hw.1.1 |
| 291 | (congrFun hq0 w.2) |
| 292 | (fun Y hY => hf (show (Y, w.2) ∈ initialBand Λ from |
| 293 | ⟨⟨hY.1, hY.2.trans hw.1.2⟩, hw.2⟩)) |
| 294 | (fun Y hY => hu (show (Y, w.2) ∈ initialBand Λ from |
| 295 | ⟨⟨hY.1, hY.2.trans hw.1.2⟩, hw.2⟩)) |
| 296 | exact ⟨hh.1.trans (ActivationStocks.naturalHistories_average F hΛ hP0 |
| 297 | (initialBand_mem_domain hΛ hw)), |
| 298 | hh.2.trans (ActivationStocks.naturalHistories_pressure F hΛ hP0 |
| 299 | (initialBand_mem_domain hΛ hw))⟩ |
| 300 | |
| 301 | theorem initial_germs {D : ProfileHistories.RadialDomain} |
| 302 | (Q : ProfileHistories.Profiles D) (hq0 : Q.pressure0 = P0) |
| 303 | (hf : EqOn Q.f F.f (initialBand Λ)) (hu : EqOn Q.U F.U (initialBand Λ)) |
| 304 | {w : InnerPoint} (hw : w ∈ initialCore Λ) : |
| 305 | (Q.f =ᶠ[𝓝 w] F.f) ∧ (Q.U =ᶠ[𝓝 w] F.U) ∧ |
| 306 | (Q.Ubar =ᶠ[𝓝 w] F.Ubar) ∧ (Q.pressure =ᶠ[𝓝 w] F.Pi) ∧ |
| 307 | (SlowDivergence.radialFlux h 0 Q.U =ᶠ[𝓝 w] SlowDivergence.radialFlux h 0 F.U) := by |
| 308 | have hn := (initialCore_open Λ).mem_nhds hw |
| 309 | have hfg : Q.f =ᶠ[𝓝 w] F.f := by |
| 310 | filter_upwards [hn] with p hp |
| 311 | exact hf (initialCore_subset_band Λ hp) |
| 312 | have hug : Q.U =ᶠ[𝓝 w] F.U := by |
| 313 | filter_upwards [hn] with p hp |
| 314 | exact hu (initialCore_subset_band Λ hp) |
| 315 | have havg : Q.Ubar =ᶠ[𝓝 w] F.Ubar := by |
| 316 | filter_upwards [hn] with p hp |
| 317 | exact (initial_histories F hΛ hP0 Q hq0 hf hu (initialCore_subset_band Λ hp)).1 |
| 318 | have hpg : Q.pressure =ᶠ[𝓝 w] F.Pi := by |
| 319 | filter_upwards [hn] with p hp |
| 320 | exact (initial_histories F hΛ hP0 Q hq0 hf hu (initialCore_subset_band Λ hp)).2 |
| 321 | have havg' : ProfileHistories.average Q.U =ᶠ[𝓝 w] ProfileHistories.average F.U := by |
| 322 | apply havg.trans |
| 323 | filter_upwards [hn] with p hp |
| 324 | exact natural_average_eq F.natural (initialBand_mem_domain hΛ (initialCore_subset_band Λ hp)) |
| 325 | exact ⟨hfg, hug, havg, hpg, radialFlux_congr_germ h 0 hug havg'⟩ |
| 326 | |
| 327 | /-- The generic assembly interface: the natural equations are derived for |
| 328 | any slow sequence whose order-zero fields are the same initial construction. -/ |
| 329 | theorem zero_of_initial_profiles (hsmall : NaturalAxisData.SmallParameters h j) |
| 330 | {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 331 | (hq0 : Q.pressure0 = P0) |
| 332 | (hf : EqOn Q.f F.f (initialBand Λ)) (hu : EqOn Q.U F.U (initialBand Λ)) |
| 333 | {g : SlowProfiles} {w : InnerPoint} (hw : w ∈ initialCore Λ) |
| 334 | (hphi : g.phi 0 =ᶠ[𝓝 w] fun p => C * Q.f p) |
| 335 | (haxial : g.axial 0 =ᶠ[𝓝 w] Q.U) |
| 336 | (hflux : g.flux 0 =ᶠ[𝓝 w] SlowDivergence.radialFlux h 0 Q.U) |
| 337 | (hpressure : g.pressure 0 =ᶠ[𝓝 w] Q.pressure) : |
| 338 | angularCoefficient h g 0 w = 0 ∧ axialCoefficient h g 0 w = 0 := by |
| 339 | obtain ⟨hfg, hug, -, hpg, hvg⟩ := initial_germs F hΛ hP0 Q hq0 hf hu hw |
| 340 | apply zero_of_radialFlux_germs F.natural |
| 341 | (initialBand_mem_domain hΛ (initialCore_subset_band Λ hw)) hw.1.1.ne' |
| 342 | (TransitionRamp.L_pos_parameterInterval hsmall hw.2).ne' |
| 343 | · exact hphi.trans (hfg.fun_comp (fun x => C * x)) |
| 344 | · exact haxial.trans hug |
| 345 | · exact hflux.trans hvg |
| 346 | · exact hpressure.trans hpg |
| 347 | |
| 348 | end ConstructedFamily |
| 349 | |
| 350 | section Transition |
| 351 | |
| 352 | variable {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} |
| 353 | variable {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} |
| 354 | variable (F : NaturalProfile.ProfileFamily d Λ C) (hΛ : 0 < Λ) |
| 355 | variable (hsmall : NaturalAxisData.SmallParameters h j) |
| 356 | variable {T δ κ w₁ w₂ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < ReferencePath.rampLimit) |
| 357 | variable (hP0 : ContDiff ℝ ∞ P0) (hT : 0 < T) |
| 358 | variable (hb : δ ≤ (TransitionRamp.ofNatural F hΛ hsmall hδ hδT hP0).bigTime) |
| 359 | variable (hw₁ : 0 < w₁) (hw₂ : 0 < w₂) |
| 360 | |
| 361 | end Transition |
| 362 | |
| 363 | section ActualHierarchy |
| 364 | |
| 365 | variable {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} |
| 366 | variable (E : ActivationHolomorphic.InitialTube N h P0 R Ω) |
| 367 | variable {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 368 | variable (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) |
| 369 | variable (hP0 : ContDiff ℝ ∞ P0) (C : ℝ) |
| 370 | |
| 371 | /-- At zero slow order the actual recursion's stored beta reconstructs the |
| 372 | canonical flux of its own axial field, with no missing `X` factor. -/ |
| 373 | theorem hierarchy_flux_zero {X η : ℝ} |
| 374 | (hX : X ∈ Ioo (0 : ℝ) (ActualSlowAxis.axisRadius N δ ^ 2)) |
| 375 | (hη : (η : ℂ) ∈ ActualSlowAxis.parameterDomain Ω) : |
| 376 | let A := ActualSlowAxis.hierarchy E hT hδ hδT κ hP0 C |
| 377 | let Q := StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0 |
| 378 | (SlowResidualMatching.hierarchyProfiles A).flux 0 (X, η) = |
| 379 | SlowDivergence.radialFlux h 0 Q.U (X, η) := by |
| 380 | let A := ActualSlowAxis.hierarchy E hT hδ hδT κ hP0 C |
| 381 | have hr := ActualSlowAxis.axisRadius_pos N δ |
| 382 | have hs := SlowRecursion.core_lt_radius (core := ActualSlowAxis.axisRadius N δ) |
| 383 | (buffer := 1) zero_lt_one 0 |
| 384 | have hsq : X < SlowRecursion.radius (ActualSlowAxis.axisRadius N δ) 1 0 ^ 2 := by |
| 385 | nlinarith [hX.2] |
| 386 | change X * SlowRecursion.profile (A.coefficients 0 4) (X, η) = _ |
| 387 | rw [A.starts] |
| 388 | rw [ActualSlowAxis.base_beta_value E hT hδ hδT κ hP0 C _ ⟨hX.1, hsq⟩ hη] |
| 389 | rw [mul_comm, div_mul_cancel₀ _ hX.1.ne'] |
| 390 | |
| 391 | end ActualHierarchy |
| 392 | |
| 393 | section RadialPrimitives |
| 394 | |
| 395 | variable {h C r a : ℝ} {f : SlowProfiles} {S : Set ℝ} |
| 396 | variable (ha : a ^ 2 / 2 < r) |
| 397 | variable (hzero : ∀ p ∈ Ioo (0 : ℝ) r ×ˢ S, |
| 398 | angularCoefficient h f 0 p = 0 ∧ axialCoefficient h f 0 p = 0) |
| 399 | |
| 400 | include ha hzero |
| 401 | |
| 402 | end RadialPrimitives |
| 403 | |
| 404 | section ActualNatural |
| 405 | |
| 406 | theorem activation_initial_fields {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} |
| 407 | {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} |
| 408 | (F : NaturalProfile.ProfileFamily d Λ C) (hΛ : 0 < Λ) |
| 409 | (hP0 : ContDiff ℝ ∞ P0) {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 410 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) : |
| 411 | let Q := StressActivation.FromReference.histories (ReferencePath.Input.ofNatural hΛ F) |
| 412 | hT hδ hδT κ P0 hP0 |
| 413 | EqOn Q.f F.f (initialBand Λ) ∧ EqOn Q.U F.U (initialBand Λ) := by |
| 414 | constructor |
| 415 | · intro p hp |
| 416 | change StressActivation.FromReference.f _ T κ δ p = _ |
| 417 | rw [StressActivation.FromReference.f_eq_reference _ T κ δ hp.1.2, |
| 418 | ReferencePath.Input.refF_eq_natural_initial _ δ hp.1.2] |
| 419 | rfl |
| 420 | · intro p hp |
| 421 | change StressActivation.FromReference.U _ T κ δ p = _ |
| 422 | rw [StressActivation.FromReference.U_eq_reference _ T κ δ hp.1.2, |
| 423 | ReferencePath.Input.refU_eq_natural_initial _ δ hp.1.2] |
| 424 | rfl |
| 425 | |
| 426 | variable {h j σ Λ C : ℝ} {g a : ℝ → ℝ} {cap : ℝ} {P0 : ℝ → ℝ} |
| 427 | variable (hp : PressureDatum.Admissible g a cap) (hP0 : P0 = PressureDatum.pressure g a) |
| 428 | variable {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} |
| 429 | variable (F : NaturalEntrance.CoefficientProfile d Λ C) (hΛ : 0 < Λ) |
| 430 | variable (hsmall : NaturalAxisData.SmallParameters h j) (hσ : 0 < σ) |
| 431 | variable {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 432 | variable (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) |
| 433 | |
| 434 | /-- The actual `ActualSlowAxis.fromNatural` hierarchy solves both order-zero |
| 435 | equations on its natural core. This uses its constructed beta and recomputed |
| 436 | pressure, not additional equations supplied to the hierarchy. -/ |
| 437 | theorem fromNatural_coefficients_zero {p : InnerPoint} (hp0 : p ∈ initialCore Λ) |
| 438 | (hpη : (p.2 : ℂ) ∈ ActualSlowAxis.parameterDomain |
| 439 | (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow |
| 440 | (ActualSlowAxis.tubeWidth hp hP0 F hΛ hsmall hσ))) : |
| 441 | let A := ActualSlowAxis.fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ |
| 442 | angularCoefficient h (SlowResidualMatching.hierarchyProfiles A) 0 p = 0 ∧ |
| 443 | axialCoefficient h (SlowResidualMatching.hierarchyProfiles A) 0 p = 0 := by |
| 444 | let N := ReferenceJetBounds.referenceInput F hΛ |
| 445 | let Q := StressActivation.FromReference.histories N hT hδ hδT κ P0 |
| 446 | (ActualSlowAxis.actualPressure_smooth hp hP0) |
| 447 | let E := ActualSlowAxis.constructedTube hp hP0 F hΛ hsmall hσ |
| 448 | let A := ActualSlowAxis.fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ |
| 449 | obtain ⟨hf, hu⟩ := activation_initial_fields F.family hΛ |
| 450 | (ActualSlowAxis.actualPressure_smooth hp hP0) hT hδ hδT κ |
| 451 | have hn := (initialCore_open Λ).mem_nhds hp0 |
| 452 | have hdomain : ∀ᶠ q : InnerPoint in 𝓝 p, (q.2 : ℂ) ∈ |
| 453 | ActualSlowAxis.parameterDomain |
| 454 | (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow |
| 455 | (ActualSlowAxis.tubeWidth hp hP0 F hΛ hsmall hσ)) := |
| 456 | (Complex.continuous_ofReal.comp continuous_snd).continuousAt |
| 457 | ((ActualSlowAxis.parameterDomain_open E.isOpen).mem_nhds hpη) |
| 458 | have he : N.endpoint ≤ N.endpoint * Real.exp δ := |
| 459 | le_mul_of_one_le_right N.endpoint_pos.le (Real.one_le_exp hδ.le) |
| 460 | have hr : 4 / Λ < ActualSlowAxis.axisRadius N δ ^ 2 := |
| 461 | he.trans_lt (ActualSlowAxis.collar_lt_square N δ) |
| 462 | apply zero_of_initial_profiles F.family hΛ (ActualSlowAxis.actualPressure_smooth hp hP0) |
| 463 | hsmall Q rfl hf hu hp0 |
| 464 | · filter_upwards [hn] with q hq |
| 465 | exact (ActualSlowAxis.fromNatural_base_values hp hP0 F hΛ hsmall hσ |
| 466 | hT hδ hδT κ hq.1.1.le hq.2).1 |
| 467 | · filter_upwards [hn] with q hq |
| 468 | exact (ActualSlowAxis.fromNatural_base_values hp hP0 F hΛ hsmall hσ |
| 469 | hT hδ hδT κ hq.1.1.le hq.2).2.1 |
| 470 | · filter_upwards [hn, hdomain] with q hq hqη |
| 471 | exact hierarchy_flux_zero E hT hδ hδT κ (ActualSlowAxis.actualPressure_smooth hp hP0) |
| 472 | C ⟨hq.1.1, hq.1.2.trans hr⟩ hqη |
| 473 | · filter_upwards [hn] with q hq |
| 474 | exact (ActualSlowAxis.fromNatural_base_values hp hP0 F hΛ hsmall hσ |
| 475 | hT hδ hδT κ hq.1.1.le hq.2).2.2.2 |
| 476 | |
| 477 | end ActualNatural |
| 478 | |
| 479 | end NavierStokes.NaturalCoefficientBridge |