| @@ -41,15 +41,6 @@ variable (hχ : NativeCoordinates s d χ) |
| 41 | 41 | |
| 42 | 42 | include hχ |
| 43 | 43 | |
| 44 | | -theorem radialField (n : ℕ) {x : E} (hx : x ∈ s.domain) : |
| 45 | | - fderiv ℝ (χ n) x (d.radialField n x) = PhaseCalculus.eR := by |
| 46 | | - simp only [GraphDirections.radialField, map_add, map_smul, |
| 47 | | - hχ.radial n x hx, hχ.auxiliary n x hx, smul_zero, add_zero] |
| 48 | | - |
| 49 | | -theorem axialField (n : ℕ) {x : E} (hx : x ∈ s.domain) : |
| 50 | | - fderiv ℝ (χ n) x (d.axialField s n x) = s.epsilon n • PhaseCalculus.eZ := by |
| 51 | | - simp only [GraphDirections.axialField, map_smul, hχ.axial n x hx] |
| 52 | | - |
| 53 | 44 | end NativeCoordinates |
| 54 | 45 | |
| 55 | 46 | section CommonPullback |
| @@ -109,93 +100,6 @@ noncomputable def expression (ε p pz x0 v b G FR GR FT GT FZ GZ : ℝ) : ℝ := |
| 109 | 100 | b * x0 - v * (b * (p * FR + pz * GR) - ε * (p * FT + pz * GT) + |
| 110 | 101 | ε * G * (p * FZ + pz * GZ)) |
| 111 | 102 | |
| 112 | | -/-- A chart pullback of the actual phase has exactly the native backward |
| 113 | | -material derivative, using only the chart differential identities. -/ |
| 114 | | -theorem material_pullback |
| 115 | | - (χ : E → Slot) (ε p pz x0 : ℝ) (b F G : Slow → ℝ) |
| 116 | | - (Vr Vθ Vz Vf Vs : E → E) {x : E} |
| 117 | | - (hχ : DifferentiableAt ℝ χ x) (hε : ε ≠ 0) (hR : 0 < (χ x).1.1) |
| 118 | | - (hF : DifferentiableAt ℝ F (χ x).1) (hG : DifferentiableAt ℝ G (χ x).1) |
| 119 | | - (hr : fderiv ℝ χ x (Vr x) = PhaseCalculus.eR) |
| 120 | | - (hθ : fderiv ℝ χ x (Vθ x) = PhaseCalculus.eTheta) |
| 121 | | - (hz : fderiv ℝ χ x (Vz x) = ε • PhaseCalculus.eZ) |
| 122 | | - (hf : fderiv ℝ χ x (Vf x) = PhaseCalculus.eV) |
| 123 | | - (hs : fderiv ℝ χ x (Vs x) = PhaseCalculus.eT) : |
| 124 | | - LinearWaveResidual.materialPhaseDefect (fun y => (χ y).1.1) |
| 125 | | - (fun y => b (χ y).1) (fun y => F (χ y).1) (fun y => G (χ y).1) |
| 126 | | - Vr Vθ Vz (LinearWaveResidual.timeDirection ε Vf Vs) |
| 127 | | - (PhaseCalculus.phase ε p pz x0 F G ∘ χ) x = |
| 128 | | - expression ε p pz x0 (χ x).2.2 (b (χ x).1) (G (χ x).1) |
| 129 | | - (PhaseCalculus.slowR F (χ x).1) (PhaseCalculus.slowR G (χ x).1) |
| 130 | | - (PhaseCalculus.slowT F (χ x).1) (PhaseCalculus.slowT G (χ x).1) |
| 131 | | - (PhaseCalculus.slowZ F (χ x).1) (PhaseCalculus.slowZ G (χ x).1) := by |
| 132 | | - have hΦ := differentiableAt_phase ε p pz x0 F G (χ x) hF hG |
| 133 | | - have hd := fderiv_comp x hΦ hχ |
| 134 | | - have hcancel : PhaseCalculus.baseV F (χ x).1 / (χ x).1.1 = F (χ x).1 := by |
| 135 | | - unfold PhaseCalculus.baseV |
| 136 | | - field_simp |
| 137 | | - calc |
| 138 | | - _ = PhaseCalculus.backwardMaterialOp ε b F G (PhaseCalculus.phase ε p pz x0 F G) (χ x) := by |
| 139 | | - unfold LinearWaveResidual.materialPhaseDefect HarmonicCalculus.along |
| 140 | | - simp only [hd, ContinuousLinearMap.comp_apply, LinearWaveResidual.timeDirection, |
| 141 | | - map_sub, map_smul, hr, hθ, hz, hf, hs, smul_eq_mul] |
| 142 | | - unfold PhaseCalculus.backwardMaterialOp PhaseCalculus.signedMaterialOp |
| 143 | | - rw [hcancel] |
| 144 | | - ring |
| 145 | | - _ = _ := PhaseCalculus.backwardMaterialOp_phase ε p pz x0 b F G (χ x) hε hR hF hG |
| 146 | | - |
| 147 | | -/-- Direct class estimate for the exact expression. The six derivatives |
| 148 | | -here are scalar coefficient families; the primary specialization below |
| 149 | | -derives their classes from actual base-field jets. -/ |
| 150 | | -theorem expression_class {s : StripData E} |
| 151 | | - {p pz x0 v b G FR GR FT GT FZ GZ : ℕ → E → ℝ} |
| 152 | | - (hp : UnweightedClass s 0 p) (hpz : UnweightedClass s 0 pz) |
| 153 | | - (hx0 : UnweightedClass s 0 x0) (hv : UnweightedClass s 0 v) |
| 154 | | - (hb : UnweightedClass s 1 b) (hG : UnweightedClass s 0 G) |
| 155 | | - (hFR : UnweightedClass s 0 FR) (hGR : UnweightedClass s 0 GR) |
| 156 | | - (hFT : UnweightedClass s 0 FT) (hGT : UnweightedClass s 0 GT) |
| 157 | | - (hFZ : UnweightedClass s 0 FZ) (hGZ : UnweightedClass s 0 GZ) : |
| 158 | | - UnweightedClass s 1 (fun n x => expression (s.epsilon n) (p n x) (pz n x) |
| 159 | | - (x0 n x) (v n x) (b n x) (G n x) (FR n x) (GR n x) |
| 160 | | - (FT n x) (GT n x) (FZ n x) (GZ n x)) := by |
| 161 | | - have hR : UnweightedClass s 0 (fun n x => p n x * FR n x + pz n x * GR n x) := by |
| 162 | | - simpa only [zero_add] using (unweighted_mul hp hFR).add (unweighted_mul hpz hGR) |
| 163 | | - have hT : UnweightedClass s 0 (fun n x => p n x * FT n x + pz n x * GT n x) := by |
| 164 | | - simpa only [zero_add] using (unweighted_mul hp hFT).add (unweighted_mul hpz hGT) |
| 165 | | - have hZ : UnweightedClass s 0 (fun n x => p n x * FZ n x + pz n x * GZ n x) := by |
| 166 | | - simpa only [zero_add] using (unweighted_mul hp hFZ).add (unweighted_mul hpz hGZ) |
| 167 | | - have hbR : UnweightedClass s 1 (fun n x => b n x * |
| 168 | | - (p n x * FR n x + pz n x * GR n x)) := by |
| 169 | | - simpa only [add_zero] using unweighted_mul hb hR |
| 170 | | - have heT : UnweightedClass s 1 (fun n x => s.epsilon n * |
| 171 | | - (p n x * FT n x + pz n x * GT n x)) := by |
| 172 | | - simpa only [zero_add, smul_eq_mul] using hT.band_smul (band_epsilon s) |
| 173 | | - have heZ : UnweightedClass s 1 (fun n x => s.epsilon n * G n x * |
| 174 | | - (p n x * FZ n x + pz n x * GZ n x)) := by |
| 175 | | - simpa only [zero_add, smul_eq_mul, mul_assoc] using |
| 176 | | - (unweighted_mul hG hZ).band_smul (band_epsilon s) |
| 177 | | - have hinside := (class_sub hbR heT).add heZ |
| 178 | | - have hfirst : UnweightedClass s 1 (fun n x => b n x * x0 n x) := by |
| 179 | | - simpa only [add_zero] using unweighted_mul hb hx0 |
| 180 | | - have htail : UnweightedClass s 1 (fun n x => v n x * |
| 181 | | - (b n x * (p n x * FR n x + pz n x * GR n x) - |
| 182 | | - s.epsilon n * (p n x * FT n x + pz n x * GT n x) + |
| 183 | | - s.epsilon n * G n x * (p n x * FZ n x + pz n x * GZ n x))) := by |
| 184 | | - simpa only [zero_add] using unweighted_mul hv hinside |
| 185 | | - exact class_sub hfirst htail |
| 186 | | - |
| 187 | | -/-- Polynomial base jets compose with the actual slow coordinate map. |
| 188 | | -The angular coordinate is absent from this quantitative hypothesis. -/ |
| 189 | | -theorem polynomial_comp_unweighted |
| 190 | | - {s : StripData E} {U : PhaseJetBounds.Domain ℕ Slow} |
| 191 | | - {f : ℕ → Slow → ℝ} (hf : PhaseJetBounds.PolynomialJets U f) |
| 192 | | - {c : ℕ → E → Slow} (hc : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) c) |
| 193 | | - (hscale : ∀ n, U.scale n = s.slow n) |
| 194 | | - (hmap : ∀ n, MapsTo (c n) s.domain (U.carrier n)) : |
| 195 | | - UnweightedClass s 0 (fun n x => f n (c n x)) := |
| 196 | | - ((PrimaryPulseBounds.EnvelopeJets.of_polynomial hf).comp hc hscale hmap).memClass s |
| 197 | | - (fun _ => rfl) (fun _ => rfl) |
| 198 | | - |
| 199 | 103 | section Primary |
| 200 | 104 | |
| 201 | 105 | variable {U : PhaseJetBounds.Domain ℕ Slow} |
| @@ -221,80 +125,6 @@ noncomputable def coefficients (P : PrimaryPulseBounds.PhaseConstruction U) |
| 221 | 125 | pressure := pressure |
| 222 | 126 | frequency := frequency |
| 223 | 127 | |
| 224 | | -theorem defect_formula (P : PrimaryPulseBounds.PhaseConstruction U) |
| 225 | | - (s : StripData E) (d : GraphDirections E) (χ : ℕ → E → Slot) (b : ℕ → Slow → ℝ) |
| 226 | | - (amplitude : ℕ → E → HarmonicCalculus.ComplexVector) |
| 227 | | - (pressure : ℕ → E → ℂ) (frequency : ℕ → ℝ) |
| 228 | | - (hχ : NativeCoordinates s d χ) |
| 229 | | - (hmap : ∀ n, MapsTo (fun x => (χ n x).1) s.domain (U.carrier n)) |
| 230 | | - (heps : ∀ n, P.phase.epsilon n = s.epsilon n) |
| 231 | | - (n : ℕ) {x : E} (hx : x ∈ s.domain) (hR : 0 < (χ n x).1.1) : |
| 232 | | - (coefficients P b χ amplitude pressure frequency).defect s d n x = |
| 233 | | - expression (s.epsilon n) (P.phase.p n) (P.phase.pz n) (P.phase.x0 n) |
| 234 | | - (χ n x).2.2 (b n (χ n x).1) (P.phase.G n (χ n x).1) |
| 235 | | - (PhaseCalculus.slowR (P.phase.F n) (χ n x).1) |
| 236 | | - (PhaseCalculus.slowR (P.phase.G n) (χ n x).1) |
| 237 | | - (PhaseCalculus.slowT (P.phase.F n) (χ n x).1) |
| 238 | | - (PhaseCalculus.slowT (P.phase.G n) (χ n x).1) |
| 239 | | - (PhaseCalculus.slowZ (P.phase.F n) (χ n x).1) |
| 240 | | - (PhaseCalculus.slowZ (P.phase.G n) (χ n x).1) := by |
| 241 | | - have hF := ((P.baseF.smooth n).contDiffAt ((U.isOpen n).mem_nhds (hmap n hx))).differentiableAt (by simp) |
| 242 | | - have hG := ((P.baseG.smooth n).contDiffAt ((U.isOpen n).mem_nhds (hmap n hx))).differentiableAt (by simp) |
| 243 | | - have hm := material_pullback (χ n) (s.epsilon n) (P.phase.p n) (P.phase.pz n) (P.phase.x0 n) |
| 244 | | - (b n) (P.phase.F n) (P.phase.G n) (d.radialField n) (fun _ => d.angular) |
| 245 | | - (d.axialField s n) (d.fastField n) (fun _ => d.slow) |
| 246 | | - (hχ.differentiable n x hx) (s.epsilon_pos n).ne' hR hF hG |
| 247 | | - (hχ.radialField n hx) (hχ.angular n x hx) (hχ.axialField n hx) |
| 248 | | - (hχ.fast n x hx) (hχ.slow n x hx) |
| 249 | | - have hpull : pulledPhase P χ n = |
| 250 | | - PhaseCalculus.phase (s.epsilon n) (P.phase.p n) (P.phase.pz n) (P.phase.x0 n) |
| 251 | | - (P.phase.F n) (P.phase.G n) ∘ χ n := by |
| 252 | | - funext y |
| 253 | | - simp only [pulledPhase, heps n, Function.comp_apply] |
| 254 | | - simp only [WaveCoefficients.defect, coefficients] |
| 255 | | - rw [hpull] |
| 256 | | - exact hm |
| 257 | | - |
| 258 | | -theorem frozen_classes (P : PrimaryPulseBounds.PhaseConstruction U) (s : StripData E) : |
| 259 | | - UnweightedClass s 0 (fun n _ => P.phase.p n) ∧ |
| 260 | | - UnweightedClass s 0 (fun n _ => P.phase.pz n) ∧ |
| 261 | | - UnweightedClass s 0 (fun n _ => P.phase.x0 n) := by |
| 262 | | - have hconst (c : ℕ → ℝ) (hc : ∀ n, |c n| ≤ P.M) : |
| 263 | | - UnweightedClass s 0 (fun n _ => c n) := by |
| 264 | | - apply PrimaryPulseBounds.polynomial_memClass s |
| 265 | | - exact PhaseJetBounds.PolynomialJets.const_uniform c P.one_le_M |
| 266 | | - (fun n => by simpa only [Real.norm_eq_abs] using hc n) |
| 267 | | - exact ⟨hconst _ (fun n => (P.constants n).2.1), |
| 268 | | - hconst _ (fun n => (P.constants n).2.2.1), hconst _ (fun n => (P.constants n).2.2.2)⟩ |
| 269 | | - |
| 270 | | -/-- Actual all-order defect bounds from base jets and primitive chart |
| 271 | | -data. The six base-derivative classes are derived in the proof. -/ |
| 272 | | -theorem defect_class (P : PrimaryPulseBounds.PhaseConstruction U) |
| 273 | | - (s : StripData E) (d : GraphDirections E) (χ : ℕ → E → Slot) (b : ℕ → Slow → ℝ) |
| 274 | | - (amplitude : ℕ → E → HarmonicCalculus.ComplexVector) |
| 275 | | - (pressure : ℕ → E → ℂ) (frequency : ℕ → ℝ) |
| 276 | | - (hχ : NativeCoordinates s d χ) |
| 277 | | - (hslow : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) (fun n x => (χ n x).1)) |
| 278 | | - (hslot : UnweightedClass s 0 (fun n x => (χ n x).2.2)) |
| 279 | | - (hscale : ∀ n, U.scale n = s.slow n) |
| 280 | | - (hmap : ∀ n, MapsTo (fun x => (χ n x).1) s.domain (U.carrier n)) |
| 281 | | - (heps : ∀ n, P.phase.epsilon n = s.epsilon n) |
| 282 | | - (hR : ∀ n x, x ∈ s.domain → 0 < (χ n x).1.1) |
| 283 | | - (hb : UnweightedClass s 1 (fun n x => b n (χ n x).1)) : |
| 284 | | - UnweightedClass s 1 ((coefficients P b χ amplitude pressure frequency).defect s d) := by |
| 285 | | - obtain ⟨hp, hpz, hx0⟩ := frozen_classes P s |
| 286 | | - have hG := polynomial_comp_unweighted P.baseG hslow hscale hmap |
| 287 | | - have hFR := polynomial_comp_unweighted (P.baseF.directional (1, (0, 0))) hslow hscale hmap |
| 288 | | - have hGR := polynomial_comp_unweighted (P.baseG.directional (1, (0, 0))) hslow hscale hmap |
| 289 | | - have hFT := polynomial_comp_unweighted (P.baseF.directional (0, (0, 1))) hslow hscale hmap |
| 290 | | - have hGT := polynomial_comp_unweighted (P.baseG.directional (0, (0, 1))) hslow hscale hmap |
| 291 | | - have hFZ := polynomial_comp_unweighted (P.baseF.directional (0, (1, 0))) hslow hscale hmap |
| 292 | | - have hGZ := polynomial_comp_unweighted (P.baseG.directional (0, (1, 0))) hslow hscale hmap |
| 293 | | - have he := expression_class hp hpz hx0 hslot hb hG hFR hGR hFT hGT hFZ hGZ |
| 294 | | - apply class_congr he |
| 295 | | - intro n x hx |
| 296 | | - exact (defect_formula P s d χ b amplitude pressure frequency hχ hmap heps n hx (hR n x hx)).symm |
| 297 | | - |
| 298 | 128 | end Primary |
| 299 | 129 | |
| 300 | 130 | end NavierStokes.PrimaryMaterialDefect |