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.ValidDyadicBandCover |
| 2 | import NavierStokes.CartesianCopySource |
| 3 | import NavierStokes.ParticularPaddedBackground |
| 4 | import NavierStokes.ActualParticularStageControls |
| 5 | import NavierStokes.ActualCurrentCarrierJets |
| 6 | import NavierStokes.ActualCurrentParticularPhysical |
| 7 | import NavierStokes.CurrentPhysicalChartJets |
| 8 | import NavierStokes.CurrentPhysicalModeGerms |
| 9 | import NavierStokes.CurrentParticularLabelBounds |
| 10 | import NavierStokes.CurrentModeGeometry |
| 11 | |
| 12 | /-! |
| 13 | # Quantitative bounds for actual current-band particular fields |
| 14 | |
| 15 | The estimates use the actual current coefficient and phase on their open |
| 16 | validity domains. No reference-field smoothness or auxiliary copy-family |
| 17 | representation is assumed. |
| 18 | -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace NavierStokes.ActualCurrentParticularBounds |
| 23 | |
| 24 | open Set Function Filter ProblemStatement WeightedClasses HarmonicCalculus LinearWaveBounds |
| 25 | open scoped Topology ContDiff BigOperators |
| 26 | |
| 27 | |
| 28 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 29 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 30 | |
| 31 | /-! ## The literal native potential coefficient -/ |
| 32 | |
| 33 | section NativePotential |
| 34 | |
| 35 | variable {E I : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 36 | {s : StripData E} {cells : ℕ → I → Set E} {envelope : ℕ → I → E → ℝ} |
| 37 | {α κ : ℝ} {d : GraphDirections E} {a : LocalizedWaveBounds.WaveFamily E I} |
| 38 | |
| 39 | theorem potential_local_class |
| 40 | (hin : LocalizedWaveBounds.InputBounds s cells envelope α κ d a) |
| 41 | {b M : ℝ} (hb : 0 < b) |
| 42 | (hlower : ∀ n i x, x ∈ s.domain → x ∈ cells n i → b ≤ ‖a.normal s d n i x‖) |
| 43 | (hupper : ∀ n i x, x ∈ s.domain → x ∈ cells n i → ‖a.normal s d n i x‖ ≤ M) |
| 44 | (hfreq : LocalizedWaveBounds.LocalUnweighted s cells (1 / 2) |
| 45 | (fun n i _ => 1 / a.frequency n i)) : |
| 46 | LocalizedWaveBounds.LocalWave s cells envelope (α + 1 / 2) |
| 47 | (fun n i x => CurlClassBounds.inverseCarrier (a.frequency n i) • |
| 48 | CurlClassBounds.normalCoefficient (a.normal s d n i x) (a.amplitude n i x)) := by |
| 49 | have hc := hin.normalCoefficient_class hb hlower hupper |
| 50 | have hi := (LocalizedWaveBounds.unweighted_smul hfreq hc).map |
| 51 | (Complex.I • ContinuousLinearMap.id ℝ ComplexVector) |
| 52 | rw [show (1 / 2 : ℝ) + α = α + 1 / 2 by ring] at hi |
| 53 | apply hi.congr |
| 54 | intro n i x |
| 55 | ext j |
| 56 | simp only [_root_.smul_apply, ContinuousLinearMap.id_apply, |
| 57 | Pi.smul_apply, Complex.real_smul, smul_eq_mul, CurlClassBounds.inverseCarrier] |
| 58 | push_cast |
| 59 | ring |
| 60 | |
| 61 | end NativePotential |
| 62 | |
| 63 | section CommonPotential |
| 64 | |
| 65 | variable {E L I : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 66 | |
| 67 | noncomputable def strippedPotential (a : PeriodizedWaveBounds.CopyData E I) |
| 68 | (s : StripData E) (d : GraphDirections E) (n : ℕ) (x : E) : ComplexVector := |
| 69 | CurlClassBounds.inverseCarrier (a.background.frequency n) • |
| 70 | CurlClassBounds.normalCoefficient (a.background.normal s d n x) (a.common.amplitude n x) |
| 71 | |
| 72 | /-- The actual common potential coefficient inherits the inverse-carrier |
| 73 | gain. The native normal estimates are used only on their control cells; |
| 74 | the remaining portions are handled by actual amplitude zero germs. -/ |
| 75 | theorem common_potential_class |
| 76 | (a : L → PeriodizedWaveBounds.CopyData E I) (K : L → PeriodizedWaveBounds.Cells E I) |
| 77 | (hs : ∀ l n i, support ((a l).cutoff n i) ⊆ (K l).carrier n i) |
| 78 | (C : L → ℕ → I → Set E) {s : StripData E} {d : GraphDirections E} |
| 79 | {W : L → ℕ → E → ℝ} {α κ : ℝ} |
| 80 | (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) |
| 81 | (hin : LocalizedWaveBounds.InputBounds s (fun n (i : L × I) => C i.1 n i.2) |
| 82 | (fun n i x => W i.1 n x) α κ d (LocalizedWaveBounds.jointNativeFamily a)) |
| 83 | {b M : ℝ} (hb : 0 < b) |
| 84 | (hlower : ∀ l n i x, x ∈ s.domain → x ∈ C l n i → b ≤ ‖(a l).background.normal s d n x‖) |
| 85 | (hupper : ∀ l n i x, x ∈ s.domain → x ∈ C l n i → ‖(a l).background.normal s d n x‖ ≤ M) |
| 86 | (hfreq : LocalizedWaveBounds.LocalUnweighted s (fun n (i : L × I) => C i.1 n i.2) |
| 87 | (1 / 2) (fun n i _ => 1 / (a i.1).background.frequency n)) |
| 88 | (hcover : ∀ l n i x, x ∈ s.domain → x ∈ (K l).carrier n i → x ∈ C l n i ∨ |
| 89 | (((a l).localized i).amplitude n =ᶠ[𝓝 x] fun _ => 0)) : |
| 90 | LabelSumBounds.UniformWaveClass s W (α + 1 / 2) |
| 91 | (fun l => strippedPotential (a l) s d) := by |
| 92 | have hp := potential_local_class hin hb |
| 93 | (fun n i x hx hi => hlower i.1 n i.2 x hx hi) |
| 94 | (fun n i x hx hi => hupper i.1 n i.2 x hx hi) hfreq |
| 95 | have hp' := hp.enlarge (K := fun n (i : L × I) => (K i.1).carrier n i.2) (by |
| 96 | intro n i x hx hi |
| 97 | rcases hcover i.1 n i.2 x hx hi with h | hz |
| 98 | · exact Or.inl h |
| 99 | · right |
| 100 | filter_upwards [hz] with y hy |
| 101 | change CurlClassBounds.inverseCarrier _ • |
| 102 | CurlClassBounds.normalCoefficient _ (((a i.1).localized i.2).amplitude n y) = 0 |
| 103 | rw [hy] |
| 104 | simp [CurlClassBounds.normalCoefficient, CurlClassBounds.normalCross]) |
| 105 | have hpj : PeriodizedWaveBounds.UniformLocalJets s |
| 106 | (fun l n x => Real.sqrt (s.zeta x) * W l n x) (α + 1 / 2) |
| 107 | (fun l n i => (K l).carrier n i) |
| 108 | (fun l n i x => CurlClassBounds.inverseCarrier ((a l).background.frequency n) • |
| 109 | CurlClassBounds.normalCoefficient ((a l).background.normal s d n x) |
| 110 | (((a l).localized i).amplitude n x)) := |
| 111 | hp'.to_uniformLocalJets |
| 112 | apply PeriodizedWaveBounds.uniformClass_of_local_germs |
| 113 | (fun l n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW l n x hx)) hpj |
| 114 | intro l n x hx |
| 115 | classical |
| 116 | by_cases hi : ∃ i, x ∈ (K l).carrier n i |
| 117 | · obtain ⟨i, hi⟩ := hi |
| 118 | refine Or.inl ⟨i, hi, ?_⟩ |
| 119 | filter_upwards [(a l).common_amplitude_germ (K l) (hs l) n hi] with y hy |
| 120 | change CurlClassBounds.inverseCarrier _ • |
| 121 | CurlClassBounds.normalCoefficient _ ((a l).common.amplitude n y) = _ |
| 122 | rw [hy] |
| 123 | · right |
| 124 | filter_upwards [((a l).common_zero_germs (K l) (hs l) (not_exists.mp hi)).1] with y hy |
| 125 | change CurlClassBounds.inverseCarrier _ • |
| 126 | CurlClassBounds.normalCoefficient _ ((a l).common.amplitude n y) = 0 |
| 127 | rw [hy] |
| 128 | simp [CurlClassBounds.normalCoefficient, CurlClassBounds.normalCross] |
| 129 | |
| 130 | end CommonPotential |
| 131 | |
| 132 | /-! The supplied source below is the actual current harmonic residual. |
| 133 | The normal-inverse and periodization estimates are derived here. -/ |
| 134 | |
| 135 | section ActualNative |
| 136 | |
| 137 | open CorrectionStep |
| 138 | |
| 139 | variable {B N0 : ℕ} |
| 140 | |
| 141 | abbrev Label (B N0 : ℕ) := ActualParticularStageControls.Label B N0 |
| 142 | abbrev Native := ActualParticularStageControls.Native |
| 143 | |
| 144 | noncomputable def nativeStrip : StripData Native := |
| 145 | CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip) |
| 146 | |
| 147 | noncomputable def potentialCoefficient (x : CycleState (Label B N0)) (l : Label B N0) |
| 148 | (j : ℤ) : ℕ → Native → ComplexVector := |
| 149 | strippedPotential (ActualParticularStageControls.data x l j) nativeStrip |
| 150 | (ActualParticularStageControls.directions (B := B)) |
| 151 | |
| 152 | theorem actual_potential_coefficient_class (x : CycleState (Label B N0)) |
| 153 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 154 | (hs : ActualParticularStageControls.InputSupport x) |
| 155 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 156 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 157 | (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 158 | α (ActualParticularStageControls.currentSource x j)) : |
| 159 | LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 160 | (α + 1 / 2) (fun l => potentialCoefficient x l j) := by |
| 161 | have hr := ActualParticularStageControls.raw_jets x |
| 162 | (ActualParticularStageControls.preserves_frequency hx) j hj H |
| 163 | have hi := CorrectionStep.uniform_localInput_of_coefficients |
| 164 | (fun l => ActualParticularStageControls.data x l j) |
| 165 | (ActualParticularStageControls.actual_background_inputs x hx hN j) |
| 166 | (fun l n z _ => ActualParticularStageControls.envelope_nonneg l n (z.1.1, z.2)) hr.1 hr.2 |
| 167 | have hin := hi.with_cutoff |
| 168 | (LocalizedWaveBounds.LocalClass.of_uniformLocalJets (fun _ _ _ _ => zero_le_one) |
| 169 | (ActualParticularStageControls.cutoff_jets x j)) |
| 170 | exact common_potential_class (fun l => ActualParticularStageControls.data x l j) |
| 171 | ActualParticularStageControls.carrierCells |
| 172 | (fun l n k => ActualParticularStageControls.data_cutoff_support x l j n k) |
| 173 | ActualParticularStageControls.controlPatch |
| 174 | (fun l n z _ => ActualParticularStageControls.envelope_nonneg l n (z.1.1, z.2)) hin |
| 175 | (ActualPrimaryBounds.normalFloor_pos B N0) |
| 176 | (fun l n k z hz hk => (ActualParticularStageControls.actual_normal_range x hx l j n k hz hk).1) |
| 177 | (fun l n k z hz hk => (ActualParticularStageControls.actual_normal_range x hx l j n k hz hk).2) |
| 178 | (ActualParticularStageControls.actual_inverse_frequency x hx j) |
| 179 | (fun l n k z hz hk => |
| 180 | (ActualParticularStageControls.data_control_cover x hs hN l j n k hz hk).imp_right And.left) |
| 181 | |
| 182 | theorem actual_pressure_coefficient_class (x : CycleState (Label B N0)) |
| 183 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 184 | (hs : ActualParticularStageControls.InputSupport x) |
| 185 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 186 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 187 | (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 188 | α (ActualParticularStageControls.currentSource x j)) : |
| 189 | LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 190 | (α + 1 / 2) (fun l => (ActualParticularStageControls.data x l j).common.pressure) := |
| 191 | (ActualParticularStageControls.common_bounds x hx hs hN j hj H).2.2.1 |
| 192 | |
| 193 | theorem native_envelope_le_one (l : Label B N0) (n : ℕ) (z : Native) : |
| 194 | ActualParticularStageControls.nativeEnvelope l n z ≤ 1 := |
| 195 | ActualPrimaryBounds.envelope_le_one l n |
| 196 | (ActualSignedGeometry.swapParameter z.1.1, z.2) |
| 197 | |
| 198 | theorem native_flat_geometry : |
| 199 | ∃ cL cR L : ℝ, ∃ ρ : Native → ℝ, |
| 200 | PhysicalClassBounds.FlatGeometry nativeStrip cL cR L ρ := by |
| 201 | let W := CorrectionInitialization.ActualPrimary.nominal |
| 202 | let U := CorrectionInitialization.ActualPrimary.standardRegion |
| 203 | have hg := PhysicalClassBounds.movingStrip_flatGeometry (b := PrimaryTargetBounds.rightRadius W) U |
| 204 | (PrimaryTargetBounds.leftRadius_pos W) |
| 205 | (div_pos (FinalSlowBase.edgeExponent_pos W) (by norm_num : (0 : ℝ) < 4)) |
| 206 | zero_lt_one (ChartScales.epsilon CorrectionInitialization.ActualPrimary.h) |
| 207 | BaseContextAssembly.slowScale (ChartScales.epsilon_pos _) |
| 208 | (ChartScales.epsilon_le_one _ CorrectionInitialization.ActualPrimary.outgoing.data.h_pos.le) |
| 209 | BaseContextAssembly.one_le_slowScale |
| 210 | refine ⟨_, _, WeightedRadialPrimitive.logLength |
| 211 | (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W), |
| 212 | fun z => WeightedRadialPrimitive.logPosition |
| 213 | (PrimaryTargetBounds.leftRadius W) |
| 214 | (LocalSignedRequest.profileMap (2 * CorrectionInitialization.ActualPrimary.h) |
| 215 | (ActualParticularStageControls.slowInsert z.1.1)).1, |
| 216 | hg.left_pos, hg.right_pos, ?_, ?_, ?_⟩ |
| 217 | · intro z hz |
| 218 | exact hg.position _ hz |
| 219 | · intro z hz |
| 220 | exact hg.delta_eq _ hz |
| 221 | · intro z hz |
| 222 | exact hg.zeta_eq _ hz |
| 223 | |
| 224 | /-- The actual moving flat weight removes every inverse-edge power before |
| 225 | passing to the physical graph. -/ |
| 226 | theorem native_source_bounds {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 227 | {α : ℝ} {f : Label B N0 → ℕ → Native → E} |
| 228 | (hf : LabelSumBounds.UniformWaveClass nativeStrip |
| 229 | ActualParticularStageControls.nativeEnvelope α f) : |
| 230 | LocalPhysicalCopyBounds.LocalSourceBounds nativeStrip |
| 231 | CorrectionInitialization.ActualPrimary.h α |
| 232 | (fun l n z => Real.sqrt (nativeStrip.zeta z) * |
| 233 | ActualParticularStageControls.nativeEnvelope l n z) f := by |
| 234 | refine ⟨hf, native_flat_geometry, ⟨1 / 2, by norm_num, ?_⟩, fun _ => rfl, |
| 235 | ⟨1, le_rfl, 1, ?_⟩⟩ |
| 236 | · intro l n z hz |
| 237 | exact (mul_le_of_le_one_right (Real.sqrt_nonneg _) (native_envelope_le_one l n z)).trans_eq |
| 238 | (Real.sqrt_eq_rpow _) |
| 239 | · intro n hn |
| 240 | have hS := PhysicalGraphBounds.S_ge_one (show 1 ≤ n by omega) |
| 241 | change max 1 (ChartScales.S n) ≤ 1 * ChartScales.S n ^ 1 |
| 242 | simp only [max_eq_right hS, pow_one, one_mul, le_refl] |
| 243 | |
| 244 | theorem common_control_or_zero (x : CycleState (Label B N0)) |
| 245 | (hs : ActualParticularStageControls.InputSupport x) |
| 246 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 247 | (l : Label B N0) (j : ℤ) (n : ℕ) {z : Native} (hz : z ∈ nativeStrip.domain) : |
| 248 | (∃ k, z ∈ ActualParticularStageControls.controlPatch l n k) ∨ |
| 249 | (potentialCoefficient x l j n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 250 | ((ActualParticularStageControls.data x l j).common.pressure n =ᶠ[𝓝 z] fun _ => 0) := by |
| 251 | classical |
| 252 | let a := ActualParticularStageControls.data x l j |
| 253 | let K := ActualParticularStageControls.carrierCells l |
| 254 | have hcut := ActualParticularStageControls.data_cutoff_support x l j |
| 255 | have hzero (ha : a.common.amplitude n =ᶠ[𝓝 z] fun _ => 0) |
| 256 | (hp : a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) : |
| 257 | (potentialCoefficient x l j n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 258 | (a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) := by |
| 259 | refine ⟨?_, hp⟩ |
| 260 | filter_upwards [ha] with y hy |
| 261 | change CurlClassBounds.inverseCarrier _ • |
| 262 | CurlClassBounds.normalCoefficient _ (a.common.amplitude n y) = 0 |
| 263 | rw [hy] |
| 264 | simp [CurlClassBounds.normalCoefficient, CurlClassBounds.normalCross] |
| 265 | by_cases hi : ∃ k, z ∈ K.carrier n k |
| 266 | · obtain ⟨k, hk⟩ := hi |
| 267 | rcases ActualParticularStageControls.data_control_cover x hs hN l j n k hz hk with hc | h0 |
| 268 | · exact Or.inl ⟨k, hc⟩ |
| 269 | · right |
| 270 | exact hzero ((a.common_amplitude_germ K hcut n hk).trans h0.1) |
| 271 | ((a.common_pressure_germ K hcut n hk).trans h0.2) |
| 272 | · exact Or.inr (hzero (a.common_zero_germs K hcut (not_exists.mp hi)).1 |
| 273 | (a.common_zero_germs K hcut (not_exists.mp hi)).2) |
| 274 | |
| 275 | end ActualNative |
| 276 | |
| 277 | /-! ## Local finite jets of the actual oscillatory exponential -/ |
| 278 | |
| 279 | section Carrier |
| 280 | |
| 281 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 282 | |
| 283 | theorem character_comp_positive_jets {Φ : E → ℝ} (hΦ : ContDiff ℝ ∞ Φ) |
| 284 | (x : E) (m : ℕ) {c B M : ℝ} (hB : 1 ≤ B) (hM : 1 ≤ M) (hc : |c| ≤ M) |
| 285 | (hΦb : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ x‖ ≤ B) : |
| 286 | ∀ k ≤ m, ‖iteratedFDeriv ℝ k (PhysicalGraphBounds.character c ∘ Φ) x‖ ≤ |
| 287 | (m.factorial : ℝ) * M ^ m * B ^ m := by |
| 288 | intro k hk |
| 289 | have he := norm_iteratedFDeriv_comp_le (PhysicalGraphBounds.character_smooth c) hΦ |
| 290 | (nat_le_infty k) x (C := M ^ m) (D := B) |
| 291 | (fun i hi => by |
| 292 | rw [PhysicalGraphBounds.norm_character_jet] |
| 293 | exact (pow_le_pow_left₀ (abs_nonneg _) hc i).trans |
| 294 | (pow_le_pow_right₀ hM (hi.trans hk))) |
| 295 | (fun i hi hik => (hΦb i hi (hik.trans hk)).trans |
| 296 | (by simpa only [pow_one] using pow_le_pow_right₀ hB hi)) |
| 297 | exact he.trans (mul_le_mul |
| 298 | (mul_le_mul_of_nonneg_right (by exact_mod_cast Nat.factorial_le hk) (by positivity)) |
| 299 | (pow_le_pow_right₀ hB hk) (by positivity) (by positivity)) |
| 300 | |
| 301 | variable [FiniteDimensional ℝ E] |
| 302 | |
| 303 | theorem mode_jet_bound_local {a : E → ℂ} {Φ : E → ℝ} {x : E} |
| 304 | (ha : LocalPhysicalCopyBounds.SmoothNear a x) |
| 305 | (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) |
| 306 | (m : ℕ) {c A B M : ℝ} (hA : 0 ≤ A) (hB : 1 ≤ B) (hM : 1 ≤ M) (hc : |c| ≤ M) |
| 307 | (hab : ∀ i ≤ m, ‖iteratedFDeriv ℝ i a x‖ ≤ A) |
| 308 | (hΦb : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ x‖ ≤ B) : |
| 309 | ∀ k ≤ m, ‖iteratedFDeriv ℝ k |
| 310 | (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x‖ ≤ |
| 311 | (2 : ℝ) ^ m * A * ((m.factorial : ℝ) * M ^ m * B ^ m) := by |
| 312 | obtain ⟨a', ha', hea⟩ := ha.exists_global_germ |
| 313 | obtain ⟨Φ', hΦ', heΦ⟩ := hΦ.exists_global_germ |
| 314 | have hprod : (fun y => a y * PhysicalGraphBounds.character c (Φ y)) =ᶠ[𝓝 x] |
| 315 | (fun y => a' y * PhysicalGraphBounds.character c (Φ' y)) := by |
| 316 | filter_upwards [hea, heΦ] with y hay hφy |
| 317 | rw [hay, hφy] |
| 318 | have hφbound := character_comp_positive_jets hΦ' x m hB hM hc (by |
| 319 | intro i hi him |
| 320 | rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq heΦ i] |
| 321 | exact hΦb i hi him) |
| 322 | intro k hk |
| 323 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hprod k] |
| 324 | exact PhysicalGraphBounds.pointwise_product_jet_bound ha' |
| 325 | ((PhysicalGraphBounds.character_smooth c).comp hΦ') x hk hA (by positivity) |
| 326 | (by intro i hi; rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hea i]; exact hab i hi) |
| 327 | hφbound |
| 328 | |
| 329 | theorem smul_mode_jet_bound_local {V : Type*} [NormedAddCommGroup V] |
| 330 | [NormedSpace ℝ V] [NormedSpace ℂ V] [IsScalarTower ℝ ℂ V] |
| 331 | {a : E → V} {Φ : E → ℝ} {x : E} |
| 332 | (ha : LocalPhysicalCopyBounds.SmoothNear a x) |
| 333 | (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) |
| 334 | (m : ℕ) {c A B M : ℝ} (hA : 0 ≤ A) (hB : 1 ≤ B) (hM : 1 ≤ M) (hc : |c| ≤ M) |
| 335 | (hab : ∀ i ≤ m, ‖iteratedFDeriv ℝ i a x‖ ≤ A) |
| 336 | (hΦb : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ x‖ ≤ B) : |
| 337 | ∀ k ≤ m, ‖iteratedFDeriv ℝ k |
| 338 | (fun y => PhysicalGraphBounds.character c (Φ y) • a y) x‖ ≤ |
| 339 | (2 : ℝ) ^ m * A * ((m.factorial : ℝ) * M ^ m * B ^ m) := by |
| 340 | obtain ⟨a', ha', hea⟩ := ha.exists_global_germ |
| 341 | obtain ⟨Φ', hΦ', heΦ⟩ := hΦ.exists_global_germ |
| 342 | have hprod : (fun y => PhysicalGraphBounds.character c (Φ y) • a y) =ᶠ[𝓝 x] |
| 343 | (fun y => PhysicalGraphBounds.character c (Φ' y) • a' y) := by |
| 344 | filter_upwards [hea, heΦ] with y hay hφy |
| 345 | rw [hay, hφy] |
| 346 | have hφbound := character_comp_positive_jets hΦ' x m hB hM hc (by |
| 347 | intro i hi him |
| 348 | rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq heΦ i] |
| 349 | exact hΦb i hi him) |
| 350 | have haBound : ∀ i ≤ m, ‖iteratedFDeriv ℝ i a' x‖ ≤ A := by |
| 351 | intro i hi |
| 352 | rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hea i] |
| 353 | exact hab i hi |
| 354 | let D := (m.factorial : ℝ) * M ^ m * B ^ m |
| 355 | have hD : 0 ≤ D := by dsimp [D]; positivity |
| 356 | intro k hk |
| 357 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hprod k] |
| 358 | apply (norm_iteratedFDeriv_smul_le |
| 359 | ((PhysicalGraphBounds.character_smooth c).comp hΦ') ha' x (nat_le_infty k)).trans |
| 360 | calc |
| 361 | _ ≤ ∑ i ∈ Finset.range (k + 1), (k.choose i : ℝ) * D * A := by |
| 362 | apply Finset.sum_le_sum |
| 363 | intro i hi |
| 364 | have him : i ≤ m := (Nat.le_of_lt_succ (Finset.mem_range.mp hi)).trans hk |
| 365 | exact mul_le_mul (mul_le_mul_of_nonneg_left (hφbound i him) (Nat.cast_nonneg _)) |
| 366 | (haBound (k - i) ((Nat.sub_le _ _).trans hk)) (norm_nonneg _) |
| 367 | (mul_nonneg (Nat.cast_nonneg _) hD) |
| 368 | _ = (2 : ℝ) ^ k * D * A := by |
| 369 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 370 | congr 2 |
| 371 | exact_mod_cast Nat.sum_range_choose k |
| 372 | _ ≤ (2 : ℝ) ^ m * D * A := |
| 373 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 374 | (pow_le_pow_right₀ (by norm_num) hk) hD) hA |
| 375 | _ = _ := by dsimp [D]; ring |
| 376 | |
| 377 | omit [FiniteDimensional ℝ E] in |
| 378 | theorem smoothNear_mode {a : E → ℂ} {Φ : E → ℝ} {x : E} |
| 379 | (ha : LocalPhysicalCopyBounds.SmoothNear a x) |
| 380 | (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) (c : ℝ) : |
| 381 | LocalPhysicalCopyBounds.SmoothNear (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x := by |
| 382 | obtain ⟨U, hU, hxU, haU⟩ := ha |
| 383 | obtain ⟨V, hV, hxV, hΦV⟩ := hΦ |
| 384 | exact ⟨U ∩ V, hU.inter hV, ⟨hxU, hxV⟩, |
| 385 | (haU.mono inter_subset_left).mul |
| 386 | ((PhysicalGraphBounds.character_smooth c).comp_contDiffOn (hΦV.mono inter_subset_right))⟩ |
| 387 | |
| 388 | end Carrier |
| 389 | |
| 390 | /-! ## The current physical graph, with no copy-family premise -/ |
| 391 | |
| 392 | noncomputable def currentLoss (degree ρ : ℝ) (m : ℕ) : ℝ := |
| 393 | degree + ρ * m + PhysicalGraphBounds.graphLoss m + 1 |
| 394 | |
| 395 | private theorem mode_majorant_factorization {Q : ℝ} (hQ : 0 < Q) |
| 396 | (S A B H gain degree ρ : ℝ) (p q m : ℕ) : |
| 397 | Q ^ (-degree) * ((2 : ℝ) ^ m * (A * Q ^ gain * S ^ p) * |
| 398 | ((m.factorial : ℝ) * (1 + H) ^ m * (B * Q ^ (-ρ) * S ^ q) ^ m)) = |
| 399 | ((2 : ℝ) ^ m * A * (m.factorial : ℝ) * (1 + H) ^ m * B ^ m) * |
| 400 | Q ^ (gain - degree - ρ * m) * S ^ (p + q * m) := by |
| 401 | have he : Q ^ (-degree) * Q ^ gain * (Q ^ (-ρ)) ^ m = |
| 402 | Q ^ (gain - degree - ρ * m) := by |
| 403 | rw [← Real.rpow_mul_natCast hQ.le, ← Real.rpow_add hQ, ← Real.rpow_add hQ] |
| 404 | congr 1 |
| 405 | ring |
| 406 | calc |
| 407 | _ = ((2 : ℝ) ^ m * A * (m.factorial : ℝ) * (1 + H) ^ m * B ^ m) * |
| 408 | (Q ^ (-degree) * Q ^ gain * (Q ^ (-ρ)) ^ m) * (S ^ p * (S ^ q) ^ m) := by |
| 409 | simp only [mul_pow] |
| 410 | ring |
| 411 | _ = _ := by rw [he, ← pow_mul, ← pow_add] |
| 412 | |
| 413 | section NativeModes |
| 414 | |
| 415 | variable {B N0 : ℕ} {V : Type} [NormedAddCommGroup V] |
| 416 | [NormedSpace ℝ V] [NormedSpace ℂ V] [IsScalarTower ℝ ℂ V] |
| 417 | |
| 418 | theorem native_modulated_smoothNear {α : ℝ} |
| 419 | {f : Label B N0 → ℕ → Native → V} |
| 420 | (hf : LabelSumBounds.UniformWaveClass nativeStrip |
| 421 | ActualParticularStageControls.nativeEnvelope α f) |
| 422 | (hzero : ∀ l n z, z ∈ nativeStrip.domain → |
| 423 | (∃ k, z ∈ ActualParticularStageControls.controlPatch l n k) ∨ |
| 424 | (f l n =ᶠ[𝓝 z] fun _ => 0)) |
| 425 | (j : ℤ) (l : Label B N0) (n : ℕ) {z : Native} (hz : z ∈ nativeStrip.domain) : |
| 426 | LocalPhysicalCopyBounds.SmoothNear (fun y => |
| 427 | PhysicalGraphBounds.character (j : ℝ) (ActualCurrentCarrierJets.weightedPhase l n y) • f l n y) z := by |
| 428 | rcases hzero l n z hz with ⟨k, hk⟩ | h0 |
| 429 | · obtain ⟨U, hU, hzU, hPhi⟩ := ActualCurrentCarrierJets.weightedPhase_smoothNear_controlPatch l n k hk |
| 430 | have hc : ContDiffOn ℝ ∞ (fun y => PhysicalGraphBounds.character (j : ℝ) |
| 431 | (ActualCurrentCarrierJets.weightedPhase l n y)) (nativeStrip.domain ∩ U) := |
| 432 | (PhysicalGraphBounds.character_smooth (j : ℝ)).comp_contDiffOn |
| 433 | (hPhi.mono inter_subset_right) |
| 434 | exact ⟨nativeStrip.domain ∩ U, nativeStrip.isOpen_domain.inter hU, ⟨hz, hzU⟩, |
| 435 | (hc.continuousLinearMap_comp (ContinuousLinearMap.lsmul ℝ ℂ : |
| 436 | ℂ →L[ℝ] V →L[ℝ] V)).clm_apply ((hf.smooth l n).mono inter_subset_left)⟩ |
| 437 | · have hg : (fun y => PhysicalGraphBounds.character (j : ℝ) |
| 438 | (ActualCurrentCarrierJets.weightedPhase l n y) • f l n y) =ᶠ[𝓝 z] fun _ => 0 := by |
| 439 | filter_upwards [h0] with y hy |
| 440 | rw [hy, smul_zero] |
| 441 | obtain ⟨U, he, hU, hzU⟩ := mem_nhds_iff.mp hg |
| 442 | exact ⟨U, hU, hzU, contDiffOn_const.congr (fun y hy => he hy)⟩ |
| 443 | |
| 444 | /-- Uniform full native jets of the literal current oscillation. The |
| 445 | actual periodic phase is used only where the native control cell applies; |
| 446 | outside those cells the cut coefficient has a zero germ. -/ |
| 447 | theorem native_modulated_bound {α : ℝ} |
| 448 | {f : Label B N0 → ℕ → Native → V} |
| 449 | (hf : LabelSumBounds.UniformWaveClass nativeStrip |
| 450 | ActualParticularStageControls.nativeEnvelope α f) |
| 451 | (hzero : ∀ l n z, z ∈ nativeStrip.domain → |
| 452 | (∃ k, z ∈ ActualParticularStageControls.controlPatch l n k) ∨ |
| 453 | (f l n =ᶠ[𝓝 z] fun _ => 0)) (j : ℤ) (m : ℕ) : |
| 454 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ z ∈ nativeStrip.domain, ∀ i ≤ m, |
| 455 | ‖iteratedFDeriv ℝ i (fun y => PhysicalGraphBounds.character (j : ℝ) |
| 456 | (ActualCurrentCarrierJets.weightedPhase l n y) • f l n y) z‖ ≤ |
| 457 | C * ChartScales.Q n ^ (CorrectionInitialization.ActualPrimary.h * α - |
| 458 | 2 * CorrectionInitialization.ActualPrimary.h * m) * ChartScales.S n ^ p := by |
| 459 | let h := CorrectionInitialization.ActualPrimary.h |
| 460 | obtain ⟨A, hA, p, ha⟩ := (native_source_bounds hf).chart_bound m |
| 461 | obtain ⟨D, hD, r, hd⟩ := ActualCurrentCarrierJets.weightedPhase_positive_jets_controlPatch |
| 462 | (B := B) (N0 := N0) m |
| 463 | let C := (2 : ℝ) ^ m * A * (m.factorial : ℝ) * (1 + |(j : ℝ)|) ^ m * D ^ m |
| 464 | have hC : 0 ≤ C := by dsimp [C]; positivity |
| 465 | refine ⟨C, hC, p + r * m, ?_⟩ |
| 466 | intro l n hn z hz i him |
| 467 | rcases hzero l n z hz with ⟨k, hk⟩ | h0 |
| 468 | · have hQ := ChartScales.Q_pos n |
| 469 | have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) |
| 470 | have hρ : 0 ≤ 2 * h := mul_nonneg (by norm_num) CorrectionInitialization.ActualPrimary.outgoing.data.h_pos.le |
| 471 | have hQR : 1 ≤ ChartScales.Q n ^ (-(2 * h)) := |
| 472 | Real.one_le_rpow_of_pos_of_le_one_of_nonpos hQ (ChartScales.Q_le_one n) (neg_nonpos.mpr hρ) |
| 473 | have hD' : 1 ≤ D * ChartScales.Q n ^ (-(2 * h)) * ChartScales.S n ^ r := |
| 474 | one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hD hQR) (one_le_pow₀ hS) |
| 475 | have hh := smul_mode_jet_bound_local |
| 476 | (show LocalPhysicalCopyBounds.SmoothNear (f l n) z from |
| 477 | ⟨nativeStrip.domain, nativeStrip.isOpen_domain, hz, hf.smooth l n⟩) |
| 478 | (ActualCurrentCarrierJets.weightedPhase_smoothNear_controlPatch l n k hk) m |
| 479 | (by positivity : 0 ≤ A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p) |
| 480 | hD' (le_add_of_nonneg_right (abs_nonneg (j : ℝ))) |
| 481 | (by linarith : |(j : ℝ)| ≤ 1 + |(j : ℝ)|) |
| 482 | (ha l n hn z hz) (fun a h1 h2 => by |
| 483 | simpa only [mul_right_comm] using hd l n k z hk a h1 h2) i him |
| 484 | apply hh.trans_eq |
| 485 | simpa only [neg_zero, Real.rpow_zero, one_mul, sub_zero, h, C, mul_assoc] using |
| 486 | mode_majorant_factorization hQ (ChartScales.S n) A D |(j : ℝ)| (h * α) 0 (2 * h) p r m |
| 487 | · have hg : (fun y => PhysicalGraphBounds.character (j : ℝ) |
| 488 | (ActualCurrentCarrierJets.weightedPhase l n y) • f l n y) =ᶠ[𝓝 z] fun _ => 0 := by |
| 489 | filter_upwards [h0] with y hy |
| 490 | rw [hy, smul_zero] |
| 491 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hg i] |
| 492 | simp only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] |
| 493 | have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) |
| 494 | exact mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _).le) |
| 495 | (pow_nonneg (zero_le_one.trans hS) _) |
| 496 | |
| 497 | end NativeModes |
| 498 | |
| 499 | section ActualModes |
| 500 | |
| 501 | open CorrectionStep |
| 502 | |
| 503 | variable {B N0 : ℕ} |
| 504 | |
| 505 | theorem actual_nativePotential_eq_character (x : CycleState (Label B N0)) |
| 506 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 507 | (l : Label B N0) (j : ℤ) (n : ℕ) : |
| 508 | ActualCurrentParticularPhysical.nativePotential x l j n = fun y => |
| 509 | PhysicalGraphBounds.character (j : ℝ) (ActualCurrentCarrierJets.weightedPhase l n y) • |
| 510 | potentialCoefficient x l j n y := by |
| 511 | have hf := ActualParticularStageControls.preserves_frequency hx l |
| 512 | have hcar := ActualCurrentCarrierJets.actualCarrier_character |
| 513 | (fun l => x.coefficients.blocks l) hx j l n |
| 514 | unfold ActualCurrentParticularPhysical.nativePotential |
| 515 | rw [ActualCurrentParticularPhysical.copyData_eq_actual x l j hf] |
| 516 | ext y i |
| 517 | change (potentialCoefficient x l j n y i) * |
| 518 | (HarmonicCalculus.carrier ((ActualParticularBackground.carrier |
| 519 | (fun l => x.coefficients.blocks l) j l).frequency n) |
| 520 | ((ActualParticularBackground.carrier (fun l => x.coefficients.blocks l) j l).phase n) y) = _ |
| 521 | rw [hcar] |
| 522 | exact mul_comm _ _ |
| 523 | |
| 524 | theorem actual_nativePressure_eq_character (x : CycleState (Label B N0)) |
| 525 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 526 | (l : Label B N0) (j : ℤ) (n : ℕ) : |
| 527 | ActualCurrentParticularPhysical.nativePressure x l j n = fun y => |
| 528 | PhysicalGraphBounds.character (j : ℝ) (ActualCurrentCarrierJets.weightedPhase l n y) • |
| 529 | (ActualParticularStageControls.data x l j).common.pressure n y := by |
| 530 | have hf := ActualParticularStageControls.preserves_frequency hx l |
| 531 | have hcar := ActualCurrentCarrierJets.actualCarrier_character |
| 532 | (fun l => x.coefficients.blocks l) hx j l n |
| 533 | unfold ActualCurrentParticularPhysical.nativePressure |
| 534 | rw [ActualCurrentParticularPhysical.copyData_eq_actual x l j hf] |
| 535 | ext y |
| 536 | change (ActualParticularStageControls.data x l j).common.pressure n y * |
| 537 | (HarmonicCalculus.carrier ((ActualParticularBackground.carrier |
| 538 | (fun l => x.coefficients.blocks l) j l).frequency n) |
| 539 | ((ActualParticularBackground.carrier (fun l => x.coefficients.blocks l) j l).phase n) y) = _ |
| 540 | rw [hcar] |
| 541 | exact mul_comm _ _ |
| 542 | |
| 543 | theorem actual_native_potential_bound (x : CycleState (Label B N0)) |
| 544 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 545 | (hs : ActualParticularStageControls.InputSupport x) |
| 546 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 547 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 548 | (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 549 | α (ActualParticularStageControls.currentSource x j)) (m : ℕ) : |
| 550 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ z ∈ nativeStrip.domain, ∀ i ≤ m, |
| 551 | ‖iteratedFDeriv ℝ i (ActualCurrentParticularPhysical.nativePotential x l j n) z‖ ≤ |
| 552 | C * ChartScales.Q n ^ (CorrectionInitialization.ActualPrimary.h * (α + 1 / 2) - |
| 553 | 2 * CorrectionInitialization.ActualPrimary.h * m) * ChartScales.S n ^ p := by |
| 554 | have hb := native_modulated_bound (actual_potential_coefficient_class x hx hs hN j hj H) |
| 555 | (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.left) j m |
| 556 | simpa only [← actual_nativePotential_eq_character x hx] using hb |
| 557 | |
| 558 | theorem actual_native_pressure_bound (x : CycleState (Label B N0)) |
| 559 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 560 | (hs : ActualParticularStageControls.InputSupport x) |
| 561 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 562 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 563 | (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 564 | α (ActualParticularStageControls.currentSource x j)) (m : ℕ) : |
| 565 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ z ∈ nativeStrip.domain, ∀ i ≤ m, |
| 566 | ‖iteratedFDeriv ℝ i (ActualCurrentParticularPhysical.nativePressure x l j n) z‖ ≤ |
| 567 | C * ChartScales.Q n ^ (CorrectionInitialization.ActualPrimary.h * (α + 1 / 2) - |
| 568 | 2 * CorrectionInitialization.ActualPrimary.h * m) * ChartScales.S n ^ p := by |
| 569 | have hb := native_modulated_bound (actual_pressure_coefficient_class x hx hs hN j hj H) |
| 570 | (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.right) j m |
| 571 | simpa only [← actual_nativePressure_eq_character x hx] using hb |
| 572 | |
| 573 | theorem actual_native_potential_smoothNear (x : CycleState (Label B N0)) |
| 574 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 575 | (hs : ActualParticularStageControls.InputSupport x) |
| 576 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 577 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 578 | (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 579 | α (ActualParticularStageControls.currentSource x j)) |
| 580 | (l : Label B N0) (n : ℕ) {z : Native} (hz : z ∈ nativeStrip.domain) : |
| 581 | LocalPhysicalCopyBounds.SmoothNear (ActualCurrentParticularPhysical.nativePotential x l j n) z := by |
| 582 | rw [actual_nativePotential_eq_character x hx] |
| 583 | exact native_modulated_smoothNear (actual_potential_coefficient_class x hx hs hN j hj H) |
| 584 | (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.left) j l n hz |
| 585 | |
| 586 | theorem actual_native_pressure_smoothNear (x : CycleState (Label B N0)) |
| 587 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 588 | (hs : ActualParticularStageControls.InputSupport x) |
| 589 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 590 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 591 | (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 592 | α (ActualParticularStageControls.currentSource x j)) |
| 593 | (l : Label B N0) (n : ℕ) {z : Native} (hz : z ∈ nativeStrip.domain) : |
| 594 | LocalPhysicalCopyBounds.SmoothNear (ActualCurrentParticularPhysical.nativePressure x l j n) z := by |
| 595 | rw [actual_nativePressure_eq_character x hx] |
| 596 | exact native_modulated_smoothNear (actual_pressure_coefficient_class x hx hs hN j hj H) |
| 597 | (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.right) j l n hz |
| 598 | |
| 599 | theorem actual_native_pressure_re_bound (x : CycleState (Label B N0)) |
| 600 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 601 | (hs : ActualParticularStageControls.InputSupport x) |
| 602 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 603 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 604 | (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope |
| 605 | α (ActualParticularStageControls.currentSource x j)) (m : ℕ) : |
| 606 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ z ∈ nativeStrip.domain, ∀ i ≤ m, |
| 607 | ‖iteratedFDeriv ℝ i (fun y => (ActualCurrentParticularPhysical.nativePressure x l j n y).re) z‖ ≤ |
| 608 | C * ChartScales.Q n ^ (CorrectionInitialization.ActualPrimary.h * (α + 1 / 2) - |
| 609 | 2 * CorrectionInitialization.ActualPrimary.h * m) * ChartScales.S n ^ p := by |
| 610 | obtain ⟨C, hC, p, hb⟩ := actual_native_pressure_bound x hx hs hN j hj H m |
| 611 | refine ⟨C, hC, p, ?_⟩ |
| 612 | intro l n hn z hz i him |
| 613 | have hc := (actual_native_pressure_smoothNear x hx hs hN j hj H l n hz).contDiffAt |
| 614 | rw [show (fun y => (ActualCurrentParticularPhysical.nativePressure x l j n y).re) = |
| 615 | Complex.reCLM ∘ ActualCurrentParticularPhysical.nativePressure x l j n from rfl, |
| 616 | Complex.reCLM.iteratedFDeriv_comp_left (hc.of_le (nat_le_infty i)) le_rfl] |
| 617 | have hr : ‖Complex.reCLM‖ ≤ 1 := by |
| 618 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 619 | intro z |
| 620 | simpa only [Complex.reCLM_apply, Real.norm_eq_abs, one_mul] using Complex.abs_re_le_norm z |
| 621 | exact (Complex.reCLM.norm_compContinuousMultilinearMap_le _).trans |
| 622 | ((mul_le_mul_of_nonneg_right hr (norm_nonneg _)).trans |
| 623 | (by simpa only [one_mul] using hb l n hn z hz i him)) |
| 624 | |
| 625 | /-- The closed moving annulus is the closure of the genuine open native |
| 626 | strip within each positive-time slow fiber. -/ |
| 627 | theorem native_closed_mem_closure {z : Native} |
| 628 | (hz : z ∈ ActualCurrentParticularPhysical.nativeDomain) |
| 629 | (hr : ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z) ∈ |
| 630 | Icc (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 631 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal)) : |
| 632 | z ∈ closure nativeStrip.domain := by |
| 633 | let U := CorrectionInitialization.ActualPrimary.standardRegion |
| 634 | let ell := VariableGaugeMean.qLength (2 * CorrectionInitialization.ActualPrimary.h) z.1.1.2 |
| 635 | have hslow : z.1.1.2 ∈ U.carrier := hz.1 |
| 636 | have hell : 0 < ell := VariableGaugeMean.qLength_pos U.coord_pos U.coord_lt_one (U.time_pos _ hslow) |
| 637 | let g : ℝ → Native := fun r => (((ell * r, z.1.1.2), z.1.2), z.2) |
| 638 | have hg : Continuous g := by |
| 639 | exact (((continuous_const.mul continuous_id).prodMk continuous_const).prodMk |
| 640 | continuous_const).prodMk continuous_const |
| 641 | have he : g (ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z)) = z := by |
| 642 | change (((ell * (z.1.1.1 / ell), z.1.1.2), z.1.2), z.2) = z |
| 643 | rw [show ell * (z.1.1.1 / ell) = z.1.1.1 by field_simp] |
| 644 | have hmap : MapsTo g |
| 645 | (Ioo (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 646 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal)) nativeStrip.domain := by |
| 647 | intro r hrr |
| 648 | apply ActualCurrentParticularPhysical.nativeStrip_mem (show g r ∈ |
| 649 | ActualCurrentParticularPhysical.nativeDomain from hz) |
| 650 | change ell * r / ell ∈ Ioo _ _ |
| 651 | rwa [mul_div_cancel_left₀ _ hell.ne'] |
| 652 | have hcl : g (ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z)) ∈ |
| 653 | closure (g '' Ioo (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 654 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal)) := by |
| 655 | apply mem_closure_image hg.continuousAt |
| 656 | rw [closure_Ioo (PrimaryTargetBounds.radii_ordered CorrectionInitialization.ActualPrimary.nominal).ne] |
| 657 | exact hr |
| 658 | rw [he] at hcl |
| 659 | exact closure_mono hmap.image_subset hcl |
| 660 | |
| 661 | theorem native_bound_on_closed {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 662 | {f : Native → E} (hf : ContDiffOn ℝ ∞ f ActualCurrentParticularPhysical.nativeDomain) |
| 663 | {C : ℝ} (m : ℕ) (hb : ∀ z ∈ nativeStrip.domain, ‖iteratedFDeriv ℝ m f z‖ ≤ C) |
| 664 | {z : Native} (hz : z ∈ ActualCurrentParticularPhysical.nativeDomain) |
| 665 | (hr : ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm z) ∈ |
| 666 | Icc (PrimaryTargetBounds.leftRadius CorrectionInitialization.ActualPrimary.nominal) |
| 667 | (PrimaryTargetBounds.rightRadius CorrectionInitialization.ActualPrimary.nominal)) : |
| 668 | ‖iteratedFDeriv ℝ m f z‖ ≤ C := |
| 669 | LocalPhysicalCopyBounds.jet_bound_at_closure |
| 670 | (hf.contDiffAt (ActualCurrentParticularPhysical.nativeDomain_open.mem_nhds hz)) |
| 671 | (native_closed_mem_closure hz hr) m hb |
| 672 | |
| 673 | end ActualModes |
| 674 | |
| 675 | section PhysicalComposition |
| 676 | |
| 677 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 678 | |
| 679 | /-- A frozen physical power is included before applying the proved jets |
| 680 | of the actual common graph. -/ |
| 681 | theorem scaled_common_bound {h a b : ℝ} |
| 682 | (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) |
| 683 | (Δ m : ℕ) (gain degree A : ℝ) (p : ℕ) (hA : 0 ≤ A) : |
| 684 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 685 | ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |
| 686 | |w.1| ≤ 1 → ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → |
| 687 | ∀ F : PhysicalWaveSum.LiftPoint → E, |
| 688 | LocalPhysicalCopyBounds.SmoothNear F (PhysicalWaveSum.commonLift h n d w) → |
| 689 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i F (PhysicalWaveSum.commonLift h n d w)‖ ≤ |
| 690 | A * ChartScales.Q n ^ gain * ChartScales.S n ^ p) → |
| 691 | ‖iteratedFDeriv ℝ m (fun y => ChartScales.Q n ^ (-degree) • |
| 692 | F (PhysicalWaveSum.commonLift h n d y)) w‖ ≤ |
| 693 | C * q ^ (gain - degree - (PhysicalGraphBounds.graphLoss m + 1)) := by |
| 694 | obtain ⟨C, hC, hb⟩ := PhysicalMeanJetBounds.common_stripped_physical_bound_local (E := E) |
| 695 | (b := b) hh hh1 ha Δ m (gain - degree) p A hA |
| 696 | refine ⟨C, hC, ?_⟩ |
| 697 | intro n hn d hd w hann ht q hq hlo hhi F hF hFb |
| 698 | let G : PhysicalWaveSum.LiftPoint → E := fun y => ChartScales.Q n ^ (-degree) • F y |
| 699 | have hG : LocalPhysicalCopyBounds.SmoothNear G (PhysicalWaveSum.commonLift h n d w) := by |
| 700 | obtain ⟨U, hU, hxU, hs⟩ := hF |
| 701 | exact ⟨U, hU, hxU, hs.const_smul _⟩ |
| 702 | apply hb n hn d hd w hann ht q hq hlo hhi G hG |
| 703 | intro i hi |
| 704 | change ‖iteratedFDeriv ℝ i (fun y => ChartScales.Q n ^ (-degree) • F y) _‖ ≤ _ |
| 705 | rw [iteratedFDeriv_const_smul_apply' (hF.contDiffAt.of_le (nat_le_infty i)), |
| 706 | norm_smul (ChartScales.Q n ^ (-degree) : ℝ) |
| 707 | (iteratedFDeriv ℝ i F (PhysicalWaveSum.commonLift h n d w)), |
| 708 | Real.norm_of_nonneg (Real.rpow_pos_of_pos (ChartScales.Q_pos n) (-degree)).le, |
| 709 | Real.rpow_natCast] |
| 710 | apply (mul_le_mul_of_nonneg_left (hFb i hi) |
| 711 | (Real.rpow_pos_of_pos (ChartScales.Q_pos n) (-degree)).le).trans_eq |
| 712 | have he : ChartScales.Q n ^ (-degree) * ChartScales.Q n ^ gain = |
| 713 | ChartScales.Q n ^ (gain - degree) := by |
| 714 | rw [← Real.rpow_add (ChartScales.Q_pos n)] |
| 715 | congr 1 |
| 716 | ring |
| 717 | calc |
| 718 | _ = A * (ChartScales.Q n ^ (-degree) * ChartScales.Q n ^ gain) * ChartScales.S n ^ p := by ring |
| 719 | _ = _ := by rw [he] |
| 720 | |
| 721 | theorem scalar_chart_physical_bound {h a b : ℝ} |
| 722 | (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) |
| 723 | (Δ m : ℕ) (gain degree A : ℝ) (p : ℕ) (hA : 0 ≤ A) : |
| 724 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 725 | ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |
| 726 | |w.1| ≤ 1 → ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → |
| 727 | ∀ chart : PolarCharts.Index, ∀ f : Native → E, |
| 728 | LocalPhysicalCopyBounds.SmoothNear f (CurrentPhysicalChartJets.chartMap a chart |
| 729 | (PhysicalWaveSum.commonLift h n d w)) → |
| 730 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i f (CurrentPhysicalChartJets.chartMap a chart |
| 731 | (PhysicalWaveSum.commonLift h n d w))‖ ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p) → |
| 732 | ‖iteratedFDeriv ℝ m (fun y => ChartScales.Q n ^ (-degree) • |
| 733 | f (CurrentPhysicalChartJets.chartMap a chart (PhysicalWaveSum.commonLift h n d y))) w‖ ≤ |
| 734 | C * q ^ (gain - degree - (PhysicalGraphBounds.graphLoss m + 1)) := by |
| 735 | obtain ⟨M, hM, hm⟩ := CurrentPhysicalChartJets.composition_jets (E := E) (b := b) ha m |
| 736 | obtain ⟨C, hC, hc⟩ := scaled_common_bound (E := E) (b := b) hh hh1 ha Δ m gain degree (M * A) p |
| 737 | (mul_nonneg (zero_le_one.trans hM) hA) |
| 738 | refine ⟨C, hC, ?_⟩ |
| 739 | intro n hn d hd w hann ht q hq hlo hhi chart f hf hfb |
| 740 | apply hc n hn d hd w hann ht q hq hlo hhi (f ∘ CurrentPhysicalChartJets.chartMap a chart) |
| 741 | (CurrentPhysicalChartJets.composition_smoothNear ha hf) |
| 742 | intro i hi |
| 743 | have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) |
| 744 | have ha' : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p := |
| 745 | mul_nonneg (mul_nonneg hA (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _).le) |
| 746 | (pow_nonneg (zero_le_one.trans hS) _) |
| 747 | simpa only [mul_assoc] using hm chart _ |
| 748 | (PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hann) f hf _ ha' hfb i hi |
| 749 | |
| 750 | end PhysicalComposition |
| 751 | |
| 752 | theorem vector_chart_physical_bound {h a b : ℝ} |
| 753 | (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) |
| 754 | (Δ m : ℕ) (gain degree A : ℝ) (p : ℕ) (hA : 0 ≤ A) : |
| 755 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 756 | ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |
| 757 | |w.1| ≤ 1 → ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → |
| 758 | ∀ chart : PolarCharts.Index, ∀ f : Native → ComplexVector, |
| 759 | LocalPhysicalCopyBounds.SmoothNear f (CurrentPhysicalChartJets.chartMap a chart |
| 760 | (PhysicalWaveSum.commonLift h n d w)) → |
| 761 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i f (CurrentPhysicalChartJets.chartMap a chart |
| 762 | (PhysicalWaveSum.commonLift h n d w))‖ ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p) → |
| 763 | ‖iteratedFDeriv ℝ m (fun y => ChartScales.Q n ^ (-degree) • |
| 764 | PhysicalCurlCovariance.realVector (CurrentPhysicalChartJets.rotated a chart f |
| 765 | (PhysicalWaveSum.commonLift h n d y))) w‖ ≤ |
| 766 | C * q ^ (gain - degree - (PhysicalGraphBounds.graphLoss m + 1)) := by |
| 767 | obtain ⟨M, hM, hm⟩ := CurrentPhysicalChartJets.rotated_composition_jets (b := b) ha m |
| 768 | obtain ⟨C, hC, hc⟩ := scaled_common_bound (E := Space) (b := b) hh hh1 ha Δ m gain degree |
| 769 | (3 * M * A) p (by positivity) |
| 770 | refine ⟨C, hC, ?_⟩ |
| 771 | intro n hn d hd w hann ht q hq hlo hhi chart f hf hfb |
| 772 | have hdoma := PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hann |
| 773 | have hrot := CurrentPhysicalChartJets.rotated_smoothNear ha hdoma hf |
| 774 | let G : PhysicalWaveSum.LiftPoint → Space := |
| 775 | CurrentPhysicalChartJets.realVectorCLM ∘ CurrentPhysicalChartJets.rotated a chart f |
| 776 | have hG : LocalPhysicalCopyBounds.SmoothNear G (PhysicalWaveSum.commonLift h n d w) := by |
| 777 | obtain ⟨U, hU, hxU, hs⟩ := hrot |
| 778 | exact ⟨U, hU, hxU, hs.continuousLinearMap_comp CurrentPhysicalChartJets.realVectorCLM⟩ |
| 779 | apply hc n hn d hd w hann ht q hq hlo hhi G hG |
| 780 | intro i hi |
| 781 | have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) |
| 782 | have ha' : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p := |
| 783 | mul_nonneg (mul_nonneg hA (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _).le) |
| 784 | (pow_nonneg (zero_le_one.trans hS) _) |
| 785 | change ‖iteratedFDeriv ℝ i (CurrentPhysicalChartJets.realVectorCLM ∘ _) _‖ ≤ _ |
| 786 | rw [CurrentPhysicalChartJets.realVectorCLM.iteratedFDeriv_comp_left |
| 787 | (hrot.contDiffAt.of_le (nat_le_infty i)) le_rfl] |
| 788 | apply (CurrentPhysicalChartJets.realVectorCLM.norm_compContinuousMultilinearMap_le _).trans |
| 789 | have hb := mul_le_mul CurrentPhysicalChartJets.norm_realVectorCLM_le |
| 790 | (hm chart _ hdoma f hf _ ha' hfb i hi) (norm_nonneg _) (by norm_num : (0 : ℝ) ≤ 3) |
| 791 | simpa only [mul_assoc] using hb |
| 792 | |
| 793 | /-- A physical estimate for the literal current-band oscillatory formula. |
| 794 | The scalar phase may already include the rounded carrier. Its positive |
| 795 | derivatives alone are needed, so no bound on the free angular coordinate |
| 796 | is introduced. -/ |
| 797 | theorem current_mode_physical_bound {h a b : ℝ} |
| 798 | (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) |
| 799 | (Δ m : ℕ) (gain degree ρ A B H : ℝ) (p r : ℕ) |
| 800 | (hρ : 0 ≤ ρ) (hA : 0 ≤ A) (hB : 1 ≤ B) (hH : 0 ≤ H) : |
| 801 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 802 | ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |
| 803 | |w.1| ≤ 1 → ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → |
| 804 | ∀ (amp : PhysicalWaveSum.LiftPoint → ℂ) (Φ : PhysicalWaveSum.LiftPoint → ℝ) (c : ℝ), |
| 805 | |c| ≤ H → |
| 806 | LocalPhysicalCopyBounds.SmoothNear amp (PhysicalWaveSum.commonLift h n d w) → |
| 807 | LocalPhysicalCopyBounds.SmoothNear Φ (PhysicalWaveSum.commonLift h n d w) → |
| 808 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i amp (PhysicalWaveSum.commonLift h n d w)‖ ≤ |
| 809 | A * ChartScales.Q n ^ gain * ChartScales.S n ^ p) → |
| 810 | (∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ (PhysicalWaveSum.commonLift h n d w)‖ ≤ |
| 811 | B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r) → |
| 812 | ‖iteratedFDeriv ℝ m (fun y => (ChartScales.Q n ^ (-degree)) • |
| 813 | (amp (PhysicalWaveSum.commonLift h n d y) * |
| 814 | PhysicalGraphBounds.character c (Φ (PhysicalWaveSum.commonLift h n d y)))) w‖ ≤ |
| 815 | C * q ^ (gain - currentLoss degree ρ m) := by |
| 816 | let A' : ℝ := (2 : ℝ) ^ m * A * (m.factorial : ℝ) * (1 + H) ^ m * B ^ m |
| 817 | have hA' : 0 ≤ A' := by dsimp [A']; positivity |
| 818 | obtain ⟨C, hC, hbound⟩ := PhysicalMeanJetBounds.common_stripped_physical_bound_local (E := ℂ) (b := b) |
| 819 | hh hh1 ha Δ m (gain - degree - ρ * m) (p + r * m : ℕ) A' hA' |
| 820 | refine ⟨C, hC, ?_⟩ |
| 821 | intro n hn d hd w hann ht q hq hlo hhi amp Φ c hc hamp hPhi hab hPhib |
| 822 | have hQ := ChartScales.Q_pos n |
| 823 | have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) |
| 824 | have hQρ : 1 ≤ ChartScales.Q n ^ (-ρ) := |
| 825 | Real.one_le_rpow_of_pos_of_le_one_of_nonpos hQ (ChartScales.Q_le_one n) (neg_nonpos.mpr hρ) |
| 826 | have hBPhi : 1 ≤ B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r := |
| 827 | one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hB hQρ) (one_le_pow₀ hS) |
| 828 | have hAc : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p := by positivity |
| 829 | have hc' : |c| ≤ 1 + H := hc.trans (by linarith) |
| 830 | have hjets := mode_jet_bound_local hamp hPhi m hAc hBPhi (by linarith : 1 ≤ 1 + H) hc' hab hPhib |
| 831 | let F : PhysicalWaveSum.LiftPoint → ℂ := fun y => (ChartScales.Q n ^ (-degree)) • |
| 832 | (amp y * PhysicalGraphBounds.character c (Φ y)) |
| 833 | have hnear : LocalPhysicalCopyBounds.SmoothNear F (PhysicalWaveSum.commonLift h n d w) := by |
| 834 | obtain ⟨V, hV, hxV, hs⟩ := smoothNear_mode hamp hPhi c |
| 835 | exact ⟨V, hV, hxV, hs.const_smul _⟩ |
| 836 | have hFjets : ∀ i ≤ m, ‖iteratedFDeriv ℝ i F (PhysicalWaveSum.commonLift h n d w)‖ ≤ |
| 837 | A' * ChartScales.Q n ^ (gain - degree - ρ * m) * |
| 838 | ChartScales.S n ^ ((p + r * m : ℕ) : ℝ) := by |
| 839 | intro i hi |
| 840 | have hcDiff := (smoothNear_mode hamp hPhi c).contDiffAt.of_le (nat_le_infty i) |
| 841 | rw [show F = fun y => (ChartScales.Q n ^ (-degree)) • |
| 842 | (amp y * PhysicalGraphBounds.character c (Φ y)) from rfl, |
| 843 | iteratedFDeriv_const_smul_apply' hcDiff, |
| 844 | norm_smul (ChartScales.Q n ^ (-degree) : ℝ) |
| 845 | (iteratedFDeriv ℝ i (fun y => amp y * PhysicalGraphBounds.character c (Φ y)) |
| 846 | (PhysicalWaveSum.commonLift h n d w)), |
| 847 | Real.norm_of_nonneg (Real.rpow_pos_of_pos hQ (-degree)).le] |
| 848 | exact (mul_le_mul_of_nonneg_left (hjets i hi) (Real.rpow_pos_of_pos hQ (-degree)).le).trans_eq |
| 849 | (by simpa only [Real.rpow_natCast, A'] using |
| 850 | mode_majorant_factorization hQ (ChartScales.S n) A B H gain degree ρ p r m) |
| 851 | have he := hbound n hn d hd w hann ht q hq hlo hhi F hnear hFjets |
| 852 | convert! he using 1 |
| 853 | congr 2 |
| 854 | unfold currentLoss |
| 855 | ring |
| 856 | |
| 857 | section ActualPhysicalRates |
| 858 | |
| 859 | open CorrectionStep CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 860 | |
| 861 | variable {B N0 : ℕ} {σ : ℝ} |
| 862 | {x : CycleState (ActualInitialization.Index B N0)} |
| 863 | |
| 864 | private theorem commonGap_bound (n : ℕ) : |
| 865 | CurrentPhysicalModeGerms.commonGap n ≤ CommonWindow.gap h := by |
| 866 | have hn := CommonWindow.native_le_index_add h outgoing.data.h_pos.le n |
| 867 | unfold CurrentPhysicalModeGerms.commonGap |
| 868 | omega |
| 869 | |
| 870 | /-- All physical jets of the actual current particular potential mode. |
| 871 | The constant is chosen before the label, current band, and physical point. |
| 872 | Only the literal incoming analytic invariant is required. -/ |
| 873 | theorem current_potential_mode_bound (H : ActualParticularCycleData.Invariant σ x) |
| 874 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 875 | (j : ℤ) (hj : j ≠ 0) (m : ℕ) : |
| 876 | ∃ C : ℝ, 0 ≤ C ∧ ∀ (l : Label B N0) (n : ℕ), 4 ≤ n → |
| 877 | ∀ w ∈ ValidDyadicBandCover.band h n, PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 878 | ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPotentialMode |
| 879 | (ActualCycleParameters.particularState x) l j n) w‖ ≤ |
| 880 | C * PhysicalWaveSum.physicalQ h w ^ |
| 881 | (h * ((1 / 2 + σ) + 1 / 2) - currentLoss h (2 * h) m) := by |
| 882 | let y := ActualCycleParameters.particularState x |
| 883 | have hcar := ActualParticularCycleData.preservesCarriers H |
| 884 | have hin := ActualParticularCycleData.native_inputSupport H |
| 885 | have hsrc := ActualParticularCycleData.native_source_class H j hj |
| 886 | obtain ⟨A, hA, p, hab⟩ := actual_native_potential_bound y hcar hin hN j hj hsrc m |
| 887 | obtain ⟨C, hC, hb⟩ := vector_chart_physical_bound (b := CurrentModeGeometry.chartOuter) |
| 888 | outgoing.data.h_pos.le outgoing.data.h_lt_half.le CurrentModeGeometry.chartInner_pos |
| 889 | (CommonWindow.gap h) m (h * ((1 / 2 + σ) + 1 / 2) - 2 * h * m) h A p hA |
| 890 | refine ⟨C, hC, ?_⟩ |
| 891 | intro l n hn w hw hq |
| 892 | have hqpos := PhysicalWaveSum.physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1 |
| 893 | by_cases hr : ActualCurrentWaveSupport.profileRadius h w ∈ |
| 894 | Icc (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal) |
| 895 | · have hann := CurrentModeGeometry.scaledRadial_mem_annulus n hw hr |
| 896 | let chart := PhysicalWaveSum.chooseChart CurrentModeGeometry.chartInner |
| 897 | (PhysicalGraphBounds.scaledRadial n w) |
| 898 | have hchart : PhysicalGraphBounds.scaledRadial n w ∈ |
| 899 | PolarCharts.chartDomain CurrentModeGeometry.chartInner chart := |
| 900 | PhysicalWaveSum.chooseChart_valid CurrentModeGeometry.chartInner_pos hann |
| 901 | have hz := CurrentModeGeometry.point_mem_nativeDomain n CurrentModeGeometry.chartInner_pos chart hw hchart |
| 902 | have hzrad := CurrentModeGeometry.point_profileRadius n CurrentModeGeometry.chartInner_pos chart hw.1 hchart |
| 903 | have hs : ContDiffOn ℝ ∞ (ActualCurrentParticularPhysical.nativePotential y l j n) |
| 904 | ActualCurrentParticularPhysical.nativeDomain := |
| 905 | (ActualCurrentParticularPhysical.native_smooth_of_invariant H hN (l.2,l.1) j hj n).1 |
| 906 | have hnear : LocalPhysicalCopyBounds.SmoothNear |
| 907 | (ActualCurrentParticularPhysical.nativePotential y l j n) |
| 908 | (CurrentModeGeometry.point CurrentModeGeometry.chartInner chart n w) := |
| 909 | ⟨_, ActualCurrentParticularPhysical.nativeDomain_open, hz, hs⟩ |
| 910 | have hjets : ∀ i ≤ m, ‖iteratedFDeriv ℝ i |
| 911 | (ActualCurrentParticularPhysical.nativePotential y l j n) |
| 912 | (CurrentModeGeometry.point CurrentModeGeometry.chartInner chart n w)‖ ≤ |
| 913 | A * ChartScales.Q n ^ (h * ((1 / 2 + σ) + 1 / 2) - 2 * h * m) * ChartScales.S n ^ p := by |
| 914 | intro i hi |
| 915 | apply native_bound_on_closed hs i (fun z hz => hab l n hn z hz i hi) hz |
| 916 | rwa [hzrad] |
| 917 | have hlo : PhysicalWaveSum.physicalQ h w / 2 ≤ ChartScales.Q n := by linarith [hw.2.2] |
| 918 | have hhi : ChartScales.Q n ≤ 2 * PhysicalWaveSum.physicalQ h w := by linarith [hw.2.1] |
| 919 | have he := hb n hn (CurrentPhysicalModeGerms.commonGap n) (commonGap_bound n) w hann |
| 920 | (PhysicalStageBounds.abs_time_le_one outgoing.data.h_pos outgoing.data.h_lt_half hw.1 hq) |
| 921 | _ hqpos hlo hhi chart (ActualCurrentParticularPhysical.nativePotential y l j n) hnear hjets |
| 922 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq |
| 923 | (CurrentPhysicalModeGerms.localPotentialMode_germ y l j |
| 924 | (ActualParticularStageControls.preserves_frequency hcar l) n |
| 925 | CurrentModeGeometry.chartInner_pos chart hchart) m] |
| 926 | convert! he using 1 |
| 927 | congr 2 |
| 928 | unfold currentLoss |
| 929 | ring |
| 930 | · have hsupport := (ActualCurrentWaveSupport.current_mode_annulus hN y l |
| 931 | (H.inputSupport (l.2,l.1)) j 0).1 |
| 932 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq |
| 933 | (hsupport.zero_germ outgoing.data.h_pos outgoing.data.h_lt_half (Nat.zero_le n) hw hr) m] |
| 934 | simp only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] |
| 935 | exact mul_nonneg hC (Real.rpow_pos_of_pos hqpos _).le |
| 936 | |
| 937 | /-- The matching full physical-jet estimate for the literal current |
| 938 | particular pressure mode, with its actual quadratic physical scale. -/ |
| 939 | theorem current_pressure_mode_bound (H : ActualParticularCycleData.Invariant σ x) |
| 940 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 941 | (j : ℤ) (hj : j ≠ 0) (m : ℕ) : |
| 942 | ∃ C : ℝ, 0 ≤ C ∧ ∀ (l : Label B N0) (n : ℕ), 4 ≤ n → |
| 943 | ∀ w ∈ ValidDyadicBandCover.band h n, PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 944 | ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPressureMode |
| 945 | (ActualCycleParameters.particularState x) l j n) w‖ ≤ |
| 946 | C * PhysicalWaveSum.physicalQ h w ^ |
| 947 | (h * ((1 / 2 + σ) + 1 / 2) - currentLoss (2 * CoordinateAlgebra.A h) (2 * h) m) := by |
| 948 | let y := ActualCycleParameters.particularState x |
| 949 | have hcar := ActualParticularCycleData.preservesCarriers H |
| 950 | have hin := ActualParticularCycleData.native_inputSupport H |
| 951 | have hsrc := ActualParticularCycleData.native_source_class H j hj |
| 952 | obtain ⟨A, hA, p, hab⟩ := actual_native_pressure_re_bound y hcar hin hN j hj hsrc m |
| 953 | obtain ⟨C, hC, hb⟩ := scalar_chart_physical_bound (E := ℝ) (b := CurrentModeGeometry.chartOuter) |
| 954 | outgoing.data.h_pos.le outgoing.data.h_lt_half.le CurrentModeGeometry.chartInner_pos |
| 955 | (CommonWindow.gap h) m (h * ((1 / 2 + σ) + 1 / 2) - 2 * h * m) |
| 956 | (2 * CoordinateAlgebra.A h) A p hA |
| 957 | refine ⟨C, hC, ?_⟩ |
| 958 | intro l n hn w hw hq |
| 959 | have hqpos := PhysicalWaveSum.physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1 |
| 960 | by_cases hr : ActualCurrentWaveSupport.profileRadius h w ∈ |
| 961 | Icc (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal) |
| 962 | · have hann := CurrentModeGeometry.scaledRadial_mem_annulus n hw hr |
| 963 | let chart := PhysicalWaveSum.chooseChart CurrentModeGeometry.chartInner |
| 964 | (PhysicalGraphBounds.scaledRadial n w) |
| 965 | have hchart : PhysicalGraphBounds.scaledRadial n w ∈ |
| 966 | PolarCharts.chartDomain CurrentModeGeometry.chartInner chart := |
| 967 | PhysicalWaveSum.chooseChart_valid CurrentModeGeometry.chartInner_pos hann |
| 968 | have hz := CurrentModeGeometry.point_mem_nativeDomain n CurrentModeGeometry.chartInner_pos chart hw hchart |
| 969 | have hzrad := CurrentModeGeometry.point_profileRadius n CurrentModeGeometry.chartInner_pos chart hw.1 hchart |
| 970 | have hs : ContDiffOn ℝ ∞ (fun z => (ActualCurrentParticularPhysical.nativePressure y l j n z).re) |
| 971 | ActualCurrentParticularPhysical.nativeDomain := |
| 972 | (ActualCurrentParticularPhysical.native_smooth_of_invariant H hN (l.2,l.1) j hj n).2 |
| 973 | have hnear : LocalPhysicalCopyBounds.SmoothNear |
| 974 | (fun z => (ActualCurrentParticularPhysical.nativePressure y l j n z).re) |
| 975 | (CurrentModeGeometry.point CurrentModeGeometry.chartInner chart n w) := |
| 976 | ⟨_, ActualCurrentParticularPhysical.nativeDomain_open, hz, hs⟩ |
| 977 | have hjets : ∀ i ≤ m, ‖iteratedFDeriv ℝ i |
| 978 | (fun z => (ActualCurrentParticularPhysical.nativePressure y l j n z).re) |
| 979 | (CurrentModeGeometry.point CurrentModeGeometry.chartInner chart n w)‖ ≤ |
| 980 | A * ChartScales.Q n ^ (h * ((1 / 2 + σ) + 1 / 2) - 2 * h * m) * ChartScales.S n ^ p := by |
| 981 | intro i hi |
| 982 | apply native_bound_on_closed hs i (fun z hz => hab l n hn z hz i hi) hz |
| 983 | rwa [hzrad] |
| 984 | have hlo : PhysicalWaveSum.physicalQ h w / 2 ≤ ChartScales.Q n := by linarith [hw.2.2] |
| 985 | have hhi : ChartScales.Q n ≤ 2 * PhysicalWaveSum.physicalQ h w := by linarith [hw.2.1] |
| 986 | have he := hb n hn (CurrentPhysicalModeGerms.commonGap n) (commonGap_bound n) w hann |
| 987 | (PhysicalStageBounds.abs_time_le_one outgoing.data.h_pos outgoing.data.h_lt_half hw.1 hq) |
| 988 | _ hqpos hlo hhi chart (fun z => (ActualCurrentParticularPhysical.nativePressure y l j n z).re) hnear hjets |
| 989 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq |
| 990 | (CurrentPhysicalModeGerms.localPressureMode_germ y l j |
| 991 | (ActualParticularStageControls.preserves_frequency hcar l) n |
| 992 | CurrentModeGeometry.chartInner_pos chart hchart) m] |
| 993 | simp only [neg_mul] at he ⊢ |
| 994 | convert! he using 1 |
| 995 | congr 2 |
| 996 | unfold currentLoss |
| 997 | ring |
| 998 | · have hsupport := (ActualCurrentWaveSupport.current_mode_annulus hN y l |
| 999 | (H.inputSupport (l.2,l.1)) j 0).2 |
| 1000 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq |
| 1001 | (hsupport.zero_germ outgoing.data.h_pos outgoing.data.h_lt_half (Nat.zero_le n) hw hr) m] |
| 1002 | simp only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] |
| 1003 | exact mul_nonneg hC (Real.rpow_pos_of_pos hqpos _).le |
| 1004 | |
| 1005 | end ActualPhysicalRates |
| 1006 | |
| 1007 | end NavierStokes.ActualCurrentParticularBounds |