import NavierStokes.NaturalProfile import NavierStokes.SimilarityCoordinates import NavierStokes.AxisymmetricFields import NavierStokes.SmoothParameterIntegral import NavierStokes.BlowupImplication /-! # The physical natural core The core is the actual Cartesian curl of meridional and swirl potentials obtained from the natural profiles. All regularity assertions are on the explicit open physical domain where those profiles have been constructed. No assertion about the regularity of the final Navier--Stokes force is made. -/ noncomputable section open Set Filter MeasureTheory open scoped Topology ContDiff Interval BigOperators namespace NavierStokes.NaturalCore open ProblemStatement AxisymmetricFields private theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := (ENat.natCast_lt_of_coe_top_le_withTop le_rfl n).le private theorem infty_add_one_le : (∞ : WithTop ℕ∞) + 1 ≤ ∞ := by simpa only [ENat.coe_top_add_one] using (le_rfl : (∞ : WithTop ℕ∞) ≤ ∞) noncomputable def physicalQ (h : ℝ) (p : ProfilePoint) : ℝ := SimilarityCoordinates.coordinateQ (2 * h) (1 - p.1, p.2.2) noncomputable def physicalEta (h : ℝ) (p : ProfilePoint) : ℝ := SimilarityCoordinates.coordinateEta (2 * h) (1 - p.1, p.2.2) noncomputable def similarityPoint (h : ℝ) (p : ProfilePoint) : ℝ × ℝ := (p.2.1 / physicalQ h p, physicalEta h p) noncomputable def profileDomain (h Λ : ℝ) : Set ProfilePoint := {p | p.1 < 1 ∧ similarityPoint h p ∈ NaturalProfile.domain Λ} noncomputable def coreDomain (h Λ : ℝ) : Set SpaceTime := {z | profilePoint z.1 z.2 ∈ profileDomain h Λ} /-- The actual integral from zero to the radial profile coordinate. -/ noncomputable def radialPrimitive (f : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := ∫ v in (0 : ℝ)..p.1, f (v, p.2) noncomputable def meridionalPotential (h : ℝ) (V : ℝ × ℝ → ℝ) : Profile := fun p => physicalQ h p ^ (-NaturalAxisData.A h) * V (similarityPoint h p) noncomputable def swirlPotential (h : ℝ) (f : ℝ × ℝ → ℝ) : Profile := fun p => -(physicalQ h p ^ (-h)) * radialPrimitive f (similarityPoint h p) noncomputable def corePotential (h : ℝ) (f V : ℝ × ℝ → ℝ) : VelocityField := potential (meridionalPotential h V) (swirlPotential h f) noncomputable def coreVelocity (h : ℝ) (f V : ℝ × ℝ → ℝ) : VelocityField := velocity (meridionalPotential h V) (swirlPotential h f) theorem physicalQ_pos {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {p : ProfilePoint} (hp : p.1 < 1) : 0 < physicalQ h p := (SimilarityCoordinates.coordinateQ_spec (by linarith) (by linarith) (sub_pos.mpr hp)).1 theorem physicalQ_contDiffAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {p : ProfilePoint} (hp : p.1 < 1) : ContDiffAt ℝ ∞ (physicalQ h) p := by exact (SimilarityCoordinates.coordinateQ_smooth (by linarith) (by linarith) (p := (1 - p.1, p.2.2)) (sub_pos.mpr hp)).comp p ((contDiffAt_const.sub contDiffAt_fst).prodMk contDiffAt_snd.snd) theorem physicalEta_contDiffAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {p : ProfilePoint} (hp : p.1 < 1) : ContDiffAt ℝ ∞ (physicalEta h) p := by exact (SimilarityCoordinates.coordinateEta_smooth (by linarith) (by linarith) (p := (1 - p.1, p.2.2)) (sub_pos.mpr hp)).comp p ((contDiffAt_const.sub contDiffAt_fst).prodMk contDiffAt_snd.snd) theorem similarityPoint_contDiffAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {p : ProfilePoint} (hp : p.1 < 1) : ContDiffAt ℝ ∞ (similarityPoint h) p := (contDiffAt_snd.fst.div (physicalQ_contDiffAt hh hh1 hp) (physicalQ_pos hh hh1 hp).ne').prodMk (physicalEta_contDiffAt hh hh1 hp) theorem profileDomain_isOpen {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (Λ : ℝ) : IsOpen (profileDomain h Λ) := by apply isOpen_iff_mem_nhds.mpr intro p hp have ht : {q : ProfilePoint | q.1 < 1} ∈ 𝓝 p := (isOpen_lt continuous_fst continuous_const).mem_nhds hp.1 have hs : similarityPoint h ⁻¹' NaturalProfile.domain Λ ∈ 𝓝 p := (similarityPoint_contDiffAt hh hh1 hp.1).continuousAt.preimage_mem_nhds ((NaturalProfile.domain_isOpen Λ).mem_nhds hp.2) exact inter_mem ht hs theorem coreDomain_isOpen {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (Λ : ℝ) : IsOpen (coreDomain h Λ) := (profileDomain_isOpen hh hh1 Λ).preimage (contDiff_profilePoint (n := ∞)).continuous theorem physicalQ_at_zero_z {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {t : ℝ} (ht : t < 1) (s : ℝ) : physicalQ h (t, (s, 0)) = 1 - t := by apply (SimilarityCoordinates.eq_coordinateQ (by linarith) (by linarith) (p := (1 - t, 0)) (sub_pos.mpr ht) (sub_pos.mpr ht) ?_).symm simp [SimilarityCoordinates.forwardScalar] theorem physicalEta_at_zero_z (h t s : ℝ) : physicalEta h (t, (s, 0)) = 0 := by simp [physicalEta, SimilarityCoordinates.coordinateEta] theorem profile_axis_mem (h Λ : ℝ) {t : ℝ} (ht : t < 1) : (t, ((0 : ℝ), 0)) ∈ profileDomain h Λ := by refine ⟨ht, ?_⟩ have hs : similarityPoint h (t, ((0 : ℝ), 0)) = (0, 0) := by simp [similarityPoint, physicalEta, SimilarityCoordinates.coordinateEta] rw [hs] norm_num [NaturalProfile.domain, NaturalProfile.rescalePoint, AxisEvaluation.strip, NaturalAxisCoefficients.window] theorem core_axis_mem (h Λ : ℝ) {t : ℝ} (ht : t < 1) : (t, (0 : Space)) ∈ coreDomain h Λ := by simpa only [coreDomain, Set.mem_ofPred_eq, profilePoint, radialEnergy, PiLp.zero_apply, zero_pow (by decide : 2 ≠ 0), zero_add, zero_div] using profile_axis_mem h Λ ht theorem radial_segment_mem_domain {Λ : ℝ} {p : ℝ × ℝ} (hp : p ∈ NaturalProfile.domain Λ) {r : ℝ} (hr : r ∈ Icc (0 : ℝ) 1) : (p.1 * r, p.2) ∈ NaturalProfile.domain Λ := by change (Λ * p.1 ∈ Ioo (-20 : ℝ) 20) ∧ p.2 ∈ Ioo NaturalAxisCoefficients.window.left NaturalAxisCoefficients.window.right at hp change (Λ * (p.1 * r) ∈ Ioo (-20 : ℝ) 20) ∧ p.2 ∈ Ioo NaturalAxisCoefficients.window.left NaturalAxisCoefficients.window.right refine ⟨?_, hp.2⟩ have hrad : |Λ * p.1| < 20 := abs_lt.mpr hp.1 have hbound : |Λ * (p.1 * r)| ≤ |Λ * p.1| := by rw [← mul_assoc, abs_mul, abs_of_nonneg hr.1] exact mul_le_of_le_one_right (abs_nonneg _) hr.2 exact abs_lt.mp (hbound.trans_lt hrad) /-- Local joint smoothness implies local joint smoothness of all actual parameter derivatives, even when the integration variable lies at an endpoint. -/ theorem parameterJet_contDiffAt {F : (ℝ × ℝ) × ℝ → ℝ} {z : (ℝ × ℝ) × ℝ} (hF : ContDiffAt ℝ ∞ F z) (k : ℕ) : ContDiffAt ℝ ∞ (fun w : (ℝ × ℝ) × ℝ => iteratedFDeriv ℝ k (fun p => F (p, w.2)) w.1) z := by induction k with | zero => exact hF.continuousLinearMap_comp ((continuousMultilinearCurryFin0 ℝ (ℝ × ℝ) ℝ).symm : ℝ →L[ℝ] (ℝ × ℝ)[×0]→L[ℝ] ℝ) | succ k ih => have hG : ContDiffAt ℝ ∞ (fun w : ((ℝ × ℝ) × ℝ) × (ℝ × ℝ) => iteratedFDeriv ℝ k (fun p => F (p, w.1.2)) w.2) (z, z.1) := ih.comp (z, z.1) (contDiffAt_snd.prodMk contDiffAt_fst.snd) have hD : ContDiffAt ℝ ∞ (fun w : (ℝ × ℝ) × ℝ => fderiv ℝ (fun p : ℝ × ℝ => iteratedFDeriv ℝ k (fun q => F (q, w.2)) p) w.1) z := hG.fderiv contDiffAt_fst infty_add_one_le exact hD.continuousLinearMap_comp ((continuousMultilinearCurryLeftEquiv ℝ (fun _ : Fin (k + 1) => ℝ × ℝ) ℝ).symm : ((ℝ × ℝ) →L[ℝ] (ℝ × ℝ)[×k]→L[ℝ] ℝ) →L[ℝ] (ℝ × ℝ)[×(k + 1)]→L[ℝ] ℝ) theorem radialPrimitive_unit_interval (f : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : radialPrimitive f p = p.1 * ∫ r in (0 : ℝ)..1, f (p.1 * r, p.2) := by simpa only [radialPrimitive, smul_eq_mul, mul_zero, mul_one] using (intervalIntegral.smul_integral_comp_mul_left (fun v => f (v, p.2)) p.1 (a := 0) (b := 1)).symm theorem radialPrimitive_contDiffOn {Λ : ℝ} {f : ℝ × ℝ → ℝ} (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) : ContDiffOn ℝ ∞ (radialPrimitive f) (NaturalProfile.domain Λ) := by let F : (ℝ × ℝ) × ℝ → ℝ := fun z => f (z.1.1 * z.2, z.1.2) have hF : ∀ z ∈ NaturalProfile.domain Λ ×ˢ Icc (0 : ℝ) 1, ContDiffAt ℝ ∞ F z := by intro z hz exact (hf.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds (radial_segment_mem_domain hz.1 hz.2))).comp z ((contDiffAt_fst.fst.mul contDiffAt_snd).prodMk contDiffAt_fst.snd) have hi : ContDiffOn ℝ ∞ (fun p => ∫ r in (0 : ℝ)..1, F (p, r)) (NaturalProfile.domain Λ) := by apply SmoothParameterIntegral.contDiffOn_intervalIntegral_of_continuous_jet (NaturalProfile.domain_isOpen Λ) zero_le_one · intro r hr p hp exact ((hF (p, r) ⟨hp, hr⟩).comp p (contDiffAt_id.prodMk contDiffAt_const)).contDiffWithinAt · intro k z hz exact (parameterJet_contDiffAt (hF z hz) k).continuousAt.continuousWithinAt have hmul := contDiffOn_fst.mul hi exact hmul.congr (fun p _ => radialPrimitive_unit_interval f p) theorem radial_interval_mem_domain {Λ : ℝ} {p : ℝ × ℝ} (hp : p ∈ NaturalProfile.domain Λ) {r : ℝ} (hr : r ∈ uIcc (0 : ℝ) p.1) : (r, p.2) ∈ NaturalProfile.domain Λ := by change (Λ * p.1 ∈ Ioo (-20 : ℝ) 20) ∧ p.2 ∈ Ioo NaturalAxisCoefficients.window.left NaturalAxisCoefficients.window.right at hp change (Λ * r ∈ Ioo (-20 : ℝ) 20) ∧ p.2 ∈ Ioo NaturalAxisCoefficients.window.left NaturalAxisCoefficients.window.right refine ⟨?_, hp.2⟩ have hr' : |r| ≤ |p.1| := by simpa only [sub_zero] using abs_sub_left_of_mem_uIcc hr have hbound : |Λ * r| ≤ |Λ * p.1| := by simpa only [abs_mul] using mul_le_mul_of_nonneg_left hr' (abs_nonneg Λ) exact abs_lt.mp (hbound.trans_lt (abs_lt.mpr hp.1)) /-- The radial primitive has the claimed ordinary derivative by the fundamental theorem of calculus on its actual profile domain. -/ theorem radialPrimitive_hasDerivAt {Λ : ℝ} {f : ℝ × ℝ → ℝ} (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) {p : ℝ × ℝ} (hp : p ∈ NaturalProfile.domain Λ) : HasDerivAt (fun r => radialPrimitive f (r, p.2)) (f p) p.1 := by let I : Set ℝ := {r | (r, p.2) ∈ NaturalProfile.domain Λ} have hI : IsOpen I := (NaturalProfile.domain_isOpen Λ).preimage (continuous_id.prodMk continuous_const) have hcont : ∀ r ∈ I, ContinuousAt (fun s => f (s, p.2)) r := by intro r hr exact ((hf.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hr)).comp r (contDiffAt_id.prodMk contDiffAt_const)).continuousAt have hsegment : ContinuousOn (fun r => f (r, p.2)) (uIcc 0 p.1) := by intro r hr exact (hcont r (radial_interval_mem_domain hp hr)).continuousWithinAt exact intervalIntegral.integral_hasDerivAt_right hsegment.intervalIntegrable (ContinuousAt.stronglyMeasurableAtFilter hI hcont p.1 hp) (hcont p.1 hp) theorem partialS_eq_deriv_slice {F : Profile} {p : ProfilePoint} (hF : DifferentiableAt ℝ F p) : partialS F p = deriv (fun s => F (p.1, (s, p.2.2))) p.2.1 := by symm exact (hF.hasFDerivAt.comp_hasDerivAt p.2.1 ((hasDerivAt_const p.2.1 p.1).prodMk ((hasDerivAt_id p.2.1).prodMk (hasDerivAt_const p.2.1 p.2.2)))).deriv theorem meridionalPotential_contDiffAt {h Λ : ℝ} {V : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) {p : ProfilePoint} (hp : p ∈ profileDomain h Λ) : ContDiffAt ℝ ∞ (meridionalPotential h V) p := ((physicalQ_contDiffAt hh hh1 hp.1).rpow_const_of_ne (physicalQ_pos hh hh1 hp.1).ne').mul ((hV.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hp.2)).comp p (similarityPoint_contDiffAt hh hh1 hp.1)) theorem swirlPotential_contDiffAt {h Λ : ℝ} {f : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) {p : ProfilePoint} (hp : p ∈ profileDomain h Λ) : ContDiffAt ℝ ∞ (swirlPotential h f) p := ((physicalQ_contDiffAt hh hh1 hp.1).rpow_const_of_ne (physicalQ_pos hh hh1 hp.1).ne').neg.mul (((radialPrimitive_contDiffOn hf).contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hp.2)).comp p (similarityPoint_contDiffAt hh hh1 hp.1)) theorem meridionalPotential_partialS {h Λ : ℝ} {V : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) {p : ProfilePoint} (hp : p ∈ profileDomain h Λ) : partialS (meridionalPotential h V) p = physicalQ h p ^ (-NaturalAxisData.A h) / physicalQ h p * NaturalAxisBridge.partialY V (similarityPoint h p) := by have hVs : DifferentiableAt ℝ (fun X => V (X, physicalEta h p)) (p.2.1 / physicalQ h p) := ((hV.contDiffAt ((NaturalProfile.domain_isOpen Λ).mem_nhds hp.2)).comp (p.2.1 / physicalQ h p) (contDiffAt_id.prodMk contDiffAt_const)).differentiableAt (by simp) rw [partialS_eq_deriv_slice ((meridionalPotential_contDiffAt hh hh1 hV hp).differentiableAt (by simp))] have hd := (hVs.hasDerivAt.comp p.2.1 ((hasDerivAt_id p.2.1).div_const (physicalQ h p))).const_mul (physicalQ h p ^ (-NaturalAxisData.A h)) convert! hd.deriv using 1 dsimp only [meridionalPotential, similarityPoint, physicalQ, physicalEta, NaturalAxisBridge.partialY] ring theorem swirlPotential_partialS {h Λ : ℝ} {f : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) {p : ProfilePoint} (hp : p ∈ profileDomain h Λ) : partialS (swirlPotential h f) p = -(physicalQ h p ^ (-h) / physicalQ h p) * f (similarityPoint h p) := by rw [partialS_eq_deriv_slice ((swirlPotential_contDiffAt hh hh1 hf hp).differentiableAt (by simp))] have hd := ((radialPrimitive_hasDerivAt hf hp.2).comp p.2.1 ((hasDerivAt_id p.2.1).div_const (physicalQ h p))).const_mul (-(physicalQ h p ^ (-h))) convert! hd.deriv using 1 dsimp only [swirlPotential, similarityPoint, physicalQ, physicalEta] ring /-- The potential is genuinely jointly smooth in Cartesian spacetime, including the axis, throughout the explicitly stated core domain. -/ theorem corePotential_contDiffAt {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) {z : SpaceTime} (hz : z ∈ coreDomain h Λ) : ContDiffAt ℝ ∞ (corePotential h f V) z := by have hmap : ContDiffAt ℝ ∞ (fun w : SpaceTime => profilePoint w.1 w.2) z := (contDiff_profilePoint (n := ∞)).contDiffAt have hH := (meridionalPotential_contDiffAt hh hh1 hV hz).comp z hmap have hK := (swirlPotential_contDiffAt hh hh1 hf hz).comp z hmap have h0 : ContDiffAt ℝ ∞ (fun w : SpaceTime => w.2 0) z := (projection 0).contDiff.contDiffAt.comp z contDiffAt_snd have h1 : ContDiffAt ℝ ∞ (fun w : SpaceTime => w.2 1) z := (projection 1).contDiff.contDiffAt.comp z contDiffAt_snd exact (((contDiffAt_const.mul (h1.mul hH)).smul contDiffAt_const).add ((contDiffAt_const.mul (h0.mul hH)).smul contDiffAt_const)).add (hK.smul contDiffAt_const) theorem coreVelocity_contDiffOn {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) : ContDiffOn ℝ ∞ (coreVelocity h f V) (coreDomain h Λ) := by intro z hz exact (SpatialCurl.contDiffAt_spatialCurl (corePotential_contDiffAt hh hh1 hf hV hz) infty_add_one_le).contDiffWithinAt /-- Divergence vanishes as an identity of the actual physical Fréchet derivatives, by Schwarz's theorem for the Cartesian potential. -/ theorem coreVelocity_divergence {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) {t : ℝ} {x : Space} (hx : (t, x) ∈ coreDomain h Λ) : spatialDivergence (coreVelocity h f V) t x = 0 := by apply SpatialCurl.spatialDivergence_spatialCurl exact ((corePotential_contDiffAt hh hh1 hf hV hx).comp x (contDiffAt_const.prodMk contDiffAt_id)).of_le (nat_le_infty 2) /-- The averaged meridional potential recovers the actual axial profile. -/ theorem coreVelocity_axial {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V Pr : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) {t : ℝ} {x : Space} (hx : (t, x) ∈ coreDomain h Λ) : coreVelocity h f V (t, x) 2 = physicalQ h (profilePoint t x) ^ (-NaturalAxisData.A h) * U (similarityPoint h (profilePoint t x)) := by have hH := (meridionalPotential_contDiffAt hh hh1 hs.average_smooth hx).differentiableAt (by simp) have hK := (swirlPotential_contDiffAt hh hh1 hs.f_smooth hx).differentiableAt (by simp) change velocity (meridionalPotential h V) (swirlPotential h f) (t, x) 2 = _ rw [velocity_two _ _ t x hH hK, meridionalPotential_partialS hh hh1 hs.average_smooth hx, ← hs.average_equation _ hx.2] dsimp only [meridionalPotential, similarityPoint, profilePoint] ring theorem coreVelocity_angular {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) {t : ℝ} {x : Space} (hx : (t, x) ∈ coreDomain h Λ) : x 0 * coreVelocity h f V (t, x) 1 - x 1 * coreVelocity h f V (t, x) 0 = 2 * radialEnergy x * (physicalQ h (profilePoint t x) ^ (-h) / physicalQ h (profilePoint t x)) * f (similarityPoint h (profilePoint t x)) := by have hH := (meridionalPotential_contDiffAt hh hh1 hV hx).differentiableAt (by simp) have hK := (swirlPotential_contDiffAt hh hh1 hf hx).differentiableAt (by simp) change x 0 * velocity (meridionalPotential h V) (swirlPotential h f) (t, x) 1 - x 1 * velocity (meridionalPotential h V) (swirlPotential h f) (t, x) 0 = _ rw [velocity_one _ _ t x hH hK, velocity_zero _ _ t x hH hK, swirlPotential_partialS hh hh1 hf hx] dsimp only [radialEnergy] ring theorem scaled_sqrt_identity {q s : ℝ} (hq : 0 < q) (hs : 0 ≤ s) (h : ℝ) : Real.sqrt (2 * s) * (q ^ (-h) / q) = q ^ (-NaturalAxisData.A h) * Real.sqrt (2 * (s / q)) := by have hc : q ^ (-h) / q = q ^ (-NaturalAxisData.A h) / Real.sqrt q := by rw [Real.sqrt_eq_rpow, ← Real.rpow_sub hq, ← Real.rpow_sub_one hq.ne'] congr 1 dsimp only [NaturalAxisData.A] ring rw [show 2 * (s / q) = (2 * s) / q by ring, Real.sqrt_div (mul_nonneg (by norm_num) hs), hc] ring /-- Away from the axis the cylindrical azimuthal velocity is precisely `q^(-A) sqrt(2X) f(X,eta)`. The Cartesian field remains smooth on the axis. -/ theorem coreVelocity_swirl {h Λ : ℝ} {f V : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hf : ContDiffOn ℝ ∞ f (NaturalProfile.domain Λ)) (hV : ContDiffOn ℝ ∞ V (NaturalProfile.domain Λ)) {t : ℝ} {x : Space} (hx : (t, x) ∈ coreDomain h Λ) (hs : 0 < radialEnergy x) : (x 0 * coreVelocity h f V (t, x) 1 - x 1 * coreVelocity h f V (t, x) 0) / Real.sqrt (2 * radialEnergy x) = physicalQ h (profilePoint t x) ^ (-NaturalAxisData.A h) * Real.sqrt (2 * (similarityPoint h (profilePoint t x)).1) * f (similarityPoint h (profilePoint t x)) := by rw [coreVelocity_angular hh hh1 hf hV hx] have hr : Real.sqrt (2 * radialEnergy x) ≠ 0 := (Real.sqrt_pos.mpr (mul_pos (by norm_num) hs)).ne' have hr2 : Real.sqrt (2 * radialEnergy x) ^ 2 = 2 * radialEnergy x := Real.sq_sqrt (mul_nonneg (by norm_num) hs.le) have hquot : (2 * radialEnergy x) / Real.sqrt (2 * radialEnergy x) = Real.sqrt (2 * radialEnergy x) := (div_eq_iff hr).2 (by simpa only [pow_two] using hr2.symm) calc _ = Real.sqrt (2 * radialEnergy x) * (physicalQ h (profilePoint t x) ^ (-h) / physicalQ h (profilePoint t x)) * f (similarityPoint h (profilePoint t x)) := by calc _ = ((2 * radialEnergy x) / Real.sqrt (2 * radialEnergy x)) * (physicalQ h (profilePoint t x) ^ (-h) / physicalQ h (profilePoint t x)) * f (similarityPoint h (profilePoint t x)) := by ring _ = _ := by rw [hquot] _ = _ := by rw [scaled_sqrt_identity (physicalQ_pos hh hh1 hx.1) hs.le] rfl /-- The axial velocity is exactly the prescribed nonzero axis datum, multiplied by the singular similarity scale. -/ theorem coreVelocity_at_origin {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V Pr : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) {t : ℝ} (ht : t < 1) : coreVelocity h f V (t, 0) = ((1 - t) ^ (-NaturalAxisData.A h) * j) • coordinateVector 2 := by have hp : profilePoint t (0 : Space) ∈ profileDomain h Λ := core_axis_mem h Λ ht have hH := (meridionalPotential_contDiffAt hh hh1 hs.average_smooth hp).differentiableAt (by simp) have hK := (swirlPotential_contDiffAt hh hh1 hs.f_smooth hp).differentiableAt (by simp) change velocity (meridionalPotential h V) (swirlPotential h f) (t, 0) = _ rw [velocity_on_axis _ _ t 0 hH hK (by simp) (by simp)] have haxis : V (0, 0) = j := by simpa only [NaturalAxisData.U, mul_zero, zero_add] using hs.average_axis 0 (by norm_num [NaturalAxisCoefficients.window]) change (physicalQ h (t, (0, 0)) ^ (-NaturalAxisData.A h) * V (0 / physicalQ h (t, (0, 0)), physicalEta h (t, (0, 0)))) • coordinateVector 2 = _ rw [physicalQ_at_zero_z hh hh1 ht, physicalEta_at_zero_z, zero_div, haxis] theorem coreVelocity_norm_at_origin {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V Pr : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hj : 0 < j) (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) {t : ℝ} (ht : t < 1) : ‖coreVelocity h f V (t, 0)‖ = (1 - t) ^ (-NaturalAxisData.A h) * j := by rw [coreVelocity_at_origin hh hh1 hs ht, norm_smul] simp only [coordinateVector, PiLp.norm_single, norm_one, mul_one, Real.norm_eq_abs] exact abs_of_pos (mul_pos (Real.rpow_pos_of_pos (sub_pos.mpr ht) _) hj) theorem coreVelocity_axis_tendsto_atTop {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V Pr : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hj : 0 < j) (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) : Tendsto (fun t : ℝ => ‖coreVelocity h f V (t, 0)‖) (𝓝[<] 1) atTop := by have hA : 0 < NaturalAxisData.A h := by dsimp [NaturalAxisData.A]; linarith have hlim : Tendsto (fun t : ℝ => (1 - t) ^ (-NaturalAxisData.A h) * j) (𝓝[<] 1) atTop := (BlowupImplication.negative_power_tendsto_atTop hA (BlowupImplication.remaining_time_tendsto 1)).atTop_mul_pos hj tendsto_const_nhds apply hlim.congr' filter_upwards [self_mem_nhdsWithin] with t ht exact (coreVelocity_norm_at_origin hh hh1 hj hs ht).symm theorem speedUnbounded_of_axis_tendsto {u : VelocityField} (hu : Tendsto (fun t : ℝ => ‖u (t, 0)‖) (𝓝[<] 1) atTop) : SpeedUnboundedAtOne u := by intro M hM δ hδ have hlow : Ioi (max 0 (1 - δ)) ∈ 𝓝[<] (1 : ℝ) := mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds (max_lt (by norm_num) (by linarith))) have hlarge : ∀ᶠ t in 𝓝[<] (1 : ℝ), M < ‖u (t, 0)‖ := hu.eventually (eventually_gt_atTop M) have hbefore : ∀ᶠ t in 𝓝[<] (1 : ℝ), t < 1 := self_mem_nhdsWithin obtain ⟨t, ht, hMt, hlo⟩ := (hbefore.and (hlarge.and hlow)).exists exact ⟨t, 0, ⟨(le_max_left _ _).trans_lt hlo, ht⟩, (le_max_right _ _).trans_lt hlo, hMt⟩ theorem coreVelocity_speedUnbounded {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V Pr : ℝ × ℝ → ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (hj : 0 < j) (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) : SpeedUnboundedAtOne (coreVelocity h f V) := speedUnbounded_of_axis_tendsto (coreVelocity_axis_tendsto_atTop hh hh1 hj hs) /-- Any field which agrees with the core along the axis sufficiently near time one has the exact target's quantified unbounded-speed property. -/ theorem extension_speedUnbounded {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V Pr : ℝ × ℝ → ℝ} {u : VelocityField} (hh : 0 < h) (hh1 : h < 1 / 2) (hj : 0 < j) (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) (hagrees : ∀ᶠ t in 𝓝[<] (1 : ℝ), u (t, 0) = coreVelocity h f V (t, 0)) : SpeedUnboundedAtOne u := by apply speedUnbounded_of_axis_tendsto apply (coreVelocity_axis_tendsto_atTop hh hh1 hj hs).congr' exact hagrees.mono (fun t ht => congrArg norm ht.symm) theorem extension_on_core_speedUnbounded {h j Λ : ℝ} {P0 a0 : ℝ → ℝ} {f U V Pr : ℝ × ℝ → ℝ} {u : VelocityField} (hh : 0 < h) (hh1 : h < 1 / 2) (hj : 0 < j) (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a0 f U V Pr) (hagrees : EqOn u (coreVelocity h f V) (coreDomain h Λ)) : SpeedUnboundedAtOne u := by apply extension_speedUnbounded hh hh1 hj hs filter_upwards [self_mem_nhdsWithin] with t ht exact hagrees (core_axis_mem h Λ ht) /-- The constructed natural profiles produce an actual smooth, divergence-free physical core with unbounded speed. This is a local core existence statement, not the existence of the final forced periodic flow. -/ theorem exists_natural_core {h j : ℝ} (hsmall : NaturalAxisData.SmallParameters h j) {g a : ℝ → ℝ} {cap B : ℝ} (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) (ha : ∀ y ≤ 0, a y = 1) : ∃ Λ : ℝ, 0 < Λ ∧ ∃ f V : ℝ × ℝ → ℝ, IsOpen (coreDomain h Λ) ∧ (∀ t < 1, (t, (0 : Space)) ∈ coreDomain h Λ) ∧ ContDiffOn ℝ ∞ (coreVelocity h f V) (coreDomain h Λ) ∧ (∀ t x, (t, x) ∈ coreDomain h Λ → spatialDivergence (coreVelocity h f V) t x = 0) ∧ (∀ t < 1, coreVelocity h f V (t, 0) = ((1 - t) ^ (-NaturalAxisData.A h) * j) • coordinateVector 2) ∧ SpeedUnboundedAtOne (coreVelocity h f V) := by obtain ⟨_, _, Λ, _, _, _, hΛ, _, f, U, V, Pr, hs, _, _⟩ := NaturalProfile.exists_natural_profiles (NaturalAxisRange.ofSmall hsmall) hp hB hg ha have hh1 : h < 1 / 2 := by linarith [hsmall.h_le] refine ⟨Λ, hΛ, f, V, coreDomain_isOpen hsmall.h_pos hh1 Λ, (fun t ht => core_axis_mem h Λ ht), coreVelocity_contDiffOn hsmall.h_pos hh1 hs.f_smooth hs.average_smooth, (fun t x hx => coreVelocity_divergence hsmall.h_pos hh1 hs.f_smooth hs.average_smooth hx), (fun t ht => coreVelocity_at_origin hsmall.h_pos hh1 hs ht), coreVelocity_speedUnbounded hsmall.h_pos hh1 hsmall.j_pos hs⟩ end NavierStokes.NaturalCore