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.PositiveOrderMoments |
| 2 | import NavierStokes.SlowExpansionResidual |
| 3 | import NavierStokes.WeightedRadialPrimitive |
| 4 | import Mathlib.Analysis.Calculus.Deriv.Support |
| 5 | |
| 6 | /-! |
| 7 | # Positive slow-order tangential stress support |
| 8 | |
| 9 | The moments are actual positive-radius integrals. All radial and parameter |
| 10 | operators use the actual Frechet derivatives. Compact stress support is a |
| 11 | consequence of the repaired moments and the differential equations. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open Set Function Filter MeasureTheory |
| 17 | open scoped ContDiff Topology BigOperators |
| 18 | |
| 19 | namespace NavierStokes.SlowStressSupport |
| 20 | |
| 21 | abbrev Field := ℝ × ℝ → ℝ |
| 22 | abbrev History := ℕ → Field |
| 23 | noncomputable def dr := ProfileHistories.radialPartial |
| 24 | noncomputable def de := ProfileHistories.parameterPartial |
| 25 | abbrev region (S : Set ℝ) := (univ : Set ℝ) ×ˢ S |
| 26 | abbrev Smooth (S : Set ℝ) (f : Field) := ContDiffOn ℝ ∞ f (region S) |
| 27 | |
| 28 | noncomputable def exterior (B : ℝ) (S : Set ℝ) (f : Field) : Prop := |
| 29 | ∀ eta ∈ S, ∀ R, B ≤ R → f (R, eta) = 0 |
| 30 | |
| 31 | noncomputable def weighted (m : ℕ) (f : Field) (w : ℝ × ℝ) : ℝ := w.1 ^ m * f w |
| 32 | |
| 33 | noncomputable def moment (B : ℝ) (m : ℕ) (f : Field) (eta : ℝ) : ℝ := |
| 34 | ∫ R in (0 : ℝ)..B, R ^ m * f (R, eta) |
| 35 | |
| 36 | noncomputable def timeOp (h b : ℝ) (f : Field) (w : ℝ × ℝ) : ℝ := |
| 37 | (-b * f w + PositiveAxisSystem.dScale h * w.2 * de f w + w.1 / 2 * dr f w) / |
| 38 | PositiveAxisSystem.ell h w.2 |
| 39 | |
| 40 | noncomputable def axialOp (h b : ℝ) (f : Field) (w : ℝ × ℝ) : ℝ := |
| 41 | (2 * w.2 * b * f w + PositiveAxisSystem.edge w.2 * de f w - w.2 * w.1 * dr f w) / |
| 42 | PositiveAxisSystem.ell h w.2 |
| 43 | |
| 44 | noncomputable def axialOp2 (h b : ℝ) (f : Field) : Field := |
| 45 | axialOp h (b - PositiveAxisSystem.dScale h) (axialOp h b f) |
| 46 | |
| 47 | theorem smooth_dr {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) : |
| 48 | Smooth S (dr f) := |
| 49 | ProfileHistories.radialPartial_smooth (PositiveOrderMoments.parameterDomain S hS) hf |
| 50 | |
| 51 | theorem smooth_de {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) : |
| 52 | Smooth S (de f) := |
| 53 | ProfileHistories.parameterPartial_smooth (PositiveOrderMoments.parameterDomain S hS) hf |
| 54 | |
| 55 | theorem smooth_weighted {S : Set ℝ} {f : Field} (hf : Smooth S f) (m : ℕ) : |
| 56 | Smooth S (weighted m f) := (contDiffOn_fst.pow m).mul hf |
| 57 | |
| 58 | theorem slice_smooth {S : Set ℝ} {f : Field} (hf : Smooth S f) |
| 59 | {eta : ℝ} (heta : eta ∈ S) : ContDiff ℝ ∞ (fun R => f (R, eta)) := by |
| 60 | apply contDiffOn_univ.mp |
| 61 | exact hf.comp (contDiffOn_id.prodMk contDiffOn_const) (fun _ _ => ⟨mem_univ _, heta⟩) |
| 62 | |
| 63 | theorem radial_hasDerivAt {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 64 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : HasDerivAt (fun R => f (R, w.2)) (dr f w) w.1 := |
| 65 | ProfileHistories.radialPartial_hasDerivAt (PositiveOrderMoments.parameterDomain S hS) |
| 66 | hf (p := w) ⟨mem_univ _, hw⟩ |
| 67 | |
| 68 | theorem parameter_hasDerivAt {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 69 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : HasDerivAt (fun eta => f (w.1, eta)) (de f w) w.2 := |
| 70 | ProfileHistories.parameterPartial_hasDerivAt (PositiveOrderMoments.parameterDomain S hS) |
| 71 | hf (p := w) ⟨mem_univ _, hw⟩ |
| 72 | |
| 73 | theorem dr_mul {S : Set ℝ} (hS : IsOpen S) {f g : Field} |
| 74 | (hf : Smooth S f) (hg : Smooth S g) {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 75 | dr (fun p => f p * g p) w = dr f w * g w + f w * dr g w := |
| 76 | (radial_hasDerivAt hS (hf.mul hg) hw).unique |
| 77 | ((radial_hasDerivAt hS hf hw).mul (radial_hasDerivAt hS hg hw)) |
| 78 | |
| 79 | theorem de_mul {S : Set ℝ} (hS : IsOpen S) {f g : Field} |
| 80 | (hf : Smooth S f) (hg : Smooth S g) {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 81 | de (fun p => f p * g p) w = de f w * g w + f w * de g w := |
| 82 | (parameter_hasDerivAt hS (hf.mul hg) hw).unique |
| 83 | ((parameter_hasDerivAt hS hf hw).mul (parameter_hasDerivAt hS hg hw)) |
| 84 | |
| 85 | theorem de_weighted {S : Set ℝ} (hS : IsOpen S) {f : Field} |
| 86 | (hf : Smooth S f) (m : ℕ) {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 87 | de (weighted m f) w = w.1 ^ m * de f w := |
| 88 | (parameter_hasDerivAt hS (smooth_weighted hf m) hw).unique |
| 89 | ((parameter_hasDerivAt hS hf hw).const_mul (w.1 ^ m)) |
| 90 | |
| 91 | theorem exterior_partial {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 92 | {B : ℝ} (hs : exterior B S f) (v : ℝ × ℝ) : |
| 93 | exterior B S (fun w => fderiv ℝ f w v) := by |
| 94 | intro eta heta R hR |
| 95 | have hg : Smooth S (fun w => fderiv ℝ f w v) := |
| 96 | (hf.fderiv_of_isOpen (isOpen_univ.prod hS) (by simp)).clm_apply contDiffOn_const |
| 97 | have hz : EqOn (fun r => fderiv ℝ f (r, eta) v) (fun _ => 0) (Ioi B) := by |
| 98 | intro r hr |
| 99 | have he : f =ᶠ[𝓝 (r, eta)] fun _ => (0 : ℝ) := by |
| 100 | filter_upwards [(isOpen_Ioi.prod hS).mem_nhds ⟨hr, heta⟩] with w hw |
| 101 | exact hs w.2 hw.2 w.1 hw.1.le |
| 102 | change fderiv ℝ f (r, eta) v = 0 |
| 103 | rw [he.fderiv_eq (𝕜 := ℝ)] |
| 104 | simp |
| 105 | have hc := hz.closure (slice_smooth hg heta).continuous continuous_const |
| 106 | rw [closure_Ioi] at hc |
| 107 | exact hc hR |
| 108 | |
| 109 | theorem exterior_dr {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 110 | {B : ℝ} (hs : exterior B S f) : exterior B S (dr f) := exterior_partial hS hf hs (1, 0) |
| 111 | |
| 112 | theorem exterior_de {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 113 | {B : ℝ} (hs : exterior B S f) : exterior B S (de f) := exterior_partial hS hf hs (0, 1) |
| 114 | |
| 115 | theorem moment_eq_positive {S : Set ℝ} {f : Field} {B : ℝ} (hB : 0 ≤ B) |
| 116 | (hs : exterior B S f) {eta : ℝ} (heta : eta ∈ S) (m : ℕ) : |
| 117 | moment B m f eta = PositiveOrderMoments.positiveIntegral (fun R => R ^ m * f (R, eta)) := by |
| 118 | symm |
| 119 | exact PositiveOrderMoments.positiveIntegral_eq_primitive hB le_rfl |
| 120 | (fun R hR => by rw [hs eta heta R hR, mul_zero]) |
| 121 | |
| 122 | theorem moment_hasDerivAt {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 123 | (B : ℝ) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : |
| 124 | HasDerivAt (moment B m f) (moment B m (de f) eta) eta := by |
| 125 | let D := PositiveOrderMoments.parameterDomain S hS |
| 126 | have hp := parameter_hasDerivAt hS |
| 127 | (ProfileHistories.primitive_smooth D (smooth_weighted hf m)) |
| 128 | (w := (B, eta)) heta |
| 129 | change HasDerivAt (fun z => ProfileHistories.primitive (weighted m f) (B, z)) |
| 130 | (ProfileHistories.parameterPartial (ProfileHistories.primitive (weighted m f)) (B, eta)) eta at hp |
| 131 | rw [ProfileHistories.parameterPartial_primitive D (smooth_weighted hf m) |
| 132 | (p := (B, eta)) ⟨mem_univ _, heta⟩] at hp |
| 133 | have hi : ProfileHistories.primitive (de (weighted m f)) (B, eta) = |
| 134 | moment B m (de f) eta := by |
| 135 | apply intervalIntegral.integral_congr |
| 136 | intro R hR |
| 137 | exact de_weighted hS hf m (w := (R, eta)) heta |
| 138 | change ProfileHistories.primitive (ProfileHistories.parameterPartial (weighted m f)) (B, eta) = |
| 139 | moment B m (de f) eta at hi |
| 140 | rw [hi] at hp |
| 141 | exact hp |
| 142 | |
| 143 | theorem moment_de_zero {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 144 | (B : ℝ) (m : ℕ) (hm : ∀ eta ∈ S, moment B m f eta = 0) |
| 145 | {eta : ℝ} (heta : eta ∈ S) : moment B m (de f) eta = 0 := by |
| 146 | have he : moment B m f =ᶠ[𝓝 eta] fun _ => (0 : ℝ) := by |
| 147 | filter_upwards [hS.mem_nhds heta] with z hz using hm z hz |
| 148 | exact (moment_hasDerivAt hS hf B m heta).unique |
| 149 | ((hasDerivAt_const eta 0).congr_of_eventuallyEq he) |
| 150 | |
| 151 | /-- Radial integration by parts includes the genuine boundary at the axis. -/ |
| 152 | theorem moment_dr {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 153 | (B : ℝ) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : |
| 154 | moment B (m + 1) (dr f) eta = B ^ (m + 1) * f (B, eta) - |
| 155 | ((m + 1 : ℕ) : ℝ) * moment B m f eta := by |
| 156 | have hp : ∀ R : ℝ, HasDerivAt (fun r : ℝ => r ^ (m + 1)) |
| 157 | (((m + 1 : ℕ) : ℝ) * R ^ m) R := by |
| 158 | intro R |
| 159 | simpa using (hasDerivAt_id R).fun_pow (m + 1) |
| 160 | have hi := intervalIntegral.integral_mul_deriv_eq_deriv_mul_of_hasDerivAt |
| 161 | (a := (0 : ℝ)) (b := B) (u := fun R : ℝ => R ^ (m + 1)) |
| 162 | (u' := fun R => ((m + 1 : ℕ) : ℝ) * R ^ m) |
| 163 | (v := fun R => f (R, eta)) (v' := fun R => dr f (R, eta)) |
| 164 | (continuous_id.pow (m + 1)).continuousOn (slice_smooth hf heta).continuous.continuousOn |
| 165 | (fun R _ => hp R) (fun R _ => radial_hasDerivAt hS hf (w := (R, eta)) heta) |
| 166 | ((continuous_const.mul (continuous_id.pow m)).intervalIntegrable 0 B) |
| 167 | ((slice_smooth (smooth_dr hS hf) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 168 | simpa only [moment, zero_pow (Nat.succ_ne_zero m), zero_mul, sub_zero, |
| 169 | mul_assoc, intervalIntegral.integral_const_mul] using hi |
| 170 | |
| 171 | theorem moment_add {S : Set ℝ} {f g : Field} (hf : Smooth S f) (hg : Smooth S g) |
| 172 | (B : ℝ) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : |
| 173 | moment B m (fun w => f w + g w) eta = moment B m f eta + moment B m g eta := by |
| 174 | simp only [moment, mul_add] |
| 175 | exact intervalIntegral.integral_add |
| 176 | ((slice_smooth (smooth_weighted hf m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 177 | ((slice_smooth (smooth_weighted hg m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 178 | |
| 179 | theorem moment_sub {S : Set ℝ} {f g : Field} (hf : Smooth S f) (hg : Smooth S g) |
| 180 | (B : ℝ) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : |
| 181 | moment B m (fun w => f w - g w) eta = moment B m f eta - moment B m g eta := by |
| 182 | simp only [moment, mul_sub] |
| 183 | exact intervalIntegral.integral_sub |
| 184 | ((slice_smooth (smooth_weighted hf m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 185 | ((slice_smooth (smooth_weighted hg m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 186 | |
| 187 | theorem smooth_axialOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 188 | (h b : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) : |
| 189 | Smooth S (axialOp h b f) := by |
| 190 | have hl : Smooth S (fun w => PositiveAxisSystem.ell h w.2) := |
| 191 | contDiffOn_const.sub (contDiffOn_const.mul (contDiffOn_snd.pow 2)) |
| 192 | have he : Smooth S (fun w => PositiveAxisSystem.edge w.2) := |
| 193 | contDiffOn_const.sub (contDiffOn_snd.pow 2) |
| 194 | exact (((((contDiffOn_const.mul contDiffOn_snd).mul contDiffOn_const).mul hf).add |
| 195 | (he.mul (smooth_de hS hf))).sub ((contDiffOn_snd.mul contDiffOn_fst).mul (smooth_dr hS hf))).div |
| 196 | hl (fun w hw => hell w.2 hw.2) |
| 197 | |
| 198 | theorem exterior_axialOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 199 | {B : ℝ} (hs : exterior B S f) (h b : ℝ) : exterior B S (axialOp h b f) := by |
| 200 | intro eta heta R hR |
| 201 | simp [axialOp, hs eta heta R hR, exterior_dr hS hf hs eta heta R hR, |
| 202 | exterior_de hS hf hs eta heta R hR] |
| 203 | |
| 204 | theorem axialOp_mul {S : Set ℝ} (hS : IsOpen S) {f g : Field} |
| 205 | (hf : Smooth S f) (hg : Smooth S g) (h b c : ℝ) |
| 206 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 207 | axialOp h (b + c) (fun p => f p * g p) w = |
| 208 | axialOp h b f w * g w + f w * axialOp h c g w := by |
| 209 | simp only [axialOp, de_mul hS hf hg hw, dr_mul hS hf hg hw] |
| 210 | ring |
| 211 | |
| 212 | /-- The weighted axial derivative is the actual derivative of the weighted |
| 213 | moment, with its exact scaling coefficient and radial boundary term. -/ |
| 214 | theorem moment_axialOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 215 | (h b B : ℝ) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : |
| 216 | moment B m (axialOp h b f) eta = |
| 217 | (2 * eta * b * moment B m f eta + PositiveAxisSystem.edge eta * moment B m (de f) eta - |
| 218 | eta * (B ^ (m + 1) * f (B, eta) - ((m + 1 : ℕ) : ℝ) * moment B m f eta)) / |
| 219 | PositiveAxisSystem.ell h eta := by |
| 220 | have h0 := ((slice_smooth (smooth_weighted hf m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 221 | have h1 := ((slice_smooth (smooth_weighted (smooth_de hS hf) m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 222 | have h2 := ((slice_smooth (smooth_weighted (smooth_dr hS hf) (m + 1)) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 223 | dsimp only [weighted] at h0 h1 h2 |
| 224 | have he : (fun R => R ^ m * axialOp h b f (R, eta)) = |
| 225 | (fun R => (2 * eta * b * (R ^ m * f (R, eta)) + |
| 226 | PositiveAxisSystem.edge eta * (R ^ m * de f (R, eta)) - |
| 227 | eta * (R ^ (m + 1) * dr f (R, eta))) / PositiveAxisSystem.ell h eta) := by |
| 228 | funext R |
| 229 | simp only [axialOp, pow_succ] |
| 230 | ring |
| 231 | unfold moment |
| 232 | rw [he, intervalIntegral.integral_div, |
| 233 | intervalIntegral.integral_sub ((h0.const_mul _).add (h1.const_mul _)) (h2.const_mul _), |
| 234 | intervalIntegral.integral_add (h0.const_mul _) (h1.const_mul _), |
| 235 | intervalIntegral.integral_const_mul, intervalIntegral.integral_const_mul, |
| 236 | intervalIntegral.integral_const_mul] |
| 237 | change (_ + _ - eta * moment B (m + 1) (dr f) eta) / _ = _ |
| 238 | rw [moment_dr hS hf B m heta] |
| 239 | rfl |
| 240 | |
| 241 | theorem moment_timeOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 242 | (h b B : ℝ) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : |
| 243 | moment B m (timeOp h b f) eta = |
| 244 | (-b * moment B m f eta + PositiveAxisSystem.dScale h * eta * moment B m (de f) eta + |
| 245 | (B ^ (m + 1) * f (B, eta) - ((m + 1 : ℕ) : ℝ) * moment B m f eta) / 2) / |
| 246 | PositiveAxisSystem.ell h eta := by |
| 247 | have h0 := ((slice_smooth (smooth_weighted hf m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 248 | have h1 := ((slice_smooth (smooth_weighted (smooth_de hS hf) m) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 249 | have h2 := ((slice_smooth (smooth_weighted (smooth_dr hS hf) (m + 1)) heta).continuous.intervalIntegrable (μ := volume) 0 B) |
| 250 | dsimp only [weighted] at h0 h1 h2 |
| 251 | have he : (fun R => R ^ m * timeOp h b f (R, eta)) = |
| 252 | (fun R => (-b * (R ^ m * f (R, eta)) + |
| 253 | PositiveAxisSystem.dScale h * eta * (R ^ m * de f (R, eta)) + |
| 254 | (1 / 2 : ℝ) * (R ^ (m + 1) * dr f (R, eta))) / PositiveAxisSystem.ell h eta) := by |
| 255 | funext R |
| 256 | simp only [timeOp, pow_succ] |
| 257 | ring |
| 258 | unfold moment |
| 259 | rw [he, intervalIntegral.integral_div, |
| 260 | intervalIntegral.integral_add ((h0.const_mul _).add (h1.const_mul _)) (h2.const_mul _), |
| 261 | intervalIntegral.integral_add (h0.const_mul _) (h1.const_mul _), |
| 262 | intervalIntegral.integral_const_mul, intervalIntegral.integral_const_mul, |
| 263 | intervalIntegral.integral_const_mul] |
| 264 | change (_ + _ + (1 / 2 : ℝ) * moment B (m + 1) (dr f) eta) / _ = _ |
| 265 | rw [moment_dr hS hf B m heta] |
| 266 | unfold moment |
| 267 | ring |
| 268 | |
| 269 | theorem moment_axialOp_zero {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 270 | (h b B : ℝ) (m : ℕ) (hb : ∀ eta ∈ S, f (B, eta) = 0) |
| 271 | (hm : ∀ eta ∈ S, moment B m f eta = 0) {eta : ℝ} (heta : eta ∈ S) : |
| 272 | moment B m (axialOp h b f) eta = 0 := by |
| 273 | rw [moment_axialOp hS hf h b B m heta, hb eta heta, hm eta heta, |
| 274 | moment_de_zero hS hf B m hm heta] |
| 275 | ring |
| 276 | |
| 277 | theorem moment_timeOp_zero {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 278 | (h b B : ℝ) (m : ℕ) (hb : ∀ eta ∈ S, f (B, eta) = 0) |
| 279 | (hm : ∀ eta ∈ S, moment B m f eta = 0) {eta : ℝ} (heta : eta ∈ S) : |
| 280 | moment B m (timeOp h b f) eta = 0 := by |
| 281 | rw [moment_timeOp hS hf h b B m heta, hb eta heta, hm eta heta, |
| 282 | moment_de_zero hS hf B m hm heta] |
| 283 | ring |
| 284 | |
| 285 | theorem moment_axialOp2_zero {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 286 | (h b B : ℝ) (m : ℕ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 287 | (hs : exterior B S f) (hm : ∀ eta ∈ S, moment B m f eta = 0) |
| 288 | {eta : ℝ} (heta : eta ∈ S) : moment B m (axialOp2 h b f) eta = 0 := by |
| 289 | exact moment_axialOp_zero hS (smooth_axialOp hS hf h b hell) |
| 290 | h (b - PositiveAxisSystem.dScale h) B m |
| 291 | (fun z hz => exterior_axialOp hS hf hs h b z hz B le_rfl) |
| 292 | (fun z hz => moment_axialOp_zero hS hf h b B m |
| 293 | (fun z hz => hs z hz B le_rfl) hm hz) heta |
| 294 | |
| 295 | noncomputable def orderExponent (h : ℝ) (n : ℕ) : ℝ := |
| 296 | -PositiveAxisSystem.a h + SlowExpansionResidual.slowOrder h n |
| 297 | |
| 298 | noncomputable def pressureExponent (h : ℝ) (n : ℕ) : ℝ := |
| 299 | -2 * PositiveAxisSystem.a h + SlowExpansionResidual.slowOrder h n |
| 300 | |
| 301 | theorem orderExponent_pair (h : ℝ) {i j n : ℕ} (hij : i + j = n) : |
| 302 | orderExponent h i + orderExponent h j = pressureExponent h n := by |
| 303 | unfold orderExponent pressureExponent |
| 304 | rw [← hij, SlowExpansionResidual.slowOrder_add] |
| 305 | ring |
| 306 | |
| 307 | /-- At a fixed convolution order the physical power is independent of the split. -/ |
| 308 | theorem physical_product_power {q : ℝ} (hq : 0 < q) (h b c : ℝ) |
| 309 | {i j n : ℕ} (hij : i + j = n) : |
| 310 | q ^ (b + SlowExpansionResidual.slowOrder h i) * q ^ (c + SlowExpansionResidual.slowOrder h j) = |
| 311 | q ^ (b + c + SlowExpansionResidual.slowOrder h n) := by |
| 312 | rw [SlowExpansionResidual.rpow_product_order hq, hij] |
| 313 | |
| 314 | noncomputable def conv (n : ℕ) (u v : History) (w : ℝ × ℝ) : ℝ := |
| 315 | ∑ i ∈ Finset.range (n + 1), u i w * v (n - i) w |
| 316 | |
| 317 | theorem conv_eq_actual (n : ℕ) (u v : History) (w : ℝ × ℝ) : |
| 318 | conv n u v w = PositiveOrderMoments.cauchy n (PositiveOrderMoments.slice u w.2) |
| 319 | (PositiveOrderMoments.slice v w.2) w.1 := rfl |
| 320 | |
| 321 | theorem conv_eq_antidiagonal (n : ℕ) (u v : History) (w : ℝ × ℝ) : |
| 322 | conv n u v w = SlowExpansionResidual.convolution (fun i j => u i w * v j w) n := by |
| 323 | symm |
| 324 | exact Finset.Nat.sum_antidiagonal_eq_sum_range_succ (fun i j => u i w * v j w) n |
| 325 | |
| 326 | theorem smooth_conv {S : Set ℝ} {n : ℕ} {u v : History} |
| 327 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hv : ∀ j, j ≤ n → Smooth S (v j)) : |
| 328 | Smooth S (conv n u v) := by |
| 329 | apply ContDiffOn.sum |
| 330 | intro j hj |
| 331 | exact (hu j (Nat.le_of_lt_succ (Finset.mem_range.mp hj))).mul (hv (n - j) (Nat.sub_le _ _)) |
| 332 | |
| 333 | theorem dr_conv {S : Set ℝ} (hS : IsOpen S) {n : ℕ} {u v : History} |
| 334 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 335 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 336 | dr (conv n u v) w = ∑ j ∈ Finset.range (n + 1), |
| 337 | (dr (u j) w * v (n - j) w + u j w * dr (v (n - j)) w) := by |
| 338 | apply (radial_hasDerivAt hS (smooth_conv hu hv) hw).unique |
| 339 | apply HasDerivAt.fun_sum |
| 340 | intro j hj |
| 341 | exact (radial_hasDerivAt hS (hu j (Nat.le_of_lt_succ (Finset.mem_range.mp hj))) hw).mul |
| 342 | (radial_hasDerivAt hS (hv (n - j) (Nat.sub_le _ _)) hw) |
| 343 | |
| 344 | theorem de_conv {S : Set ℝ} (hS : IsOpen S) {n : ℕ} {u v : History} |
| 345 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 346 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 347 | de (conv n u v) w = ∑ j ∈ Finset.range (n + 1), |
| 348 | (de (u j) w * v (n - j) w + u j w * de (v (n - j)) w) := by |
| 349 | apply (parameter_hasDerivAt hS (smooth_conv hu hv) hw).unique |
| 350 | apply HasDerivAt.fun_sum |
| 351 | intro j hj |
| 352 | exact (parameter_hasDerivAt hS (hu j (Nat.le_of_lt_succ (Finset.mem_range.mp hj))) hw).mul |
| 353 | (parameter_hasDerivAt hS (hv (n - j) (Nat.sub_le _ _)) hw) |
| 354 | |
| 355 | theorem axialOp_conv {S : Set ℝ} (hS : IsOpen S) {n : ℕ} {u v : History} |
| 356 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 357 | (h : ℝ) {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 358 | axialOp h (pressureExponent h n) (conv n u v) w = |
| 359 | ∑ j ∈ Finset.range (n + 1), |
| 360 | (axialOp h (orderExponent h j) (u j) w * v (n - j) w + |
| 361 | u j w * axialOp h (orderExponent h (n - j)) (v (n - j)) w) := by |
| 362 | unfold axialOp |
| 363 | rw [de_conv hS hu hv hw, dr_conv hS hu hv hw] |
| 364 | unfold conv |
| 365 | simp only [Finset.mul_sum, ← Finset.sum_add_distrib, ← Finset.sum_sub_distrib, |
| 366 | Finset.sum_div] |
| 367 | apply Finset.sum_congr rfl |
| 368 | intro j hj |
| 369 | have he := orderExponent_pair h (i := j) (j := n - j) (n := n) |
| 370 | (Nat.add_sub_of_le (Nat.le_of_lt_succ (Finset.mem_range.mp hj))) |
| 371 | rw [← he] |
| 372 | ring |
| 373 | |
| 374 | theorem dr_weighted {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 375 | (m : ℕ) {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 376 | dr (weighted m f) w = (m : ℝ) * w.1 ^ (m - 1) * f w + w.1 ^ m * dr f w := by |
| 377 | simpa only [id_eq, mul_one, Prod.eta] using |
| 378 | (radial_hasDerivAt hS (smooth_weighted hf m) hw).unique |
| 379 | (((hasDerivAt_id w.1).fun_pow m).fun_mul (radial_hasDerivAt hS hf hw)) |
| 380 | |
| 381 | theorem dr_sub {S : Set ℝ} (hS : IsOpen S) {f g : Field} |
| 382 | (hf : Smooth S f) (hg : Smooth S g) {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 383 | dr (fun p => f p - g p) w = dr f w - dr g w := |
| 384 | (radial_hasDerivAt hS (hf.sub hg) hw).unique |
| 385 | ((radial_hasDerivAt hS hf hw).sub (radial_hasDerivAt hS hg hw)) |
| 386 | |
| 387 | theorem axialOp_add {S : Set ℝ} (hS : IsOpen S) {f g : Field} |
| 388 | (hf : Smooth S f) (hg : Smooth S g) (h b : ℝ) |
| 389 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 390 | axialOp h b (fun p => f p + g p) w = axialOp h b f w + axialOp h b g w := by |
| 391 | have hr := (radial_hasDerivAt hS (hf.add hg) hw).unique |
| 392 | ((radial_hasDerivAt hS hf hw).add (radial_hasDerivAt hS hg hw)) |
| 393 | have he := (parameter_hasDerivAt hS (hf.add hg) hw).unique |
| 394 | ((parameter_hasDerivAt hS hf hw).add (parameter_hasDerivAt hS hg hw)) |
| 395 | simp only [axialOp, hr, he] |
| 396 | ring |
| 397 | |
| 398 | noncomputable def angularViscousFlux (e : Field) (w : ℝ × ℝ) : ℝ := |
| 399 | w.1 ^ 2 * dr e w - w.1 * e w |
| 400 | |
| 401 | noncomputable def axialViscousFlux (u : Field) (w : ℝ × ℝ) : ℝ := w.1 * dr u w |
| 402 | |
| 403 | theorem dr_angularViscousFlux {S : Set ℝ} (hS : IsOpen S) {e : Field} (he : Smooth S e) |
| 404 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 405 | dr (angularViscousFlux e) w = w.1 ^ 2 * dr (dr e) w + w.1 * dr e w - e w := by |
| 406 | have hfun : angularViscousFlux e = fun p => weighted 2 (dr e) p - weighted 1 e p := by |
| 407 | funext p |
| 408 | simp [angularViscousFlux, weighted] |
| 409 | rw [hfun] |
| 410 | rw [dr_sub hS (smooth_weighted (smooth_dr hS he) 2) (smooth_weighted he 1) hw, |
| 411 | dr_weighted hS (smooth_dr hS he) 2 hw, dr_weighted hS he 1 hw] |
| 412 | norm_num |
| 413 | ring |
| 414 | |
| 415 | theorem dr_axialViscousFlux {S : Set ℝ} (hS : IsOpen S) {u : Field} (hu : Smooth S u) |
| 416 | {w : ℝ × ℝ} (hw : w.2 ∈ S) : |
| 417 | dr (axialViscousFlux u) w = w.1 * dr (dr u) w + dr u w := by |
| 418 | have hfun : axialViscousFlux u = weighted 1 (dr u) := by |
| 419 | funext p |
| 420 | simp [axialViscousFlux, weighted] |
| 421 | rw [hfun] |
| 422 | rw [dr_weighted hS (smooth_dr hS hu) 1 hw] |
| 423 | norm_num |
| 424 | ring |
| 425 | |
| 426 | noncomputable def angularWeighted (h : ℝ) (n : ℕ) (v u e : History) (w : ℝ × ℝ) : ℝ := |
| 427 | w.1 ^ 2 * timeOp h (orderExponent h n) (e n) w + |
| 428 | (∑ j ∈ Finset.range (n + 1), |
| 429 | (w.1 * v j w * dr (e (n - j)) w + v j w * e (n - j) w + |
| 430 | w.1 ^ 2 * u j w * axialOp h (orderExponent h (n - j)) (e (n - j)) w)) - |
| 431 | (w.1 ^ 2 * dr (dr (e n)) w + w.1 * dr (e n) w - e n w) - |
| 432 | w.1 ^ 2 * axialOp2 h (orderExponent h (n - 1)) (e (n - 1)) w |
| 433 | |
| 434 | noncomputable def axialWeighted (h : ℝ) (n : ℕ) (v u : History) (p : Field) (w : ℝ × ℝ) : ℝ := |
| 435 | w.1 * timeOp h (orderExponent h n) (u n) w + |
| 436 | (∑ j ∈ Finset.range (n + 1), |
| 437 | (v j w * dr (u (n - j)) w + |
| 438 | w.1 * u j w * axialOp h (orderExponent h (n - j)) (u (n - j)) w)) + |
| 439 | w.1 * axialOp h (pressureExponent h n) p w - |
| 440 | (w.1 * dr (dr (u n)) w + dr (u n) w) - |
| 441 | w.1 * axialOp2 h (orderExponent h (n - 1)) (u (n - 1)) w |
| 442 | |
| 443 | noncomputable def angularDensity (h : ℝ) (n : ℕ) (v u e : History) (w : ℝ × ℝ) : ℝ := |
| 444 | w.1 ^ 2 * timeOp h (orderExponent h n) (e n) w + |
| 445 | dr (weighted 1 (conv n v e)) w + |
| 446 | w.1 ^ 2 * axialOp h (pressureExponent h n) (conv n u e) w - |
| 447 | dr (angularViscousFlux (e n)) w - |
| 448 | w.1 ^ 2 * axialOp2 h (orderExponent h (n - 1)) (e (n - 1)) w |
| 449 | |
| 450 | noncomputable def axialDensity (h : ℝ) (n : ℕ) (v u : History) (p : Field) (w : ℝ × ℝ) : ℝ := |
| 451 | w.1 * timeOp h (orderExponent h n) (u n) w + dr (conv n v u) w + |
| 452 | w.1 * axialOp h (pressureExponent h n) (fun p' => conv n u u p' + p p') w - |
| 453 | dr (axialViscousFlux (u n)) w - |
| 454 | w.1 * axialOp2 h (orderExponent h (n - 1)) (u (n - 1)) w |
| 455 | |
| 456 | /-- Incompressibility converts the actual angular advection terms to |
| 457 | conservative form; the convolution exponents are checked, not assumed. -/ |
| 458 | theorem angularWeighted_eq_density {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 459 | {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 460 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) |
| 461 | (h : ℝ) {w : ℝ × ℝ} (hw : w.2 ∈ S) |
| 462 | (hdiv : ∀ j, j ≤ n → dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) : |
| 463 | angularWeighted h n v u e w = angularDensity h n v u e w := by |
| 464 | unfold angularDensity angularWeighted |
| 465 | rw [dr_weighted hS (smooth_conv hv he) 1 hw, dr_conv hS hv he hw, |
| 466 | axialOp_conv hS hu he h hw, dr_angularViscousFlux hS (he n le_rfl) hw] |
| 467 | norm_num only [Nat.cast_one, pow_zero, pow_one, one_mul, Nat.sub_self] |
| 468 | unfold conv |
| 469 | simp only [Finset.mul_sum, ← Finset.sum_add_distrib] |
| 470 | congr 2 |
| 471 | rw [add_assoc, ← Finset.sum_add_distrib] |
| 472 | congr 1 |
| 473 | apply Finset.sum_congr rfl |
| 474 | intro j hj |
| 475 | rw [hdiv j (Nat.le_of_lt_succ (Finset.mem_range.mp hj))] |
| 476 | ring |
| 477 | |
| 478 | theorem axialWeighted_eq_density {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 479 | {v u : History} {p : Field} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 480 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) |
| 481 | (h : ℝ) {w : ℝ × ℝ} (hw : w.2 ∈ S) |
| 482 | (hdiv : ∀ j, j ≤ n → dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) : |
| 483 | axialWeighted h n v u p w = axialDensity h n v u p w := by |
| 484 | unfold axialDensity axialWeighted |
| 485 | rw [dr_conv hS hv hu hw, axialOp_add hS (smooth_conv hu hu) hp h _ hw, |
| 486 | axialOp_conv hS hu hu h hw, dr_axialViscousFlux hS (hu n le_rfl) hw] |
| 487 | have hs : (∑ j ∈ Finset.range (n + 1), |
| 488 | (v j w * dr (u (n - j)) w + w.1 * u j w * axialOp h (orderExponent h (n - j)) (u (n - j)) w)) = |
| 489 | (∑ j ∈ Finset.range (n + 1), (dr (v j) w * u (n - j) w + v j w * dr (u (n - j)) w)) + |
| 490 | w.1 * ∑ j ∈ Finset.range (n + 1), |
| 491 | (axialOp h (orderExponent h j) (u j) w * u (n - j) w + |
| 492 | u j w * axialOp h (orderExponent h (n - j)) (u (n - j)) w) := by |
| 493 | rw [Finset.mul_sum, ← Finset.sum_add_distrib] |
| 494 | apply Finset.sum_congr rfl |
| 495 | intro j hj |
| 496 | rw [hdiv j (Nat.le_of_lt_succ (Finset.mem_range.mp hj))] |
| 497 | ring |
| 498 | rw [hs] |
| 499 | ring |
| 500 | |
| 501 | theorem smooth_timeOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 502 | (h b : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) : Smooth S (timeOp h b f) := by |
| 503 | have hl : Smooth S (fun w => PositiveAxisSystem.ell h w.2) := |
| 504 | contDiffOn_const.sub (contDiffOn_const.mul (contDiffOn_snd.pow 2)) |
| 505 | exact (((contDiffOn_const.mul hf).add |
| 506 | ((contDiffOn_const.mul contDiffOn_snd).mul (smooth_de hS hf))).add |
| 507 | ((contDiffOn_fst.div_const 2).mul (smooth_dr hS hf))).div hl |
| 508 | (fun w hw => hell w.2 hw.2) |
| 509 | |
| 510 | theorem smooth_axialOp2 {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 511 | (h b : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) : Smooth S (axialOp2 h b f) := |
| 512 | smooth_axialOp hS (smooth_axialOp hS hf h b hell) h _ hell |
| 513 | |
| 514 | theorem smooth_angularViscousFlux {S : Set ℝ} (hS : IsOpen S) {e : Field} (he : Smooth S e) : |
| 515 | Smooth S (angularViscousFlux e) := |
| 516 | ((contDiffOn_fst.pow 2).mul (smooth_dr hS he)).sub (contDiffOn_fst.mul he) |
| 517 | |
| 518 | theorem smooth_axialViscousFlux {S : Set ℝ} (hS : IsOpen S) {u : Field} (hu : Smooth S u) : |
| 519 | Smooth S (axialViscousFlux u) := contDiffOn_fst.mul (smooth_dr hS hu) |
| 520 | |
| 521 | theorem moment_weighted_zero (B : ℝ) (m : ℕ) (f : Field) (eta : ℝ) : |
| 522 | moment B 0 (weighted m f) eta = moment B m f eta := by simp [moment, weighted] |
| 523 | |
| 524 | theorem moment_dr_boundary {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 525 | (B : ℝ) {eta : ℝ} (heta : eta ∈ S) : |
| 526 | moment B 0 (dr f) eta = f (B, eta) - f (0, eta) := by |
| 527 | simp only [moment, pow_zero, one_mul] |
| 528 | exact intervalIntegral.integral_eq_sub_of_hasDerivAt (f := fun R => f (R, eta)) |
| 529 | (fun R _ => radial_hasDerivAt hS hf (w := (R, eta)) heta) |
| 530 | ((slice_smooth (smooth_dr hS hf) heta).continuous.intervalIntegrable 0 B) |
| 531 | |
| 532 | theorem moment_five {S : Set ℝ} {f g k l p : Field} |
| 533 | (hf : Smooth S f) (hg : Smooth S g) (hk : Smooth S k) (hl : Smooth S l) (hp : Smooth S p) |
| 534 | (B : ℝ) (m : ℕ) {eta : ℝ} (heta : eta ∈ S) : |
| 535 | moment B m (fun w => f w + g w + k w - l w - p w) eta = |
| 536 | moment B m f eta + moment B m g eta + moment B m k eta - moment B m l eta - moment B m p eta := by |
| 537 | rw [moment_sub (((hf.add hg).add hk).sub hl) hp B m heta, |
| 538 | moment_sub ((hf.add hg).add hk) hl B m heta, |
| 539 | moment_add (hf.add hg) hk B m heta, moment_add hf hg B m heta] |
| 540 | |
| 541 | theorem exterior_conv_left {S : Set ℝ} {B : ℝ} {n : ℕ} {u v : History} |
| 542 | (hu : ∀ j, j ≤ n → exterior B S (u j)) : exterior B S (conv n u v) := by |
| 543 | intro eta heta R hR |
| 544 | unfold conv |
| 545 | apply Finset.sum_eq_zero |
| 546 | intro j hj |
| 547 | rw [hu j (Nat.le_of_lt_succ (Finset.mem_range.mp hj)) eta heta R hR, zero_mul] |
| 548 | |
| 549 | /-- The integrated angular equation, with the previous axial-viscosity term |
| 550 | still displayed. The other four terms cancel by the repaired moments and |
| 551 | the actual radial boundary terms. -/ |
| 552 | theorem angular_integral_balance {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 553 | {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 554 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) |
| 555 | (h B : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 556 | (hev : exterior B S (e n)) (hvv : ∀ j, j ≤ n → exterior B S (v j)) |
| 557 | (hem : ∀ eta ∈ S, moment B 2 (e n) eta = 0) |
| 558 | (hum : ∀ eta ∈ S, moment B 2 (conv n u e) eta = 0) |
| 559 | (hug : exterior B S (conv n u e)) {eta : ℝ} (heta : eta ∈ S) : |
| 560 | moment B 0 (angularDensity h n v u e) eta = |
| 561 | -moment B 2 (axialOp2 h (orderExponent h (n - 1)) (e (n - 1))) eta := by |
| 562 | have ht := smooth_weighted (smooth_timeOp hS (he n le_rfl) h (orderExponent h n) hell) 2 |
| 563 | have hr := smooth_weighted (smooth_conv hv he) 1 |
| 564 | have hz := smooth_weighted (smooth_axialOp hS (smooth_conv hu he) h (pressureExponent h n) hell) 2 |
| 565 | have hk := smooth_angularViscousFlux hS (he n le_rfl) |
| 566 | have hp := smooth_weighted (smooth_axialOp2 hS (he (n - 1) (Nat.sub_le _ _)) h |
| 567 | (orderExponent h (n - 1)) hell) 2 |
| 568 | have hd : angularDensity h n v u e = fun w => |
| 569 | weighted 2 (timeOp h (orderExponent h n) (e n)) w + |
| 570 | dr (weighted 1 (conv n v e)) w + |
| 571 | weighted 2 (axialOp h (pressureExponent h n) (conv n u e)) w - |
| 572 | dr (angularViscousFlux (e n)) w - |
| 573 | weighted 2 (axialOp2 h (orderExponent h (n - 1)) (e (n - 1))) w := by |
| 574 | funext w |
| 575 | rfl |
| 576 | rw [hd, moment_five ht (smooth_dr hS hr) hz (smooth_dr hS hk) hp B 0 heta, |
| 577 | moment_weighted_zero, moment_weighted_zero, moment_weighted_zero, |
| 578 | moment_dr_boundary hS hr B heta, moment_dr_boundary hS hk B heta, |
| 579 | moment_timeOp_zero hS (he n le_rfl) h _ B 2 (fun z hz => hev z hz B le_rfl) hem heta, |
| 580 | moment_axialOp_zero hS (smooth_conv hu he) h _ B 2 |
| 581 | (fun z hz => hug z hz B le_rfl) hum heta] |
| 582 | simp [weighted, angularViscousFlux, exterior_conv_left hvv eta heta B le_rfl, |
| 583 | hev eta heta B le_rfl, exterior_dr hS (he n le_rfl) hev eta heta B le_rfl] |
| 584 | |
| 585 | theorem axial_integral_balance {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 586 | {v u : History} {p : Field} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 587 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) |
| 588 | (h B : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 589 | (huv : exterior B S (u n)) (hvv : ∀ j, j ≤ n → exterior B S (v j)) |
| 590 | (haxis : ∀ eta ∈ S, conv n v u (0, eta) = 0) |
| 591 | (hum : ∀ eta ∈ S, moment B 1 (u n) eta = 0) |
| 592 | (hflux : ∀ eta ∈ S, moment B 1 (fun w => conv n u u w + p w) eta = 0) |
| 593 | (hfluxB : ∀ eta ∈ S, conv n u u (B, eta) + p (B, eta) = 0) |
| 594 | {eta : ℝ} (heta : eta ∈ S) : |
| 595 | moment B 0 (axialDensity h n v u p) eta = |
| 596 | -moment B 1 (axialOp2 h (orderExponent h (n - 1)) (u (n - 1))) eta := by |
| 597 | have ht := smooth_weighted (smooth_timeOp hS (hu n le_rfl) h (orderExponent h n) hell) 1 |
| 598 | have hr := smooth_conv hv hu |
| 599 | have hz := smooth_weighted (smooth_axialOp hS ((smooth_conv hu hu).add hp) h (pressureExponent h n) hell) 1 |
| 600 | have hk := smooth_axialViscousFlux hS (hu n le_rfl) |
| 601 | have hl := smooth_weighted (smooth_axialOp2 hS (hu (n - 1) (Nat.sub_le _ _)) h |
| 602 | (orderExponent h (n - 1)) hell) 1 |
| 603 | have hd : axialDensity h n v u p = fun w => |
| 604 | weighted 1 (timeOp h (orderExponent h n) (u n)) w + dr (conv n v u) w + |
| 605 | weighted 1 (axialOp h (pressureExponent h n) (fun w => conv n u u w + p w)) w - |
| 606 | dr (axialViscousFlux (u n)) w - |
| 607 | weighted 1 (axialOp2 h (orderExponent h (n - 1)) (u (n - 1))) w := by |
| 608 | funext w |
| 609 | simp [axialDensity, weighted] |
| 610 | rw [hd, moment_five ht (smooth_dr hS hr) hz (smooth_dr hS hk) hl B 0 heta, |
| 611 | moment_weighted_zero, moment_weighted_zero, moment_weighted_zero, |
| 612 | moment_dr_boundary hS hr B heta, moment_dr_boundary hS hk B heta, |
| 613 | moment_timeOp_zero hS (hu n le_rfl) h _ B 1 (fun z hz => huv z hz B le_rfl) hum heta, |
| 614 | moment_axialOp_zero hS ((smooth_conv hu hu).add hp) h _ B 1 hfluxB hflux heta] |
| 615 | simp [axialViscousFlux, exterior_conv_left hvv eta heta B le_rfl, |
| 616 | haxis eta heta, exterior_dr hS (hu n le_rfl) huv eta heta B le_rfl] |
| 617 | |
| 618 | /-- Pressure integration by parts turns the fifth repaired row into the |
| 619 | zero total axial momentum flux. The pressure derivative is an actual one. -/ |
| 620 | theorem axial_flux_moment_from_fifth {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 621 | {u : History} {p : Field} (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) |
| 622 | (B : ℝ) (hpB : ∀ eta ∈ S, p (B, eta) = 0) |
| 623 | (hrow : ∀ eta ∈ S, moment B 1 (conv n u u) eta - (1 / 2 : ℝ) * moment B 2 (dr p) eta = 0) |
| 624 | {eta : ℝ} (heta : eta ∈ S) : |
| 625 | moment B 1 (fun w => conv n u u w + p w) eta = 0 := by |
| 626 | have hibp := moment_dr hS hp B 1 heta |
| 627 | rw [hpB eta heta] at hibp |
| 628 | norm_num at hibp |
| 629 | rw [moment_add (smooth_conv hu hu) hp B 1 heta] |
| 630 | linarith [hrow eta heta] |
| 631 | |
| 632 | theorem actual_row_integral_zero {n : ℕ} {u e : History} {omega : Field} |
| 633 | {S : Set ℝ} {B : ℝ} (hB : 0 ≤ B) |
| 634 | (hs : ∀ eta ∈ S, ∀ R, B ≤ R → PositiveOrderMoments.jointRowDensity n u e omega (R, eta) = 0) |
| 635 | (hm : ∀ eta ∈ S, PositiveOrderMoments.moments n (PositiveOrderMoments.slice u eta) |
| 636 | (PositiveOrderMoments.slice e eta) (fun R => omega (R, eta)) = 0) |
| 637 | {eta : ℝ} (heta : eta ∈ S) (i : Fin 5) : |
| 638 | (∫ R in (0 : ℝ)..B, PositiveOrderMoments.jointRowDensity n u e omega (R, eta) i) = 0 := by |
| 639 | rw [← PositiveOrderMoments.positiveIntegral_eq_primitive hB le_rfl |
| 640 | (fun R hR => congrFun (hs eta heta R hR) i)] |
| 641 | exact congrFun (hm eta heta) i |
| 642 | |
| 643 | /-- All moment hypotheses used in the integrated balances follow from the |
| 644 | five repaired rows. Pressure is the actual forward primitive of its source. -/ |
| 645 | theorem repaired_moment_data {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 646 | {u e : History} {omega : Field} (hu : ∀ j, j ≤ n → Smooth S (u j)) |
| 647 | (hq : Smooth S (PositiveOrderMoments.jointPressureGradient n e omega)) |
| 648 | {B : ℝ} (hB : 0 ≤ B) |
| 649 | (hs : ∀ eta ∈ S, ∀ R, B ≤ R → PositiveOrderMoments.jointRowDensity n u e omega (R, eta) = 0) |
| 650 | (hm : ∀ eta ∈ S, PositiveOrderMoments.moments n (PositiveOrderMoments.slice u eta) |
| 651 | (PositiveOrderMoments.slice e eta) (fun R => omega (R, eta)) = 0) |
| 652 | {eta : ℝ} (heta : eta ∈ S) : |
| 653 | moment B 1 (u n) eta = 0 ∧ moment B 2 (e n) eta = 0 ∧ |
| 654 | moment B 2 (conv n u e) eta = 0 ∧ |
| 655 | moment B 1 (fun w => conv n u u w + PositiveOrderMoments.pressureHistory n e omega w) eta = 0 := by |
| 656 | have hP := PositiveOrderMoments.pressureHistory_contDiffOn hS hq |
| 657 | have hdP : ∀ w : ℝ × ℝ, w.2 ∈ S → |
| 658 | dr (PositiveOrderMoments.pressureHistory n e omega) w = |
| 659 | PositiveOrderMoments.jointPressureGradient n e omega w := by |
| 660 | intro w hw |
| 661 | exact ProfileHistories.radialPartial_primitive (PositiveOrderMoments.parameterDomain S hS) |
| 662 | hq (p := w) ⟨mem_univ _, hw⟩ |
| 663 | have hPB : ∀ z ∈ S, PositiveOrderMoments.pressureHistory n e omega (B, z) = 0 := by |
| 664 | intro z hz |
| 665 | exact PositiveOrderMoments.pressureHistory_exterior_on hB |
| 666 | (fun z hz R hR => congrFun (hs z hz R hR) 2) hm le_rfl hz |
| 667 | refine ⟨?_, ?_, ?_, ?_⟩ |
| 668 | · have hh := actual_row_integral_zero hB hs hm heta 0 |
| 669 | change (∫ R in (0 : ℝ)..B, R * u n (R, eta)) = 0 at hh |
| 670 | simpa [moment] using hh |
| 671 | · exact actual_row_integral_zero hB hs hm heta 1 |
| 672 | · exact actual_row_integral_zero hB hs hm heta 3 |
| 673 | · apply axial_flux_moment_from_fifth hS hu hP B hPB _ heta |
| 674 | intro z hz |
| 675 | have hh := actual_row_integral_zero hB hs hm hz 4 |
| 676 | have hfun : (fun R => PositiveOrderMoments.jointRowDensity n u e omega (R, z) 4) = |
| 677 | (fun R => R * conv n u u (R, z) - (1 / 2 : ℝ) * |
| 678 | (R ^ 2 * dr (PositiveOrderMoments.pressureHistory n e omega) (R, z))) := by |
| 679 | funext R |
| 680 | rw [hdP (R, z) hz] |
| 681 | change R * conv n u u (R, z) - R ^ 2 / 2 * |
| 682 | PositiveOrderMoments.jointPressureGradient n e omega (R, z) = _ |
| 683 | ring |
| 684 | have hi0 := (slice_smooth (smooth_weighted (smooth_conv hu hu) 1) hz).continuous.intervalIntegrable |
| 685 | (μ := volume) 0 B |
| 686 | have hi1 := (slice_smooth (smooth_weighted (smooth_dr hS hP) 2) hz).continuous.intervalIntegrable |
| 687 | (μ := volume) 0 B |
| 688 | simp only [weighted, pow_one] at hi0 hi1 |
| 689 | rw [hfun, intervalIntegral.integral_sub hi0 (hi1.const_mul (1 / 2)), |
| 690 | intervalIntegral.integral_const_mul] at hh |
| 691 | simpa only [moment, pow_one] using hh |
| 692 | |
| 693 | theorem angular_integral_zero {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 694 | {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 695 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) |
| 696 | (h B : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 697 | (hev : exterior B S (e n)) (hvv : ∀ j, j ≤ n → exterior B S (v j)) |
| 698 | (hem : ∀ eta ∈ S, moment B 2 (e n) eta = 0) |
| 699 | (hum : ∀ eta ∈ S, moment B 2 (conv n u e) eta = 0) |
| 700 | (hug : exterior B S (conv n u e)) |
| 701 | (heprev : exterior B S (e (n - 1))) |
| 702 | (hmprev : ∀ eta ∈ S, moment B 2 (e (n - 1)) eta = 0) |
| 703 | {eta : ℝ} (heta : eta ∈ S) : moment B 0 (angularDensity h n v u e) eta = 0 := by |
| 704 | rw [angular_integral_balance hS hv hu he h B hell hev hvv hem hum hug heta, |
| 705 | moment_axialOp2_zero hS (he (n - 1) (Nat.sub_le _ _)) h _ B 2 hell heprev hmprev heta, |
| 706 | neg_zero] |
| 707 | |
| 708 | theorem axial_integral_zero {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 709 | {v u : History} {p : Field} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 710 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) |
| 711 | (h B : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 712 | (huv : exterior B S (u n)) (hvv : ∀ j, j ≤ n → exterior B S (v j)) |
| 713 | (haxis : ∀ eta ∈ S, conv n v u (0, eta) = 0) |
| 714 | (hum : ∀ eta ∈ S, moment B 1 (u n) eta = 0) |
| 715 | (hflux : ∀ eta ∈ S, moment B 1 (fun w => conv n u u w + p w) eta = 0) |
| 716 | (hfluxB : ∀ eta ∈ S, conv n u u (B, eta) + p (B, eta) = 0) |
| 717 | (huprev : exterior B S (u (n - 1))) |
| 718 | (hmprev : ∀ eta ∈ S, moment B 1 (u (n - 1)) eta = 0) |
| 719 | {eta : ℝ} (heta : eta ∈ S) : moment B 0 (axialDensity h n v u p) eta = 0 := by |
| 720 | rw [axial_integral_balance hS hv hu hp h B hell huv hvv haxis hum hflux hfluxB heta, |
| 721 | moment_axialOp2_zero hS (hu (n - 1) (Nat.sub_le _ _)) h _ B 1 hell huprev hmprev heta, |
| 722 | neg_zero] |
| 723 | |
| 724 | /-- The negative weighted radial primitive. The definition is zero on |
| 725 | nonpositive radii; vanishing of the source near the axis makes this smooth. -/ |
| 726 | noncomputable def stress (m : ℕ) (F : Field) (w : ℝ × ℝ) : ℝ := |
| 727 | if 0 < w.1 then -ProfileHistories.primitive F w / w.1 ^ m else 0 |
| 728 | |
| 729 | theorem stress_of_pos (m : ℕ) (F : Field) {w : ℝ × ℝ} (hw : 0 < w.1) : |
| 730 | stress m F w = -ProfileHistories.primitive F w / w.1 ^ m := ite_eq_left hw |
| 731 | |
| 732 | theorem stress_inner (m : ℕ) {F : Field} {S : Set ℝ} {a : ℝ} |
| 733 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) |
| 734 | {R eta : ℝ} (hR : R ≤ a) (heta : eta ∈ S) : stress m F (R, eta) = 0 := by |
| 735 | by_cases hp : 0 < R |
| 736 | · rw [stress_of_pos m F hp] |
| 737 | have hi : ProfileHistories.primitive F (R, eta) = 0 := by |
| 738 | change (∫ r in (0 : ℝ)..R, F (r, eta)) = 0 |
| 739 | have heq : EqOn (fun r => F (r, eta)) (fun _ => (0 : ℝ)) (uIcc 0 R) := by |
| 740 | intro r hr |
| 741 | rw [uIcc_of_le hp.le] at hr |
| 742 | exact hinner eta heta r ⟨hr.1, hr.2.trans hR⟩ |
| 743 | rw [intervalIntegral.integral_congr heq, intervalIntegral.integral_zero] |
| 744 | simp [hi] |
| 745 | · simp [stress, hp] |
| 746 | |
| 747 | theorem stress_exterior (m : ℕ) {F : Field} {S : Set ℝ} {B : ℝ} (hB : 0 ≤ B) |
| 748 | (hs : exterior B S F) (hm : ∀ eta ∈ S, moment B 0 F eta = 0) |
| 749 | {R eta : ℝ} (hR : B ≤ R) (heta : eta ∈ S) : stress m F (R, eta) = 0 := by |
| 750 | by_cases hp : 0 < R |
| 751 | · rw [stress_of_pos m F hp] |
| 752 | have hi : ProfileHistories.primitive F (R, eta) = 0 := by |
| 753 | change (∫ r in (0 : ℝ)..R, F (r, eta)) = 0 |
| 754 | rw [← PositiveOrderMoments.positiveIntegral_eq_primitive hB hR (hs eta heta)] |
| 755 | have hh := moment_eq_positive hB hs heta 0 |
| 756 | simpa only [pow_zero, one_mul, hm eta heta] using hh.symm |
| 757 | simp [hi] |
| 758 | · simp [stress, hp] |
| 759 | |
| 760 | theorem stress_smooth {S : Set ℝ} (hS : IsOpen S) {F : Field} (hF : Smooth S F) |
| 761 | (m : ℕ) {a : ℝ} (ha : 0 < a) |
| 762 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) : Smooth S (stress m F) := by |
| 763 | intro w hw |
| 764 | apply ContDiffAt.contDiffWithinAt |
| 765 | by_cases hR : 0 < w.1 |
| 766 | · have hP := (ProfileHistories.primitive_smooth |
| 767 | (PositiveOrderMoments.parameterDomain S hS) hF).contDiffAt |
| 768 | ((isOpen_univ.prod hS).mem_nhds hw) |
| 769 | have ht : ContDiffAt ℝ ∞ (fun p : ℝ × ℝ => -ProfileHistories.primitive F p / p.1 ^ m) w := |
| 770 | hP.neg.div (contDiffAt_fst.pow m) (pow_ne_zero m hR.ne') |
| 771 | apply ht.congr_of_eventuallyEq |
| 772 | filter_upwards [continuous_fst.continuousAt (Ioi_mem_nhds hR)] with p hp |
| 773 | exact stress_of_pos m F hp |
| 774 | · have hRa : w.1 < a := (le_of_not_gt hR).trans_lt ha |
| 775 | apply (contDiffAt_const (c := (0 : ℝ))).congr_of_eventuallyEq |
| 776 | filter_upwards [(isOpen_Iio.prod hS).mem_nhds ⟨hRa, hw.2⟩] with p hp |
| 777 | exact stress_inner m hinner hp.1.le hp.2 |
| 778 | |
| 779 | /-- The defining primitive has the exact negative weighted derivative. -/ |
| 780 | theorem stress_weighted_hasDerivAt {S : Set ℝ} (hS : IsOpen S) {F : Field} (hF : Smooth S F) |
| 781 | (m : ℕ) {R eta : ℝ} (hR : 0 < R) (heta : eta ∈ S) : |
| 782 | HasDerivAt (fun r => r ^ m * stress m F (r, eta)) (-F (R, eta)) R := by |
| 783 | have hp := (ProfileHistories.primitive_hasDerivAt |
| 784 | (PositiveOrderMoments.parameterDomain S hS) hF (p := (R, eta)) ⟨mem_univ _, heta⟩).fun_neg |
| 785 | apply hp.congr_of_eventuallyEq |
| 786 | filter_upwards [Ioi_mem_nhds hR] with r hr |
| 787 | rw [stress_of_pos m F (w := (r, eta)) hr] |
| 788 | field_simp [pow_ne_zero m (ne_of_gt (show 0 < r from hr))] |
| 789 | |
| 790 | theorem stress_radial_identity {S : Set ℝ} (hS : IsOpen S) {F : Field} (hF : Smooth S F) |
| 791 | (m : ℕ) {a : ℝ} (ha : 0 < a) |
| 792 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) |
| 793 | {w : ℝ × ℝ} (hR : 0 < w.1) (heta : w.2 ∈ S) : |
| 794 | (m : ℝ) * w.1 ^ (m - 1) * stress m F w + w.1 ^ m * dr (stress m F) w = -F w := by |
| 795 | have ht := stress_smooth hS hF m ha hinner |
| 796 | have hd := (radial_hasDerivAt hS (smooth_weighted ht m) heta).unique |
| 797 | (stress_weighted_hasDerivAt hS hF m hR heta) |
| 798 | rw [dr_weighted hS ht m heta] at hd |
| 799 | exact hd |
| 800 | |
| 801 | theorem stress_slice_support (m : ℕ) {F : Field} {S : Set ℝ} {a B : ℝ} (hB : 0 ≤ B) |
| 802 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) |
| 803 | (hs : exterior B S F) (hm : ∀ eta ∈ S, moment B 0 F eta = 0) |
| 804 | {eta : ℝ} (heta : eta ∈ S) : support (fun R => stress m F (R, eta)) ⊆ Icc a B := by |
| 805 | intro R hR |
| 806 | constructor |
| 807 | · by_contra hh |
| 808 | exact hR (stress_inner m hinner (le_of_not_ge hh) heta) |
| 809 | · by_contra hh |
| 810 | exact hR (stress_exterior m hB hs hm (le_of_not_ge hh) heta) |
| 811 | |
| 812 | noncomputable def radialSupport (S : Set ℝ) (a b : ℝ) (f : Field) : Prop := |
| 813 | ∀ eta ∈ S, ∀ R, R ∉ Icc a b → f (R, eta) = 0 |
| 814 | |
| 815 | theorem support_eventually_zero {S : Set ℝ} (hS : IsOpen S) {a b : ℝ} {f : Field} |
| 816 | (hs : radialSupport S a b f) {w : ℝ × ℝ} (hw : w.2 ∈ S) (hR : w.1 ∉ Icc a b) : |
| 817 | f =ᶠ[𝓝 w] fun _ => 0 := by |
| 818 | filter_upwards [(isClosed_Icc.isOpen_compl.prod hS).mem_nhds ⟨hR, hw⟩] with p hp |
| 819 | exact hs p.2 hp.2 p.1 hp.1 |
| 820 | |
| 821 | theorem jet_eq_zero_of_eventually {f : Field} {w : ℝ × ℝ} |
| 822 | (hf : f =ᶠ[𝓝 w] fun _ => 0) (k : ℕ) : iteratedFDeriv ℝ k f w = 0 := by |
| 823 | have hh : f =ᶠ[𝓝[univ] w] fun _ => (0 : ℝ) := by simpa only [nhdsWithin_univ] using hf |
| 824 | have he := hh.iteratedFDerivWithin_eq (𝕜 := ℝ) hf.self_of_nhds k |
| 825 | simpa only [iteratedFDerivWithin_univ, iteratedFDeriv_fun_zero, Pi.zero_apply] using he |
| 826 | |
| 827 | theorem interior_quotient_smooth {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 828 | {a b l r : ℝ} (hs : radialSupport S a b f) (hab : Icc a b ⊆ Ioo l r) |
| 829 | {zeta : ℝ → ℝ} (hz : ContDiffOn ℝ ∞ zeta (Ioo l r)) |
| 830 | (hz0 : ∀ R ∈ Ioo l r, zeta R ≠ 0) : |
| 831 | Smooth S (fun w => f w / zeta w.1) := by |
| 832 | intro w hw |
| 833 | apply ContDiffAt.contDiffWithinAt |
| 834 | by_cases hR : w.1 ∈ Ioo l r |
| 835 | · exact (hf.contDiffAt ((isOpen_univ.prod hS).mem_nhds hw)).div |
| 836 | ((hz.contDiffAt (isOpen_Ioo.mem_nhds hR)).comp w contDiffAt_fst) (hz0 w.1 hR) |
| 837 | · have ho : w.1 ∉ Icc a b := fun hm => hR (hab hm) |
| 838 | apply (contDiffAt_const (c := (0 : ℝ))).congr_of_eventuallyEq |
| 839 | filter_upwards [support_eventually_zero hS hs hw.2 ho] with p hp |
| 840 | simp [hp] |
| 841 | |
| 842 | /-- Every actual derivative tensor has a weighted bound because its support |
| 843 | lies in one fixed compact subinterval of the positive-weight region. No |
| 844 | stress norm bound is an input. The constant may depend on the derivative order. -/ |
| 845 | theorem interior_weighted_jets {S K : Set ℝ} (hS : IsOpen S) (hK : IsCompact K) (hKS : K ⊆ S) |
| 846 | {f : Field} (hf : Smooth S f) {a b l r : ℝ} |
| 847 | (hs : radialSupport S a b f) (hab : Icc a b ⊆ Ioo l r) |
| 848 | {zeta : ℝ → ℝ} (hz : ContinuousOn zeta (Ioo l r)) |
| 849 | (hz0 : ∀ R ∈ Ioo l r, 0 < zeta R) (k : ℕ) : |
| 850 | ∃ C : ℝ, 0 ≤ C ∧ ∀ R ∈ Ioo l r, ∀ eta ∈ K, |
| 851 | ‖iteratedFDeriv ℝ k f (R, eta)‖ ≤ C * zeta R := by |
| 852 | have hcj : ContinuousOn (iteratedFDeriv ℝ k f) (Icc a b ×ˢ K) := by |
| 853 | intro w hw |
| 854 | have hh := hf.contDiffAt ((isOpen_univ.prod hS).mem_nhds ⟨mem_univ _, hKS hw.2⟩) |
| 855 | exact (hh.iteratedFDeriv_right (m := 0) (by |
| 856 | simp only [zero_add] |
| 857 | exact_mod_cast (le_top : (k : ℕ∞) ≤ ⊤))).continuousAt.continuousWithinAt |
| 858 | have hcz : ContinuousOn (fun w : ℝ × ℝ => zeta w.1) (Icc a b ×ˢ K) := |
| 859 | hz.comp continuous_fst.continuousOn (fun w hw => hab hw.1) |
| 860 | have hc : ContinuousOn (fun w : ℝ × ℝ => ‖iteratedFDeriv ℝ k f w‖ / zeta w.1) |
| 861 | (Icc a b ×ˢ K) := hcj.norm.div hcz (fun w hw => (hz0 w.1 (hab hw.1)).ne') |
| 862 | obtain ⟨C, hC⟩ := (isCompact_Icc.prod hK).exists_bound_of_continuousOn hc |
| 863 | refine ⟨max C 0, le_max_right _ _, ?_⟩ |
| 864 | intro R hR eta heta |
| 865 | by_cases hi : R ∈ Icc a b |
| 866 | · apply (div_le_iff₀ (hz0 R hR)).mp |
| 867 | exact (le_abs_self _).trans ((hC (R, eta) ⟨hi, heta⟩).trans (le_max_left _ _)) |
| 868 | · have hj := jet_eq_zero_of_eventually (support_eventually_zero hS hs (w := (R, eta)) (hKS heta) hi) k |
| 869 | rw [hj, norm_zero] |
| 870 | exact mul_nonneg (le_max_right _ _) (hz0 R hR).le |
| 871 | |
| 872 | theorem stress_radialSupport (m : ℕ) {F : Field} {S : Set ℝ} {a B : ℝ} (hB : 0 ≤ B) |
| 873 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) |
| 874 | (hs : exterior B S F) (hm : ∀ eta ∈ S, moment B 0 F eta = 0) : |
| 875 | radialSupport S a B (stress m F) := by |
| 876 | intro eta heta R hR |
| 877 | by_contra hn |
| 878 | exact hR (stress_slice_support m hB hinner hs hm heta hn) |
| 879 | |
| 880 | /-- A fixed interior support interval gives all weighted stress jets on |
| 881 | every compact parameter subinterval, as well as a smooth normalized stress. -/ |
| 882 | theorem stress_weighted_jets {S K : Set ℝ} (hS : IsOpen S) (hK : IsCompact K) (hKS : K ⊆ S) |
| 883 | {F : Field} (hF : Smooth S F) (m : ℕ) {a B l r : ℝ} (ha : 0 < a) (hB : 0 ≤ B) |
| 884 | (hab : Icc a B ⊆ Ioo l r) |
| 885 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, F (R, eta) = 0) |
| 886 | (hs : exterior B S F) (hm : ∀ eta ∈ S, moment B 0 F eta = 0) |
| 887 | {zeta : ℝ → ℝ} (hz : ContDiffOn ℝ ∞ zeta (Ioo l r)) |
| 888 | (hz0 : ∀ R ∈ Ioo l r, 0 < zeta R) : |
| 889 | Smooth S (fun w => stress m F w / zeta w.1) ∧ |
| 890 | ∀ k : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ R ∈ Ioo l r, ∀ eta ∈ K, |
| 891 | ‖iteratedFDeriv ℝ k (stress m F) (R, eta)‖ ≤ C * zeta R := by |
| 892 | have ht := stress_smooth hS hF m ha hinner |
| 893 | have hts := stress_radialSupport m hB hinner hs hm |
| 894 | exact ⟨interior_quotient_smooth hS ht hts hab hz (fun R hR => (hz0 R hR).ne'), |
| 895 | interior_weighted_jets hS hK hKS ht hts hab hz.continuousOn hz0⟩ |
| 896 | |
| 897 | theorem smooth_angularDensity {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 898 | {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 899 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) |
| 900 | (h : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) : |
| 901 | Smooth S (angularDensity h n v u e) := |
| 902 | (((((contDiffOn_fst.pow 2).mul (smooth_timeOp hS (he n le_rfl) h _ hell)).add |
| 903 | (smooth_dr hS (smooth_weighted (smooth_conv hv he) 1))).add |
| 904 | ((contDiffOn_fst.pow 2).mul (smooth_axialOp hS (smooth_conv hu he) h _ hell))).sub |
| 905 | (smooth_dr hS (smooth_angularViscousFlux hS (he n le_rfl)))).sub |
| 906 | ((contDiffOn_fst.pow 2).mul (smooth_axialOp2 hS (he (n - 1) (Nat.sub_le _ _)) h _ hell)) |
| 907 | |
| 908 | theorem smooth_axialDensity {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 909 | {v u : History} {p : Field} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 910 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) |
| 911 | (h : ℝ) (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) : |
| 912 | Smooth S (axialDensity h n v u p) := |
| 913 | ((((contDiffOn_fst.mul (smooth_timeOp hS (hu n le_rfl) h _ hell)).add |
| 914 | (smooth_dr hS (smooth_conv hv hu))).add |
| 915 | (contDiffOn_fst.mul (smooth_axialOp hS ((smooth_conv hu hu).add hp) h _ hell))).sub |
| 916 | (smooth_dr hS (smooth_axialViscousFlux hS (hu n le_rfl)))).sub |
| 917 | (contDiffOn_fst.mul (smooth_axialOp2 hS (hu (n - 1) (Nat.sub_le _ _)) h _ hell)) |
| 918 | |
| 919 | theorem exterior_weighted {S : Set ℝ} {B : ℝ} {f : Field} (hf : exterior B S f) (m : ℕ) : |
| 920 | exterior B S (weighted m f) := by |
| 921 | intro eta heta R hR |
| 922 | simp [weighted, hf eta heta R hR] |
| 923 | |
| 924 | theorem exterior_timeOp {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 925 | {B : ℝ} (hs : exterior B S f) (h b : ℝ) : exterior B S (timeOp h b f) := by |
| 926 | intro eta heta R hR |
| 927 | simp [timeOp, hs eta heta R hR, exterior_dr hS hf hs eta heta R hR, |
| 928 | exterior_de hS hf hs eta heta R hR] |
| 929 | |
| 930 | theorem exterior_axialOp2 {S : Set ℝ} (hS : IsOpen S) {f : Field} (hf : Smooth S f) |
| 931 | {B : ℝ} (hs : exterior B S f) (h b : ℝ) |
| 932 | (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) : exterior B S (axialOp2 h b f) := |
| 933 | exterior_axialOp hS (smooth_axialOp hS hf h b hell) (exterior_axialOp hS hf hs h b) h _ |
| 934 | |
| 935 | theorem exterior_angularDensity {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 936 | {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 937 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) |
| 938 | (h B : ℝ) (hV : ∀ j, j ≤ n → exterior B S (v j)) |
| 939 | (hU : ∀ j, j ≤ n → exterior B S (u j)) (hE : exterior B S (e n)) |
| 940 | (hprev : exterior B S (axialOp2 h (orderExponent h (n - 1)) (e (n - 1)))) : |
| 941 | exterior B S (angularDensity h n v u e) := by |
| 942 | have hr := exterior_dr hS (smooth_weighted (smooth_conv hv he) 1) |
| 943 | (exterior_weighted (exterior_conv_left hV) 1) |
| 944 | have hz := exterior_axialOp hS (smooth_conv hu he) (exterior_conv_left hU) h (pressureExponent h n) |
| 945 | have hvf : exterior B S (angularViscousFlux (e n)) := by |
| 946 | intro eta heta R hR |
| 947 | simp [angularViscousFlux, hE eta heta R hR, exterior_dr hS (he n le_rfl) hE eta heta R hR] |
| 948 | have hk := exterior_dr hS (smooth_angularViscousFlux hS (he n le_rfl)) hvf |
| 949 | intro eta heta R hR |
| 950 | simp [angularDensity, exterior_timeOp hS (he n le_rfl) hE h (orderExponent h n) eta heta R hR, |
| 951 | hr eta heta R hR, hz eta heta R hR, hk eta heta R hR, hprev eta heta R hR] |
| 952 | |
| 953 | theorem exterior_axialDensity {S : Set ℝ} (hS : IsOpen S) {n : ℕ} |
| 954 | {v u : History} {p : Field} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 955 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) |
| 956 | (h B : ℝ) (hV : ∀ j, j ≤ n → exterior B S (v j)) |
| 957 | (hU : ∀ j, j ≤ n → exterior B S (u j)) (hP : exterior B S p) |
| 958 | (hprev : exterior B S (axialOp2 h (orderExponent h (n - 1)) (u (n - 1)))) : |
| 959 | exterior B S (axialDensity h n v u p) := by |
| 960 | have hr := exterior_dr hS (smooth_conv hv hu) (exterior_conv_left hV) |
| 961 | have hcp : exterior B S (fun w => conv n u u w + p w) := by |
| 962 | intro eta heta R hR |
| 963 | change conv n u u (R, eta) + p (R, eta) = 0 |
| 964 | rw [exterior_conv_left hU eta heta R hR, hP eta heta R hR, add_zero] |
| 965 | have hz := exterior_axialOp hS ((smooth_conv hu hu).add hp) hcp h (pressureExponent h n) |
| 966 | have hvf : exterior B S (axialViscousFlux (u n)) := by |
| 967 | intro eta heta R hR |
| 968 | simp [axialViscousFlux, exterior_dr hS (hu n le_rfl) (hU n le_rfl) eta heta R hR] |
| 969 | have hk := exterior_dr hS (smooth_axialViscousFlux hS (hu n le_rfl)) hvf |
| 970 | intro eta heta R hR |
| 971 | simp [axialDensity, exterior_timeOp hS (hu n le_rfl) (hU n le_rfl) h (orderExponent h n) eta heta R hR, |
| 972 | hr eta heta R hR, hz eta heta R hR, hk eta heta R hR, hprev eta heta R hR] |
| 973 | |
| 974 | noncomputable def angularStress (h : ℝ) (n : ℕ) (v u e : History) : Field := |
| 975 | stress 2 (angularDensity h n v u e) |
| 976 | |
| 977 | noncomputable def axialStress (h : ℝ) (n : ℕ) (v u : History) (p : Field) : Field := |
| 978 | stress 1 (axialDensity h n v u p) |
| 979 | |
| 980 | /-- For n≥2 all the angular hypotheses below are supplied by ordinary |
| 981 | positive-order moments and compact positive-order profiles. -/ |
| 982 | theorem angular_stress_support {S : Set ℝ} (hS : IsOpen S) {n : ℕ} (hn : 2 ≤ n) |
| 983 | {v u e : History} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 984 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (he : ∀ j, j ≤ n → Smooth S (e j)) |
| 985 | (h a B : ℝ) (ha : 0 < a) (hB : 0 ≤ B) |
| 986 | (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 987 | (hV : ∀ j, j ≤ n → exterior B S (v j)) (hU : ∀ j, j ≤ n → exterior B S (u j)) |
| 988 | (hE : ∀ j, 0 < j → j ≤ n → exterior B S (e j)) |
| 989 | (hem : ∀ eta ∈ S, moment B 2 (e n) eta = 0) |
| 990 | (hum : ∀ eta ∈ S, moment B 2 (conv n u e) eta = 0) |
| 991 | (hprev : ∀ eta ∈ S, moment B 2 (e (n - 1)) eta = 0) |
| 992 | (hdiv : ∀ w : ℝ × ℝ, w.2 ∈ S → ∀ j, j ≤ n → |
| 993 | dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) |
| 994 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularWeighted h n v u e (R, eta) = 0) : |
| 995 | Smooth S (angularStress h n v u e) ∧ radialSupport S a B (angularStress h n v u e) ∧ |
| 996 | ∀ eta ∈ S, ∀ R, 0 < R → HasDerivAt (fun r => r ^ 2 * angularStress h n v u e (r, eta)) |
| 997 | (-angularWeighted h n v u e (R, eta)) R := by |
| 998 | have hen := hE n (by omega) le_rfl |
| 999 | have hep := hE (n - 1) (by omega) (Nat.sub_le _ _) |
| 1000 | have hsm := smooth_angularDensity hS hv hu he h hell |
| 1001 | have htotal : ∀ eta ∈ S, moment B 0 (angularDensity h n v u e) eta = 0 := |
| 1002 | fun eta heta => angular_integral_zero hS hv hu he h B hell hen hV hem hum |
| 1003 | (exterior_conv_left hU) hep hprev heta |
| 1004 | have hout := exterior_angularDensity hS hv hu he h B hV hU hen |
| 1005 | (exterior_axialOp2 hS (he (n - 1) (Nat.sub_le _ _)) hep h _ hell) |
| 1006 | have hin : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularDensity h n v u e (R, eta) = 0 := by |
| 1007 | intro eta heta R hR |
| 1008 | rw [← angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] |
| 1009 | exact hinner eta heta R hR |
| 1010 | refine ⟨stress_smooth hS hsm 2 ha hin, stress_radialSupport 2 hB hin hout htotal, ?_⟩ |
| 1011 | intro eta heta R hR |
| 1012 | rw [angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] |
| 1013 | exact stress_weighted_hasDerivAt hS hsm 2 hR heta |
| 1014 | |
| 1015 | theorem axial_stress_support {S : Set ℝ} (hS : IsOpen S) {n : ℕ} (hn : 0 < n) |
| 1016 | {v u : History} {p : Field} (hv : ∀ j, j ≤ n → Smooth S (v j)) |
| 1017 | (hu : ∀ j, j ≤ n → Smooth S (u j)) (hp : Smooth S p) |
| 1018 | (h a B : ℝ) (ha : 0 < a) (hB : 0 ≤ B) |
| 1019 | (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 1020 | (hV : ∀ j, j ≤ n → exterior B S (v j)) (hU : ∀ j, j ≤ n → exterior B S (u j)) |
| 1021 | (hP : exterior B S p) (haxis : ∀ eta ∈ S, ∀ j, j ≤ n → v j (0, eta) = 0) |
| 1022 | (hum : ∀ eta ∈ S, moment B 1 (u n) eta = 0) |
| 1023 | (hflux : ∀ eta ∈ S, moment B 1 (fun w => conv n u u w + p w) eta = 0) |
| 1024 | (hprev : ∀ eta ∈ S, moment B 1 (u (n - 1)) eta = 0) |
| 1025 | (hdiv : ∀ w : ℝ × ℝ, w.2 ∈ S → ∀ j, j ≤ n → |
| 1026 | dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) |
| 1027 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, axialWeighted h n v u p (R, eta) = 0) : |
| 1028 | Smooth S (axialStress h n v u p) ∧ radialSupport S a B (axialStress h n v u p) ∧ |
| 1029 | ∀ eta ∈ S, ∀ R, 0 < R → HasDerivAt (fun r => r * axialStress h n v u p (r, eta)) |
| 1030 | (-axialWeighted h n v u p (R, eta)) R := by |
| 1031 | have hprev_le : n - 1 ≤ n := (Nat.sub_lt hn (by decide : 0 < 1)).le |
| 1032 | have hsm := smooth_axialDensity hS hv hu hp h hell |
| 1033 | have hax : ∀ eta ∈ S, conv n v u (0, eta) = 0 := by |
| 1034 | intro eta heta |
| 1035 | unfold conv |
| 1036 | apply Finset.sum_eq_zero |
| 1037 | intro j hj |
| 1038 | rw [haxis eta heta j (Nat.le_of_lt_succ (Finset.mem_range.mp hj)), zero_mul] |
| 1039 | have hfB : ∀ eta ∈ S, conv n u u (B, eta) + p (B, eta) = 0 := by |
| 1040 | intro eta heta |
| 1041 | rw [exterior_conv_left hU eta heta B le_rfl, hP eta heta B le_rfl, add_zero] |
| 1042 | have htotal : ∀ eta ∈ S, moment B 0 (axialDensity h n v u p) eta = 0 := |
| 1043 | fun eta heta => axial_integral_zero hS hv hu hp h B hell (hU n le_rfl) hV hax hum hflux hfB |
| 1044 | (hU (n - 1) hprev_le) hprev heta |
| 1045 | have hout := exterior_axialDensity hS hv hu hp h B hV hU hP |
| 1046 | (exterior_axialOp2 hS (hu (n - 1) (Nat.sub_le _ _)) (hU (n - 1) (Nat.sub_le _ _)) h _ hell) |
| 1047 | have hin : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, axialDensity h n v u p (R, eta) = 0 := by |
| 1048 | intro eta heta R hR |
| 1049 | rw [← axialWeighted_eq_density hS hv hu hp h heta (hdiv _ heta)] |
| 1050 | exact hinner eta heta R hR |
| 1051 | refine ⟨stress_smooth hS hsm 1 ha hin, stress_radialSupport 1 hB hin hout htotal, ?_⟩ |
| 1052 | intro eta heta R hR |
| 1053 | rw [axialWeighted_eq_density hS hv hu hp h heta (hdiv _ heta)] |
| 1054 | unfold axialStress |
| 1055 | simpa only [pow_one] using stress_weighted_hasDerivAt hS hsm 1 hR heta |
| 1056 | |
| 1057 | /-- The order-one angular input is a moment of the actual axial viscosity, |
| 1058 | not a condition on the total residual. It is supplied by differentiating |
| 1059 | the restored renormalized order-zero physical angular moment. -/ |
| 1060 | noncomputable def LowerAngularViscosityMoment (S : Set ℝ) (B h : ℝ) (e₀ : Field) : Prop := |
| 1061 | ∀ eta ∈ S, moment B 2 (axialOp2 h (orderExponent h 0) e₀) eta = 0 |
| 1062 | |
| 1063 | theorem order_one_angular_stress_support {S : Set ℝ} (hS : IsOpen S) |
| 1064 | {v u e : History} (hv : ∀ j, j ≤ 1 → Smooth S (v j)) |
| 1065 | (hu : ∀ j, j ≤ 1 → Smooth S (u j)) (he : ∀ j, j ≤ 1 → Smooth S (e j)) |
| 1066 | (h a B : ℝ) (ha : 0 < a) (hB : 0 ≤ B) |
| 1067 | (hell : ∀ eta ∈ S, PositiveAxisSystem.ell h eta ≠ 0) |
| 1068 | (hV : ∀ j, j ≤ 1 → exterior B S (v j)) (hU : ∀ j, j ≤ 1 → exterior B S (u j)) |
| 1069 | (hE : exterior B S (e 1)) |
| 1070 | (hem : ∀ eta ∈ S, moment B 2 (e 1) eta = 0) |
| 1071 | (hum : ∀ eta ∈ S, moment B 2 (conv 1 u e) eta = 0) |
| 1072 | (hvisc : LowerAngularViscosityMoment S B h (e 0)) |
| 1073 | (hviscExterior : exterior B S (axialOp2 h (orderExponent h 0) (e 0))) |
| 1074 | (hdiv : ∀ w : ℝ × ℝ, w.2 ∈ S → ∀ j, j ≤ 1 → |
| 1075 | dr (v j) w = -w.1 * axialOp h (orderExponent h j) (u j) w) |
| 1076 | (hinner : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularWeighted h 1 v u e (R, eta) = 0) : |
| 1077 | Smooth S (angularStress h 1 v u e) ∧ radialSupport S a B (angularStress h 1 v u e) ∧ |
| 1078 | ∀ eta ∈ S, ∀ R, 0 < R → HasDerivAt (fun r => r ^ 2 * angularStress h 1 v u e (r, eta)) |
| 1079 | (-angularWeighted h 1 v u e (R, eta)) R := by |
| 1080 | have hsm := smooth_angularDensity hS hv hu he h hell |
| 1081 | have htotal : ∀ eta ∈ S, moment B 0 (angularDensity h 1 v u e) eta = 0 := by |
| 1082 | intro eta heta |
| 1083 | rw [angular_integral_balance hS hv hu he h B hell hE hV hem hum (exterior_conv_left hU) heta] |
| 1084 | simp only [Nat.sub_self, hvisc eta heta, neg_zero] |
| 1085 | have hout := exterior_angularDensity hS hv hu he h B hV hU hE hviscExterior |
| 1086 | have hin : ∀ eta ∈ S, ∀ R ∈ Icc 0 a, angularDensity h 1 v u e (R, eta) = 0 := by |
| 1087 | intro eta heta R hR |
| 1088 | rw [← angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] |
| 1089 | exact hinner eta heta R hR |
| 1090 | refine ⟨stress_smooth hS hsm 2 ha hin, stress_radialSupport 2 hB hin hout htotal, ?_⟩ |
| 1091 | intro eta heta R hR |
| 1092 | rw [angularWeighted_eq_density hS hv hu he h heta (hdiv _ heta)] |
| 1093 | exact stress_weighted_hasDerivAt hS hsm 2 hR heta |
| 1094 | |
| 1095 | /-- A concrete two-edge weight of the form prescribed in (20). -/ |
| 1096 | noncomputable def logFlatWeight (l r cL cR R : ℝ) : ℝ := |
| 1097 | if R ∈ Ioo l r then |
| 1098 | FlatCutoff.edge cL (Real.log (R / l)) * FlatCutoff.edge cR (Real.log (r / R)) |
| 1099 | else 0 |
| 1100 | |
| 1101 | theorem logFlatWeight_pos {l r : ℝ} (hl : 0 < l) (cL cR : ℝ) |
| 1102 | {R : ℝ} (hR : R ∈ Ioo l r) : 0 < logFlatWeight l r cL cR R := by |
| 1103 | rw [logFlatWeight, ite_eq_left hR] |
| 1104 | apply mul_pos |
| 1105 | · exact FlatCutoff.edge_pos cL (Real.log_pos ((one_lt_div hl).mpr hR.1)) |
| 1106 | · exact FlatCutoff.edge_pos cR (Real.log_pos ((one_lt_div (hl.trans hR.1)).mpr hR.2)) |
| 1107 | |
| 1108 | theorem logFlatWeight_contDiffOn {l r cL cR : ℝ} (hl : 0 < l) |
| 1109 | (hcL : 0 < cL) (hcR : 0 < cR) : |
| 1110 | ContDiffOn ℝ ∞ (logFlatWeight l r cL cR) (Ioo l r) := by |
| 1111 | intro R hR |
| 1112 | apply ContDiffAt.contDiffWithinAt |
| 1113 | have hp := hl.trans hR.1 |
| 1114 | have hr := hp.trans hR.2 |
| 1115 | have hleft : ContDiffAt ℝ ∞ (fun x : ℝ => Real.log (x / l)) R := |
| 1116 | (contDiffAt_id.div_const l).log (div_ne_zero hp.ne' hl.ne') |
| 1117 | have hright : ContDiffAt ℝ ∞ (fun x : ℝ => Real.log (r / x)) R := |
| 1118 | (contDiffAt_const.div contDiffAt_id hp.ne').log (div_ne_zero hr.ne' hp.ne') |
| 1119 | have hs : ContDiffAt ℝ ∞ (fun x => |
| 1120 | FlatCutoff.edge cL (Real.log (x / l)) * FlatCutoff.edge cR (Real.log (r / x))) R := |
| 1121 | ((FlatCutoff.edge_contDiff hcL).contDiffAt.comp R hleft).mul |
| 1122 | ((FlatCutoff.edge_contDiff hcR).contDiffAt.comp R hright) |
| 1123 | apply hs.congr_of_eventuallyEq |
| 1124 | filter_upwards [isOpen_Ioo.mem_nhds hR] with x hx |
| 1125 | exact ite_eq_left hx |
| 1126 | |
| 1127 | /-- In particular the prescribed logarithmic Gaussian weight controls every |
| 1128 | jet, with inverse-edge loss zero, for a field supported strictly inside both |
| 1129 | fixed edges. The constants are obtained from compactness. -/ |
| 1130 | theorem logarithmic_weighted_jets {S K : Set ℝ} (hS : IsOpen S) (hK : IsCompact K) (hKS : K ⊆ S) |
| 1131 | {f : Field} (hf : Smooth S f) {a b l r cL cR : ℝ} |
| 1132 | (hs : radialSupport S a b f) (hab : Icc a b ⊆ Ioo l r) |
| 1133 | (hl : 0 < l) (hcL : 0 < cL) (hcR : 0 < cR) : |
| 1134 | Smooth S (fun w => f w / logFlatWeight l r cL cR w.1) ∧ |
| 1135 | ∀ k : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∀ R ∈ Ioo l r, ∀ eta ∈ K, |
| 1136 | ‖iteratedFDeriv ℝ k f (R, eta)‖ ≤ C * logFlatWeight l r cL cR R := by |
| 1137 | have hz := logFlatWeight_contDiffOn (r := r) hl hcL hcR |
| 1138 | have hp : ∀ R ∈ Ioo l r, 0 < logFlatWeight l r cL cR R := |
| 1139 | fun R hR => logFlatWeight_pos hl cL cR hR |
| 1140 | exact ⟨interior_quotient_smooth hS hf hs hab hz (fun R hR => (hp R hR).ne'), |
| 1141 | interior_weighted_jets hS hK hKS hf hs hab hz.continuousOn hp⟩ |
| 1142 | |
| 1143 | end NavierStokes.SlowStressSupport |