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.PhysicalClassBounds |
| 2 | import NavierStokes.PeriodizedWaveBounds |
| 3 | |
| 4 | /-! |
| 5 | # Physical bounds for locally finite native copies |
| 6 | |
| 7 | Each native copy retains its own center and its own full oscillatory carrier. |
| 8 | We sum these waves, not their amplitudes under one unwrapped phase. Closed, |
| 9 | locally finite, disjoint native cells give an actual single-copy germ. The |
| 10 | physical estimate is then the center-independent single-carrier estimate, |
| 11 | followed by the existing bounded overlap estimate for the outer labels. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.PhysicalCopyBounds |
| 17 | |
| 18 | open Set Function Filter ProblemStatement PhysicalWaveSum |
| 19 | open scoped Topology ContDiff BigOperators |
| 20 | |
| 21 | section Germs |
| 22 | |
| 23 | variable {X Y E I : Type*} [TopologicalSpace X] [TopologicalSpace Y] |
| 24 | [NormedAddCommGroup E] |
| 25 | |
| 26 | /-- Pull back the native cells only near the evaluation point. Global |
| 27 | continuity of the physical graph at the axis is not needed. -/ |
| 28 | theorem copySum_pullback_germ (K : PeriodizedWaveBounds.Cells Y I) (n : ℕ) |
| 29 | (φ : X → Y) (f : I → X → E) |
| 30 | (hs : ∀ i x, f i x ≠ 0 → φ x ∈ K.carrier n i) |
| 31 | {x : X} (hφ : ContinuousAt φ x) {i : I} (hi : φ x ∈ K.carrier n i) : |
| 32 | (fun y => ∑' k, f k y) =ᶠ[𝓝 x] f i := by |
| 33 | classical |
| 34 | have hn := hφ ((K.locallyFinite n).iInter_compl_mem_nhds (K.closed n) (φ x)) |
| 35 | filter_upwards [hn] with y hy |
| 36 | apply tsum_eq_single i |
| 37 | intro j hji |
| 38 | have hxj : φ x ∉ K.carrier n j := fun hxj => hji (K.unique n j i (φ x) hxj hi) |
| 39 | by_contra hne |
| 40 | exact (mem_iInter₂.mp hy j hxj) (hs j y hne) |
| 41 | |
| 42 | theorem copySum_pullback_zero_germ (K : PeriodizedWaveBounds.Cells Y I) (n : ℕ) |
| 43 | (φ : X → Y) (f : I → X → E) |
| 44 | (hs : ∀ i x, f i x ≠ 0 → φ x ∈ K.carrier n i) |
| 45 | {x : X} (hφ : ContinuousAt φ x) (hi : ∀ i, φ x ∉ K.carrier n i) : |
| 46 | (fun y => ∑' k, f k y) =ᶠ[𝓝 x] fun _ => 0 := by |
| 47 | classical |
| 48 | have hn := hφ ((K.locallyFinite n).iInter_compl_mem_nhds (K.closed n) (φ x)) |
| 49 | filter_upwards [hn] with y hy |
| 50 | suffices hz : ∀ i, f i y = 0 by simp only [hz, tsum_zero] |
| 51 | intro i |
| 52 | by_contra hne |
| 53 | exact (mem_iInter₂.mp hy i (hi i)) (hs i y hne) |
| 54 | |
| 55 | theorem copySum_pullback_germ_cover (K : PeriodizedWaveBounds.Cells Y I) (n : ℕ) |
| 56 | (φ : X → Y) (f : I → X → E) |
| 57 | (hs : ∀ i x, f i x ≠ 0 → φ x ∈ K.carrier n i) |
| 58 | {x : X} (hφ : ContinuousAt φ x) : |
| 59 | (∃ i, φ x ∈ K.carrier n i ∧ (fun y => ∑' k, f k y) =ᶠ[𝓝 x] f i) ∨ |
| 60 | (fun y => ∑' k, f k y) =ᶠ[𝓝 x] fun _ => 0 := by |
| 61 | classical |
| 62 | by_cases hx : ∃ i, φ x ∈ K.carrier n i |
| 63 | · obtain ⟨i, hi⟩ := hx |
| 64 | exact Or.inl ⟨i, hi, copySum_pullback_germ K n φ f hs hφ hi⟩ |
| 65 | · exact Or.inr (copySum_pullback_zero_germ K n φ f hs hφ (not_exists.mp hx)) |
| 66 | |
| 67 | end Germs |
| 68 | |
| 69 | /-- The lattice copy is a separate index. In particular, neither the center |
| 70 | nor the phase profiles have to agree between different copies. -/ |
| 71 | structure CopyFamily (H : ℕ) (K : Type*) where |
| 72 | gap : BandLabel → ℕ |
| 73 | carrier : K → BandLabel → CarrierData |
| 74 | amplitude : K → WaveIndex H → LiftPoint → ℂ |
| 75 | |
| 76 | noncomputable def CopyFamily.copy {H : ℕ} {K : Type*} (f : CopyFamily H K) (k : K) : |
| 77 | WaveFamily H := ⟨f.gap, f.carrier k, f.amplitude k⟩ |
| 78 | |
| 79 | noncomputable def CopyFamily.term {H : ℕ} {K : Type*} (f : CopyFamily H K) |
| 80 | (a h r0 : ℝ) (I : WaveIndex H) (k : K) : SpaceTime → ℂ := |
| 81 | (f.copy k).term a h r0 I |
| 82 | |
| 83 | /-- Sum full local carriers, including their individual phases. -/ |
| 84 | noncomputable def CopyFamily.periodized {H : ℕ} {K : Type*} (f : CopyFamily H K) |
| 85 | (a h r0 : ℝ) (I : WaveIndex H) (w : SpaceTime) : ℂ := |
| 86 | ∑' k, f.term a h r0 I k w |
| 87 | |
| 88 | noncomputable def CopyFamily.sum {H : ℕ} {K : Type*} (f : CopyFamily H K) |
| 89 | (a h r0 : ℝ) (w : SpaceTime) : ℂ := |
| 90 | ∑ᶠ I, f.periodized a h r0 I w |
| 91 | |
| 92 | /-- The old single-copy regularity hypotheses are imposed separately on |
| 93 | each actual copy. No support condition is imposed using one center for the |
| 94 | whole periodized amplitude. -/ |
| 95 | structure RegularFamily {H : ℕ} {K : Type*} (f : CopyFamily H K) |
| 96 | (a b h r0 Z : ℝ) (Δ : ℕ) : Prop where |
| 97 | copy : ∀ k, PhysicalWaveSum.RegularFamily (f.copy k) a b h r0 Z Δ |
| 98 | |
| 99 | /-- Native support cells can depend on the outer label. Their index is |
| 100 | independent of both the harmonic and the physical point. -/ |
| 101 | structure SupportCells {H : ℕ} {K : Type*} (f : CopyFamily H K) where |
| 102 | cells : BandLabel → PeriodizedWaveBounds.Cells LiftPoint K |
| 103 | support : ∀ I k, support (f.amplitude k I) ⊆ (cells I.1).carrier I.1.val.1 k |
| 104 | |
| 105 | variable {H Δ : ℕ} {K : Type*} {f : CopyFamily H K} {a b h r0 Z : ℝ} |
| 106 | |
| 107 | theorem RegularFamily.term_smooth (hr : RegularFamily f a b h r0 Z Δ) |
| 108 | (ha : 0 < a) (I : WaveIndex H) (k : K) : ContDiff ℝ ∞ (f.term a h r0 I k) := |
| 109 | (hr.copy k).term_smooth ha I |
| 110 | |
| 111 | theorem SupportCells.term_mem (hc : SupportCells f) (I : WaveIndex H) (k : K) |
| 112 | (w : SpaceTime) (hw : f.term a h r0 I k w ≠ 0) : |
| 113 | commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k := |
| 114 | hc.support I k (globalWave_ne_zero_amp hw) |
| 115 | |
| 116 | /-- Off the fixed radial annulus, all copies vanish on one common |
| 117 | neighborhood. This also handles the axis without a smooth graph there. -/ |
| 118 | theorem RegularFamily.periodized_zero_off_annulus (hr : RegularFamily f a b h r0 Z Δ) |
| 119 | (I : WaveIndex H) {w : SpaceTime} |
| 120 | (hw : PhysicalGraphBounds.scaledRadial I.1.val.1 w ∉ PhysicalGraphBounds.annulus a b) : |
| 121 | f.periodized a h r0 I =ᶠ[𝓝 w] fun _ => 0 := by |
| 122 | filter_upwards [(PhysicalGraphBounds.scaledRadial I.1.val.1).continuous.continuousAt |
| 123 | ((PhysicalGraphBounds.isCompact_annulus a b).isClosed.isOpen_compl.mem_nhds hw)] with y hy |
| 124 | suffices hz : ∀ k, f.term a h r0 I k y = 0 by |
| 125 | simp only [CopyFamily.periodized, hz, tsum_zero] |
| 126 | intro k |
| 127 | apply globalWave_eq_zero |
| 128 | by_contra hn |
| 129 | exact hy ((hr.copy k).geometry_support I y hn).1 |
| 130 | |
| 131 | theorem commonLift_continuousAt_of_annulus (ha : 0 < a) (n d : ℕ) {w : SpaceTime} |
| 132 | (hw : PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b) : |
| 133 | ContinuousAt (commonLift h n d) w := by |
| 134 | apply (commonLift_smoothAt h n d ?_).continuousAt |
| 135 | exact PhysicalGraphBounds.scaledRadial_ne_zero |
| 136 | (PhysicalGraphBounds.annulus_axisFree ha hw) |
| 137 | |
| 138 | theorem RegularFamily.periodized_germ_cover (hr : RegularFamily f a b h r0 Z Δ) |
| 139 | (hc : SupportCells f) (ha : 0 < a) (I : WaveIndex H) (w : SpaceTime) : |
| 140 | (∃ k, commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k ∧ |
| 141 | f.periodized a h r0 I =ᶠ[𝓝 w] f.term a h r0 I k) ∨ |
| 142 | f.periodized a h r0 I =ᶠ[𝓝 w] fun _ => 0 := by |
| 143 | classical |
| 144 | by_cases hann : PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b |
| 145 | · exact copySum_pullback_germ_cover (hc.cells I.1) I.1.val.1 |
| 146 | (commonLift h I.1.val.1 (f.gap I.1)) (f.term a h r0 I) |
| 147 | (hc.term_mem I) (commonLift_continuousAt_of_annulus ha _ _ hann) |
| 148 | · exact Or.inr (hr.periodized_zero_off_annulus I hann) |
| 149 | |
| 150 | theorem RegularFamily.periodized_smooth (hr : RegularFamily f a b h r0 Z Δ) |
| 151 | (hc : SupportCells f) (ha : 0 < a) (I : WaveIndex H) : |
| 152 | ContDiff ℝ ∞ (f.periodized a h r0 I) := by |
| 153 | apply contDiff_iff_contDiffAt.mpr |
| 154 | intro w |
| 155 | rcases hr.periodized_germ_cover hc ha I w with ⟨k, _, hg⟩ | hg |
| 156 | · exact (hr.term_smooth ha I k).contDiffAt.congr_of_eventuallyEq hg |
| 157 | · exact contDiffAt_const.congr_of_eventuallyEq hg |
| 158 | |
| 159 | /-- On a specified native copy cell, the full sum equals that full copy. |
| 160 | The identity keeps the copy's own phase as well as its amplitude. -/ |
| 161 | theorem SupportCells.periodized_eq (hc : SupportCells f) (I : WaveIndex H) (k : K) |
| 162 | (w : SpaceTime) |
| 163 | (hk : commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k) : |
| 164 | f.periodized a h r0 I w = f.term a h r0 I k w := by |
| 165 | classical |
| 166 | apply tsum_eq_single k |
| 167 | intro j hj |
| 168 | by_contra hn |
| 169 | exact hj ((hc.cells I.1).unique _ j k _ (hc.term_mem I j w hn) hk) |
| 170 | |
| 171 | theorem RegularFamily.periodized_germ_of_cell (hr : RegularFamily f a b h r0 Z Δ) |
| 172 | (hc : SupportCells f) (ha : 0 < a) (I : WaveIndex H) (k : K) {w : SpaceTime} |
| 173 | (hk : commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k) : |
| 174 | f.periodized a h r0 I =ᶠ[𝓝 w] f.term a h r0 I k := by |
| 175 | classical |
| 176 | by_cases hann : PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b |
| 177 | · exact copySum_pullback_germ (hc.cells I.1) I.1.val.1 |
| 178 | (commonLift h I.1.val.1 (f.gap I.1)) (f.term a h r0 I) |
| 179 | (hc.term_mem I) (commonLift_continuousAt_of_annulus ha _ _ hann) hk |
| 180 | · exact (hr.periodized_zero_off_annulus I hann).trans |
| 181 | (globalWave_eventually_zero_off_annulus (f.carrier k I.1) (f.amplitude k I) I.2.val |
| 182 | (fun y hy => ((hr.copy k).geometry_support I y hy).1) hann).symm |
| 183 | |
| 184 | /-- Actual full derivative tensors agree with the selected local copy. -/ |
| 185 | theorem RegularFamily.periodized_jet_eq (hr : RegularFamily f a b h r0 Z Δ) |
| 186 | (hc : SupportCells f) (ha : 0 < a) (I : WaveIndex H) (k : K) {w : SpaceTime} |
| 187 | (hk : commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k) |
| 188 | (m : ℕ) : |
| 189 | iteratedFDeriv ℝ m (f.periodized a h r0 I) w = |
| 190 | iteratedFDeriv ℝ m (f.term a h r0 I k) w := |
| 191 | iteratedFDeriv_eq_of_eventuallyEq (hr.periodized_germ_of_cell hc ha I k hk) m |
| 192 | |
| 193 | theorem RegularFamily.periodized_support (hr : RegularFamily f a b h r0 Z Δ) |
| 194 | (I : WaveIndex H) (w : SpaceTime) (hw : w ∈ preterminal) |
| 195 | (hn : f.periodized a h r0 I w ≠ 0) : |
| 196 | physicalParams h w ∈ labelRegion (CoordinateAlgebra.D h) I.1.val := by |
| 197 | classical |
| 198 | by_contra hout |
| 199 | apply hn |
| 200 | suffices hz : ∀ k, f.term a h r0 I k w = 0 by |
| 201 | simp only [CopyFamily.periodized, hz, tsum_zero] |
| 202 | intro k |
| 203 | by_contra hne |
| 204 | exact hout ((hr.copy k).term_support I w hw hne) |
| 205 | |
| 206 | theorem RegularFamily.sum_smooth (hr : RegularFamily f a b h r0 Z Δ) |
| 207 | (hc : SupportCells f) (ha : 0 < a) (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 208 | ContDiffOn ℝ ∞ (f.sum a h r0) preterminal := |
| 209 | masked_finsum_smooth hh hh1 (f.periodized a h r0) |
| 210 | (fun I _ _ => (hr.periodized_smooth hc ha I).contDiffAt) hr.periodized_support |
| 211 | |
| 212 | theorem RegularFamily.sum_locally_finite (hr : RegularFamily f a b h r0 Z Δ) |
| 213 | (hh : 0 < h) (hh1 : h < 1 / 2) {w : SpaceTime} (hw : w ∈ preterminal) : |
| 214 | ∃ s : Finset (WaveIndex H), s.card ≤ 2250 * (2 * H + 1) ∧ |
| 215 | f.sum a h r0 =ᶠ[𝓝 w] fun y => ∑ I ∈ s, f.periodized a h r0 I y := by |
| 216 | obtain ⟨s, hs, he⟩ := masked_finsum_eventually hh hh1 (f.periodized a h r0) |
| 217 | hr.periodized_support hw |
| 218 | exact ⟨s, waveRegion_card_le (physicalQ_pos hh hh1 hw) s (fun I hI => (hs I).mp hI), he⟩ |
| 219 | |
| 220 | /-- Closed-cell membership holds at every point where a copy can have a |
| 221 | nonzero jet, including the boundary of its amplitude support. -/ |
| 222 | theorem SupportCells.term_tsupport_mem (hc : SupportCells f) |
| 223 | (ha : 0 < a) (I : WaveIndex H) (k : K) {w : SpaceTime} |
| 224 | (hann : PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b) |
| 225 | (hw : w ∈ tsupport (f.term a h r0 I k)) : |
| 226 | commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k := |
| 227 | closed_property_on_tsupport isOpen_univ (mem_univ w) |
| 228 | (commonLift_continuousAt_of_annulus ha _ _ hann) ((hc.cells I.1).closed _ k) |
| 229 | (fun y _ hy => hc.term_mem I k y hy) hw |
| 230 | |
| 231 | /-- Only native jets on a copy's own closed cell are used. No bounds for |
| 232 | uncut data far from that copy are required. -/ |
| 233 | structure LocalStrippedClass (f : CopyFamily H K) (hc : SupportCells f) |
| 234 | (a b h r0 P A B g eAmp eBase : ℝ) (m : ℕ) : Prop where |
| 235 | parameters : ∀ k L, |(f.carrier k L).angular| ≤ P ∧ |
| 236 | |(f.carrier k L).axial| ≤ P ∧ |(f.carrier k L).radial| ≤ P |
| 237 | amplitude : ∀ k (I : WaveIndex H) (w : SpaceTime), w ∈ preterminal → |
| 238 | physicalParams h w ∈ labelRegion (CoordinateAlgebra.D h) I.1.val → |
| 239 | PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b → |
| 240 | commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k → |
| 241 | ∀ i ≤ m, ‖iteratedFDeriv ℝ i (f.amplitude k I) (commonLift h I.1.val.1 (f.gap I.1) w)‖ ≤ |
| 242 | A * ChartScales.Q I.1.val.1 ^ g * ChartScales.S I.1.val.1 ^ eAmp |
| 243 | base_F : ∀ k (I : WaveIndex H) (w : SpaceTime), w ∈ preterminal → |
| 244 | physicalParams h w ∈ labelRegion (CoordinateAlgebra.D h) I.1.val → |
| 245 | PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b → |
| 246 | commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k → |
| 247 | ∀ chart : PolarCharts.Index, |
| 248 | PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PolarCharts.chartDomain a chart → |
| 249 | ∀ i ≤ m, ‖iteratedFDeriv ℝ i (f.carrier k I.1).F |
| 250 | (PhysicalGraphBounds.slotMap (PolarCharts.chart a chart) |
| 251 | (ChartScales.timeCoefficient h I.1.val.1) (f.carrier k I.1).center r0 |
| 252 | (PhysicalGraphBounds.physicalLift h I.1.val.1 w)).1‖ ≤ B * ChartScales.S I.1.val.1 ^ eBase |
| 253 | base_G : ∀ k (I : WaveIndex H) (w : SpaceTime), w ∈ preterminal → |
| 254 | physicalParams h w ∈ labelRegion (CoordinateAlgebra.D h) I.1.val → |
| 255 | PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b → |
| 256 | commonLift h I.1.val.1 (f.gap I.1) w ∈ (hc.cells I.1).carrier I.1.val.1 k → |
| 257 | ∀ chart : PolarCharts.Index, |
| 258 | PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PolarCharts.chartDomain a chart → |
| 259 | ∀ i ≤ m, ‖iteratedFDeriv ℝ i (f.carrier k I.1).G |
| 260 | (PhysicalGraphBounds.slotMap (PolarCharts.chart a chart) |
| 261 | (ChartScales.timeCoefficient h I.1.val.1) (f.carrier k I.1).center r0 |
| 262 | (PhysicalGraphBounds.physicalLift h I.1.val.1 w)).1‖ ≤ B * ChartScales.S I.1.val.1 ^ eBase |
| 263 | |
| 264 | /-- The number of native copies does not enter the constant or the power |
| 265 | loss. At a physical point the actual wave has just one copy germ. -/ |
| 266 | theorem physical_sum_jet_bound {h a b Z r0 P B eBase : ℝ} |
| 267 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) |
| 268 | (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) (hP : 1 ≤ P) (hB : 1 ≤ B) (heBase : 0 ≤ eBase) |
| 269 | (H Δ m : ℕ) (g eAmp A : ℝ) (hA : 0 ≤ A) : |
| 270 | ∃ C : ℝ, 0 ≤ C ∧ ∀ f : CopyFamily H K, |
| 271 | RegularFamily f a b h r0 Z Δ → ∀ hc : SupportCells f, |
| 272 | LocalStrippedClass f hc a b h r0 P A B g eAmp eBase m → |
| 273 | ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → |
| 274 | ‖iteratedFDeriv ℝ m (f.sum a h r0) w‖ ≤ |
| 275 | C * physicalQ h w ^ (g - PhysicalGraphBounds.waveLoss h m) := by |
| 276 | obtain ⟨C, hC, hpoint⟩ := common_carrier_physical_bound (b := b) hh.le hh1.le ha |
| 277 | hZ hr0 hP hB heBase Δ m g eAmp A (H : ℝ) hA (Nat.cast_nonneg H) |
| 278 | refine ⟨((2250 * (2 * H + 1) : ℕ) : ℝ) * C, mul_nonneg (Nat.cast_nonneg _) hC, ?_⟩ |
| 279 | intro f hr hc hb w hw ht |
| 280 | have hq := physicalQ_pos hh hh1 hw |
| 281 | have hcopy : ∀ (I : WaveIndex H), |
| 282 | physicalParams h w ∈ labelRegion (CoordinateAlgebra.D h) I.1.val → ∀ k, |
| 283 | ‖iteratedFDeriv ℝ m (f.term a h r0 I k) w‖ ≤ |
| 284 | C * physicalQ h w ^ (g - PhysicalGraphBounds.waveLoss h m) := by |
| 285 | intro I hregion k |
| 286 | by_cases hs : w ∈ tsupport (f.term a h r0 I k) |
| 287 | · have hgeo := globalWave_tsupport_geometry (f.carrier k I.1) (f.amplitude k I) I.2.val |
| 288 | ((hr.copy k).geometry_support I) hs |
| 289 | have hcell := hc.term_tsupport_mem ha I k hgeo.1 hs |
| 290 | obtain ⟨mode, hmode⟩ := (hr.copy k).angular_integer I.1 |
| 291 | let chart := chooseChart a (PhysicalGraphBounds.scaledRadial I.1.val.1 w) |
| 292 | have hchart : PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PolarCharts.chartDomain a chart := |
| 293 | chooseChart_valid ha hgeo.1 |
| 294 | have he := globalWave_eventually_common (r0 := r0) ha I.1.val.1 (f.gap I.1) |
| 295 | (f.carrier k I.1) (f.amplitude k I) I.2.val mode hmode |
| 296 | (fun y hy => ((hr.copy k).geometry_support I y hy).1) chart hchart |
| 297 | change ‖iteratedFDeriv ℝ m (globalWave a h I.1.val.1 (f.gap I.1) r0 |
| 298 | (f.carrier k I.1) (f.amplitude k I) I.2.val) w‖ ≤ _ |
| 299 | rw [iteratedFDeriv_eq_of_eventuallyEq he m] |
| 300 | have hband := labelRegion_active_relation hregion |
| 301 | exact hpoint I.1.val.1 I.1.property (f.gap I.1) ((hr.copy k).gap_le I.1) |
| 302 | w hgeo.1 ht hgeo.2.1 (physicalQ h w) hq hband.1 hband.2 |
| 303 | ((f.carrier k I.1).withChart chart) (f.amplitude k I) I.2.val |
| 304 | (hb.parameters k I.1).1 (hb.parameters k I.1).2.1 (hb.parameters k I.1).2.2 hgeo.2.2 |
| 305 | ((hr.copy k).amplitude_smooth I) ((hr.copy k).F_smooth I.1) |
| 306 | ((hr.copy k).G_smooth I.1) (harmonic_bound I.2) |
| 307 | (hb.amplitude k I w hw hregion hgeo.1 hcell) |
| 308 | (hb.base_F k I w hw hregion hgeo.1 hcell chart hchart) |
| 309 | (hb.base_G k I w hw hregion hgeo.1 hcell chart hchart) |
| 310 | · rw [jet_zero_off_tsupport _ _ hs, norm_zero] |
| 311 | positivity |
| 312 | have hsum := masked_finsum_jet_bound hh hh1 (f.periodized a h r0) |
| 313 | (fun I _ _ => (hr.periodized_smooth hc ha I).contDiffAt) hr.periodized_support hw m |
| 314 | (B := C * physicalQ h w ^ (g - PhysicalGraphBounds.waveLoss h m)) (by positivity) |
| 315 | refine (hsum ?_).trans_eq (by ring) |
| 316 | intro I hregion |
| 317 | rcases hr.periodized_germ_cover hc ha I w with ⟨k, _, hg⟩ | hg |
| 318 | · rw [iteratedFDeriv_eq_of_eventuallyEq hg m] |
| 319 | exact hcopy I hregion k |
| 320 | · rw [iteratedFDeriv_eq_of_eventuallyEq hg m] |
| 321 | simp only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] |
| 322 | positivity |
| 323 | |
| 324 | section WeightedInputs |
| 325 | |
| 326 | open WeightedClasses |
| 327 | |
| 328 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {ι : Type*} |
| 329 | |
| 330 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 331 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 332 | |
| 333 | /-- Actual cutoff amplitudes, pulled from their weighted native coefficient |
| 334 | through the common-coordinate map. Only the map's positive jets are bounded; |
| 335 | its values and the copy centers may be unbounded. -/ |
| 336 | structure CommonChart (f : CopyFamily H K) (hc : SupportCells f) |
| 337 | (a b h σ : ℝ) (source : ι → ℕ → D → ℂ) where |
| 338 | sourceIndex : K → WaveIndex H → ι |
| 339 | map : K → WaveIndex H → LiftPoint → D |
| 340 | domain : K → WaveIndex H → Set LiftPoint |
| 341 | open_domain : ∀ k I, IsOpen (domain k I) |
| 342 | smooth : ∀ k I, ContDiffOn ℝ ∞ (map k I) (domain k I) |
| 343 | positive_jets : ∀ m : ℕ, ∃ B : ℝ, 1 ≤ B ∧ ∃ q : ℕ, |
| 344 | ∀ k I x, x ∈ domain k I → ∀ j, 1 ≤ j → j ≤ m → |
| 345 | ‖iteratedFDeriv ℝ j (map k I) x‖ ≤ B * ChartScales.S I.1.val.1 ^ q |
| 346 | amplitude_eq : ∀ k I, f.amplitude k I = fun x => |
| 347 | (ChartScales.Q I.1.val.1 ^ σ) • source (sourceIndex k I) I.1.val.1 (map k I x) |
| 348 | contains : ∀ k I z, z ∈ preterminal → |
| 349 | physicalParams h z ∈ labelRegion (CoordinateAlgebra.D h) I.1.val → |
| 350 | PhysicalGraphBounds.scaledRadial I.1.val.1 z ∈ PhysicalGraphBounds.annulus a b → |
| 351 | commonLift h I.1.val.1 (f.gap I.1) z ∈ (hc.cells I.1).carrier I.1.val.1 k → |
| 352 | commonLift h I.1.val.1 (f.gap I.1) z ∈ domain k I |
| 353 | |
| 354 | /-- The native weighted bound is converted using the genuine higher chain |
| 355 | rule. The same constants work for every label and every native copy. -/ |
| 356 | theorem CommonChart.amplitude_bound {s : StripData D} {α σ : ℝ} |
| 357 | {w : ι → ℕ → D → ℝ} {source : ι → ℕ → D → ℂ} |
| 358 | (hs : PhysicalClassBounds.SourceBounds s h α w source) {hc : SupportCells f} |
| 359 | (hchart : CommonChart f hc a b h σ source) (m : ℕ) : |
| 360 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ k I x, x ∈ hchart.domain k I → ∀ j ≤ m, |
| 361 | ‖iteratedFDeriv ℝ j (f.amplitude k I) x‖ ≤ |
| 362 | A * ChartScales.Q I.1.val.1 ^ (h * α + σ) * ChartScales.S I.1.val.1 ^ p := by |
| 363 | obtain ⟨A, hA, p, hb⟩ := hs.chart_bound m |
| 364 | obtain ⟨B, hB, q, hq⟩ := hchart.positive_jets m |
| 365 | refine ⟨(m.factorial : ℝ) * A * B ^ m, by positivity, p + q * m, ?_⟩ |
| 366 | intro k I x hx j hj |
| 367 | have hS : 1 ≤ ChartScales.S I.1.val.1 := PhysicalGraphBounds.S_ge_one (by have := I.1.property; omega) |
| 368 | have hQ := ChartScales.Q_pos I.1.val.1 |
| 369 | have hS0 : 0 ≤ ChartScales.S I.1.val.1 := zero_le_one.trans hS |
| 370 | have hA0 : 0 ≤ A * ChartScales.Q I.1.val.1 ^ (h * α) * ChartScales.S I.1.val.1 ^ p := by positivity |
| 371 | have hB0 : 1 ≤ B * ChartScales.S I.1.val.1 ^ q := |
| 372 | one_le_mul_of_one_le_of_one_le hB (one_le_pow₀ hS) |
| 373 | have hjb := PhysicalClassBounds.composition_jet_bound |
| 374 | (hs.smooth (hchart.sourceIndex k I) I.1.val.1) |
| 375 | (hchart.open_domain k I) (hchart.smooth k I) hx m hA0 hB0 |
| 376 | (fun j hj => hb (hchart.sourceIndex k I) I.1.val.1 I.1.property (hchart.map k I x) j hj) |
| 377 | (fun j hj hjm => hq k I x hx j hj hjm) j hj |
| 378 | have hcomp : ContDiffAt ℝ ∞ (source (hchart.sourceIndex k I) I.1.val.1 ∘ hchart.map k I) x := |
| 379 | (hs.smooth (hchart.sourceIndex k I) I.1.val.1).contDiffAt.comp x |
| 380 | ((hchart.smooth k I).contDiffAt ((hchart.open_domain k I).mem_nhds hx)) |
| 381 | rw [hchart.amplitude_eq k I] |
| 382 | change ‖iteratedFDeriv ℝ j (fun x => (ChartScales.Q I.1.val.1 ^ σ) • |
| 383 | (source (hchart.sourceIndex k I) I.1.val.1 ∘ hchart.map k I) x) x‖ ≤ _ |
| 384 | rw [iteratedFDeriv_const_smul_apply' (hcomp.of_le (nat_le_infty j)), |
| 385 | norm_smul (ChartScales.Q I.1.val.1 ^ σ) |
| 386 | (iteratedFDeriv ℝ j (source (hchart.sourceIndex k I) I.1.val.1 ∘ hchart.map k I) x), |
| 387 | Real.norm_of_nonneg (Real.rpow_pos_of_pos hQ σ).le] |
| 388 | calc |
| 389 | _ ≤ ChartScales.Q I.1.val.1 ^ σ * ((m.factorial : ℝ) * |
| 390 | (A * ChartScales.Q I.1.val.1 ^ (h * α) * ChartScales.S I.1.val.1 ^ p) * |
| 391 | (B * ChartScales.S I.1.val.1 ^ q) ^ m) := |
| 392 | mul_le_mul_of_nonneg_left hjb (Real.rpow_pos_of_pos hQ σ).le |
| 393 | _ = _ := by rw [Real.rpow_add hQ, pow_add, mul_pow, ← pow_mul]; ring |
| 394 | |
| 395 | noncomputable def copyBandDomain {V : Type*} [NormedAddCommGroup V] |
| 396 | (U : K → BandLabel → Set V) (hU : ∀ k L, IsOpen (U k L)) : |
| 397 | PhaseJetBounds.Domain (K × BandLabel) V where |
| 398 | scale i := ChartScales.S i.2.val.1 |
| 399 | carrier i := U i.1 i.2 |
| 400 | isOpen i := hU i.1 i.2 |
| 401 | one_le_scale i := PhysicalGraphBounds.S_ge_one (by have := i.2.property; omega) |
| 402 | |
| 403 | /-- The carrier profiles are estimated on their actual local slow regions. |
| 404 | The regions need contain a point only when that point belongs to this copy. -/ |
| 405 | structure CarrierBounds (f : CopyFamily H K) (hc : SupportCells f) (a b h r0 : ℝ) where |
| 406 | region : K → BandLabel → Set PhysicalGraphBounds.Slow |
| 407 | open_region : ∀ k L, IsOpen (region k L) |
| 408 | jets : PhaseJetBounds.PolynomialJets (copyBandDomain region open_region) |
| 409 | (fun i x => ((f.carrier i.1 i.2).F x, (f.carrier i.1 i.2).G x)) |
| 410 | contains : ∀ k (I : WaveIndex H) z, z ∈ preterminal → |
| 411 | physicalParams h z ∈ labelRegion (CoordinateAlgebra.D h) I.1.val → |
| 412 | PhysicalGraphBounds.scaledRadial I.1.val.1 z ∈ PhysicalGraphBounds.annulus a b → |
| 413 | commonLift h I.1.val.1 (f.gap I.1) z ∈ (hc.cells I.1).carrier I.1.val.1 k → |
| 414 | ∀ chart : PolarCharts.Index, |
| 415 | PhysicalGraphBounds.scaledRadial I.1.val.1 z ∈ PolarCharts.chartDomain a chart → |
| 416 | (PhysicalGraphBounds.slotMap (PolarCharts.chart a chart) |
| 417 | (ChartScales.timeCoefficient h I.1.val.1) (f.carrier k I.1).center r0 |
| 418 | (PhysicalGraphBounds.physicalLift h I.1.val.1 z)).1 ∈ region k I.1 |
| 419 | |
| 420 | theorem CarrierBounds.profile_bound {hc : SupportCells f} |
| 421 | (hb : CarrierBounds f hc a b h r0) (m : ℕ) : |
| 422 | ∃ B : ℝ, 1 ≤ B ∧ ∃ p : ℕ, ∀ k L x, x ∈ hb.region k L → ∀ j ≤ m, |
| 423 | ‖iteratedFDeriv ℝ j (f.carrier k L).F x‖ ≤ B * ChartScales.S L.val.1 ^ p ∧ |
| 424 | ‖iteratedFDeriv ℝ j (f.carrier k L).G x‖ ≤ B * ChartScales.S L.val.1 ^ p := by |
| 425 | obtain ⟨B, hB, p, hp⟩ := hb.jets.bound m |
| 426 | refine ⟨B, hB, p, ?_⟩ |
| 427 | intro k L x hx j hj |
| 428 | have hpair := (hb.jets.smooth (k, L)).contDiffAt ((hb.open_region k L).mem_nhds hx) |
| 429 | have he := hp (k, L) j hj x hx |
| 430 | rw [PhysicalGraphBounds.iteratedFDeriv_pair |
| 431 | (hpair.fst.of_le (nat_le_infty j)) (hpair.snd.of_le (nat_le_infty j)), |
| 432 | ContinuousMultilinearMap.opNorm_prod] at he |
| 433 | exact ⟨(le_max_left _ _).trans he, (le_max_right _ _).trans he⟩ |
| 434 | |
| 435 | /-- Lower weighted coefficient classes and actual phase jets supply all |
| 436 | inputs of the physical theorem; no physical derivative estimate is assumed. -/ |
| 437 | theorem localStrippedClass {s : StripData D} {α σ P : ℝ} |
| 438 | {w : ι → ℕ → D → ℝ} {source : ι → ℕ → D → ℂ} |
| 439 | (hs : PhysicalClassBounds.SourceBounds s h α w source) {hc : SupportCells f} |
| 440 | (hchart : CommonChart f hc a b h σ source) (hb : CarrierBounds f hc a b h r0) |
| 441 | (hp : ∀ k L, |(f.carrier k L).angular| ≤ P ∧ |
| 442 | |(f.carrier k L).axial| ≤ P ∧ |(f.carrier k L).radial| ≤ P) (m : ℕ) : |
| 443 | ∃ A : ℝ, 0 ≤ A ∧ ∃ B : ℝ, 1 ≤ B ∧ ∃ p q : ℕ, |
| 444 | LocalStrippedClass f hc a b h r0 P A B (h * α + σ) p q m := by |
| 445 | obtain ⟨A, hA, p, hAp⟩ := hchart.amplitude_bound hs m |
| 446 | obtain ⟨B, hB, q, hBq⟩ := hb.profile_bound m |
| 447 | refine ⟨A, hA, B, hB, p, q, hp, ?_, ?_, ?_⟩ |
| 448 | · intro k I z hz hregion hann hcell j hj |
| 449 | simpa only [Real.rpow_natCast] using |
| 450 | hAp k I _ (hchart.contains k I z hz hregion hann hcell) j hj |
| 451 | · intro k I z hz hregion hann hcell chart hpolar j hj |
| 452 | simpa only [Real.rpow_natCast] using |
| 453 | (hBq k I.1 _ (hb.contains k I z hz hregion hann hcell chart hpolar) j hj).1 |
| 454 | · intro k I z hz hregion hann hcell chart hpolar j hj |
| 455 | simpa only [Real.rpow_natCast] using |
| 456 | (hBq k I.1 _ (hb.contains k I z hz hregion hann hcell chart hpolar) j hj).2 |
| 457 | |
| 458 | /-- All actual physical jets of the full copy and label sum, from the lower |
| 459 | weighted class. Slow polynomial degrees and copy count do not enter the |
| 460 | derivative-loss function. -/ |
| 461 | theorem physical_sum_jet_bound_of_weighted {s : StripData D} {α σ P : ℝ} |
| 462 | {w : ι → ℕ → D → ℝ} {source : ι → ℕ → D → ℂ} |
| 463 | (hs : PhysicalClassBounds.SourceBounds s h α w source) {hc : SupportCells f} |
| 464 | (hchart : CommonChart f hc a b h σ source) (hb : CarrierBounds f hc a b h r0) |
| 465 | (hr : RegularFamily f a b h r0 Z Δ) |
| 466 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) |
| 467 | (hP : 1 ≤ P) (hp : ∀ k L, |(f.carrier k L).angular| ≤ P ∧ |
| 468 | |(f.carrier k L).axial| ≤ P ∧ |(f.carrier k L).radial| ≤ P) (m : ℕ) : |
| 469 | ∃ C : ℝ, 0 ≤ C ∧ ∀ z : SpaceTime, |
| 470 | z ∈ preterminal → |z.1| ≤ 1 → |
| 471 | ‖iteratedFDeriv ℝ m (f.sum a h r0) z‖ ≤ |
| 472 | C * physicalQ h z ^ (h * α - PhysicalClassBounds.physicalLoss h σ m) := by |
| 473 | obtain ⟨A, hA, B, hB, p, q, hclass⟩ := localStrippedClass hs hchart hb hp m |
| 474 | obtain ⟨C, hC, hbound⟩ := physical_sum_jet_bound (K := K) |
| 475 | (b := b) hh hh1 ha hZ hr0 hP hB (Nat.cast_nonneg q) H Δ m |
| 476 | (h * α + σ) p A hA |
| 477 | refine ⟨C, hC, ?_⟩ |
| 478 | intro z hz ht |
| 479 | convert! hbound f hr hc hclass z hz ht using 1 |
| 480 | congr 2 |
| 481 | unfold PhysicalClassBounds.physicalLoss |
| 482 | ring |
| 483 | |
| 484 | end WeightedInputs |
| 485 | |
| 486 | /-! ## Literal native cells and their lattice centers -/ |
| 487 | |
| 488 | section NativeCells |
| 489 | |
| 490 | open CommonCoverSolve |
| 491 | |
| 492 | noncomputable def nativeCenter (g : Geometry) (k : TorusInverse.Frequency) : Plane := |
| 493 | g.center + TorusAverages.latticePoint k |
| 494 | |
| 495 | /-- The center used by a copy is its own lattice translate. -/ |
| 496 | theorem native_offset (g : Geometry) (k : TorusInverse.Frequency) (Y : Plane) : |
| 497 | coverPower g.gap Y - nativeCenter g k = g.basis (g.coordinates k Y) := by |
| 498 | rw [Geometry.coordinates, ContinuousLinearEquiv.apply_symm_apply] |
| 499 | unfold nativeCenter |
| 500 | abel |
| 501 | |
| 502 | theorem nativeGraph_eq_cover_commonLift (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| 503 | PhysicalGraphBounds.nativeGraph h n w = coverPower d (commonLift h n d w).2 := by |
| 504 | change PhysicalGraphBounds.nativeGraph h n w = |
| 505 | coverPower d ((coverPower d).symm (PhysicalGraphBounds.nativeGraph h n w)) |
| 506 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 507 | |
| 508 | theorem physical_native_offset (g : Geometry) (k : TorusInverse.Frequency) |
| 509 | (h : ℝ) (n d : ℕ) (hgap : g.gap = d) (w : SpaceTime) : |
| 510 | PhysicalGraphBounds.nativeGraph h n w - nativeCenter g k = |
| 511 | g.basis (g.coordinates k (commonLift h n d w).2) := by |
| 512 | rw [nativeGraph_eq_cover_commonLift h n d w] |
| 513 | simpa only [hgap] using native_offset g k (commonLift h n d w).2 |
| 514 | |
| 515 | /-- The physical slot-width bound follows from the native cell width and |
| 516 | the exact cover map, rather than being assumed for a periodized field. -/ |
| 517 | theorem physical_native_width (g : Geometry) (k : TorusInverse.Frequency) |
| 518 | (h : ℝ) (n d : ℕ) (hgap : g.gap = d) {U : Set Plane} {r0 : ℝ} |
| 519 | (hU : ∀ z ∈ U, |PhysicalGraphBounds.etaCoordinate (g.basis z)| ≤ r0) |
| 520 | (w : SpaceTime) (hw : g.coordinates k (commonLift h n d w).2 ∈ U) : |
| 521 | |PhysicalGraphBounds.etaCoordinate (PhysicalGraphBounds.nativeGraph h n w - nativeCenter g k)| ≤ r0 := by |
| 522 | rw [physical_native_offset g k h n d hgap w] |
| 523 | exact hU _ hw |
| 524 | |
| 525 | variable {F : CopyFamily H TorusInverse.Frequency} |
| 526 | |
| 527 | /-- Build the abstract support cells from the actual native affine lattice |
| 528 | charts. Compactness gives local finiteness; quotient injectivity gives |
| 529 | disjointness, both through `PeriodizedWaveBounds.nativeCells`. -/ |
| 530 | noncomputable def nativeSupportCells (g : BandLabel → Geometry) (U : BandLabel → Set Plane) |
| 531 | (hU : ∀ L, IsCompact (U L)) |
| 532 | (hinj : ∀ L, InjOn TorusAverages.quotientPoint |
| 533 | ((fun z => (g L).center + (g L).basis z) '' U L)) |
| 534 | (hs : ∀ k I x, F.amplitude k I x ≠ 0 → (g I.1).coordinates k x.2 ∈ U I.1) : |
| 535 | SupportCells F where |
| 536 | cells L := PeriodizedWaveBounds.nativeCells (P := PhysicalGraphBounds.ChartPoint) |
| 537 | (fun _ => g L) (fun _ => U L) (fun _ => hU L) (fun _ => hinj L) |
| 538 | support I k x hx := hs k I x hx |
| 539 | |
| 540 | @[simp] theorem nativeSupportCells_mem (g : BandLabel → Geometry) (U : BandLabel → Set Plane) |
| 541 | (hU : ∀ L, IsCompact (U L)) |
| 542 | (hinj : ∀ L, InjOn TorusAverages.quotientPoint |
| 543 | ((fun z => (g L).center + (g L).basis z) '' U L)) |
| 544 | (hs : ∀ k I x, F.amplitude k I x ≠ 0 → (g I.1).coordinates k x.2 ∈ U I.1) |
| 545 | (I : WaveIndex H) (k : TorusInverse.Frequency) (x : LiftPoint) : |
| 546 | x ∈ ((nativeSupportCells g U hU hinj hs).cells I.1).carrier I.1.val.1 k ↔ |
| 547 | (g I.1).coordinates k x.2 ∈ U I.1 := Iff.rfl |
| 548 | |
| 549 | /-- For the actual localized coefficients, the support premise is itself |
| 550 | derived from the literal cutoff factor. -/ |
| 551 | noncomputable def nativeCutoffSupportCells (g : BandLabel → Geometry) (U : BandLabel → Set Plane) |
| 552 | (hU : ∀ L, IsCompact (U L)) |
| 553 | (hinj : ∀ L, InjOn TorusAverages.quotientPoint |
| 554 | ((fun z => (g L).center + (g L).basis z) '' U L)) |
| 555 | (κ : BandLabel → Plane → ℝ) (hκ : ∀ L, support (κ L) ⊆ U L) |
| 556 | (v : TorusInverse.Frequency → WaveIndex H → LiftPoint → ℂ) |
| 557 | (he : ∀ k I x, F.amplitude k I x = κ I.1 ((g I.1).coordinates k x.2) • v k I x) : |
| 558 | SupportCells F := |
| 559 | nativeSupportCells g U hU hinj (by |
| 560 | intro k I x hx |
| 561 | apply hκ I.1 |
| 562 | intro hz |
| 563 | exact hx (by rw [he, hz, zero_smul])) |
| 564 | |
| 565 | /-- A native cell description proves all copy-width support conditions in |
| 566 | the regularity record. The radial annulus, slow mask, and smooth coefficient |
| 567 | inputs are separate, as in the original construction. -/ |
| 568 | theorem regular_of_native (g : BandLabel → Geometry) (U : BandLabel → Set Plane) |
| 569 | (hgap : ∀ L, (g L).gap = F.gap L) |
| 570 | (hcenter : ∀ k L, (F.carrier k L).center = nativeCenter (g L) k) |
| 571 | (hwidth : ∀ L z, z ∈ U L → |PhysicalGraphBounds.etaCoordinate ((g L).basis z)| ≤ r0) |
| 572 | (hs : ∀ k I x, F.amplitude k I x ≠ 0 → (g I.1).coordinates k x.2 ∈ U I.1) |
| 573 | (hgap_le : ∀ L, F.gap L ≤ Δ) |
| 574 | (hgap_native : ∀ L, F.gap L ≤ ChartScales.nativeIndex h L.val.1) |
| 575 | (hamp : ∀ k I, ContDiff ℝ ∞ (F.amplitude k I)) |
| 576 | (hF : ∀ k L, ContDiff ℝ ∞ (F.carrier k L).F) |
| 577 | (hG : ∀ k L, ContDiff ℝ ∞ (F.carrier k L).G) |
| 578 | (hint : ∀ k L, ∃ m : ℤ, |
| 579 | (ChartScales.carrier h L.val.1 : ℝ) * (F.carrier k L).angular = (m : ℝ)) |
| 580 | (hgeo : ∀ k I y, F.amplitude k I (commonLift h I.1.val.1 (F.gap I.1) y) ≠ 0 → |
| 581 | PhysicalGraphBounds.scaledRadial I.1.val.1 y ∈ PhysicalGraphBounds.annulus a b ∧ |
| 582 | ‖PhysicalGraphBounds.liftZT (PhysicalGraphBounds.physicalLift h I.1.val.1 y)‖ ≤ Z) |
| 583 | (hmask : ∀ k I y, y ∈ preterminal → |
| 584 | F.amplitude k I (commonLift h I.1.val.1 (F.gap I.1) y) ≠ 0 → |
| 585 | physicalMask (CoordinateAlgebra.D h) I.1.val (physicalParams h y) ≠ 0) : |
| 586 | RegularFamily F a b h r0 Z Δ := by |
| 587 | refine ⟨fun k => ⟨hgap_le, hgap_native, hamp k, hF k, hG k, hint k, ?_, hmask k⟩⟩ |
| 588 | intro I y hy |
| 589 | refine ⟨(hgeo k I y hy).1, (hgeo k I y hy).2, ?_⟩ |
| 590 | change |PhysicalGraphBounds.etaCoordinate |
| 591 | (PhysicalGraphBounds.nativeGraph h I.1.val.1 y - (F.carrier k I.1).center)| ≤ r0 |
| 592 | rw [hcenter] |
| 593 | exact physical_native_width (g I.1) k h I.1.val.1 (F.gap I.1) (hgap I.1) |
| 594 | (hwidth I.1) y (hs k I _ hy) |
| 595 | |
| 596 | end NativeCells |
| 597 | |
| 598 | /-! ## Exact support and vector-valued consequences -/ |
| 599 | |
| 600 | theorem CopyFamily.sum_nonzero_term (f : CopyFamily H K) {a h r0 : ℝ} {w : SpaceTime} |
| 601 | (hw : f.sum a h r0 w ≠ 0) : ∃ I k, f.term a h r0 I k w ≠ 0 := by |
| 602 | classical |
| 603 | by_contra! hn |
| 604 | have hp : ∀ I, f.periodized a h r0 I w = 0 := by |
| 605 | intro I |
| 606 | simp only [CopyFamily.periodized, hn, tsum_zero] |
| 607 | exact hw (by simp only [CopyFamily.sum, hp, finsum_zero]) |
| 608 | |
| 609 | /-- A nonzero full sum has a genuine supported copy witness. This is the |
| 610 | primitive support statement needed for the shrinking physical annulus. -/ |
| 611 | theorem RegularFamily.sum_support (hr : RegularFamily f a b h r0 Z Δ) |
| 612 | {w : SpaceTime} (hw : w ∈ preterminal) (hn : f.sum a h r0 w ≠ 0) : |
| 613 | ∃ (I : WaveIndex H) (k : K), |
| 614 | f.amplitude k I (commonLift h I.1.val.1 (f.gap I.1) w) ≠ 0 ∧ |
| 615 | PhysicalGraphBounds.scaledRadial I.1.val.1 w ∈ PhysicalGraphBounds.annulus a b ∧ |
| 616 | physicalParams h w ∈ labelRegion (CoordinateAlgebra.D h) I.1.val := by |
| 617 | obtain ⟨I, k, hk⟩ := f.sum_nonzero_term hn |
| 618 | have ha := globalWave_ne_zero_amp hk |
| 619 | exact ⟨I, k, ha, ((hr.copy k).geometry_support I w ha).1, |
| 620 | (hr.copy k).term_support I w hw hk⟩ |
| 621 | |
| 622 | noncomputable def vectorSum (f : Fin 3 → CopyFamily H K) (a h r0 : ℝ) |
| 623 | (w : SpaceTime) : Space := ∑ i : Fin 3, realCoordinate i ((f i).sum a h r0 w) |
| 624 | |
| 625 | theorem vectorSum_smooth {f : Fin 3 → CopyFamily H K} |
| 626 | (hr : ∀ i, RegularFamily (f i) a b h r0 Z Δ) |
| 627 | (hc : ∀ i, SupportCells (f i)) (ha : 0 < a) (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 628 | ContDiffOn ℝ ∞ (vectorSum f a h r0) preterminal := by |
| 629 | apply ContDiffOn.sum |
| 630 | intro i _ |
| 631 | exact (realCoordinate i).contDiff.comp_contDiffOn ((hr i).sum_smooth (hc i) ha hh hh1) |
| 632 | |
| 633 | theorem vectorSum_jet_bound {f : Fin 3 → CopyFamily H K} |
| 634 | (hr : ∀ i, RegularFamily (f i) a b h r0 Z Δ) |
| 635 | (hc : ∀ i, SupportCells (f i)) (ha : 0 < a) (hh : 0 < h) (hh1 : h < 1 / 2) |
| 636 | {w : SpaceTime} (hw : w ∈ preterminal) (m : ℕ) {B : ℝ} |
| 637 | (hb : ∀ i, ‖iteratedFDeriv ℝ m ((f i).sum a h r0) w‖ ≤ B) : |
| 638 | ‖iteratedFDeriv ℝ m (vectorSum f a h r0) w‖ ≤ 3 * B := by |
| 639 | have hs i : ContDiffAt ℝ ∞ ((f i).sum a h r0) w := |
| 640 | ((hr i).sum_smooth (hc i) ha hh hh1).contDiffAt (preterminal_open.mem_nhds hw) |
| 641 | unfold vectorSum |
| 642 | rw [iteratedFDeriv_finset_sum_at (f := fun i y => realCoordinate i ((f i).sum a h r0 y)) Finset.univ |
| 643 | (fun i _ => ((realCoordinate i).contDiff.contDiffAt.comp w (hs i)).of_le |
| 644 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m))] |
| 645 | calc |
| 646 | _ ≤ ∑ i : Fin 3, ‖iteratedFDeriv ℝ m (fun y => realCoordinate i ((f i).sum a h r0 y)) w‖ := |
| 647 | norm_sum_le _ _ |
| 648 | _ ≤ ∑ _i : Fin 3, B := by |
| 649 | apply Finset.sum_le_sum |
| 650 | intro i _ |
| 651 | exact (norm_jet_linear_comp_at ((hs i).of_le |
| 652 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m)) (realCoordinate i)).trans |
| 653 | ((mul_le_of_le_one_left (norm_nonneg _) (norm_realCoordinate_le i)).trans (hb i)) |
| 654 | _ = 3 * B := by simp |
| 655 | |
| 656 | /-- Uniform scalar input bounds give the actual real three-component |
| 657 | physical estimate with the same loss exponent. -/ |
| 658 | theorem physical_vector_sum_jet_bound {h a b Z r0 P B eBase : ℝ} |
| 659 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) |
| 660 | (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) (hP : 1 ≤ P) (hB : 1 ≤ B) (heBase : 0 ≤ eBase) |
| 661 | (H Δ m : ℕ) (g eAmp A : ℝ) (hA : 0 ≤ A) : |
| 662 | ∃ C : ℝ, 0 ≤ C ∧ ∀ f : Fin 3 → CopyFamily H K, |
| 663 | (∀ i, RegularFamily (f i) a b h r0 Z Δ) → ∀ hc : ∀ i, SupportCells (f i), |
| 664 | (∀ i, LocalStrippedClass (f i) (hc i) a b h r0 P A B g eAmp eBase m) → |
| 665 | ∀ w : SpaceTime, w ∈ preterminal → |w.1| ≤ 1 → |
| 666 | ‖iteratedFDeriv ℝ m (vectorSum f a h r0) w‖ ≤ |
| 667 | C * physicalQ h w ^ (g - PhysicalGraphBounds.waveLoss h m) := by |
| 668 | obtain ⟨C, hC, hb⟩ := physical_sum_jet_bound (K := K) (b := b) |
| 669 | hh hh1 ha hZ hr0 hP hB heBase H Δ m g eAmp A hA |
| 670 | refine ⟨3 * C, by positivity, ?_⟩ |
| 671 | intro f hr hc hclass w hw ht |
| 672 | exact (vectorSum_jet_bound hr hc ha hh hh1 hw m |
| 673 | (fun i => hb (f i) (hr i) (hc i) (hclass i) w hw ht)).trans_eq (by ring) |
| 674 | |
| 675 | section WeightedVector |
| 676 | |
| 677 | open WeightedClasses |
| 678 | |
| 679 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {ι : Type*} |
| 680 | |
| 681 | theorem physical_vector_sum_jet_bound_of_weighted {s : StripData D} {α σ P : ℝ} |
| 682 | {w : ι → ℕ → D → ℝ} {source : ι → ℕ → D → ℂ} |
| 683 | (hs : PhysicalClassBounds.SourceBounds s h α w source) {f : Fin 3 → CopyFamily H K} |
| 684 | (hc : ∀ i, SupportCells (f i)) |
| 685 | (hchart : ∀ i, CommonChart (f i) (hc i) a b h σ source) |
| 686 | (hb : ∀ i, CarrierBounds (f i) (hc i) a b h r0) |
| 687 | (hr : ∀ i, RegularFamily (f i) a b h r0 Z Δ) |
| 688 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) |
| 689 | (hP : 1 ≤ P) (hp : ∀ i k L, |((f i).carrier k L).angular| ≤ P ∧ |
| 690 | |((f i).carrier k L).axial| ≤ P ∧ |((f i).carrier k L).radial| ≤ P) (m : ℕ) : |
| 691 | ∃ C : ℝ, 0 ≤ C ∧ ∀ z : SpaceTime, |
| 692 | z ∈ preterminal → |z.1| ≤ 1 → |
| 693 | ‖iteratedFDeriv ℝ m (vectorSum f a h r0) z‖ ≤ |
| 694 | C * physicalQ h z ^ (h * α - PhysicalClassBounds.physicalLoss h σ m) := by |
| 695 | classical |
| 696 | have hbnd := fun i => physical_sum_jet_bound_of_weighted hs (hchart i) (hb i) (hr i) |
| 697 | hh hh1 ha hZ hr0 hP (hp i) m |
| 698 | choose C hC hbound using hbnd |
| 699 | refine ⟨3 * ∑ i : Fin 3, C i, |
| 700 | mul_nonneg (by norm_num) (Finset.sum_nonneg (fun i _ => hC i)), ?_⟩ |
| 701 | intro z hz ht |
| 702 | have hq := physicalQ_pos hh hh1 hz |
| 703 | have hi (i : Fin 3) : C i ≤ ∑ j : Fin 3, C j := |
| 704 | Finset.single_le_sum (fun j _ => hC j) (Finset.mem_univ i) |
| 705 | have he := vectorSum_jet_bound hr hc ha hh hh1 hz m |
| 706 | (B := (∑ i : Fin 3, C i) * physicalQ h z ^ (h * α - PhysicalClassBounds.physicalLoss h σ m)) |
| 707 | (fun i => (hbound i z hz ht).trans |
| 708 | (mul_le_mul_of_nonneg_right (hi i) (Real.rpow_pos_of_pos hq _).le)) |
| 709 | exact he.trans_eq (by ring) |
| 710 | |
| 711 | end WeightedVector |
| 712 | |
| 713 | end NavierStokes.PhysicalCopyBounds |