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.ActualCurrentParticularBounds |
| 2 | import NavierStokes.SharpCommonGraphJets |
| 3 | import NavierStokes.SharpGeometricModeJets |
| 4 | |
| 5 | noncomputable section |
| 6 | namespace NavierStokes.SharpCurrentPhysicalPhase |
| 7 | open Set Function Filter ProblemStatement CorrectionInitialization |
| 8 | open PhysicalGraphBounds PhysicalWaveSum LocalPhysicalCopyBounds |
| 9 | open scoped ContDiff Topology |
| 10 | |
| 11 | abbrev Label (B N0 : ℕ) := ActualPrimaryBounds.SignedLabel B N0 |
| 12 | abbrev Native := ActualParticularBackground.Native |
| 13 | |
| 14 | abbrev h : ℝ := ActualPrimary.h |
| 15 | |
| 16 | noncomputable def nativeMap (a : ℝ) (c : PolarCharts.Index) (n d : ℕ) : SpaceTime → Native := |
| 17 | CurrentPhysicalChartJets.chartMap a c ∘ commonLift h n d |
| 18 | |
| 19 | noncomputable def fullMap (a : ℝ) (c : PolarCharts.Index) (n d : ℕ) : |
| 20 | SpaceTime → ActualPrimary.FullPoint := ActualParticularBackground.nativeToFull ∘ nativeMap a c n d |
| 21 | |
| 22 | theorem fullMap_angle (a : ℝ) (c : PolarCharts.Index) (n d : ℕ) (w : SpaceTime) : |
| 23 | (fullMap a c n d w).2 = (PolarCharts.chart a c (scaledRadial n w)).2 := by |
| 24 | change (PolarCharts.chart a c (liftXY (commonLift h n d w))).2 = _ |
| 25 | rw [CurrentPhysicalModeGerms.liftXY_common] |
| 26 | |
| 27 | theorem slot_axial (l : Label B N0) (a : ℝ) (c : PolarCharts.Index) (n d : ℕ) (w : SpaceTime) : |
| 28 | ActualPhaseJetBounds.nativeZ (ActualPrimaryBounds.slotLinear l n (fullMap a c n d w)) = |
| 29 | ChartScales.Q (BaseChartJets.cellBand l.2) ^ (-CoordinateAlgebra.D h) * w.2 2 := by |
| 30 | change PhysicalParticularWave.ratioPower (ChartScales.Q n) |
| 31 | (ChartScales.Q (BaseChartJets.cellBand l.2)) (CoordinateAlgebra.D h) * |
| 32 | (ChartScales.Q n ^ (-CoordinateAlgebra.D h) * w.2 2 + 0) = _ |
| 33 | rw [add_zero, ← mul_assoc, PhysicalParticularWave.ratioPower_cancel |
| 34 | (ChartScales.Q_pos n) (ChartScales.Q_pos _)] |
| 35 | |
| 36 | theorem phaseLinear_physical (l : Label B N0) (a : ℝ) (c : PolarCharts.Index) |
| 37 | (n d : ℕ) (w : SpaceTime) : |
| 38 | ActualPhaseJetBounds.phaseLinear l n (fullMap a c n d w) = |
| 39 | (ActualPrimary.phases B N0 l.1).phase.p l.2 * (PolarCharts.chart a c (scaledRadial n w)).2 + |
| 40 | (ActualPrimary.phases B N0 l.1).phase.pz l.2 * |
| 41 | ChartScales.Q (BaseChartJets.cellBand l.2) ^ (-(1 / 2 : ℝ)) * w.2 2 := by |
| 42 | simp only [ActualPhaseJetBounds.phaseLinear, _root_.add_apply, _root_.smul_apply, |
| 43 | ContinuousLinearMap.coe_snd', ContinuousLinearMap.comp_apply, smul_eq_mul, |
| 44 | fullMap_angle, slot_axial] |
| 45 | congr 1 |
| 46 | rw [div_eq_mul_inv, mul_assoc, ← mul_assoc |
| 47 | (ChartScales.epsilon ActualPrimary.h (BaseChartJets.cellBand l.2))⁻¹] |
| 48 | change _ * (((ChartScales.epsilon h _)⁻¹ * ChartScales.Q _ ^ (-CoordinateAlgebra.D h)) * _) = _ |
| 49 | rw [SharpPhysicalPhase.axial_scale] |
| 50 | ring |
| 51 | |
| 52 | theorem power_window (l : Label B N0) {n : ℕ} (hn : ActualPrimaryBounds.near l n) (s : ℝ) : |
| 53 | ChartScales.Q (BaseChartJets.cellBand l.2) ^ s ≤ |
| 54 | ActualSignedGeometry.powerBound (-s) * ChartScales.Q n ^ s := by |
| 55 | apply (div_le_iff₀ (Real.rpow_pos_of_pos (ChartScales.Q_pos n) s)).mp |
| 56 | have he := PhysicalParticularWave.ratioPower_neg_div (ChartScales.Q_pos n) |
| 57 | (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (-s) |
| 58 | simp only [neg_neg] at he |
| 59 | rw [he] |
| 60 | exact ActualSignedGeometry.dyadic_ratioPower_le |
| 61 | (ActualPrimaryBounds.near_distance hn).1 (ActualPrimaryBounds.near_distance hn).2 (-s) |
| 62 | |
| 63 | |
| 64 | private theorem nat_le_infty (k : ℕ) : (k : WithTop ℕ∞) ≤ ∞ := |
| 65 | WithTop.coe_le_coe.mpr le_top |
| 66 | |
| 67 | theorem smoothNear_comp {E F G : Type*} |
| 68 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 69 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 70 | {f : F → G} {g : E → F} {x : E} (hf : SmoothNear f (g x)) (hg : SmoothNear g x) : |
| 71 | SmoothNear (f ∘ g) x := by |
| 72 | obtain ⟨V,hV,hgx,hf⟩ := hf |
| 73 | obtain ⟨U,hU,hx,hg⟩ := hg |
| 74 | obtain ⟨W,hWV,hW,hxW⟩ := mem_nhds_iff.mp |
| 75 | ((hg.contDiffAt (hU.mem_nhds hx)).continuousAt.preimage_mem_nhds (hV.mem_nhds hgx)) |
| 76 | refine ⟨U ∩ W,hU.inter hW,⟨hx,hxW⟩,?_⟩ |
| 77 | exact hf.comp (hg.mono inter_subset_left) (fun y hy => hWV hy.2) |
| 78 | |
| 79 | theorem nativeMap_smoothNear {a : ℝ} (ha : 0 < a) (c : PolarCharts.Index) (n d : ℕ) |
| 80 | {w : SpaceTime} (hw : radialProjection w ≠ 0) : SmoothNear (nativeMap a c n d) w := by |
| 81 | let U : Set SpaceTime := {w | radialProjection w ≠ 0} |
| 82 | have hU : IsOpen U := axisFree_open.preimage radialProjection.continuous |
| 83 | refine ⟨U,hU,hw,?_⟩ |
| 84 | exact (CurrentPhysicalChartJets.chartMap_smooth ha c).comp_contDiffOn |
| 85 | ((downLift d).contDiff.comp_contDiffOn (physicalLift_smooth h n)) |
| 86 | |
| 87 | theorem fullMap_smoothNear {a : ℝ} (ha : 0 < a) (c : PolarCharts.Index) (n d : ℕ) |
| 88 | {w : SpaceTime} (hw : radialProjection w ≠ 0) : SmoothNear (fullMap a c n d) w := by |
| 89 | obtain ⟨U,hU,hx,hs⟩ := nativeMap_smoothNear ha c n d hw |
| 90 | exact ⟨U,hU,hx,ActualParticularBackground.nativeToFull.toContinuousLinearEquiv.contDiff.comp_contDiffOn hs⟩ |
| 91 | |
| 92 | theorem native_jets {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 93 | {a b : ℝ} (ha : 0 < a) (Δ m : ℕ) : |
| 94 | ∃ C : ℝ, 1 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → ∀ w : SpaceTime, |
| 95 | scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → ∀ c : PolarCharts.Index, |
| 96 | ∀ f : Native → E, SmoothNear f (nativeMap a c n d w) → ∀ A : ℝ, 0 ≤ A → |
| 97 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i f (nativeMap a c n d w)‖ ≤ A) → |
| 98 | ∀ k ≤ m, ‖iteratedFDeriv ℝ k (f ∘ nativeMap a c n d) w‖ ≤ |
| 99 | C*A*ChartScales.Q n^(-(k:ℝ)*(1+h)) := by |
| 100 | obtain ⟨M,hM,hm⟩ := CurrentPhysicalChartJets.composition_jets (E := E) (b := b) ha m |
| 101 | obtain ⟨C,hC,hc⟩ := SharpCommonGraphJets.common_jets (E := E) (b := b) |
| 102 | ActualPrimary.outgoing.data.h_pos.le ha Δ m |
| 103 | refine ⟨C*M,one_le_mul_of_one_le_of_one_le hC hM,?_⟩ |
| 104 | intro n hn d hd w hw ht c f hf A hA hfb k hk |
| 105 | exact (hc n hn d hd w hw ht (f ∘ CurrentPhysicalChartJets.chartMap a c) |
| 106 | (CurrentPhysicalChartJets.composition_smoothNear ha hf) (M*A) (by positivity) |
| 107 | (hm c _ (PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hw) |
| 108 | f hf A hA hfb) k hk).trans_eq (by dsimp [h, ActualPrimary.h]; ring) |
| 109 | |
| 110 | theorem full_jets {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 111 | {a b : ℝ} (ha : 0 < a) (Δ m : ℕ) : |
| 112 | ∃ C : ℝ, 1 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → ∀ w : SpaceTime, |
| 113 | scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → ∀ c : PolarCharts.Index, |
| 114 | ∀ f : ActualPrimary.FullPoint → E, SmoothNear f (fullMap a c n d w) → ∀ A : ℝ, 0 ≤ A → |
| 115 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i f (fullMap a c n d w)‖ ≤ A) → |
| 116 | ∀ k ≤ m, ‖iteratedFDeriv ℝ k (f ∘ fullMap a c n d) w‖ ≤ |
| 117 | C*A*ChartScales.Q n^(-(k:ℝ)*(1+h)) := by |
| 118 | obtain ⟨C,hC,hc⟩ := native_jets (E := E) (b := b) ha Δ m |
| 119 | refine ⟨C,hC,?_⟩ |
| 120 | intro n hn d hd w hw ht c f hf A hA hfb k hk |
| 121 | have he : SmoothNear (f ∘ ActualParticularBackground.nativeToFull) (nativeMap a c n d w) := by |
| 122 | obtain ⟨U,hU,hx,hs⟩ := hf |
| 123 | exact ⟨_,hU.preimage ActualParticularBackground.nativeToFull.continuous,hx, |
| 124 | hs.comp ActualParticularBackground.nativeToFull.toContinuousLinearEquiv.contDiff.contDiffOn |
| 125 | (fun _ hy => hy)⟩ |
| 126 | apply hc n hn d hd w hw ht c (f ∘ ActualParticularBackground.nativeToFull) he A hA _ k hk |
| 127 | intro i hi |
| 128 | rw [show f ∘ ActualParticularBackground.nativeToFull = |
| 129 | fun z => f (ActualParticularBackground.nativeToFull z) from rfl, |
| 130 | StateReindex.norm_iteratedFDeriv_pull] |
| 131 | exact hfb i hi |
| 132 | |
| 133 | noncomputable def remainder (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) |
| 134 | (x : ActualPrimary.FullPoint) : ℝ := ActualPhaseJetBounds.nativeRemainder i.1 |
| 135 | ((ActualPrimaryBounds.fullCopy i.1 n i.2 x).1,(ActualPrimaryBounds.fullCopy i.1 n i.2 x).2.2) |
| 136 | |
| 137 | theorem remainder_smoothNear {n : ℕ} {i : ActualPhaseJetBounds.CopyIndex B N0} |
| 138 | {x : ActualPrimary.FullPoint} (hx : x ∈ ActualPhaseJetBounds.phaseCell n i) : |
| 139 | SmoothNear (remainder n i) x := by |
| 140 | let g : ActualPrimary.FullPoint → PhaseCalculus.Slow × ℝ := fun y => |
| 141 | ActualPrimaryBounds.slotLinear i.1 n y + |
| 142 | ActualPrimaryBounds.slotOfNative (ActualPrimaryBounds.copyPoint i.1 n i.2 0) |
| 143 | have hg : ContDiff ℝ ∞ g := (ActualPrimaryBounds.slotLinear i.1 n).contDiff.add contDiff_const |
| 144 | have hxg : g x ∈ ActualPhaseJetBounds.jetDomain.carrier i.1 := by |
| 145 | simpa only [g, ← ActualPrimaryBounds.slotCopy_affine] using ActualPhaseJetBounds.phaseCell_maps hx |
| 146 | refine ⟨g ⁻¹' ActualPhaseJetBounds.jetDomain.carrier i.1, |
| 147 | (ActualPhaseJetBounds.jetDomain.isOpen i.1).preimage hg.continuous,hxg,?_⟩ |
| 148 | have hb := (ActualPhaseJetBounds.nativeRemainder_polynomial.smooth i.1).comp |
| 149 | hg.contDiffOn (fun _ hy => hy) |
| 150 | change ContDiffOn ℝ ∞ (remainder n i) (g ⁻¹' ActualPhaseJetBounds.jetDomain.carrier i.1) |
| 151 | apply hb.congr |
| 152 | intro y _ |
| 153 | dsimp [remainder, Function.comp_def, g] |
| 154 | rw [← ActualPrimaryBounds.slotCopy_affine] |
| 155 | |
| 156 | theorem localPhase_physical (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) |
| 157 | (a : ℝ) (c : PolarCharts.Index) (d : ℕ) (w : SpaceTime) : |
| 158 | ActualPhaseJetBounds.localPhase n i (fullMap a c n d w) = |
| 159 | (ActualPrimary.phases B N0 i.1.1).phase.p i.1.2 * |
| 160 | (PolarCharts.chart a c (scaledRadial n w)).2 + |
| 161 | ((ActualPrimary.phases B N0 i.1.1).phase.pz i.1.2 * |
| 162 | ChartScales.Q (BaseChartJets.cellBand i.1.2)^(-(1/2:ℝ))*w.2 2 + |
| 163 | ActualPhaseJetBounds.phaseOffset n i) + remainder n i (fullMap a c n d w) := by |
| 164 | rw [ActualPhaseJetBounds.localPhase_decomposition,phaseLinear_physical] |
| 165 | dsimp [remainder] |
| 166 | ring |
| 167 | |
| 168 | theorem localPhase_positive_jets {a b : ℝ} (ha : 0 < a) (Δ m : ℕ) : |
| 169 | ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 170 | ∀ c : PolarCharts.Index, ∀ i : ActualPhaseJetBounds.CopyIndex B N0, ∀ w : SpaceTime, |
| 171 | scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → |
| 172 | fullMap a c n d w ∈ ActualPhaseJetBounds.phaseCell n i → |
| 173 | ∀ k, 1 ≤ k → k ≤ m → |
| 174 | ‖iteratedFDeriv ℝ k (ActualPhaseJetBounds.localPhase n i ∘ fullMap a c n d) w‖ ≤ |
| 175 | C*ChartScales.S n^p*ChartScales.Q n^(-(k:ℝ)*(1+h)) := by |
| 176 | obtain ⟨K,hK,hpolar⟩ := PolarCharts.chart_finiteJets_uniform ha b m |
| 177 | obtain ⟨R,hR,p,hr⟩ := ActualPhaseJetBounds.polynomial_copy_bound |
| 178 | (ActualPhaseJetBounds.nativeRemainder_polynomial (B := B) (N0 := N0)) m |
| 179 | obtain ⟨D,hD,hd⟩ := full_jets (E := ℝ) (b := b) ha Δ m |
| 180 | let M := ActualPhaseJetBounds.phaseSize B N0 |
| 181 | let W := ActualSignedGeometry.powerBound (1/2) |
| 182 | have hM : 1 ≤ M := ActualPhaseJetBounds.one_le_phaseSize |
| 183 | have hW : 1 ≤ W := ActualSignedGeometry.powerBound_one _ |
| 184 | let C := M*K+M*W+D*R |
| 185 | have hC : 1 ≤ C := by |
| 186 | have hMK := one_le_mul_of_one_le_of_one_le hM hK |
| 187 | have hMW := one_le_mul_of_one_le_of_one_le hM hW |
| 188 | have hDR := one_le_mul_of_one_le_of_one_le hD hR |
| 189 | dsimp [C] |
| 190 | linarith |
| 191 | refine ⟨C,hC,p,?_⟩ |
| 192 | intro n hn d hd' c i w hw ht hi k hk hkm |
| 193 | have hQ := ChartScales.Q_pos n |
| 194 | have hS := PhysicalGraphBounds.S_ge_one (show 1 ≤ n by omega) |
| 195 | have hSp : 1 ≤ ChartScales.S n^p := one_le_pow₀ hS |
| 196 | have haxis := scaledRadial_ne_zero (annulus_axisFree ha hw) |
| 197 | have hfull := fullMap_smoothNear ha c n d haxis |
| 198 | have hrnear := smoothNear_comp (remainder_smoothNear hi) hfull |
| 199 | have hpolars := (PolarCharts.chart_contDiff ha c).comp (scaledRadial n).contDiff |
| 200 | have hangle : ‖iteratedFDeriv ℝ k |
| 201 | (fun y => (ActualPrimary.phases B N0 i.1.1).phase.p i.1.2 * |
| 202 | (PolarCharts.chart a c (scaledRadial n y)).2) w‖ ≤ |
| 203 | M*K*ChartScales.Q n^(-(k:ℝ)*(1+h)) := by |
| 204 | have hangleSmooth : ContDiff ℝ ∞ |
| 205 | (fun y => (PolarCharts.chart a c (scaledRadial n y)).2) := hpolars.snd |
| 206 | rw [norm_jet_const_mul hangleSmooth w ((ActualPrimary.phases B N0 i.1.1).phase.p i.1.2) k] |
| 207 | have hp := SharpPhysicalPhase.polarMap_jets (PolarCharts.chart_contDiff ha c) |
| 208 | ActualPrimary.outgoing.data.h_pos.le (zero_le_one.trans hK) n m w |
| 209 | (fun j hj => hpolar c j hj _ hw.1) k hkm |
| 210 | have hs := norm_jet_linear_comp hpolars (ContinuousLinearMap.snd ℝ ℝ ℝ) w k |
| 211 | have hs' := hs.trans ((mul_le_mul (norm_sndCLM_le ℝ ℝ) hp (norm_nonneg _) zero_le_one).trans_eq (one_mul _)) |
| 212 | have hb := mul_le_mul (ActualPhaseJetBounds.phase_constants_bound i.1).1 hs' |
| 213 | (norm_nonneg _) (zero_le_one.trans hM) |
| 214 | apply hb.trans_eq |
| 215 | rw [← Real.rpow_mul_natCast hQ.le] |
| 216 | rw [show -(1+ActualPrimary.h)*(k:ℝ) = -(k:ℝ)*(1+h) by dsimp [h]; ring] |
| 217 | ring |
| 218 | let L : SpaceTime →L[ℝ] ℝ := |
| 219 | ((ActualPrimary.phases B N0 i.1.1).phase.pz i.1.2 * |
| 220 | ChartScales.Q (BaseChartJets.cellBand i.1.2)^(-(1/2:ℝ))) • coordinateProjection 2 |
| 221 | have hlin : ‖iteratedFDeriv ℝ k (fun y => L y+ActualPhaseJetBounds.phaseOffset n i) w‖ ≤ |
| 222 | M*W*ChartScales.Q n^(-(k:ℝ)*(1+h)) := by |
| 223 | apply (ActualPhaseJetBounds.norm_positive_jet_affine L _ w hk).trans |
| 224 | have hL : ‖L‖ ≤ M*ChartScales.Q (BaseChartJets.cellBand i.1.2)^(-(1/2:ℝ)) := by |
| 225 | dsimp [L] |
| 226 | rw [norm_smul ((ActualPrimary.phases B N0 i.1.1).phase.pz i.1.2 * |
| 227 | ChartScales.Q (BaseChartJets.cellBand i.1.2)^(-(1/2:ℝ)) : ℝ) (coordinateProjection 2)] |
| 228 | rw [Real.norm_eq_abs,abs_mul,abs_of_pos (Real.rpow_pos_of_pos (ChartScales.Q_pos _) _)] |
| 229 | exact (mul_le_mul (mul_le_mul_of_nonneg_right |
| 230 | (ActualPhaseJetBounds.phase_constants_bound i.1).2.1 (Real.rpow_pos_of_pos (ChartScales.Q_pos _) _).le) |
| 231 | ((show ‖coordinateProjection 2‖ ≤ 1 from by |
| 232 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 233 | intro v |
| 234 | exact (PiLp.norm_apply_le v.2 2).trans (by simpa only [one_mul] using norm_snd_le v))) (norm_nonneg _) (mul_nonneg (zero_le_one.trans hM) (Real.rpow_pos_of_pos (ChartScales.Q_pos _) _).le)).trans_eq (mul_one _) |
| 235 | apply hL.trans |
| 236 | calc |
| 237 | _ ≤ M*(W*ChartScales.Q n^(-(1/2:ℝ))) := |
| 238 | mul_le_mul_of_nonneg_left |
| 239 | (by simpa only [neg_neg, W] using power_window i.1 hi.1 (-(1/2))) (zero_le_one.trans hM) |
| 240 | _ ≤ M*(W*ChartScales.Q n^(-(k:ℝ)*(1+h))) := by |
| 241 | apply mul_le_mul_of_nonneg_left _ (zero_le_one.trans hM) |
| 242 | apply mul_le_mul_of_nonneg_left _ (zero_le_one.trans hW) |
| 243 | apply Real.rpow_le_rpow_of_exponent_ge hQ (ChartScales.Q_le_one n) |
| 244 | have hk' : (1:ℝ) ≤ k := by exact_mod_cast hk |
| 245 | have hh : 0 ≤ h := ActualPrimary.outgoing.data.h_pos.le |
| 246 | nlinarith |
| 247 | _ = _ := by ring |
| 248 | have hrem := hd n hn d hd' w hw ht c (remainder n i) (remainder_smoothNear hi) |
| 249 | (R*ChartScales.S n^p) (by positivity) (hr n i _ hi) k hkm |
| 250 | have he : ActualPhaseJetBounds.localPhase n i ∘ fullMap a c n d = fun y => |
| 251 | (ActualPrimary.phases B N0 i.1.1).phase.p i.1.2 * |
| 252 | (PolarCharts.chart a c (scaledRadial n y)).2 + |
| 253 | (L y + ActualPhaseJetBounds.phaseOffset n i) + remainder n i (fullMap a c n d y) := |
| 254 | funext (localPhase_physical n i a c d) |
| 255 | have hangleSmooth : ContDiffAt ℝ k (fun y => |
| 256 | (ActualPrimary.phases B N0 i.1.1).phase.p i.1.2 * |
| 257 | (PolarCharts.chart a c (scaledRadial n y)).2) w := |
| 258 | ((contDiff_const.mul hpolars.snd).contDiffAt).of_le (nat_le_infty k) |
| 259 | have hlinearSmooth : ContDiffAt ℝ k (fun y => L y + ActualPhaseJetBounds.phaseOffset n i) w := |
| 260 | ((L.contDiff.add contDiff_const).contDiffAt).of_le (nat_le_infty k) |
| 261 | have hremSmooth : ContDiffAt ℝ k (fun y => remainder n i (fullMap a c n d y)) w := |
| 262 | hrnear.contDiffAt.of_le (nat_le_infty k) |
| 263 | rw [he, fun_iteratedFDeriv_add_apply (hangleSmooth.add hlinearSmooth) hremSmooth, |
| 264 | fun_iteratedFDeriv_add_apply hangleSmooth hlinearSmooth] |
| 265 | apply (norm_add_le _ _).trans |
| 266 | apply (add_le_add (norm_add_le _ _) (le_refl _)).trans |
| 267 | calc |
| 268 | _ ≤ M*K*ChartScales.Q n^(-(k:ℝ)*(1+h)) + M*W*ChartScales.Q n^(-(k:ℝ)*(1+h)) + |
| 269 | D*(R*ChartScales.S n^p)*ChartScales.Q n^(-(k:ℝ)*(1+h)) := |
| 270 | add_le_add (add_le_add hangle hlin) hrem |
| 271 | _ ≤ (M*K*ChartScales.S n^p)*ChartScales.Q n^(-(k:ℝ)*(1+h)) + |
| 272 | (M*W*ChartScales.S n^p)*ChartScales.Q n^(-(k:ℝ)*(1+h)) + |
| 273 | D*(R*ChartScales.S n^p)*ChartScales.Q n^(-(k:ℝ)*(1+h)) := by |
| 274 | apply add_le_add _ (le_refl _) |
| 275 | apply add_le_add |
| 276 | · exact mul_le_mul_of_nonneg_right |
| 277 | (le_mul_of_one_le_right (by positivity : 0 ≤ M*K) hSp) (by positivity) |
| 278 | · exact mul_le_mul_of_nonneg_right |
| 279 | (le_mul_of_one_le_right (by positivity : 0 ≤ M*W) hSp) (by positivity) |
| 280 | _ = _ := by dsimp [C]; ring |
| 281 | |
| 282 | |
| 283 | theorem weightedPhase_positive_jets {a b : ℝ} (ha : 0 < a) (Δ m : ℕ) : |
| 284 | ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 285 | ∀ c : PolarCharts.Index, ∀ i : ActualPhaseJetBounds.CopyIndex B N0, ∀ w : SpaceTime, |
| 286 | scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → |
| 287 | fullMap a c n d w ∈ ActualPhaseJetBounds.phaseCell n i → |
| 288 | ∀ k, 1 ≤ k → k ≤ m → |
| 289 | ‖iteratedFDeriv ℝ k (ActualCurrentCarrierJets.weightedPhase i.1 n ∘ nativeMap a c n d) w‖ ≤ |
| 290 | C*ChartScales.S n^p*ChartScales.Q n^(-(k:ℝ)*SharpPhysicalCarrier.derivativeCost h) := by |
| 291 | obtain ⟨L,hL,p,hl⟩ := localPhase_positive_jets (B := B) (N0 := N0) (b := b) ha Δ m |
| 292 | let W := ActualSignedGeometry.powerBound (h/2) |
| 293 | have hW : 1 ≤ W := ActualSignedGeometry.powerBound_one _ |
| 294 | have hh : 0 ≤ h := ActualPrimary.outgoing.data.h_pos.le |
| 295 | refine ⟨2*W*L,one_le_mul_of_one_le_of_one_le |
| 296 | (one_le_mul_of_one_le_of_one_le (by norm_num) hW) hL,p,?_⟩ |
| 297 | intro n hn d hd c i w hw ht hi k hk hkm |
| 298 | have hQ := ChartScales.Q_pos n |
| 299 | have hS := PhysicalGraphBounds.S_ge_one (show 1 ≤ n by omega) |
| 300 | have haxis := scaledRadial_ne_zero (annulus_axisFree ha hw) |
| 301 | have hfull := fullMap_smoothNear ha c n d haxis |
| 302 | have he := (ActualPhaseJetBounds.weightedPhase_germ hi).comp_tendsto hfull.contDiffAt.continuousAt |
| 303 | change ‖iteratedFDeriv ℝ k (ActualPhaseJetBounds.weightedPhase i.1 n ∘ fullMap a c n d) w‖ ≤ _ |
| 304 | rw [iteratedFDeriv_eq_of_eventuallyEq he k] |
| 305 | have hlocal := (ActualPhaseJetBounds.localPhase_smooth hi).comp w hfull.contDiffAt |
| 306 | change ‖iteratedFDeriv ℝ k (fun y => |
| 307 | (ChartScales.carrier h (BaseChartJets.cellBand i.1.2):ℝ) • |
| 308 | (ActualPhaseJetBounds.localPhase n i ∘ fullMap a c n d) y) w‖ ≤ _ |
| 309 | rw [iteratedFDeriv_const_smul_apply' (hlocal.of_le (nat_le_infty k)), |
| 310 | norm_smul (ChartScales.carrier h (BaseChartJets.cellBand i.1.2):ℝ) |
| 311 | (iteratedFDeriv ℝ k (ActualPhaseJetBounds.localPhase n i ∘ fullMap a c n d) w), |
| 312 | Real.norm_of_nonneg (Nat.cast_nonneg _)] |
| 313 | have hcar : (ChartScales.carrier h (BaseChartJets.cellBand i.1.2):ℝ) ≤ |
| 314 | 2*W*ChartScales.Q n^(-h/2) := by |
| 315 | apply (carrier_upper hh _).trans |
| 316 | have hb := power_window i.1 hi.1 (-h/2) |
| 317 | have he : -(-h/2) = h/2 := by ring |
| 318 | rw [he] at hb |
| 319 | simpa only [mul_assoc] using mul_le_mul_of_nonneg_left hb (show (0:ℝ) ≤ 2 by norm_num) |
| 320 | calc |
| 321 | _ ≤ (2*W*ChartScales.Q n^(-h/2)) * |
| 322 | (L*ChartScales.S n^p*ChartScales.Q n^(-(k:ℝ)*(1+h))) := |
| 323 | mul_le_mul hcar (hl n hn d hd c i w hw ht hi k hk hkm) (norm_nonneg _) (by positivity) |
| 324 | _ = (2*W*L)*ChartScales.S n^p*ChartScales.Q n^(-h/2-(k:ℝ)*(1+h)) := by |
| 325 | rw [show (2*W*ChartScales.Q n^(-h/2)) * |
| 326 | (L*ChartScales.S n^p*ChartScales.Q n^(-(k:ℝ)*(1+h))) = |
| 327 | (2*W*L)*ChartScales.S n^p*(ChartScales.Q n^(-h/2)*ChartScales.Q n^(-(k:ℝ)*(1+h))) by ring, |
| 328 | ← Real.rpow_add hQ] |
| 329 | congr 2 |
| 330 | ring |
| 331 | _ ≤ _ := by |
| 332 | apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 333 | apply Real.rpow_le_rpow_of_exponent_ge hQ (ChartScales.Q_le_one n) |
| 334 | have hk' : (1:ℝ) ≤ k := by exact_mod_cast hk |
| 335 | unfold SharpPhysicalCarrier.derivativeCost |
| 336 | nlinarith |
| 337 | |
| 338 | theorem weightedPhase_smoothNear {a : ℝ} (ha : 0 < a) (c : PolarCharts.Index) (n d : ℕ) |
| 339 | {i : ActualPhaseJetBounds.CopyIndex B N0} {w : SpaceTime} (hw : radialProjection w ≠ 0) |
| 340 | (hi : fullMap a c n d w ∈ ActualPhaseJetBounds.phaseCell n i) : |
| 341 | SmoothNear (ActualCurrentCarrierJets.weightedPhase i.1 n ∘ nativeMap a c n d) w := by |
| 342 | change SmoothNear (ActualPhaseJetBounds.weightedPhase i.1 n ∘ fullMap a c n d) w |
| 343 | exact smoothNear_comp (ActualCurrentCarrierJets.full_weightedPhase_smoothNear hi) |
| 344 | (fullMap_smoothNear ha c n d hw) |
| 345 | |
| 346 | end NavierStokes.SharpCurrentPhysicalPhase |