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.PhysicalGraphBounds |
| 2 | import NavierStokes.SharpPhaseJetAlgebra |
| 3 | |
| 4 | /-! ## From `NavierStokes/SharpGraphBounds.lean` |
| 5 | |
| 6 | The text of `NavierStokes/SharpGraphBounds.lean`, folded into this file, which was its only importer. -/ |
| 7 | |
| 8 | section |
| 9 | |
| 10 | /-! |
| 11 | # Linear derivative loss for the physical graph |
| 12 | |
| 13 | The normalized radial coefficient costs only `Q^(-h κ)`, while a transverse |
| 14 | derivative costs `Q^(-1/2)`. Every positive order `k` of the actual physical |
| 15 | lift therefore costs at most `Q^(-k(1+h))`. Keeping the order in this bound |
| 16 | gives the manuscript's linear, rather than quadratic, graph restriction loss. |
| 17 | -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | namespace NavierStokes.SharpGraphBounds |
| 22 | |
| 23 | open Set Function |
| 24 | open ProblemStatement PhysicalGraphBounds |
| 25 | open scoped ContDiff Topology |
| 26 | |
| 27 | private theorem nat_le_infty (k : ℕ) : (k : WithTop ℕ∞) ≤ ∞ := |
| 28 | WithTop.coe_le_coe.mpr le_top |
| 29 | |
| 30 | theorem native_time_power_le {h : ℝ} (hh : 0 ≤ h) |
| 31 | {n : ℕ} (hn : 4 ≤ n) : |
| 32 | ChartScales.Tg ^ ChartScales.nativeIndex h n ≤ |
| 33 | ChartScales.Q n ^ (-(1 + h)) := by |
| 34 | calc |
| 35 | _ ≤ ChartScales.Q n ^ (-1 - h) / ChartScales.S n := |
| 36 | (ChartScales.native_power_bounds h hh hn).1 |
| 37 | _ ≤ ChartScales.Q n ^ (-1 - h) := div_le_self |
| 38 | (Real.rpow_nonneg (ChartScales.Q_pos n).le _) (S_ge_one (by omega)) |
| 39 | _ = _ := by congr 1; ring |
| 40 | |
| 41 | theorem native_radial_power_le {h : ℝ} (hh : 0 ≤ h) |
| 42 | {n : ℕ} (hn : 4 ≤ n) : |
| 43 | ChartScales.radialCoefficient h n ≤ ChartScales.Q n ^ (-h * ChartScales.kappa) := by |
| 44 | have hs : ChartScales.S n ^ (-ChartScales.rho) ≤ 1 := |
| 45 | Real.rpow_le_one_of_one_le_of_nonpos (S_ge_one (by omega)) |
| 46 | (neg_nonpos.mpr ChartScales.rho_pos.le) |
| 47 | calc |
| 48 | _ ≤ ChartScales.epsilon h n ^ (-ChartScales.kappa) * |
| 49 | ChartScales.S n ^ (-ChartScales.rho) := |
| 50 | (ChartScales.radialCoefficient_bounds h hh hn).2 |
| 51 | _ ≤ ChartScales.epsilon h n ^ (-ChartScales.kappa) := |
| 52 | mul_le_of_le_one_right (Real.rpow_nonneg (ChartScales.epsilon_pos h n).le _) hs |
| 53 | _ = _ := by |
| 54 | unfold ChartScales.epsilon |
| 55 | rw [← Real.rpow_mul (ChartScales.Q_pos n).le] |
| 56 | congr 1 |
| 57 | ring |
| 58 | |
| 59 | theorem nativeGraph_positive_jet_bound {h a b : ℝ} (hh : 0 ≤ h) (ha : 0 < a) |
| 60 | (m : ℕ) : ∃ C : ℝ, 1 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ p : SpaceTime, |
| 61 | scaledRadial n p ∈ annulus a b → |p.1| ≤ 1 → ∀ k, 1 ≤ k → k ≤ m → |
| 62 | ‖iteratedFDeriv ℝ k (nativeGraph h n) p‖ ≤ |
| 63 | C * ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) := by |
| 64 | obtain ⟨C, hC, hbound⟩ := compact_jet_bound axisFree_open |
| 65 | (contDiffOn_radialProfile (ChartScales.radialExponent h)) (isCompact_annulus a b) |
| 66 | (annulus_axisFree ha) m |
| 67 | refine ⟨C + ‖timeDirection‖, by linarith [norm_nonneg timeDirection], ?_⟩ |
| 68 | intro n hn p hp ht k hk hkm |
| 69 | have hq := ChartScales.Q_pos n |
| 70 | have hq1 := ChartScales.Q_le_one n |
| 71 | have hC0 : 0 ≤ C := by linarith |
| 72 | have hk' : (1 : ℝ) ≤ k := by exact_mod_cast hk |
| 73 | have haxis := annulus_axisFree ha hp |
| 74 | have hr : ContDiffAt ℝ k |
| 75 | (radialProfile (ChartScales.radialExponent h) ∘ scaledRadial n) p := |
| 76 | (((contDiffOn_radialProfile (ChartScales.radialExponent h)).contDiffAt |
| 77 | (axisFree_open.mem_nhds haxis)).comp p (scaledRadial n).contDiff.contDiffAt).of_le |
| 78 | (nat_le_infty k) |
| 79 | have he : nativeGraph h n = fun z => |
| 80 | ChartScales.radialCoefficient h n • |
| 81 | (radialProfile (ChartScales.radialExponent h) ∘ scaledRadial n) z + |
| 82 | ChartScales.Tg ^ ChartScales.nativeIndex h n • timeProfile z := by |
| 83 | funext z |
| 84 | exact nativeGraph_normalized h n z |
| 85 | rw [he, fun_iteratedFDeriv_add_apply (hr.const_smul _) |
| 86 | ((timeProfile.contDiff.contDiffAt (x := p)).const_smul _), |
| 87 | iteratedFDeriv_const_smul_apply' hr, |
| 88 | iteratedFDeriv_const_smul_apply' timeProfile.contDiff.contDiffAt] |
| 89 | apply (norm_add_le _ _).trans |
| 90 | have hrad : ‖ChartScales.radialCoefficient h n • |
| 91 | iteratedFDeriv ℝ k (radialProfile (ChartScales.radialExponent h) ∘ scaledRadial n) p‖ ≤ |
| 92 | C * ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) := by |
| 93 | rw [norm_smul, Real.norm_of_nonneg (ChartScales.radialCoefficient_pos h n).le] |
| 94 | have hj := norm_jet_comp_linear axisFree_open |
| 95 | (contDiffOn_radialProfile (ChartScales.radialExponent h)) (scaledRadial n) haxis k |
| 96 | have hl := pow_le_pow_left₀ (norm_nonneg (scaledRadial n)) (norm_scaledRadial_le n) k |
| 97 | have hfull := mul_le_mul_of_nonneg_left |
| 98 | (hj.trans (mul_le_mul (hbound k hkm _ hp) hl (by positivity) hC0)) |
| 99 | (ChartScales.radialCoefficient_pos h n).le |
| 100 | have hprod := hfull.trans (mul_le_mul_of_nonneg_right |
| 101 | (native_radial_power_le hh hn) (by positivity)) |
| 102 | have hpow : ChartScales.Q n ^ (-h * ChartScales.kappa) * |
| 103 | (C * (ChartScales.Q n ^ (-(1 / 2 : ℝ))) ^ k) = |
| 104 | C * ChartScales.Q n ^ (-h * ChartScales.kappa - (k : ℝ) / 2) := by |
| 105 | rw [← Real.rpow_mul_natCast hq.le, mul_left_comm, ← Real.rpow_add hq] |
| 106 | congr 2 |
| 107 | ring |
| 108 | rw [hpow] at hprod |
| 109 | apply hprod.trans |
| 110 | apply mul_le_mul_of_nonneg_left _ hC0 |
| 111 | apply Real.rpow_le_rpow_of_exponent_ge hq hq1 |
| 112 | have hkh : h ≤ (k : ℝ) * h := by nlinarith |
| 113 | unfold ChartScales.kappa |
| 114 | nlinarith |
| 115 | have htime : ‖ChartScales.Tg ^ ChartScales.nativeIndex h n • |
| 116 | iteratedFDeriv ℝ k timeProfile p‖ ≤ |
| 117 | ‖timeDirection‖ * ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) := by |
| 118 | rw [norm_smul, Real.norm_of_nonneg (pow_nonneg ChartScales.Tg_pos.le _)] |
| 119 | calc |
| 120 | _ ≤ ChartScales.Q n ^ (-(1 + h)) * ‖timeDirection‖ := |
| 121 | mul_le_mul (native_time_power_le hh hn) (timeProfile_jet_bound p ht k) |
| 122 | (norm_nonneg _) (Real.rpow_nonneg hq.le _) |
| 123 | _ ≤ ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) * ‖timeDirection‖ := |
| 124 | mul_le_mul_of_nonneg_right (Real.rpow_le_rpow_of_exponent_ge hq hq1 (by |
| 125 | nlinarith)) (norm_nonneg _) |
| 126 | _ = _ := mul_comm _ _ |
| 127 | calc |
| 128 | _ ≤ C * ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) + |
| 129 | ‖timeDirection‖ * ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) := add_le_add hrad htime |
| 130 | _ = _ := by ring |
| 131 | |
| 132 | theorem physicalLift_positive_jet_bound {h a b : ℝ} (hh : 0 ≤ h) (ha : 0 < a) |
| 133 | (m : ℕ) : ∃ C : ℝ, 1 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ p : SpaceTime, |
| 134 | scaledRadial n p ∈ annulus a b → |p.1| ≤ 1 → ∀ k, 1 ≤ k → k ≤ m → |
| 135 | ‖iteratedFDeriv ℝ k (physicalLift h n) p‖ ≤ |
| 136 | C * ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) := by |
| 137 | obtain ⟨C, hC, hbound⟩ := nativeGraph_positive_jet_bound hh ha m |
| 138 | refine ⟨C, hC, ?_⟩ |
| 139 | intro n hn p hp ht k hk hkm |
| 140 | have haxis := scaledRadial_ne_zero (annulus_axisFree ha hp) |
| 141 | change ‖iteratedFDeriv ℝ k (fun z => (physicalChart h n z, nativeGraph h n z)) p‖ ≤ _ |
| 142 | rw [iteratedFDeriv_pair |
| 143 | ((physicalChart_smooth h n).contDiffAt.of_le (nat_le_infty k)) |
| 144 | ((contDiffAt_nativeGraph h n haxis).of_le (nat_le_infty k)), |
| 145 | ContinuousMultilinearMap.opNorm_prod] |
| 146 | apply max_le |
| 147 | · calc |
| 148 | _ ≤ ChartScales.Q n ^ (-1 : ℝ) := physicalChart_jet_bound hh n p hk |
| 149 | _ ≤ ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) := |
| 150 | Real.rpow_le_rpow_of_exponent_ge (ChartScales.Q_pos n) (ChartScales.Q_le_one n) (by |
| 151 | have hk' : (1 : ℝ) ≤ k := by exact_mod_cast hk |
| 152 | nlinarith) |
| 153 | _ ≤ C * ChartScales.Q n ^ (-(k : ℝ) * (1 + h)) := |
| 154 | le_mul_of_one_le_left (Real.rpow_nonneg (ChartScales.Q_pos n).le _) hC |
| 155 | · exact hbound n hn p hp ht k hk hkm |
| 156 | |
| 157 | end NavierStokes.SharpGraphBounds |
| 158 | end |
| 159 | |
| 160 | end |
| 161 | |
| 162 | noncomputable section |
| 163 | namespace NavierStokes.SharpPhysicalPhase |
| 164 | open Set Function |
| 165 | open ProblemStatement PhysicalGraphBounds SharpPhaseJetAlgebra |
| 166 | open scoped ContDiff |
| 167 | |
| 168 | private theorem nat_le_infty (k : ℕ) : (k : WithTop ℕ∞) ≤ ∞ := |
| 169 | WithTop.coe_le_coe.mpr le_top |
| 170 | |
| 171 | noncomputable def polarMap (κ : Plane → Plane) (n : ℕ) : SpaceTime → Plane := |
| 172 | κ ∘ scaledRadial n |
| 173 | |
| 174 | noncomputable def slowMap (κ : Plane → Plane) (h : ℝ) (n : ℕ) (w : SpaceTime) : Slow := |
| 175 | ((polarMap κ n w).1, liftZT (physicalLift h n w)) |
| 176 | |
| 177 | theorem slowMap_formula (κ : Plane → Plane) (h : ℝ) (n : ℕ) (w : SpaceTime) : |
| 178 | slowMap κ h n w = ((κ (scaledRadial n w)).1, |
| 179 | (ChartScales.Q n ^ (-CoordinateAlgebra.D h) * w.2 2, (1-w.1)/ChartScales.Q n)) := by |
| 180 | ext <;> simp [slowMap, polarMap, liftZT, physicalLift, physicalChart, |
| 181 | chartLinear_apply, Real.rpow_neg_one, div_eq_mul_inv] |
| 182 | ring |
| 183 | |
| 184 | theorem slowMap_eq_slot (κ : Plane → Plane) (h : ℝ) (n : ℕ) |
| 185 | (center : Plane) (r0 : ℝ) (w : SpaceTime) : |
| 186 | slowMap κ h n w = |
| 187 | (slotMap κ (ChartScales.timeCoefficient h n) center r0 (physicalLift h n w)).1 := by |
| 188 | rw [slotMap_physical, slowMap_formula] |
| 189 | |
| 190 | theorem polarMap_smooth {κ : Plane → Plane} (hκ : ContDiff ℝ ∞ κ) (n : ℕ) : |
| 191 | ContDiff ℝ ∞ (polarMap κ n) := hκ.comp (scaledRadial n).contDiff |
| 192 | |
| 193 | theorem slowMap_smooth {κ : Plane → Plane} (hκ : ContDiff ℝ ∞ κ) (h : ℝ) (n : ℕ) : |
| 194 | ContDiff ℝ ∞ (slowMap κ h n) := by |
| 195 | have he : slowMap κ h n = fun w => ((κ (scaledRadial n w)).1, |
| 196 | ((physicalChart h n w).2.2.2, (physicalChart h n w).1)) := rfl |
| 197 | rw [he] |
| 198 | exact (hκ.comp (scaledRadial n).contDiff).fst.prodMk |
| 199 | ((physicalChart_smooth h n).snd.snd.snd.prodMk (physicalChart_smooth h n).fst) |
| 200 | |
| 201 | theorem slotTime_smooth (h : ℝ) (n : ℕ) (center : Plane) (r0 : ℝ) : |
| 202 | ContDiff ℝ ∞ (slotTime h n center r0) := by |
| 203 | have he : slotTime h n center r0 = fun w : SpaceTime => |
| 204 | ChartScales.Q n ^ (-1-h) * w.1 + |
| 205 | (r0-etaCoordinate center)/ChartScales.timeCoefficient h n := by |
| 206 | funext w |
| 207 | exact slotTime_affine h n center r0 w |
| 208 | rw [he] |
| 209 | exact (contDiff_const.mul contDiff_fst).add contDiff_const |
| 210 | |
| 211 | /-- The axial factor `epsilon⁻¹` cancels the axial chart scaling exactly. -/ |
| 212 | theorem axial_scale (h : ℝ) (n : ℕ) : |
| 213 | (ChartScales.epsilon h n)⁻¹ * ChartScales.Q n ^ (-CoordinateAlgebra.D h) = |
| 214 | ChartScales.Q n ^ (-(1/2 : ℝ)) := by |
| 215 | rw [ChartScales.epsilon, ← Real.rpow_neg (ChartScales.Q_pos n).le, |
| 216 | ← Real.rpow_add (ChartScales.Q_pos n)] |
| 217 | congr 1 |
| 218 | unfold CoordinateAlgebra.D |
| 219 | ring |
| 220 | |
| 221 | theorem phase_formula (κ : Plane → Plane) (h : ℝ) (n : ℕ) |
| 222 | (center : Plane) (r0 p pz x0 : ℝ) (F G : Slow → ℝ) (w : SpaceTime) : |
| 223 | liftedPhase κ h n center r0 p pz x0 F G (physicalLift h n w) = |
| 224 | p * (polarMap κ n w).2 + pz * ChartScales.Q n ^ (-(1/2 : ℝ)) * w.2 2 + |
| 225 | x0 * (polarMap κ n w).1 - |
| 226 | slotTime h n center r0 w * (p * F (slowMap κ h n w) + pz * G (slowMap κ h n w)) := by |
| 227 | unfold liftedPhase |
| 228 | rw [comp_apply, PhaseCalculus.phase, slotMap_physical, slowMap_formula] |
| 229 | simp only [polarMap, comp_apply] |
| 230 | rw [div_eq_mul_inv] |
| 231 | have he := axial_scale h n |
| 232 | rw [show pz * (ChartScales.epsilon h n)⁻¹ * (ChartScales.Q n ^ (-CoordinateAlgebra.D h) * w.2 2) = |
| 233 | pz * ((ChartScales.epsilon h n)⁻¹ * ChartScales.Q n ^ (-CoordinateAlgebra.D h)) * w.2 2 by ring, he] |
| 234 | |
| 235 | private theorem pow_scale {h : ℝ} (hh : 0 ≤ h) (n k : ℕ) : |
| 236 | (ChartScales.Q n ^ (-(1 / 2 : ℝ))) ^ k ≤ |
| 237 | (ChartScales.Q n ^ (-(1 + h))) ^ k := by |
| 238 | apply pow_le_pow_left₀ (Real.rpow_nonneg (ChartScales.Q_pos n).le _) |
| 239 | exact Real.rpow_le_rpow_of_exponent_ge (ChartScales.Q_pos n) (ChartScales.Q_le_one n) |
| 240 | (by linarith) |
| 241 | |
| 242 | private theorem scale_one {h : ℝ} (hh : 0 ≤ h) (n : ℕ) : |
| 243 | 1 ≤ ChartScales.Q n ^ (-(1+h)) := by |
| 244 | have he := Real.rpow_le_rpow_of_exponent_ge (ChartScales.Q_pos n) |
| 245 | (ChartScales.Q_le_one n) (show -(1+h) ≤ 0 by linarith) |
| 246 | simpa only [Real.rpow_zero] using he |
| 247 | |
| 248 | theorem polarMap_jets {κ : Plane → Plane} (hκ : ContDiff ℝ ∞ κ) |
| 249 | {h K : ℝ} (hh : 0 ≤ h) (hK : 0 ≤ K) (n m : ℕ) (w : SpaceTime) |
| 250 | (hκb : ∀ k ≤ m, ‖iteratedFDeriv ℝ k κ (scaledRadial n w)‖ ≤ K) : |
| 251 | ∀ k ≤ m, ‖iteratedFDeriv ℝ k (polarMap κ n) w‖ ≤ |
| 252 | K * (ChartScales.Q n ^ (-(1+h))) ^ k := by |
| 253 | intro k hk |
| 254 | apply (norm_jet_comp_linear isOpen_univ hκ.contDiffOn (scaledRadial n) |
| 255 | (mem_univ _) k).trans |
| 256 | apply mul_le_mul (hκb k hk) _ (by positivity) hK |
| 257 | exact (pow_le_pow_left₀ (norm_nonneg _) (norm_scaledRadial_le n) k).trans (pow_scale hh n k) |
| 258 | |
| 259 | theorem slowMap_positive_jets {κ : Plane → Plane} (hκ : ContDiff ℝ ∞ κ) |
| 260 | {h K : ℝ} (hh : 0 ≤ h) (hK : 1 ≤ K) (n m : ℕ) (w : SpaceTime) |
| 261 | (hκb : ∀ k ≤ m, ‖iteratedFDeriv ℝ k κ (scaledRadial n w)‖ ≤ K) : |
| 262 | ∀ k, 1 ≤ k → k ≤ m → ‖iteratedFDeriv ℝ k (slowMap κ h n) w‖ ≤ |
| 263 | (K * ChartScales.Q n ^ (-(1+h))) ^ k := by |
| 264 | intro k hk hkm |
| 265 | have hQ := ChartScales.Q_pos n |
| 266 | have hK0 : 0 ≤ K := by linarith |
| 267 | have hp := polarMap_jets hκ hh (by linarith : 0 ≤ K) n m w hκb k hkm |
| 268 | have hpolar := norm_jet_linear_comp (polarMap_smooth hκ n) |
| 269 | (ContinuousLinearMap.fst ℝ ℝ ℝ) w k |
| 270 | have hp' : ‖iteratedFDeriv ℝ k (fun z => (polarMap κ n z).1) w‖ ≤ |
| 271 | K * (ChartScales.Q n ^ (-(1+h))) ^ k := by |
| 272 | exact hpolar.trans ((mul_le_mul (norm_fstCLM_le ℝ ℝ) hp (norm_nonneg _) zero_le_one).trans_eq (one_mul _)) |
| 273 | have hzt : ‖iteratedFDeriv ℝ k (fun z : SpaceTime => |
| 274 | ((physicalChart h n z).2.2.2, (physicalChart h n z).1)) w‖ ≤ |
| 275 | ChartScales.Q n ^ (-1 : ℝ) := by |
| 276 | let L : ChartPoint →L[ℝ] Plane := |
| 277 | ((ContinuousLinearMap.snd ℝ ℝ ℝ).comp |
| 278 | ((ContinuousLinearMap.snd ℝ ℝ Plane).comp |
| 279 | (ContinuousLinearMap.snd ℝ ℝ (ℝ × Plane)))).prod |
| 280 | (ContinuousLinearMap.fst ℝ ℝ (ℝ × Plane)) |
| 281 | have hL : ‖L‖ ≤ 1 := by |
| 282 | refine ContinuousLinearMap.opNorm_le_bound _ zero_le_one ?_ |
| 283 | intro x |
| 284 | change max ‖x.2.2.2‖ ‖x.1‖ ≤ 1 * ‖x‖ |
| 285 | rw [one_mul] |
| 286 | exact max_le ((le_max_right _ _).trans ((le_max_right _ _).trans (le_max_right _ _))) |
| 287 | (le_max_left _ _) |
| 288 | exact (norm_jet_linear_comp (physicalChart_smooth h n) L w k).trans |
| 289 | ((mul_le_mul hL (physicalChart_jet_bound hh n w hk) (norm_nonneg _) zero_le_one).trans_eq (one_mul _)) |
| 290 | change ‖iteratedFDeriv ℝ k (fun z => ((polarMap κ n z).1, |
| 291 | ((physicalChart h n z).2.2.2, (physicalChart h n z).1))) w‖ ≤ _ |
| 292 | rw [iteratedFDeriv_pair |
| 293 | (((polarMap_smooth hκ n).fst.contDiffAt).of_le (nat_le_infty k)) |
| 294 | ((((physicalChart_smooth h n).snd.snd.snd.prodMk |
| 295 | (physicalChart_smooth h n).fst).contDiffAt).of_le (nat_le_infty k)), |
| 296 | ContinuousMultilinearMap.opNorm_prod, mul_pow] |
| 297 | apply max_le |
| 298 | · apply hp'.trans |
| 299 | exact mul_le_mul_of_nonneg_right (by simpa only [pow_one] using pow_le_pow_right₀ hK hk) |
| 300 | (by positivity) |
| 301 | · apply hzt.trans |
| 302 | have h1 : ChartScales.Q n ^ (-1 : ℝ) ≤ ChartScales.Q n ^ (-(1+h)) := |
| 303 | Real.rpow_le_rpow_of_exponent_ge (ChartScales.Q_pos n) (ChartScales.Q_le_one n) (by linarith) |
| 304 | apply (h1.trans (by simpa only [pow_one] using pow_le_pow_right₀ (scale_one hh n) hk)).trans |
| 305 | exact le_mul_of_one_le_left (by positivity) (one_le_pow₀ hK) |
| 306 | |
| 307 | |
| 308 | |
| 309 | private theorem norm_jet_add_le {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 310 | [NormedAddCommGroup V] [NormedSpace ℝ V] {f g : E → V} |
| 311 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (w : E) (k : ℕ) : |
| 312 | ‖iteratedFDeriv ℝ k (fun z => f z + g z) w‖ ≤ |
| 313 | ‖iteratedFDeriv ℝ k f w‖ + ‖iteratedFDeriv ℝ k g w‖ := by |
| 314 | rw [fun_iteratedFDeriv_add_apply (hf.contDiffAt.of_le (nat_le_infty k)) |
| 315 | (hg.contDiffAt.of_le (nat_le_infty k))] |
| 316 | exact norm_add_le _ _ |
| 317 | |
| 318 | private theorem norm_jet_sub_le {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 319 | [NormedAddCommGroup V] [NormedSpace ℝ V] {f g : E → V} |
| 320 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (w : E) (k : ℕ) : |
| 321 | ‖iteratedFDeriv ℝ k (fun z => f z - g z) w‖ ≤ |
| 322 | ‖iteratedFDeriv ℝ k f w‖ + ‖iteratedFDeriv ℝ k g w‖ := by |
| 323 | rw [fun_iteratedFDeriv_sub_apply (hf.contDiffAt.of_le (nat_le_infty k)) |
| 324 | (hg.contDiffAt.of_le (nat_le_infty k))] |
| 325 | exact norm_sub_le _ _ |
| 326 | |
| 327 | theorem slotTime_jets {h K V : ℝ} (hh : 0 ≤ h) (hK : 1 ≤ K) (hV : 1 ≤ V) |
| 328 | (n : ℕ) (center : Plane) (r0 : ℝ) (w : SpaceTime) |
| 329 | (hv : |slotTime h n center r0 w| ≤ V) (k : ℕ) : |
| 330 | ‖iteratedFDeriv ℝ k (slotTime h n center r0) w‖ ≤ |
| 331 | V * (K * ChartScales.Q n ^ (-(1+h))) ^ k := by |
| 332 | have hQ := ChartScales.Q_pos n |
| 333 | have hU : 1 ≤ K * ChartScales.Q n ^ (-(1+h)) := one_le_mul_of_one_le_of_one_le hK (scale_one hh n) |
| 334 | cases k with |
| 335 | | zero => simpa only [norm_iteratedFDeriv_zero, Real.norm_eq_abs, pow_zero, mul_one] using hv |
| 336 | | succ k => |
| 337 | let L := ChartScales.Q n ^ (-(1+h)) • ContinuousLinearMap.fst ℝ ℝ Space |
| 338 | have he : slotTime h n center r0 = fun w => L w + |
| 339 | (r0-etaCoordinate center)/ChartScales.timeCoefficient h n := by |
| 340 | funext w |
| 341 | rw [slotTime_affine] |
| 342 | dsimp [L] |
| 343 | rw [show -1-h = -(1+h) by ring] |
| 344 | rfl |
| 345 | have hL : ‖L‖ ≤ ChartScales.Q n ^ (-(1+h)) := by |
| 346 | dsimp [L] |
| 347 | rw [norm_smul, Real.norm_of_nonneg (Real.rpow_nonneg hQ.le _)] |
| 348 | exact mul_le_of_le_one_right (Real.rpow_nonneg hQ.le _) (norm_fstCLM_le _ _) |
| 349 | rw [he] |
| 350 | apply ((positive_jet_affine_bound L _ w (by omega)).trans hL).trans |
| 351 | apply (le_mul_of_one_le_left (Real.rpow_nonneg hQ.le _) hK).trans |
| 352 | apply (show K * ChartScales.Q n ^ (-(1+h)) ≤ |
| 353 | (K * ChartScales.Q n ^ (-(1+h))) ^ (k+1) from by |
| 354 | simpa only [pow_one] using pow_le_pow_right₀ hU (show 1 ≤ k+1 by omega)).trans |
| 355 | exact le_mul_of_one_le_left (by positivity) hV |
| 356 | |
| 357 | /-- A sharp bound on the actual phase after graph restriction. The pulse |
| 358 | coordinate is differentiated as its exact affine physical function. -/ |
| 359 | theorem physicalPhase_positive_jets {κ : Plane → Plane} (hκ : ContDiff ℝ ∞ κ) |
| 360 | {h K V B : ℝ} (hh : 0 ≤ h) (hK : 1 ≤ K) (hV : 1 ≤ V) (hB : 0 ≤ B) |
| 361 | (n m : ℕ) (center : Plane) (r0 p pz x0 : ℝ) {F G : Slow → ℝ} |
| 362 | (hF : ContDiff ℝ ∞ F) (hG : ContDiff ℝ ∞ G) (w : SpaceTime) |
| 363 | (hκb : ∀ k ≤ m, ‖iteratedFDeriv ℝ k κ (scaledRadial n w)‖ ≤ K) |
| 364 | (hv : |slotTime h n center r0 w| ≤ V) |
| 365 | (hFb : ∀ k ≤ m, ‖iteratedFDeriv ℝ k F (slowMap κ h n w)‖ ≤ B) |
| 366 | (hGb : ∀ k ≤ m, ‖iteratedFDeriv ℝ k G (slowMap κ h n w)‖ ≤ B) : |
| 367 | ∀ k, 1 ≤ k → k ≤ m → |
| 368 | ‖iteratedFDeriv ℝ k |
| 369 | (liftedPhase κ h n center r0 p pz x0 F G ∘ physicalLift h n) w‖ ≤ |
| 370 | ((|p|+|x0|)*K + |pz| + (2:ℝ)^m * V * ((|p|+|pz|)*(m.factorial:ℝ)*B)) * |
| 371 | (K * ChartScales.Q n ^ (-(1+h))) ^ k := by |
| 372 | let U := K * ChartScales.Q n ^ (-(1+h)) |
| 373 | have hQ := ChartScales.Q_pos n |
| 374 | have hK0 : 0 ≤ K := by linarith |
| 375 | have hU : 1 ≤ U := one_le_mul_of_one_le_of_one_le hK (scale_one hh n) |
| 376 | have hUs : 0 ≤ U := by linarith |
| 377 | have hslow := slowMap_smooth hκ h n |
| 378 | have hf := hF.comp hslow |
| 379 | have hg := hG.comp hslow |
| 380 | have hpos := slowMap_positive_jets hκ hh hK n m w hκb |
| 381 | have hfj := composition_geometric hslow hF w m hB hUs hFb hpos |
| 382 | have hgj := composition_geometric hslow hG w m hB hUs hGb hpos |
| 383 | let base : SpaceTime → ℝ := fun z => p * F (slowMap κ h n z) + pz * G (slowMap κ h n z) |
| 384 | have hbase : ContDiff ℝ ∞ base := (contDiff_const.mul hf).add (contDiff_const.mul hg) |
| 385 | have hbasej : ∀ k ≤ m, ‖iteratedFDeriv ℝ k base w‖ ≤ |
| 386 | ((|p|+|pz|)*(m.factorial:ℝ)*B) * U ^ k := by |
| 387 | intro k hk |
| 388 | apply (norm_jet_add_le (contDiff_const.mul hf) (contDiff_const.mul hg) w k).trans |
| 389 | rw [norm_jet_const_mul hf w p k, norm_jet_const_mul hg w pz k] |
| 390 | calc |
| 391 | _ ≤ |p| * ((m.factorial:ℝ)*B*U^k) + |pz| * ((m.factorial:ℝ)*B*U^k) := |
| 392 | add_le_add (mul_le_mul_of_nonneg_left (hfj k hk) (abs_nonneg _)) |
| 393 | (mul_le_mul_of_nonneg_left (hgj k hk) (abs_nonneg _)) |
| 394 | _ = _ := by ring |
| 395 | have hpolar := polarMap_smooth hκ n |
| 396 | have hpj := polarMap_jets hκ hh hK0 n m w hκb |
| 397 | have hproj (L : Plane →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) (k : ℕ) (hk : k ≤ m) : |
| 398 | ‖iteratedFDeriv ℝ k (L ∘ polarMap κ n) w‖ ≤ K * U ^ k := by |
| 399 | apply (norm_jet_linear_comp hpolar L w k).trans |
| 400 | apply ((mul_le_mul hL (hpj k hk) (norm_nonneg _) zero_le_one).trans_eq (one_mul _)).trans |
| 401 | apply mul_le_mul_of_nonneg_left _ hK0 |
| 402 | exact pow_le_pow_left₀ (Real.rpow_nonneg hQ.le _) |
| 403 | (le_mul_of_one_le_left (Real.rpow_nonneg hQ.le _) hK) k |
| 404 | let polar : SpaceTime → ℝ := fun z => p*(polarMap κ n z).2+x0*(polarMap κ n z).1 |
| 405 | have hpol : ContDiff ℝ ∞ polar := (contDiff_const.mul hpolar.snd).add (contDiff_const.mul hpolar.fst) |
| 406 | have hpolj (k : ℕ) (hk : k ≤ m) : ‖iteratedFDeriv ℝ k polar w‖ ≤ |
| 407 | ((|p|+|x0|)*K)*U^k := by |
| 408 | apply (norm_jet_add_le (contDiff_const.mul hpolar.snd) (contDiff_const.mul hpolar.fst) w k).trans |
| 409 | rw [norm_jet_const_mul hpolar.snd w p k, norm_jet_const_mul hpolar.fst w x0 k] |
| 410 | calc |
| 411 | _ ≤ |p| * (K*U^k)+|x0| * (K*U^k) := add_le_add |
| 412 | (mul_le_mul_of_nonneg_left (hproj _ (norm_sndCLM_le _ _) k hk) (abs_nonneg _)) |
| 413 | (mul_le_mul_of_nonneg_left (hproj _ (norm_fstCLM_le _ _) k hk) (abs_nonneg _)) |
| 414 | _ = _ := by ring |
| 415 | let ax : SpaceTime → ℝ := fun z => pz * ChartScales.Q n ^ (-(1/2:ℝ)) * z.2 2 |
| 416 | have hax : ContDiff ℝ ∞ ax := contDiff_const.mul (coordinateProjection 2).contDiff |
| 417 | have haxj (k : ℕ) (hk : 1 ≤ k) : ‖iteratedFDeriv ℝ k ax w‖ ≤ |pz| * U^k := by |
| 418 | change ‖iteratedFDeriv ℝ k (fun z => (pz * ChartScales.Q n ^ (-(1/2:ℝ))) * coordinateProjection 2 z) w‖ ≤ _ |
| 419 | rw [norm_jet_const_mul (coordinateProjection 2).contDiff w _ k, abs_mul, |
| 420 | abs_of_pos (Real.rpow_pos_of_pos hQ _)] |
| 421 | have hc : ‖coordinateProjection 2‖ ≤ 1 := by |
| 422 | refine ContinuousLinearMap.opNorm_le_bound _ zero_le_one ?_ |
| 423 | intro z |
| 424 | exact (PiLp.norm_apply_le z.2 2).trans (by simpa only [one_mul, Prod.norm_def] using le_max_right ‖z.1‖ ‖z.2‖) |
| 425 | have hqscale : ChartScales.Q n ^ (-(1/2:ℝ)) ≤ U := |
| 426 | (Real.rpow_le_rpow_of_exponent_ge hQ (ChartScales.Q_le_one n) (by linarith)).trans |
| 427 | (le_mul_of_one_le_left (Real.rpow_nonneg hQ.le _) hK) |
| 428 | have hqpow : ChartScales.Q n ^ (-(1/2:ℝ)) ≤ U^k := |
| 429 | hqscale.trans (by simpa only [pow_one] using pow_le_pow_right₀ hU hk) |
| 430 | exact ((mul_le_mul_of_nonneg_left ((norm_positive_jet_linear_le (coordinateProjection 2) w hk).trans hc) |
| 431 | (by positivity)).trans_eq (mul_one _)).trans |
| 432 | (mul_le_mul_of_nonneg_left hqpow (abs_nonneg _)) |
| 433 | have he : liftedPhase κ h n center r0 p pz x0 F G ∘ physicalLift h n = |
| 434 | fun z => polar z + ax z - slotTime h n center r0 z * base z := by |
| 435 | funext z |
| 436 | rw [comp_apply, phase_formula] |
| 437 | dsimp [polar, ax, base] |
| 438 | ring |
| 439 | intro k hk hkm |
| 440 | rw [he] |
| 441 | apply (norm_jet_sub_le (hpol.add hax) ((slotTime_smooth h n center r0).mul hbase) w k).trans |
| 442 | have ht := product_geometric (slotTime_smooth h n center r0) hbase w k |
| 443 | (show 0 ≤ V by linarith) (show 0 ≤ (|p|+|pz|)*(m.factorial:ℝ)*B by positivity) hUs |
| 444 | (fun i _ => slotTime_jets hh hK hV n center r0 w hv i) |
| 445 | (fun i hi => hbasej i (hi.trans hkm)) |
| 446 | have ht' := ht.trans (mul_le_mul_of_nonneg_right |
| 447 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 448 | (pow_le_pow_right₀ (by norm_num : (1:ℝ)≤2) hkm) (show 0≤V by linarith)) |
| 449 | (show 0 ≤ (|p|+|pz|)*(m.factorial:ℝ)*B by positivity)) (pow_nonneg hUs _)) |
| 450 | apply (add_le_add ((norm_jet_add_le hpol hax w k).trans |
| 451 | (add_le_add (hpolj k hkm) (haxj k hk))) ht').trans_eq |
| 452 | dsimp [U] |
| 453 | ring |
| 454 | |
| 455 | |
| 456 | |
| 457 | theorem physicalPhase_smooth {κ : Plane → Plane} (hκ : ContDiff ℝ ∞ κ) |
| 458 | (h : ℝ) (n : ℕ) (center : Plane) (r0 p pz x0 : ℝ) {F G : Slow → ℝ} |
| 459 | (hF : ContDiff ℝ ∞ F) (hG : ContDiff ℝ ∞ G) : |
| 460 | ContDiff ℝ ∞ (liftedPhase κ h n center r0 p pz x0 F G ∘ physicalLift h n) := by |
| 461 | have he : liftedPhase κ h n center r0 p pz x0 F G ∘ physicalLift h n = |
| 462 | fun w => p * (polarMap κ n w).2 + pz * ChartScales.Q n ^ (-(1/2:ℝ)) * w.2 2 + |
| 463 | x0 * (polarMap κ n w).1 - |
| 464 | slotTime h n center r0 w * (p * F (slowMap κ h n w) + pz * G (slowMap κ h n w)) := by |
| 465 | funext w |
| 466 | exact phase_formula κ h n center r0 p pz x0 F G w |
| 467 | rw [he] |
| 468 | have hp := polarMap_smooth hκ n |
| 469 | have hs := slowMap_smooth hκ h n |
| 470 | exact (((contDiff_const.mul hp.snd).add (contDiff_const.mul (coordinateProjection 2).contDiff)).add |
| 471 | (contDiff_const.mul hp.fst)).sub ((slotTime_smooth h n center r0).mul |
| 472 | ((contDiff_const.mul (hF.comp hs)).add (contDiff_const.mul (hG.comp hs)))) |
| 473 | |
| 474 | /-- Uniform phase bounds keep all slow factors polynomial in `S`, with no |
| 475 | additional power loss in `Q`. -/ |
| 476 | theorem physicalPhase_geometric_bound {h K V P B d : ℝ} |
| 477 | (hh : 0 ≤ h) (hK : 1 ≤ K) (hV : 1 ≤ V) (hP : 1 ≤ P) (hB : 1 ≤ B) |
| 478 | (hd : 0 ≤ d) (m : ℕ) : |
| 479 | ∃ C : ℝ, 1 ≤ C ∧ ∀ κ : Plane → Plane, ContDiff ℝ ∞ κ → |
| 480 | ∀ n : ℕ, 4 ≤ n → ∀ (center : Plane) (r0 p pz x0 : ℝ), |
| 481 | |p| ≤ P → |pz| ≤ P → |x0| ≤ P → ∀ F G : Slow → ℝ, |
| 482 | ContDiff ℝ ∞ F → ContDiff ℝ ∞ G → ∀ w : SpaceTime, |
| 483 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i κ (scaledRadial n w)‖ ≤ K) → |
| 484 | |slotTime h n center r0 w| ≤ V * ChartScales.S n → |
| 485 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i F (slowMap κ h n w)‖ ≤ B * ChartScales.S n ^ d) → |
| 486 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i G (slowMap κ h n w)‖ ≤ B * ChartScales.S n ^ d) → |
| 487 | ∀ i, 1 ≤ i → i ≤ m → |
| 488 | ‖iteratedFDeriv ℝ i |
| 489 | (liftedPhase κ h n center r0 p pz x0 F G ∘ physicalLift h n) w‖ ≤ |
| 490 | (C * ChartScales.S n ^ (d+1) * ChartScales.Q n ^ (-(1+h))) ^ i := by |
| 491 | let C0 := 2*P*K+P+(2:ℝ)^m*V*(2*P*(m.factorial:ℝ)*B)+1 |
| 492 | have hC0 : 1 ≤ C0 := by |
| 493 | have ht : 0 ≤ 2*P*K+P+(2:ℝ)^m*V*(2*P*(m.factorial:ℝ)*B) := by positivity |
| 494 | dsimp [C0] |
| 495 | linarith |
| 496 | refine ⟨C0*K, one_le_mul_of_one_le_of_one_le hC0 hK, ?_⟩ |
| 497 | intro κ hκ n hn center r0 p pz x0 hp hpz hx0 F G hF hG w hκb hv hFb hGb i hi him |
| 498 | have hS := S_ge_one (show 1 ≤ n by omega) |
| 499 | have hS0 := ChartScales.S_pos (show 1 ≤ n by omega) |
| 500 | have hQ := ChartScales.Q_pos n |
| 501 | have hSd : 1 ≤ ChartScales.S n ^ d := Real.one_le_rpow hS hd |
| 502 | have hSe : ChartScales.S n ^ (d+1) = ChartScales.S n * ChartScales.S n ^ d := by |
| 503 | rw [Real.rpow_add hS0, Real.rpow_one, mul_comm] |
| 504 | have hE : 1 ≤ ChartScales.S n ^ (d+1) := Real.one_le_rpow hS (by linarith) |
| 505 | have hVS : 1 ≤ V * ChartScales.S n := one_le_mul_of_one_le_of_one_le hV hS |
| 506 | have hBS : 0 ≤ B * ChartScales.S n ^ d := by positivity |
| 507 | have hbound := physicalPhase_positive_jets hκ hh hK hVS hBS n m center r0 p pz x0 |
| 508 | hF hG w hκb hv hFb hGb i hi him |
| 509 | have hcoef : (|p|+|x0|)*K + |pz| + (2:ℝ)^m * (V*ChartScales.S n) * |
| 510 | ((|p|+|pz|)*(m.factorial:ℝ)*(B*ChartScales.S n^d)) ≤ C0*ChartScales.S n^(d+1) := by |
| 511 | have hP0 : 0 ≤ P := by linarith |
| 512 | have hK0 : 0 ≤ K := by linarith |
| 513 | have hp1 : |p|+|x0| ≤ 2*P := by linarith |
| 514 | have hp2 : |p|+|pz| ≤ 2*P := by linarith |
| 515 | calc |
| 516 | _ ≤ (2*P)*K+P+(2:ℝ)^m*(V*ChartScales.S n)*(2*P*(m.factorial:ℝ)*(B*ChartScales.S n^d)) := by |
| 517 | gcongr |
| 518 | _ = (2*P*K+P)+((2:ℝ)^m*V*(2*P*(m.factorial:ℝ)*B))*ChartScales.S n^(d+1) := by |
| 519 | rw [hSe] |
| 520 | ring |
| 521 | _ ≤ (2*P*K+P)*ChartScales.S n^(d+1)+ |
| 522 | ((2:ℝ)^m*V*(2*P*(m.factorial:ℝ)*B))*ChartScales.S n^(d+1) := |
| 523 | add_le_add (le_mul_of_one_le_right (show 0 ≤ 2*P*K+P by positivity) hE) le_rfl |
| 524 | _ ≤ _ := by dsimp [C0]; nlinarith [Real.rpow_nonneg hS0.le (d+1)] |
| 525 | have hmajor : 1 ≤ C0*ChartScales.S n^(d+1) := one_le_mul_of_one_le_of_one_le hC0 hE |
| 526 | apply hbound.trans |
| 527 | calc |
| 528 | _ ≤ (C0*ChartScales.S n^(d+1)) * (K*ChartScales.Q n^(-(1+h)))^i := |
| 529 | mul_le_mul_of_nonneg_right hcoef (by positivity) |
| 530 | _ ≤ (C0*ChartScales.S n^(d+1))^i * (K*ChartScales.Q n^(-(1+h)))^i := |
| 531 | mul_le_mul_of_nonneg_right (by simpa only [pow_one] using pow_le_pow_right₀ hmajor hi) (by positivity) |
| 532 | _ = _ := by rw [← mul_pow]; congr 1; ring |
| 533 | |
| 534 | end NavierStokes.SharpPhysicalPhase |