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.LocalPhysicalCopyBounds |
| 2 | import NavierStokes.VariableGaugeMean |
| 3 | import Mathlib.Algebra.Order.Archimedean.Basic |
| 4 | |
| 5 | /-! |
| 6 | # Physical jets of coherent mean fields |
| 7 | |
| 8 | The graph below is the actual common-cover cylindrical graph, with slow order |
| 9 | `(T,Z)`. It is identified with `VariableGaugeMean.physicalToChartTZ`, and its |
| 10 | derivative estimates are derived from the actual physical graph and radius map. |
| 11 | The final restriction is a single coherent physical field, not a sum over bands. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.PhysicalMeanJetBounds |
| 17 | |
| 18 | open Set Function Filter ProblemStatement PhysicalWaveSum LocalPhysicalCopyBounds |
| 19 | open scoped Topology ContDiff BigOperators |
| 20 | |
| 21 | abbrev Point := PressureStream.Lift PhysicalGraphBounds.Plane |
| 22 | |
| 23 | /-- The unscaled physical cylindrical point with the actual auxiliary graph. -/ |
| 24 | noncomputable def physicalPoint (h : ℝ) (w : SpaceTime) : Point := |
| 25 | (PhysicalClassBounds.cartesianRadius (PhysicalGraphBounds.radialProjection w), |
| 26 | ((1 - w.1, w.2 2), PhysicalGraphBounds.radialProfile (ChartScales.radialExponent h) |
| 27 | (PhysicalGraphBounds.radialProjection w) + w.1 • PhysicalGraphBounds.timeDirection)) |
| 28 | |
| 29 | /-- A bounded-gap common-cover graph, in the mean-field coordinate order. -/ |
| 30 | noncomputable def graph (h : ℝ) (n d : ℕ) : SpaceTime → Point := |
| 31 | PhysicalClassBounds.cylindricalMap ∘ commonLift h n d |
| 32 | |
| 33 | theorem cartesianRadius_smul {c : ℝ} (hc : 0 ≤ c) (y : PhysicalGraphBounds.Plane) : |
| 34 | PhysicalClassBounds.cartesianRadius (c • y) = c * PhysicalClassBounds.cartesianRadius y := by |
| 35 | unfold PhysicalClassBounds.cartesianRadius |
| 36 | change Real.sqrt ((c * y.1) ^ 2 + (c * y.2) ^ 2) = c * Real.sqrt (y.1 ^ 2 + y.2 ^ 2) |
| 37 | rw [show (c * y.1) ^ 2 + (c * y.2) ^ 2 = c ^ 2 * (y.1 ^ 2 + y.2 ^ 2) by ring, |
| 38 | Real.sqrt_mul (sq_nonneg c), Real.sqrt_sq hc] |
| 39 | |
| 40 | theorem physicalToChartTZ_apply (h : ℝ) (n i : ℕ) (p : Point) : |
| 41 | VariableGaugeMean.physicalToChartTZ h n i p = |
| 42 | (MeanChartCompatibility.chartScale n * p.1, |
| 43 | ((ChartScales.Q n ^ (-1 : ℝ) * p.2.1.1, |
| 44 | ChartScales.Q n ^ (-CoordinateAlgebra.D h) * p.2.1.2), |
| 45 | TemporalMeanUpdate.coverMap i p.2.2)) := rfl |
| 46 | |
| 47 | /-- Exact identification with the variable-gauge mean chart. The cover |
| 48 | index is the native index minus the actual common-cover gap. -/ |
| 49 | theorem graph_eq_physicalToChartTZ (h : ℝ) (n d : ℕ) |
| 50 | (hd : d ≤ ChartScales.nativeIndex h n) (w : SpaceTime) : |
| 51 | graph h n d w = VariableGaugeMean.physicalToChartTZ h n |
| 52 | (ChartScales.nativeIndex h n - d) (physicalPoint h w) := by |
| 53 | have haux := congrArg Prod.snd (commonLift_formula h n d hd w) |
| 54 | change (CommonCoverSolve.coverPower d).symm (PhysicalGraphBounds.nativeGraph h n w) = _ at haux |
| 55 | rw [graph, Function.comp_apply, PhysicalClassBounds.cylindricalMap_commonLift, |
| 56 | physicalToChartTZ_apply, physicalPoint] |
| 57 | apply Prod.ext |
| 58 | · change PhysicalClassBounds.cartesianRadius |
| 59 | (ChartScales.Q n ^ (-(1 / 2 : ℝ)) • PhysicalGraphBounds.radialProjection w) = _ |
| 60 | exact cartesianRadius_smul (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _).le _ |
| 61 | · apply Prod.ext |
| 62 | · ext <;> simp only [Real.rpow_neg_one, div_eq_mul_inv] |
| 63 | ring |
| 64 | · rw [haux, MeanChartCompatibility.coverMap_eq_coverPower, CommonCoverSolve.coverPower_apply] |
| 65 | |
| 66 | theorem graph_smoothAt {a b : ℝ} (ha : 0 < a) (h : ℝ) (n d : ℕ) |
| 67 | {w : SpaceTime} (hw : PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b) : |
| 68 | ContDiffAt ℝ ∞ (graph h n d) w := by |
| 69 | have hx := PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hw |
| 70 | exact ((PhysicalClassBounds.cylindricalMap_smooth ha).contDiffAt |
| 71 | ((PhysicalClassBounds.cylindricalDomain_open a b).mem_nhds hx)).comp w |
| 72 | (commonLift_smoothAt h n d (PhysicalGraphBounds.scaledRadial_ne_zero |
| 73 | (PhysicalGraphBounds.annulus_axisFree ha hw))) |
| 74 | |
| 75 | /-! ## Selection of a comparable dyadic band -/ |
| 76 | |
| 77 | theorem Q_eq_half_pow (n : ℕ) : ChartScales.Q n = (1 / 2 : ℝ) ^ n := by |
| 78 | change (2 : ℝ) ^ (-(n : ℝ)) = _ |
| 79 | rw [Real.rpow_neg (by norm_num : (0 : ℝ) ≤ 2), Real.rpow_natCast] |
| 80 | simp only [one_div, inv_pow] |
| 81 | |
| 82 | theorem Q_add (n k : ℕ) : ChartScales.Q (n + k) = ChartScales.Q n * ChartScales.Q k := by |
| 83 | simp only [Q_eq_half_pow, pow_add] |
| 84 | |
| 85 | /-- Every sufficiently small positive physical scale has a comparable |
| 86 | band above any prescribed cutoff. No summation over bands is introduced. -/ |
| 87 | theorem exists_comparable_band (N : ℕ) {q : ℝ} (hq : 0 < q) (hsmall : q ≤ ChartScales.Q N) : |
| 88 | ∃ n : ℕ, N ≤ n ∧ q ≤ ChartScales.Q n ∧ ChartScales.Q n < 2 * q := by |
| 89 | have hQN := ChartScales.Q_pos N |
| 90 | obtain ⟨k, hlo, hhi⟩ := exists_nat_pow_near_of_lt_one |
| 91 | (div_pos hq hQN) ((div_le_one hQN).mpr hsmall) |
| 92 | (by norm_num : (0 : ℝ) < 1 / 2) (by norm_num : (1 / 2 : ℝ) < 1) |
| 93 | refine ⟨N + k, Nat.le_add_right _ _, ?_, ?_⟩ |
| 94 | · rw [Q_add, Q_eq_half_pow k] |
| 95 | exact (div_le_iff₀ hQN).mp hhi |>.trans_eq (mul_comm _ _) |
| 96 | · have hh := (lt_div_iff₀ hQN).mp hlo |
| 97 | rw [pow_succ] at hh |
| 98 | rw [Q_add, Q_eq_half_pow k] |
| 99 | nlinarith |
| 100 | |
| 101 | /-! ## The local, nonoscillatory graph estimate -/ |
| 102 | |
| 103 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 104 | |
| 105 | theorem common_stripped_physical_bound_local {h a b : ℝ} |
| 106 | (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) |
| 107 | (Δ m : ℕ) (g e A : ℝ) (hA : 0 ≤ A) : |
| 108 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 109 | ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |w.1| ≤ 1 → |
| 110 | ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → |
| 111 | ∀ f : LiftPoint → E, SmoothNear f (commonLift h n d w) → |
| 112 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i f (commonLift h n d w)‖ ≤ |
| 113 | A * ChartScales.Q n ^ g * ChartScales.S n ^ e) → |
| 114 | ‖iteratedFDeriv ℝ m (f ∘ commonLift h n d) w‖ ≤ |
| 115 | C * q ^ (g - (PhysicalGraphBounds.graphLoss m + 1)) := by |
| 116 | obtain ⟨C, hC, hb⟩ := common_stripped_physical_bound (E := E) (b := b) |
| 117 | hh hh1 ha Δ m g e A hA |
| 118 | refine ⟨C, hC, ?_⟩ |
| 119 | intro n hn d hd w hann ht q hq hlo hhi f hf hjet |
| 120 | obtain ⟨F, hF, he⟩ := hf.exists_global_germ |
| 121 | have haxis := PhysicalGraphBounds.scaledRadial_ne_zero (PhysicalGraphBounds.annulus_axisFree ha hann) |
| 122 | have he' := he.comp_tendsto (commonLift_smoothAt h n d haxis).continuousAt |
| 123 | rw [iteratedFDeriv_eq_of_eventuallyEq he' m] |
| 124 | apply hb n hn d hd w hann ht q hq hlo hhi F hF |
| 125 | intro i hi |
| 126 | rw [← iteratedFDeriv_eq_of_eventuallyEq he i] |
| 127 | exact hjet i hi |
| 128 | |
| 129 | noncomputable def bandField (h : ℝ) (n d : ℕ) (degree : ℝ) (f : Point → E) : SpaceTime → E := |
| 130 | fun w => (ChartScales.Q n ^ (-degree)) • f (graph h n d w) |
| 131 | |
| 132 | noncomputable def loss (degree : ℝ) (m : ℕ) : ℝ := |
| 133 | PhysicalGraphBounds.graphLoss m + 1 + degree |
| 134 | |
| 135 | /-- Actual cylindrical mean-field restriction. Both graph stages are |
| 136 | differentiated using their proved jet bounds. Raw input smoothness is local. -/ |
| 137 | theorem bandField_jet_bound {h a b : ℝ} |
| 138 | (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) |
| 139 | (Δ m : ℕ) (gain degree e A : ℝ) (hA : 0 ≤ A) : |
| 140 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 141 | ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |w.1| ≤ 1 → |
| 142 | ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → |
| 143 | ∀ f : Point → E, SmoothNear f (graph h n d w) → |
| 144 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i f (graph h n d w)‖ ≤ |
| 145 | A * ChartScales.Q n ^ gain * ChartScales.S n ^ e) → |
| 146 | ‖iteratedFDeriv ℝ m (bandField h n d degree f) w‖ ≤ |
| 147 | C * q ^ (gain - loss degree m) := by |
| 148 | obtain ⟨B, hB, hBj⟩ := PhysicalClassBounds.cylindricalMap_positiveJets (b := b) ha m |
| 149 | let A' : ℝ := (m.factorial : ℝ) * A * B ^ m |
| 150 | have hA' : 0 ≤ A' := by dsimp [A']; positivity |
| 151 | obtain ⟨C, hC, hb⟩ := common_stripped_physical_bound_local (E := E) (b := b) |
| 152 | hh hh1 ha Δ m (gain - degree) e A' hA' |
| 153 | refine ⟨C, hC, ?_⟩ |
| 154 | intro n hn d hd w hann ht q hq hlo hhi f hf hjet |
| 155 | obtain ⟨F, hF, he⟩ := hf.exists_global_germ |
| 156 | have hx := PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hann |
| 157 | have hg : ContDiffOn ℝ ∞ (F ∘ PhysicalClassBounds.cylindricalMap) |
| 158 | (PhysicalClassBounds.cylindricalDomain a b) := |
| 159 | hF.comp_contDiffOn (PhysicalClassBounds.cylindricalMap_smooth ha) |
| 160 | let u : LiftPoint → E := fun x => (ChartScales.Q n ^ (-degree)) • F (PhysicalClassBounds.cylindricalMap x) |
| 161 | have hu : SmoothNear u (commonLift h n d w) := |
| 162 | SmoothNear.of_open (PhysicalClassBounds.cylindricalDomain_open a b) |
| 163 | (hg.const_smul _) hx |
| 164 | have he' : bandField h n d degree f =ᶠ[𝓝 w] u ∘ commonLift h n d := by |
| 165 | filter_upwards [he.comp_tendsto (graph_smoothAt ha h n d hann).continuousAt] with z hz |
| 166 | exact congrArg (fun v => (ChartScales.Q n ^ (-degree)) • v) hz |
| 167 | rw [iteratedFDeriv_eq_of_eventuallyEq he' m] |
| 168 | have hbound := hb n hn d hd w hann ht q hq hlo hhi u hu |
| 169 | have hqN := ChartScales.Q_pos n |
| 170 | have hSN := ChartScales.S_pos (show 1 ≤ n by omega) |
| 171 | have hab : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ e := by positivity |
| 172 | have hFjet : ∀ i ≤ m, ‖iteratedFDeriv ℝ i F (graph h n d w)‖ ≤ |
| 173 | A * ChartScales.Q n ^ gain * ChartScales.S n ^ e := by |
| 174 | intro i hi |
| 175 | rw [← iteratedFDeriv_eq_of_eventuallyEq he i] |
| 176 | exact hjet i hi |
| 177 | have hcomp := PhysicalClassBounds.composition_jet_bound hF |
| 178 | (PhysicalClassBounds.cylindricalDomain_open a b) (PhysicalClassBounds.cylindricalMap_smooth ha) |
| 179 | hx m hab hB hFjet (hBj _ hx) |
| 180 | have huc : ∀ i ≤ m, ‖iteratedFDeriv ℝ i u (commonLift h n d w)‖ ≤ |
| 181 | A' * ChartScales.Q n ^ (gain - degree) * ChartScales.S n ^ e := by |
| 182 | intro i hi |
| 183 | have hnear := hg.contDiffAt ((PhysicalClassBounds.cylindricalDomain_open a b).mem_nhds hx) |
| 184 | change ‖iteratedFDeriv ℝ i (fun x => (ChartScales.Q n ^ (-degree)) • |
| 185 | (F ∘ PhysicalClassBounds.cylindricalMap) x) (commonLift h n d w)‖ ≤ _ |
| 186 | rw [iteratedFDeriv_const_smul_apply' (hnear.of_le |
| 187 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl i)), |
| 188 | norm_smul (ChartScales.Q n ^ (-degree)) |
| 189 | (iteratedFDeriv ℝ i (F ∘ PhysicalClassBounds.cylindricalMap) (commonLift h n d w)), |
| 190 | Real.norm_of_nonneg (Real.rpow_pos_of_pos hqN (-degree)).le] |
| 191 | calc |
| 192 | _ ≤ ChartScales.Q n ^ (-degree) * ((m.factorial : ℝ) * |
| 193 | (A * ChartScales.Q n ^ gain * ChartScales.S n ^ e) * B ^ m) := |
| 194 | mul_le_mul_of_nonneg_left (hcomp i hi) (Real.rpow_pos_of_pos hqN _).le |
| 195 | _ = _ := by dsimp [A']; rw [Real.rpow_sub hqN, Real.rpow_neg hqN.le]; ring |
| 196 | convert! hbound huc using 1 |
| 197 | congr 2 |
| 198 | unfold loss |
| 199 | ring |
| 200 | |
| 201 | /-! ## The actual normalized slow coordinate -/ |
| 202 | |
| 203 | theorem physicalQ_eq (h : ℝ) (w : SpaceTime) : |
| 204 | physicalQ h w = SimilarityCoordinates.coordinateQ (2 * h) (1 - w.1, w.2 2) := rfl |
| 205 | |
| 206 | theorem graph_slow (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| 207 | (graph h n d w).2.1 = |
| 208 | ((1 - w.1) / ChartScales.Q n, ChartScales.Q n ^ (-CoordinateAlgebra.D h) * w.2 2) := by |
| 209 | rw [graph, Function.comp_apply, PhysicalClassBounds.cylindricalMap_commonLift] |
| 210 | |
| 211 | theorem graph_slow_continuous (h : ℝ) (n d : ℕ) : |
| 212 | Continuous (fun w => (graph h n d w).2.1) := by |
| 213 | simp_rw [graph_slow] |
| 214 | exact ((continuous_const.sub continuous_fst).div_const _).prodMk |
| 215 | (continuous_const.mul ((AxisymmetricFields.projection 2).continuous.comp continuous_snd)) |
| 216 | |
| 217 | theorem graph_radius (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| 218 | (graph h n d w).1 = PolarCharts.radius (PhysicalGraphBounds.scaledRadial n w) := by |
| 219 | rw [graph, Function.comp_apply, PhysicalClassBounds.cylindricalMap_commonLift] |
| 220 | rfl |
| 221 | |
| 222 | theorem graph_radius_continuous (h : ℝ) (n d : ℕ) : Continuous (fun w => (graph h n d w).1) := by |
| 223 | simp_rw [graph_radius] |
| 224 | exact PolarCharts.radius_continuous.comp (PhysicalGraphBounds.scaledRadial n).continuous |
| 225 | |
| 226 | theorem graph_time_pos (h : ℝ) (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) : |
| 227 | 0 < (graph h n d w).2.1.1 := by |
| 228 | rw [graph_slow] |
| 229 | exact div_pos (sub_pos.mpr hw) (ChartScales.Q_pos n) |
| 230 | |
| 231 | theorem graph_q_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (n d : ℕ) |
| 232 | {w : SpaceTime} (hw : w ∈ preterminal) : |
| 233 | SimilarityCoordinates.coordinateQ (2 * h) (graph h n d w).2.1 = physicalQ h w / ChartScales.Q n := by |
| 234 | rw [graph_slow, physicalQ_eq] |
| 235 | have hp : ChartScales.Q n ^ (-CoordinateAlgebra.D h) = |
| 236 | (ChartScales.Q n)⁻¹ ^ CoordinateAlgebra.D h := by |
| 237 | rw [Real.rpow_neg (ChartScales.Q_pos n).le, Real.inv_rpow (ChartScales.Q_pos n).le] |
| 238 | have he := SimilarityHomogeneity.coordinateQ_scale_h (z := w.2 2) hh hh1 |
| 239 | (inv_pos.mpr (ChartScales.Q_pos n)) (sub_pos.mpr hw) |
| 240 | simpa only [hp, div_eq_mul_inv, mul_comm] using he |
| 241 | |
| 242 | theorem graph_slow_normalized {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 243 | (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 244 | (hlo : physicalQ h w / 2 ≤ ChartScales.Q n) (hhi : ChartScales.Q n ≤ 2 * physicalQ h w) : |
| 245 | (graph h n d w).2.1 ∈ PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 := by |
| 246 | refine ⟨graph_time_pos h n d hw, ?_⟩ |
| 247 | rw [graph_q_eq hh hh1 n d hw] |
| 248 | have hQ := ChartScales.Q_pos n |
| 249 | have hq := physicalQ_pos hh hh1 hw |
| 250 | constructor |
| 251 | · apply (lt_div_iff₀ hQ).mpr |
| 252 | nlinarith |
| 253 | · apply (div_lt_iff₀ hQ).mpr |
| 254 | nlinarith |
| 255 | |
| 256 | theorem graph_length_pos {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (n d : ℕ) |
| 257 | {w : SpaceTime} (hw : w ∈ preterminal) : |
| 258 | 0 < VariableGaugeMean.qLength (2 * h) (graph h n d w).2.1 := |
| 259 | VariableGaugeMean.qLength_pos (by linarith) (by linarith) (graph_time_pos h n d hw) |
| 260 | |
| 261 | theorem graph_length_continuousAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (n d : ℕ) |
| 262 | {w : SpaceTime} (hw : w ∈ preterminal) : |
| 263 | ContinuousAt (fun z => VariableGaugeMean.qLength (2 * h) (graph h n d z).2.1) w := by |
| 264 | have he : ContDiffAt ℝ ∞ (VariableGaugeMean.qLength (2 * h)) (graph h n d w).2.1 := |
| 265 | (VariableGaugeMean.qLength_contDiffOn (by linarith : 0 < 2 * h) |
| 266 | (by linarith : 2 * h < 1)).contDiffAt |
| 267 | ((isOpen_lt continuous_const continuous_fst).mem_nhds (graph_time_pos h n d hw)) |
| 268 | have ht : Tendsto (fun z : SpaceTime => (graph h n d z).2.1) (𝓝 w) |
| 269 | (𝓝 (graph h n d w).2.1) := (graph_slow_continuous h n d).continuousAt |
| 270 | exact he.continuousAt.tendsto.comp ht |
| 271 | |
| 272 | theorem graph_length_bounds {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (n d : ℕ) |
| 273 | {w : SpaceTime} (hw : w ∈ preterminal) |
| 274 | (hlo : physicalQ h w / 2 ≤ ChartScales.Q n) (hhi : ChartScales.Q n ≤ 2 * physicalQ h w) : |
| 275 | 1 / 2 ≤ VariableGaugeMean.qLength (2 * h) (graph h n d w).2.1 ∧ |
| 276 | VariableGaugeMean.qLength (2 * h) (graph h n d w).2.1 ≤ 2 := by |
| 277 | have hQ := ChartScales.Q_pos n |
| 278 | have hq := physicalQ_pos hh hh1 hw |
| 279 | have hlow : (1 / 4 : ℝ) ≤ physicalQ h w / ChartScales.Q n := by |
| 280 | apply (le_div_iff₀ hQ).mpr |
| 281 | nlinarith |
| 282 | have hhigh : physicalQ h w / ChartScales.Q n ≤ (4 : ℝ) := by |
| 283 | apply (div_le_iff₀ hQ).mpr |
| 284 | nlinarith |
| 285 | change 1 / 2 ≤ Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) (graph h n d w).2.1) ∧ _ |
| 286 | rw [graph_q_eq hh hh1 n d hw] |
| 287 | constructor |
| 288 | · exact (Real.le_sqrt (by norm_num) (by positivity)).mpr (by norm_num; exact hlow) |
| 289 | · change Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) (graph h n d w).2.1) ≤ 2 |
| 290 | rw [graph_q_eq hh hh1 n d hw] |
| 291 | exact (Real.sqrt_le_left (by norm_num)).mpr (by norm_num; exact hhigh) |
| 292 | |
| 293 | /-! ## One physical field represented in all valid bands -/ |
| 294 | |
| 295 | /-- Exact chart coherence for the same physical lifted field. The data do |
| 296 | not define a sum of band fields and contain no physical derivative estimate. -/ |
| 297 | structure CoherentFamily (h degree : ℝ) (N Δ : ℕ) (U : Set PhysicalGraphBounds.Plane) |
| 298 | (E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] where |
| 299 | native : ℕ → Point → E |
| 300 | physical : Point → E |
| 301 | gap : ℕ → ℕ |
| 302 | gap_le : ∀ n ≥ N, gap n ≤ Δ |
| 303 | gap_native : ∀ n ≥ N, gap n ≤ ChartScales.nativeIndex h n |
| 304 | coherent : ∀ n ≥ N, ∀ z : Point, 0 < z.2.1.1 → |
| 305 | (VariableGaugeMean.physicalToChartTZ h n (ChartScales.nativeIndex h n - gap n) z).2.1 ∈ U → |
| 306 | physical z = (ChartScales.Q n ^ (-degree)) • |
| 307 | native n (VariableGaugeMean.physicalToChartTZ h n (ChartScales.nativeIndex h n - gap n) z) |
| 308 | |
| 309 | noncomputable def CoherentFamily.field {h degree : ℝ} {N Δ : ℕ} {U : Set PhysicalGraphBounds.Plane} |
| 310 | (D : CoherentFamily h degree N Δ U E) : SpaceTime → E := D.physical ∘ physicalPoint h |
| 311 | |
| 312 | variable {h degree a b : ℝ} {N Δ : ℕ} {U : Set PhysicalGraphBounds.Plane} |
| 313 | |
| 314 | theorem CoherentFamily.field_eq (D : CoherentFamily h degree N Δ U E) |
| 315 | (n : ℕ) (hn : N ≤ n) {w : SpaceTime} (hw : w ∈ preterminal) |
| 316 | (hU : (graph h n (D.gap n) w).2.1 ∈ U) : |
| 317 | D.field w = bandField h n (D.gap n) degree (D.native n) w := by |
| 318 | have he := D.coherent n hn (physicalPoint h w) (sub_pos.mpr hw) |
| 319 | (by simpa only [← graph_eq_physicalToChartTZ h n (D.gap n) (D.gap_native n hn)] using hU) |
| 320 | simpa only [CoherentFamily.field, Function.comp_apply, bandField, |
| 321 | ← graph_eq_physicalToChartTZ h n (D.gap n) (D.gap_native n hn)] using he |
| 322 | |
| 323 | theorem CoherentFamily.field_germ (D : CoherentFamily h degree N Δ U E) |
| 324 | (hU : IsOpen U) (n : ℕ) (hn : N ≤ n) {w : SpaceTime} (hw : w ∈ preterminal) |
| 325 | (hu : (graph h n (D.gap n) w).2.1 ∈ U) : |
| 326 | D.field =ᶠ[𝓝 w] bandField h n (D.gap n) degree (D.native n) := by |
| 327 | filter_upwards [preterminal_open.mem_nhds hw, |
| 328 | (graph_slow_continuous h n (D.gap n)).continuousAt (hU.mem_nhds hu)] with y hy hys |
| 329 | exact D.field_eq n hn hy hys |
| 330 | |
| 331 | /-- Supported native coefficients, stated for an arbitrary normed target. |
| 332 | For real-valued coefficients this is the actual `SupportedGauge` condition. -/ |
| 333 | def NativeSupport (h a b : ℝ) (N : ℕ) (U : Set PhysicalGraphBounds.Plane) |
| 334 | (f : ℕ → Point → E) : Prop := |
| 335 | ∀ n ≥ N, ∀ z, z.2.1 ∈ U → f n z ≠ 0 → |
| 336 | z.1 ∈ Icc (VariableGaugeMean.qLength (2 * h) z.2.1 * a) |
| 337 | (VariableGaugeMean.qLength (2 * h) z.2.1 * b) |
| 338 | |
| 339 | theorem CoherentFamily.native_ratio_on_tsupport (D : CoherentFamily h degree N Δ U E) |
| 340 | (hh : 0 < h) (hh1 : h < 1 / 2) (hU : IsOpen U) |
| 341 | (hs : NativeSupport h a b N U D.native) (n : ℕ) (hn : N ≤ n) |
| 342 | {w : SpaceTime} (hw : w ∈ preterminal) (hu : (graph h n (D.gap n) w).2.1 ∈ U) |
| 343 | (hts : w ∈ tsupport D.field) : |
| 344 | (graph h n (D.gap n) w).1 / |
| 345 | VariableGaugeMean.qLength (2 * h) (graph h n (D.gap n) w).2.1 ∈ Icc a b := by |
| 346 | let V : Set SpaceTime := preterminal ∩ (fun y => (graph h n (D.gap n) y).2.1) ⁻¹' U |
| 347 | have hV : IsOpen V := preterminal_open.inter (hU.preimage (graph_slow_continuous h n (D.gap n))) |
| 348 | have hcont := (graph_radius_continuous h n (D.gap n)).continuousAt.div |
| 349 | (graph_length_continuousAt hh hh1 n (D.gap n) hw) (graph_length_pos hh hh1 n (D.gap n) hw).ne' |
| 350 | apply closed_property_on_tsupport hV (show w ∈ V from ⟨hw, hu⟩) hcont isClosed_Icc ?_ hts |
| 351 | intro y hy hne |
| 352 | have hnative : D.native n (graph h n (D.gap n) y) ≠ 0 := by |
| 353 | intro he |
| 354 | apply hne |
| 355 | rw [D.field_eq n hn hy.1 hy.2, bandField, he, smul_zero] |
| 356 | have hb := hs n hn _ hy.2 hnative |
| 357 | have hell := graph_length_pos hh hh1 n (D.gap n) hy.1 |
| 358 | exact ⟨(le_div_iff₀ hell).mpr (by simpa only [mul_comm] using hb.1), |
| 359 | (div_le_iff₀ hell).mpr (by simpa only [mul_comm] using hb.2)⟩ |
| 360 | |
| 361 | /-- Native moving-annulus support gives a fixed Cartesian chart annulus |
| 362 | at every supported physical point with a comparable band. -/ |
| 363 | theorem CoherentFamily.annulus_on_tsupport (D : CoherentFamily h degree N Δ U E) |
| 364 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hU : IsOpen U) |
| 365 | (hs : NativeSupport h a b N U D.native) (n : ℕ) (hn : N ≤ n) |
| 366 | {w : SpaceTime} (hw : w ∈ preterminal) (hu : (graph h n (D.gap n) w).2.1 ∈ U) |
| 367 | (hlo : physicalQ h w / 2 ≤ ChartScales.Q n) (hhi : ChartScales.Q n ≤ 2 * physicalQ h w) |
| 368 | (hts : w ∈ tsupport D.field) : |
| 369 | PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus (a / 4) (2 * b) := by |
| 370 | have hratio := D.native_ratio_on_tsupport hh hh1 hU hs n hn hw hu hts |
| 371 | have hell := graph_length_pos hh hh1 n (D.gap n) hw |
| 372 | have hlen := graph_length_bounds hh hh1 n (D.gap n) hw hlo hhi |
| 373 | have hloR := (le_div_iff₀ hell).mp hratio.1 |
| 374 | have hhiR := (div_le_iff₀ hell).mp hratio.2 |
| 375 | have haR : a / 2 ≤ (graph h n (D.gap n) w).1 := by nlinarith [hlen.1] |
| 376 | have hbR : (graph h n (D.gap n) w).1 ≤ 2 * b := by nlinarith [hlen.2] |
| 377 | rw [graph_radius] at haR hbR |
| 378 | refine ⟨?_, ?_⟩ |
| 379 | · simpa only [Metric.mem_closedBall, dist_zero_right] using |
| 380 | (PolarCharts.norm_le_radius _).trans hbR |
| 381 | · change a / 4 ≤ ‖PhysicalGraphBounds.scaledRadial n w‖ |
| 382 | linarith only [haR, PolarCharts.radius_le_two_norm (PhysicalGraphBounds.scaledRadial n w)] |
| 383 | |
| 384 | /-- Band-independent native jets after absorbing the actual flat weight. -/ |
| 385 | def NativeJets (N : ℕ) (U : Set PhysicalGraphBounds.Plane) (gain : ℝ) |
| 386 | (f : ℕ → Point → E) : Prop := |
| 387 | ∀ m : ℕ, ∃ A : ℝ, 0 ≤ A ∧ ∃ e : ℕ, ∀ n ≥ N, ∀ z, z.2.1 ∈ U → ∀ j ≤ m, |
| 388 | ‖iteratedFDeriv ℝ j (f n) z‖ ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ e |
| 389 | |
| 390 | /-- A uniform estimate for the same coherent physical field. A comparable |
| 391 | band is selected at each point and used through an exact field germ. -/ |
| 392 | theorem CoherentFamily.field_jet_bound (D : CoherentFamily h degree N Δ U E) |
| 393 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) |
| 394 | (hU : IsOpen U) |
| 395 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 396 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 397 | (hs : NativeSupport h a b N U D.native) {gain : ℝ} (hj : NativeJets N U gain D.native) |
| 398 | (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → |
| 399 | physicalQ h w ≤ ChartScales.Q N → |
| 400 | ‖iteratedFDeriv ℝ m D.field w‖ ≤ C * physicalQ h w ^ (gain - loss degree m) := by |
| 401 | obtain ⟨A, hA, e, hjet⟩ := hj m |
| 402 | obtain ⟨C, hC, hb⟩ := bandField_jet_bound (E := E) (b := 2 * b) |
| 403 | hh.le hh1.le (div_pos ha (by norm_num : (0 : ℝ) < 4)) Δ m gain degree e A hA |
| 404 | refine ⟨C, hC, ?_⟩ |
| 405 | intro w hw ht hsmall |
| 406 | have hq := physicalQ_pos hh hh1 hw |
| 407 | by_cases hts : w ∈ tsupport D.field |
| 408 | · obtain ⟨n, hn, hqn, hnq⟩ := exists_comparable_band N hq hsmall |
| 409 | have hlo : physicalQ h w / 2 ≤ ChartScales.Q n := by linarith |
| 410 | have hu := hcover (graph_slow_normalized hh hh1 n (D.gap n) hw hlo hnq.le) |
| 411 | have hann := D.annulus_on_tsupport hh hh1 ha hab hU hs n hn hw hu hlo hnq.le hts |
| 412 | rw [iteratedFDeriv_eq_of_eventuallyEq (D.field_germ hU n hn hw hu) m] |
| 413 | apply hb n (hN.trans hn) (D.gap n) (D.gap_le n hn) w hann ht |
| 414 | (physicalQ h w) hq hlo hnq.le (D.native n) |
| 415 | · exact SmoothNear.of_open (PhysicalMeanDomain.slowDomain_open hU) (hsm n hn) hu |
| 416 | · intro j hjm |
| 417 | simpa only [Real.rpow_natCast] using hjet n hn _ hu j hjm |
| 418 | · rw [jet_zero_off_tsupport _ _ hts, norm_zero] |
| 419 | positivity |
| 420 | |
| 421 | theorem CoherentFamily.field_smoothAt (D : CoherentFamily h degree N Δ U E) |
| 422 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 423 | (hU : IsOpen U) |
| 424 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 425 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 426 | (hs : NativeSupport h a b N U D.native) {w : SpaceTime} (hw : w ∈ preterminal) |
| 427 | (hsmall : physicalQ h w ≤ ChartScales.Q N) : ContDiffAt ℝ ∞ D.field w := by |
| 428 | classical |
| 429 | by_cases hts : w ∈ tsupport D.field |
| 430 | · obtain ⟨n, hn, hqn, hnq⟩ := exists_comparable_band N (physicalQ_pos hh hh1 hw) hsmall |
| 431 | have hlo : physicalQ h w / 2 ≤ ChartScales.Q n := by linarith |
| 432 | have hu := hcover (graph_slow_normalized hh hh1 n (D.gap n) hw hlo hnq.le) |
| 433 | have hann := D.annulus_on_tsupport hh hh1 ha hab hU hs n hn hw hu hlo hnq.le hts |
| 434 | have hnative := (hsm n hn).contDiffAt ((PhysicalMeanDomain.slowDomain_open hU).mem_nhds hu) |
| 435 | have hc := (hnative.comp w (graph_smoothAt (div_pos ha (by norm_num : (0 : ℝ) < 4)) h n |
| 436 | (D.gap n) hann)).const_smul (ChartScales.Q n ^ (-degree)) |
| 437 | exact hc.congr_of_eventuallyEq (D.field_germ hU n hn hw hu) |
| 438 | · exact contDiffAt_const.congr_of_eventuallyEq (notMem_tsupport_iff_eventuallyEq.mp hts) |
| 439 | |
| 440 | /-! ## The local mean-class consumer -/ |
| 441 | |
| 442 | theorem NativeJets.of_localBandJets {h α : ℝ} {N : ℕ} {U : Set PhysicalGraphBounds.Plane} |
| 443 | {ε L : ℕ → ℝ} {f : ℕ → Point → E} |
| 444 | (hj : PhysicalMeanDomain.LocalBandJets U ε L α f) |
| 445 | (hε : ∀ n ≥ N, ε n = ChartScales.epsilon h n) |
| 446 | (hL0 : ∀ n ≥ N, 0 ≤ L n) {C : ℝ} {p : ℕ} (hC : 1 ≤ C) |
| 447 | (hL : ∀ n ≥ N, L n ≤ C * ChartScales.S n ^ p) : |
| 448 | NativeJets N U (h * α) f := by |
| 449 | intro m |
| 450 | obtain ⟨A, hA, e, hb⟩ := hj m |
| 451 | refine ⟨A * C ^ e, mul_nonneg hA (pow_nonneg (zero_le_one.trans hC) _), p * e, ?_⟩ |
| 452 | intro n hn x hx j hjm |
| 453 | have hQ := ChartScales.Q_pos n |
| 454 | have hpow : ε n ^ α = ChartScales.Q n ^ (h * α) := by |
| 455 | rw [hε n hn, ChartScales.epsilon, ← Real.rpow_mul (ChartScales.Q_pos n).le] |
| 456 | calc |
| 457 | _ ≤ A * ε n ^ α * L n ^ e := hb n x hx j hjm |
| 458 | _ ≤ A * ε n ^ α * (C * ChartScales.S n ^ p) ^ e := |
| 459 | mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (hL0 n hn) (hL n hn) e) |
| 460 | (mul_nonneg hA (by rw [hpow]; positivity)) |
| 461 | _ = _ := by rw [hpow, mul_pow, ← pow_mul]; ring |
| 462 | |
| 463 | /-- Incoming local band jets of any real class exponent give physical |
| 464 | Cartesian jets of that same coherent field. -/ |
| 465 | theorem CoherentFamily.field_jet_bound_of_localBandJets (D : CoherentFamily h degree N Δ U E) |
| 466 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) |
| 467 | (hU : IsOpen U) |
| 468 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 469 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 470 | (hs : NativeSupport h a b N U D.native) {α : ℝ} {ε L : ℕ → ℝ} |
| 471 | (hj : PhysicalMeanDomain.LocalBandJets U ε L α D.native) |
| 472 | (hε : ∀ n ≥ N, ε n = ChartScales.epsilon h n) |
| 473 | (hL0 : ∀ n ≥ N, 0 ≤ L n) {C : ℝ} {p : ℕ} (hC : 1 ≤ C) |
| 474 | (hL : ∀ n ≥ N, L n ≤ C * ChartScales.S n ^ p) (m : ℕ) : |
| 475 | ∃ K : ℝ, 0 ≤ K ∧ ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → |
| 476 | physicalQ h w ≤ ChartScales.Q N → |
| 477 | ‖iteratedFDeriv ℝ m D.field w‖ ≤ K * physicalQ h w ^ (h * α - loss degree m) := |
| 478 | D.field_jet_bound hh hh1 ha hab hN hU hcover hsm hs |
| 479 | (NativeJets.of_localBandJets hj hε hL0 hC hL) m |
| 480 | |
| 481 | /-- The open physical region on which the local native hypotheses imply |
| 482 | smoothness, including the zero neighborhood at the spatial axis. -/ |
| 483 | noncomputable def physicalDomain (h : ℝ) (N : ℕ) : Set SpaceTime := |
| 484 | {w | w ∈ preterminal ∧ physicalQ h w < ChartScales.Q N} |
| 485 | |
| 486 | theorem physicalDomain_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (N : ℕ) : |
| 487 | IsOpen (physicalDomain h N) := by |
| 488 | apply isOpen_iff_mem_nhds.mpr |
| 489 | intro w hw |
| 490 | exact inter_mem (preterminal_open.mem_nhds hw.1) |
| 491 | ((physicalQ_smoothAt hh hh1 hw.1).continuousAt (isOpen_Iio.mem_nhds hw.2)) |
| 492 | |
| 493 | theorem CoherentFamily.field_smooth (D : CoherentFamily h degree N Δ U E) |
| 494 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 495 | (hU : IsOpen U) |
| 496 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 497 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 498 | (hs : NativeSupport h a b N U D.native) : |
| 499 | ContDiffOn ℝ ∞ D.field (physicalDomain h N) := by |
| 500 | intro w hw |
| 501 | exact (D.field_smoothAt hh hh1 ha hab hU hcover hsm hs hw.1 hw.2.le).contDiffWithinAt |
| 502 | |
| 503 | @[simp] theorem loss_velocity (h : ℝ) (m : ℕ) : |
| 504 | loss (CoordinateAlgebra.A h) m = PhysicalGraphBounds.graphLoss m + 1 + CoordinateAlgebra.A h := rfl |
| 505 | |
| 506 | @[simp] theorem loss_stream (h : ℝ) (m : ℕ) : |
| 507 | loss (CoordinateAlgebra.A h - 1 / 2) m = PhysicalGraphBounds.graphLoss m + 1 + h := by |
| 508 | unfold loss CoordinateAlgebra.A |
| 509 | ring |
| 510 | |
| 511 | @[simp] theorem loss_pressure (h : ℝ) (m : ℕ) : |
| 512 | loss (2 * CoordinateAlgebra.A h) m = PhysicalGraphBounds.graphLoss m + 1 + 2 * CoordinateAlgebra.A h := rfl |
| 513 | |
| 514 | /-! ## The actual Cartesian angular frame -/ |
| 515 | |
| 516 | /-- The Cartesian unit angular direction, with the usual totalized value |
| 517 | at the axis. Axis regularity below comes from the supported coefficient. -/ |
| 518 | noncomputable def angularVector (y : PhysicalGraphBounds.Plane) : Space := |
| 519 | (-y.2 / PhysicalClassBounds.cartesianRadius y) • coordinateVector 0 + |
| 520 | (y.1 / PhysicalClassBounds.cartesianRadius y) • coordinateVector 1 |
| 521 | |
| 522 | theorem angularVector_smooth : |
| 523 | ContDiffOn ℝ ∞ angularVector {y : PhysicalGraphBounds.Plane | y ≠ 0} := by |
| 524 | have hr := PhysicalClassBounds.cartesianRadius_smooth |
| 525 | have hn : ∀ y : PhysicalGraphBounds.Plane, y ≠ 0 → |
| 526 | PhysicalClassBounds.cartesianRadius y ≠ 0 := by |
| 527 | intro y hy |
| 528 | exact (Real.sqrt_pos.2 (PhysicalGraphBounds.sum_sq_pos hy)).ne' |
| 529 | exact (((contDiffOn_snd.neg).div hr hn).smul contDiffOn_const).add |
| 530 | ((contDiffOn_fst.div hr hn).smul contDiffOn_const) |
| 531 | |
| 532 | theorem angularVector_smul {c : ℝ} (hc : 0 < c) (y : PhysicalGraphBounds.Plane) : |
| 533 | angularVector (c • y) = angularVector y := by |
| 534 | unfold angularVector |
| 535 | rw [cartesianRadius_smul hc.le] |
| 536 | simp only [Prod.smul_fst, Prod.smul_snd, smul_eq_mul] |
| 537 | have h0 : -(c * y.2) / (c * PhysicalClassBounds.cartesianRadius y) = |
| 538 | -y.2 / PhysicalClassBounds.cartesianRadius y := by |
| 539 | rw [neg_mul_eq_mul_neg, mul_div_mul_left _ _ hc.ne'] |
| 540 | rw [h0, mul_div_mul_left _ _ hc.ne'] |
| 541 | |
| 542 | /-- A local Leibniz estimate for scalar multiplication, including order |
| 543 | zero. It uses actual Fréchet tensors on the supplied open set. -/ |
| 544 | theorem smul_jet_bound {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 545 | {U : Set D} (hU : IsOpen U) {f : D → ℝ} {g : D → E} |
| 546 | (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) {z : D} (hz : z ∈ U) |
| 547 | {m j : ℕ} (hj : j ≤ m) {A B : ℝ} (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 548 | (hfa : ∀ i ≤ m, ‖iteratedFDeriv ℝ i f z‖ ≤ A) |
| 549 | (hgb : ∀ i ≤ m, ‖iteratedFDeriv ℝ i g z‖ ≤ B) : |
| 550 | ‖iteratedFDeriv ℝ j (fun x => f x • g x) z‖ ≤ (2 : ℝ) ^ m * A * B := by |
| 551 | have hprod := norm_iteratedFDerivWithin_smul_le hf hg hU.uniqueDiffOn hz |
| 552 | (n := j) (by exact_mod_cast (le_top : (j : ℕ∞) ≤ ⊤)) |
| 553 | simp only [iteratedFDerivWithin_of_isOpen _ hU hz] at hprod |
| 554 | calc |
| 555 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 556 | ‖iteratedFDeriv ℝ i f z‖ * ‖iteratedFDeriv ℝ (j - i) g z‖ := hprod |
| 557 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * A * B := by |
| 558 | apply Finset.sum_le_sum |
| 559 | intro i hi |
| 560 | exact mul_le_mul |
| 561 | (mul_le_mul_of_nonneg_left (hfa i ((Nat.le_of_lt_succ (Finset.mem_range.mp hi)).trans hj)) |
| 562 | (Nat.cast_nonneg _)) |
| 563 | (hgb (j - i) ((Nat.sub_le _ _).trans hj)) (norm_nonneg _) |
| 564 | (mul_nonneg (Nat.cast_nonneg _) hA) |
| 565 | _ = (2 : ℝ) ^ j * A * B := by |
| 566 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 567 | congr 2 |
| 568 | exact_mod_cast Nat.sum_range_choose j |
| 569 | _ ≤ (2 : ℝ) ^ m * A * B := |
| 570 | mul_le_mul_of_nonneg_right |
| 571 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num) hj) hA) hB |
| 572 | |
| 573 | theorem angularVector_lift_smooth {a b : ℝ} (ha : 0 < a) : |
| 574 | ContDiffOn ℝ ∞ (angularVector ∘ PhysicalGraphBounds.liftXY) |
| 575 | (PhysicalClassBounds.cylindricalDomain a b) := |
| 576 | angularVector_smooth.comp PhysicalGraphBounds.liftXY.contDiff.contDiffOn |
| 577 | (fun _ hx => PhysicalClassBounds.cylindricalDomain_axisFree ha hx) |
| 578 | |
| 579 | /-- The angular frame has uniform jets on the fixed padded annulus. |
| 580 | No slow or auxiliary coordinate enters these constants. -/ |
| 581 | theorem angularVector_lift_jet_bound {a b : ℝ} (ha : 0 < a) (m : ℕ) : |
| 582 | ∃ B : ℝ, 1 ≤ B ∧ ∀ x ∈ PhysicalClassBounds.cylindricalDomain a b, ∀ j ≤ m, |
| 583 | ‖iteratedFDeriv ℝ j (angularVector ∘ PhysicalGraphBounds.liftXY) x‖ ≤ B := by |
| 584 | obtain ⟨B, hB, hb⟩ := PhysicalGraphBounds.compact_jet_bound |
| 585 | PhysicalGraphBounds.axisFree_open angularVector_smooth |
| 586 | (PhysicalGraphBounds.isCompact_annulus (a / 2) (b + 1)) |
| 587 | (PhysicalGraphBounds.annulus_axisFree (half_pos ha)) m |
| 588 | refine ⟨B, hB, ?_⟩ |
| 589 | intro x hx j hj |
| 590 | have haxis := PhysicalClassBounds.cylindricalDomain_axisFree ha hx |
| 591 | have hann : PhysicalGraphBounds.liftXY x ∈ PhysicalGraphBounds.annulus (a / 2) (b + 1) := by |
| 592 | refine ⟨?_, hx.1.le⟩ |
| 593 | simpa only [Metric.mem_closedBall, dist_zero_right] using hx.2.le |
| 594 | exact (PhysicalGraphBounds.norm_jet_comp_linear PhysicalGraphBounds.axisFree_open |
| 595 | angularVector_smooth PhysicalGraphBounds.liftXY haxis j).trans |
| 596 | ((mul_le_mul (hb j hj _ hann) |
| 597 | (pow_le_one₀ (norm_nonneg _) PhysicalGraphBounds.norm_liftXY_le) |
| 598 | (by positivity) (zero_le_one.trans hB)).trans_eq (mul_one B)) |
| 599 | |
| 600 | theorem angularVector_scaledRadial (n : ℕ) (w : SpaceTime) : |
| 601 | angularVector (PhysicalGraphBounds.scaledRadial n w) = |
| 602 | angularVector (PhysicalGraphBounds.radialProjection w) := |
| 603 | angularVector_smul (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) _ |
| 604 | |
| 605 | /-- This is the direct angular vector when `degree = A h`, and the |
| 606 | azimuthal stream potential when `degree = A h - 1/2`. -/ |
| 607 | noncomputable def bandAngularField (h : ℝ) (n d : ℕ) (degree : ℝ) |
| 608 | (f : Point → ℝ) : VelocityField := |
| 609 | fun w => bandField h n d degree f w • angularVector (PhysicalGraphBounds.radialProjection w) |
| 610 | |
| 611 | /-- The actual angular direction is incorporated before estimating the |
| 612 | physical graph. Thus it incurs no additional power loss. -/ |
| 613 | theorem bandAngularField_jet_bound {h a b : ℝ} |
| 614 | (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) |
| 615 | (Δ m : ℕ) (gain degree e A : ℝ) (hA : 0 ≤ A) : |
| 616 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 617 | ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |w.1| ≤ 1 → |
| 618 | ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → |
| 619 | ∀ f : Point → ℝ, SmoothNear f (graph h n d w) → |
| 620 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i f (graph h n d w)‖ ≤ |
| 621 | A * ChartScales.Q n ^ gain * ChartScales.S n ^ e) → |
| 622 | ‖iteratedFDeriv ℝ m (bandAngularField h n d degree f) w‖ ≤ |
| 623 | C * q ^ (gain - loss degree m) := by |
| 624 | obtain ⟨B, hB, hBj⟩ := PhysicalClassBounds.cylindricalMap_positiveJets (b := b) ha m |
| 625 | obtain ⟨V, hV, hVj⟩ := angularVector_lift_jet_bound (b := b) ha m |
| 626 | let A' : ℝ := (2 : ℝ) ^ m * ((m.factorial : ℝ) * A * B ^ m) * V |
| 627 | have hA' : 0 ≤ A' := by dsimp [A']; positivity |
| 628 | obtain ⟨C, hC, hb⟩ := common_stripped_physical_bound_local (E := Space) (b := b) |
| 629 | hh hh1 ha Δ m (gain - degree) e A' hA' |
| 630 | refine ⟨C, hC, ?_⟩ |
| 631 | intro n hn d hd w hann ht q hq hlo hhi f hf hjet |
| 632 | obtain ⟨F, hF, he⟩ := hf.exists_global_germ |
| 633 | have hx := PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hann |
| 634 | have hg : ContDiffOn ℝ ∞ (F ∘ PhysicalClassBounds.cylindricalMap) |
| 635 | (PhysicalClassBounds.cylindricalDomain a b) := |
| 636 | hF.comp_contDiffOn (PhysicalClassBounds.cylindricalMap_smooth ha) |
| 637 | let v : LiftPoint → Space := fun x => F (PhysicalClassBounds.cylindricalMap x) • |
| 638 | angularVector (PhysicalGraphBounds.liftXY x) |
| 639 | have hv : ContDiffOn ℝ ∞ v (PhysicalClassBounds.cylindricalDomain a b) := |
| 640 | hg.smul (angularVector_lift_smooth ha) |
| 641 | let u : LiftPoint → Space := fun x => (ChartScales.Q n ^ (-degree)) • v x |
| 642 | have hu : SmoothNear u (commonLift h n d w) := |
| 643 | SmoothNear.of_open (PhysicalClassBounds.cylindricalDomain_open a b) |
| 644 | (hv.const_smul _) hx |
| 645 | have he' : bandAngularField h n d degree f =ᶠ[𝓝 w] u ∘ commonLift h n d := by |
| 646 | filter_upwards [he.comp_tendsto (graph_smoothAt ha h n d hann).continuousAt] with z hz |
| 647 | change (ChartScales.Q n ^ (-degree) * f (graph h n d z)) • |
| 648 | angularVector (PhysicalGraphBounds.radialProjection z) = |
| 649 | ChartScales.Q n ^ (-degree) • (F (graph h n d z) • |
| 650 | angularVector (PhysicalGraphBounds.liftXY (commonLift h n d z))) |
| 651 | rw [PhysicalClassBounds.liftXY_commonLift, angularVector_scaledRadial] |
| 652 | change f (graph h n d z) = F (graph h n d z) at hz |
| 653 | simp only [hz, smul_smul] |
| 654 | rw [iteratedFDeriv_eq_of_eventuallyEq he' m] |
| 655 | have hbound := hb n hn d hd w hann ht q hq hlo hhi u hu |
| 656 | have hqN := ChartScales.Q_pos n |
| 657 | have hSN := ChartScales.S_pos (show 1 ≤ n by omega) |
| 658 | have hab : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ e := by positivity |
| 659 | have hFjet : ∀ i ≤ m, ‖iteratedFDeriv ℝ i F (graph h n d w)‖ ≤ |
| 660 | A * ChartScales.Q n ^ gain * ChartScales.S n ^ e := by |
| 661 | intro i hi |
| 662 | rw [← iteratedFDeriv_eq_of_eventuallyEq he i] |
| 663 | exact hjet i hi |
| 664 | have hcomp := PhysicalClassBounds.composition_jet_bound hF |
| 665 | (PhysicalClassBounds.cylindricalDomain_open a b) (PhysicalClassBounds.cylindricalMap_smooth ha) |
| 666 | hx m hab hB hFjet (hBj _ hx) |
| 667 | have huc : ∀ i ≤ m, ‖iteratedFDeriv ℝ i u (commonLift h n d w)‖ ≤ |
| 668 | A' * ChartScales.Q n ^ (gain - degree) * ChartScales.S n ^ e := by |
| 669 | intro i hi |
| 670 | have hnear := hv.contDiffAt ((PhysicalClassBounds.cylindricalDomain_open a b).mem_nhds hx) |
| 671 | change ‖iteratedFDeriv ℝ i (fun x => (ChartScales.Q n ^ (-degree)) • v x) |
| 672 | (commonLift h n d w)‖ ≤ _ |
| 673 | rw [iteratedFDeriv_const_smul_apply' (hnear.of_le |
| 674 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl i)), |
| 675 | norm_smul (ChartScales.Q n ^ (-degree)) (iteratedFDeriv ℝ i v (commonLift h n d w)), |
| 676 | Real.norm_of_nonneg (Real.rpow_pos_of_pos hqN (-degree)).le] |
| 677 | have hprod := smul_jet_bound (PhysicalClassBounds.cylindricalDomain_open a b) |
| 678 | hg (angularVector_lift_smooth ha) hx hi |
| 679 | (by positivity : 0 ≤ (m.factorial : ℝ) * |
| 680 | (A * ChartScales.Q n ^ gain * ChartScales.S n ^ e) * B ^ m) |
| 681 | (zero_le_one.trans hV) hcomp (hVj _ hx) |
| 682 | calc |
| 683 | _ ≤ ChartScales.Q n ^ (-degree) * ((2 : ℝ) ^ m * ((m.factorial : ℝ) * |
| 684 | (A * ChartScales.Q n ^ gain * ChartScales.S n ^ e) * B ^ m) * V) := |
| 685 | mul_le_mul_of_nonneg_left hprod (Real.rpow_pos_of_pos hqN _).le |
| 686 | _ = _ := by dsimp [A']; rw [Real.rpow_sub hqN, Real.rpow_neg hqN.le]; ring |
| 687 | convert! hbound huc using 1 |
| 688 | congr 2 |
| 689 | unfold loss |
| 690 | ring |
| 691 | |
| 692 | /-- The actual Cartesian vector associated with the coherent scalar |
| 693 | field. The formula applies both to angular velocity and stream potential. -/ |
| 694 | noncomputable def CoherentFamily.angularField (D : CoherentFamily h degree N Δ U ℝ) : VelocityField := |
| 695 | fun w => D.field w • angularVector (PhysicalGraphBounds.radialProjection w) |
| 696 | |
| 697 | theorem CoherentFamily.angularField_formula (D : CoherentFamily h degree N Δ U ℝ) (w : SpaceTime) : |
| 698 | D.angularField w = |
| 699 | (-w.2 1 / PhysicalClassBounds.cartesianRadius (PhysicalGraphBounds.radialProjection w) * |
| 700 | D.field w) • coordinateVector 0 + |
| 701 | (w.2 0 / PhysicalClassBounds.cartesianRadius (PhysicalGraphBounds.radialProjection w) * |
| 702 | D.field w) • coordinateVector 1 := by |
| 703 | simp only [CoherentFamily.angularField, angularVector, smul_add, smul_smul] |
| 704 | change (D.field w * (-w.2 1 / _)) • _ + (D.field w * (w.2 0 / _)) • _ = _ |
| 705 | rw [mul_comm (D.field w), mul_comm (D.field w)] |
| 706 | |
| 707 | theorem CoherentFamily.angularField_germ (D : CoherentFamily h degree N Δ U ℝ) |
| 708 | (hU : IsOpen U) (n : ℕ) (hn : N ≤ n) {w : SpaceTime} (hw : w ∈ preterminal) |
| 709 | (hu : (graph h n (D.gap n) w).2.1 ∈ U) : |
| 710 | D.angularField =ᶠ[𝓝 w] bandAngularField h n (D.gap n) degree (D.native n) := by |
| 711 | filter_upwards [D.field_germ hU n hn hw hu] with z hz |
| 712 | exact congrArg (fun v => v • angularVector (PhysicalGraphBounds.radialProjection z)) hz |
| 713 | |
| 714 | theorem CoherentFamily.angularField_zero_germ (D : CoherentFamily h degree N Δ U ℝ) |
| 715 | {w : SpaceTime} (hw : w ∉ tsupport D.field) : |
| 716 | D.angularField =ᶠ[𝓝 w] fun _ => 0 := by |
| 717 | filter_upwards [notMem_tsupport_iff_eventuallyEq.mp hw] with z hz |
| 718 | change D.field z = 0 at hz |
| 719 | change D.field z • _ = _ |
| 720 | simp only [hz, zero_smul] |
| 721 | |
| 722 | theorem CoherentFamily.angularField_jet_bound (D : CoherentFamily h degree N Δ U ℝ) |
| 723 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) |
| 724 | (hU : IsOpen U) |
| 725 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 726 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 727 | (hs : NativeSupport h a b N U D.native) {gain : ℝ} (hj : NativeJets N U gain D.native) |
| 728 | (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → |
| 729 | physicalQ h w ≤ ChartScales.Q N → |
| 730 | ‖iteratedFDeriv ℝ m D.angularField w‖ ≤ C * physicalQ h w ^ (gain - loss degree m) := by |
| 731 | obtain ⟨A, hA, e, hjet⟩ := hj m |
| 732 | obtain ⟨C, hC, hb⟩ := bandAngularField_jet_bound (b := 2 * b) |
| 733 | hh.le hh1.le (div_pos ha (by norm_num : (0 : ℝ) < 4)) Δ m gain degree e A hA |
| 734 | refine ⟨C, hC, ?_⟩ |
| 735 | intro w hw ht hsmall |
| 736 | have hq := physicalQ_pos hh hh1 hw |
| 737 | by_cases hts : w ∈ tsupport D.field |
| 738 | · obtain ⟨n, hn, hqn, hnq⟩ := exists_comparable_band N hq hsmall |
| 739 | have hlo : physicalQ h w / 2 ≤ ChartScales.Q n := by linarith |
| 740 | have hu := hcover (graph_slow_normalized hh hh1 n (D.gap n) hw hlo hnq.le) |
| 741 | have hann := D.annulus_on_tsupport hh hh1 ha hab hU hs n hn hw hu hlo hnq.le hts |
| 742 | rw [iteratedFDeriv_eq_of_eventuallyEq (D.angularField_germ hU n hn hw hu) m] |
| 743 | apply hb n (hN.trans hn) (D.gap n) (D.gap_le n hn) w hann ht |
| 744 | (physicalQ h w) hq hlo hnq.le (D.native n) |
| 745 | · exact SmoothNear.of_open (PhysicalMeanDomain.slowDomain_open hU) (hsm n hn) hu |
| 746 | · intro j hjm |
| 747 | simpa only [Real.rpow_natCast] using hjet n hn _ hu j hjm |
| 748 | · rw [jet_zero_off_tsupport _ _ |
| 749 | (notMem_tsupport_iff_eventuallyEq.mpr (D.angularField_zero_germ hts)), norm_zero] |
| 750 | positivity |
| 751 | |
| 752 | theorem CoherentFamily.angularField_smoothAt (D : CoherentFamily h degree N Δ U ℝ) |
| 753 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 754 | (hU : IsOpen U) |
| 755 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 756 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 757 | (hs : NativeSupport h a b N U D.native) {w : SpaceTime} (hw : w ∈ preterminal) |
| 758 | (hsmall : physicalQ h w ≤ ChartScales.Q N) : ContDiffAt ℝ ∞ D.angularField w := by |
| 759 | classical |
| 760 | by_cases hts : w ∈ tsupport D.field |
| 761 | · obtain ⟨n, hn, hqn, hnq⟩ := exists_comparable_band N (physicalQ_pos hh hh1 hw) hsmall |
| 762 | have hlo : physicalQ h w / 2 ≤ ChartScales.Q n := by linarith |
| 763 | have hu := hcover (graph_slow_normalized hh hh1 n (D.gap n) hw hlo hnq.le) |
| 764 | have hann := D.annulus_on_tsupport hh hh1 ha hab hU hs n hn hw hu hlo hnq.le hts |
| 765 | have haxis := PhysicalGraphBounds.scaledRadial_ne_zero |
| 766 | (PhysicalGraphBounds.annulus_axisFree (div_pos ha (by norm_num : (0 : ℝ) < 4)) hann) |
| 767 | exact (D.field_smoothAt hh hh1 ha hab hU hcover hsm hs hw hsmall).smul |
| 768 | ((angularVector_smooth.contDiffAt (PhysicalGraphBounds.axisFree_open.mem_nhds haxis)).comp w |
| 769 | PhysicalGraphBounds.radialProjection.contDiff.contDiffAt) |
| 770 | · exact contDiffAt_const.congr_of_eventuallyEq (D.angularField_zero_germ hts) |
| 771 | |
| 772 | theorem CoherentFamily.angularField_smooth (D : CoherentFamily h degree N Δ U ℝ) |
| 773 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 774 | (hU : IsOpen U) |
| 775 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 776 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 777 | (hs : NativeSupport h a b N U D.native) : |
| 778 | ContDiffOn ℝ ∞ D.angularField (physicalDomain h N) := by |
| 779 | intro w hw |
| 780 | exact (D.angularField_smoothAt hh hh1 ha hab hU hcover hsm hs hw.1 hw.2.le).contDiffWithinAt |
| 781 | |
| 782 | /-- The actual spatial curl of the azimuthal stream potential. Its |
| 783 | fixed physical loss uses one more derivative; no derivative is postulated. -/ |
| 784 | theorem CoherentFamily.curl_angularField_jet_bound (D : CoherentFamily h degree N Δ U ℝ) |
| 785 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) (hN : 4 ≤ N) |
| 786 | (hU : IsOpen U) |
| 787 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 788 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 789 | (hs : NativeSupport h a b N U D.native) {gain : ℝ} (hj : NativeJets N U gain D.native) |
| 790 | (m : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∀ w : SpaceTime, w ∈ physicalDomain h N → |w.1| ≤ 1 → |
| 791 | ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl D.angularField) w‖ ≤ |
| 792 | C * physicalQ h w ^ (gain - loss degree (m + 1)) := by |
| 793 | obtain ⟨C, hC, hb⟩ := D.angularField_jet_bound hh hh1 ha hab hN hU hcover hsm hs hj (m + 1) |
| 794 | refine ⟨‖PhysicalClassBounds.jointCurl‖ * C, |
| 795 | mul_nonneg (norm_nonneg PhysicalClassBounds.jointCurl) hC, ?_⟩ |
| 796 | intro w hw ht |
| 797 | exact (PhysicalClassBounds.spatialCurl_jet_bound (physicalDomain_open hh hh1 N) |
| 798 | (D.angularField_smooth hh hh1 ha hab hU hcover hsm hs) hw m).trans |
| 799 | ((mul_le_mul_of_nonneg_left (hb w hw.1 ht hw.2.le) |
| 800 | (norm_nonneg PhysicalClassBounds.jointCurl)).trans_eq (by ring)) |
| 801 | |
| 802 | theorem CoherentFamily.curl_angularField_smooth (D : CoherentFamily h degree N Δ U ℝ) |
| 803 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 804 | (hU : IsOpen U) |
| 805 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4 ⊆ U) |
| 806 | (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 807 | (hs : NativeSupport h a b N U D.native) : |
| 808 | ContDiffOn ℝ ∞ (SpatialCurl.spatialCurl D.angularField) (physicalDomain h N) := by |
| 809 | intro w hw |
| 810 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 811 | (D.angularField_smoothAt hh hh1 ha hab hU hcover hsm hs hw.1 hw.2.le) |
| 812 | (by simp)).contDiffWithinAt |
| 813 | |
| 814 | /-! ## Genuine moving-weight mean classes -/ |
| 815 | |
| 816 | /-- The existing moving two-edge mean class supplies the native input |
| 817 | jets. The only extra regularity is the genuine supported extension across |
| 818 | the edges, on the valid slow region. -/ |
| 819 | theorem NativeJets.of_movingMeanClass {h α a b cL cR : ℝ} |
| 820 | (R : LocalSignedRequest.SlowRegion (2 * h)) (ha : 0 < a) |
| 821 | (hcL : 0 < cL) (hcR : 0 < cR) (ε L : ℕ → ℝ) |
| 822 | (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
| 823 | {f : ℕ → Point → ℝ} |
| 824 | (hf : ∀ n, ContDiffOn ℝ ∞ (f n) (PhysicalMeanDomain.slowDomain R.carrier)) |
| 825 | (hs : ∀ n, VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength (2 * h)) |
| 826 | R.carrier (f n)) |
| 827 | (hclass : WeightedClasses.MeanClass |
| 828 | (LocalSignedRequest.movingStripData R a b cL cR ha hcL hcR ε L hε hεone hL) α f) |
| 829 | (N : ℕ) (hεnative : ∀ n ≥ N, ε n = ChartScales.epsilon h n) |
| 830 | {C : ℝ} {p : ℕ} (hC : 1 ≤ C) (hpoly : ∀ n ≥ N, L n ≤ C * ChartScales.S n ^ p) : |
| 831 | NativeJets N R.carrier (h * α) f := |
| 832 | NativeJets.of_localBandJets |
| 833 | (VariableGaugeMean.meanClass_moving_localBandJets R ha hcL hcR ε L hε hεone hL hf hs hclass) |
| 834 | hεnative (fun n _ => zero_le_one.trans (hL n)) hC hpoly |
| 835 | |
| 836 | /-! ## Coherence of the actual reconstructed pressure and stream -/ |
| 837 | |
| 838 | theorem meanPressure_fiberLocal (d a b M : ℝ) (hab : a < b) |
| 839 | (ell : PhysicalGraphBounds.Plane → ℝ) (v : PressureStream.Plane) : |
| 840 | PhysicalMeanDomain.FiberLocal (VariableGaugeMean.meanPressure d a b M hab ell v) := by |
| 841 | intro f g s he r Y |
| 842 | apply VariableGaugeMean.compactPrimitive_fiberLocal d a b M ell v _ _ s ?_ r Y |
| 843 | intro R W |
| 844 | change f (R, (s, W)) - VariableGaugeMean.density a b hab ell (R, (s, W)) * |
| 845 | PressureStream.pressureMass f s = |
| 846 | g (R, (s, W)) - VariableGaugeMean.density a b hab ell (R, (s, W)) * |
| 847 | PressureStream.pressureMass g s |
| 848 | rw [he, show PressureStream.pressureMass f s = PressureStream.pressureMass g s from |
| 849 | PhysicalMeanDomain.liftedPressureMass_fiberLocal f g s he R W] |
| 850 | |
| 851 | theorem streamPotential_fiberLocal (d a b M : ℝ) |
| 852 | (ell : PhysicalGraphBounds.Plane → ℝ) (v : PressureStream.Plane) : |
| 853 | PhysicalMeanDomain.FiberLocal (VariableGaugeMean.streamPotential d a b M ell v) := by |
| 854 | intro f g s he r Y |
| 855 | apply congrArg (fun x : ℝ => x / r) |
| 856 | exact VariableGaugeMean.compactPrimitive_fiberLocal d a b M ell v _ _ s |
| 857 | (PhysicalMeanDomain.weightedSource_fiberLocal f g s he) r Y |
| 858 | |
| 859 | /-- Reconstruct the physical pressure from the coherent momentum source. |
| 860 | The output coherence is proved from the actual integral operator; it is not |
| 861 | an additional premise. -/ |
| 862 | noncomputable def CoherentFamily.reconstructPressure |
| 863 | (D : CoherentFamily h (2 * CoordinateAlgebra.A h + 1 / 2) N Δ U ℝ) |
| 864 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 865 | {d : ℝ} (hd : 0 < d) (M : ℝ) (hU : IsOpen U) |
| 866 | (hf : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 867 | (hp : ∀ n ≥ N, PhysicalMeanDomain.PeriodicOn U (D.native n)) |
| 868 | (hs : NativeSupport h a b N U D.native) : |
| 869 | CoherentFamily h (2 * CoordinateAlgebra.A h) N Δ U ℝ where |
| 870 | native n := VariableGaugeMean.meanPressure d a b |
| 871 | (MeanChartCompatibility.radialFrequency h n (ChartScales.nativeIndex h n - D.gap n) d M) |
| 872 | hab (VariableGaugeMean.qLength (2 * h)) (TorusInverse.vector .radial) (D.native n) |
| 873 | physical := VariableGaugeMean.meanPressure d a b M hab |
| 874 | (VariableGaugeMean.qLength (2 * h)) (TorusInverse.vector .radial) D.physical |
| 875 | gap := D.gap |
| 876 | gap_le := D.gap_le |
| 877 | gap_native := D.gap_native |
| 878 | coherent := by |
| 879 | intro n hn z ht hu |
| 880 | have he := meanPressure_fiberLocal d a b M hab (VariableGaugeMean.qLength (2 * h)) |
| 881 | (TorusInverse.vector .radial) D.physical |
| 882 | (VariableGaugeMean.fieldOnPhysicalTZ h n (ChartScales.nativeIndex h n - D.gap n) |
| 883 | (2 * CoordinateAlgebra.A h + 1 / 2) (D.native n)) z.2.1 |
| 884 | (fun r Y => D.coherent n hn (r, (z.2.1, Y)) ht hu) z.1 z.2.2 |
| 885 | exact he.trans (VariableGaugeMean.physicalMeanPressure_naturality hh hh1 ha hab hd n |
| 886 | (ChartScales.nativeIndex h n - D.gap n) M hU (hf n hn) (hp n hn) (hs n hn) z ht hu) |
| 887 | |
| 888 | /-- Reconstruct the azimuthal stream potential from a coherent axial |
| 889 | source. Its physical degree is exactly `A h - 1/2`. -/ |
| 890 | noncomputable def CoherentFamily.reconstructStream |
| 891 | (D : CoherentFamily h (CoordinateAlgebra.A h) N Δ U ℝ) |
| 892 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) |
| 893 | {d : ℝ} (hd : 0 < d) (M : ℝ) (hU : IsOpen U) |
| 894 | (hf : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) |
| 895 | (hs : NativeSupport h a b N U D.native) : |
| 896 | CoherentFamily h (CoordinateAlgebra.A h - 1 / 2) N Δ U ℝ where |
| 897 | native n := VariableGaugeMean.streamPotential d a b |
| 898 | (MeanChartCompatibility.radialFrequency h n (ChartScales.nativeIndex h n - D.gap n) d M) |
| 899 | (VariableGaugeMean.qLength (2 * h)) (TorusInverse.vector .radial) (D.native n) |
| 900 | physical := VariableGaugeMean.streamPotential d a b M |
| 901 | (VariableGaugeMean.qLength (2 * h)) (TorusInverse.vector .radial) D.physical |
| 902 | gap := D.gap |
| 903 | gap_le := D.gap_le |
| 904 | gap_native := D.gap_native |
| 905 | coherent := by |
| 906 | intro n hn z ht hu |
| 907 | have he := streamPotential_fiberLocal d a b M (VariableGaugeMean.qLength (2 * h)) |
| 908 | (TorusInverse.vector .radial) D.physical |
| 909 | (VariableGaugeMean.fieldOnPhysicalTZ h n (ChartScales.nativeIndex h n - D.gap n) |
| 910 | (CoordinateAlgebra.A h) (D.native n)) z.2.1 |
| 911 | (fun r Y => D.coherent n hn (r, (z.2.1, Y)) ht hu) z.1 z.2.2 |
| 912 | exact he.trans (VariableGaugeMean.physicalStreamPotential_naturality hh hh1 ha hab hd n |
| 913 | (ChartScales.nativeIndex h n - D.gap n) M hU (hf n hn) (hs n hn) z ht hu) |
| 914 | |
| 915 | end NavierStokes.PhysicalMeanJetBounds |