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.BaseContextAssembly |
| 2 | |
| 3 | /-! |
| 4 | # Weighted classes of the actual base stress |
| 5 | |
| 6 | The flat weight is transported exactly by the physical chart. Only powers |
| 7 | of the reciprocal edge distance are enlarged. All derivatives are actual |
| 8 | Fréchet derivatives, and every estimate is uniform over the dyadic bands. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.BaseStressClasses |
| 14 | |
| 15 | open Set Filter Function WeightedClasses |
| 16 | open scoped ContDiff Topology BigOperators |
| 17 | |
| 18 | abbrev Point := BaseContextAssembly.Point |
| 19 | abbrev Chart := SlowBorelBase.Chart |
| 20 | abbrev Inner := SlowBorelBase.Inner |
| 21 | |
| 22 | private theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 23 | ENat.natCast_le_of_coe_top_le_withTop le_rfl n |
| 24 | |
| 25 | section Composition |
| 26 | |
| 27 | variable {D E V : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 28 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 30 | |
| 31 | /-- Independent estimates for each derivative order give a single estimate |
| 32 | for every fixed finite prefix. The polynomial degree may depend on the |
| 33 | prefix, but never on the band or evaluation point. -/ |
| 34 | theorem majorant_prefix (s : StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 35 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) (a : ℕ → ℕ → D → ℝ) |
| 36 | (ha : ∀ j, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 37 | ∀ n x, x ∈ s.domain → a j n x ≤ majorant s w α C p n x) |
| 38 | (m : ℕ) : |
| 39 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n x, x ∈ s.domain → |
| 40 | ∀ j ≤ m, a j n x ≤ majorant s w α C p n x := by |
| 41 | induction m with |
| 42 | | zero => |
| 43 | obtain ⟨C, hC, p, hp⟩ := ha 0 |
| 44 | exact ⟨C, hC, p, fun n x hx j hj => by simpa only [Nat.eq_zero_of_le_zero hj] using hp n x hx⟩ |
| 45 | | succ m ih => |
| 46 | obtain ⟨C, hC, p, hp⟩ := ih |
| 47 | obtain ⟨B, hB, q, hq⟩ := ha (m+1) |
| 48 | refine ⟨C+B, add_nonneg hC hB, p+q, fun n x hx j hj => ?_⟩ |
| 49 | have hCp : majorant s w α C p n x ≤ majorant s w α C (p+q) n x := |
| 50 | majorant_mono_degree s w α hC (Nat.le_add_right p q) n x (hw n x hx) |
| 51 | have hBq : majorant s w α B q n x ≤ majorant s w α B (p+q) n x := |
| 52 | majorant_mono_degree s w α hB (Nat.le_add_left q p) n x (hw n x hx) |
| 53 | have hsum : majorant s w α C (p+q) n x + majorant s w α B (p+q) n x = |
| 54 | majorant s w α (C+B) (p+q) n x := by unfold majorant; ring |
| 55 | rcases Nat.lt_or_eq_of_le hj with hlt | rfl |
| 56 | · exact (hp n x hx j (Nat.le_of_lt_succ hlt)).trans (hCp.trans |
| 57 | ((le_add_of_nonneg_right (majorant_nonneg s w α hB _ _ _ (hw n x hx))).trans_eq hsum)) |
| 58 | · exact (hq n x hx).trans (hBq.trans |
| 59 | ((le_add_of_nonneg_left (majorant_nonneg s w α hC _ _ _ (hw n x hx))).trans_eq hsum)) |
| 60 | |
| 61 | /-- Weighted outer jets and a genuinely controlled inner map imply the |
| 62 | class of the composite. In particular, no derivative estimate for the |
| 63 | composite itself is assumed. -/ |
| 64 | theorem class_comp_of_outer_jets {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 65 | {f : ℕ → E → V} {g : ℕ → D → E} {U : Set E} |
| 66 | (hU : IsOpen U) (hf : ∀ n, ContDiffOn ℝ ∞ (f n) U) |
| 67 | (hg : UnweightedClass s 0 g) (hmap : ∀ n, MapsTo (g n) s.domain U) |
| 68 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
| 69 | (hb : ∀ j, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n x, x ∈ s.domain → |
| 70 | ‖iteratedFDeriv ℝ j (f n) (g n x)‖ ≤ majorant s w α C p n x) : |
| 71 | MemClass s w α (fun n x => f n (g n x)) := by |
| 72 | refine ⟨hw, fun n => (hf n).comp (hg.smooth n) (hmap n), fun m => ?_⟩ |
| 73 | obtain ⟨C, hC, p, hp⟩ := majorant_prefix s w α hw |
| 74 | (fun j n x => ‖iteratedFDeriv ℝ j (f n) (g n x)‖) hb m |
| 75 | obtain ⟨B, hB, q, hq⟩ := hg.bounds m |
| 76 | refine ⟨(m.factorial : ℝ) * C * (B+1)^m, by positivity, p+q*m, ?_⟩ |
| 77 | intro n x hx j hj |
| 78 | have hG : 1 ≤ s.growth n x := s.one_le_growth n x |
| 79 | have hD : 1 ≤ (B+1) * s.growth n x ^ q := |
| 80 | one_le_mul_of_one_le_of_one_le (by linarith) (one_le_pow₀ hG) |
| 81 | have hA : 0 ≤ majorant s w α C p n x := majorant_nonneg s w α hC _ _ _ (hw n x hx) |
| 82 | have hcomp := norm_iteratedFDerivWithin_comp_le (hf n) (hg.smooth n) (nat_le_infty j) |
| 83 | hU.uniqueDiffOn s.isOpen_domain.uniqueDiffOn (hmap n) hx |
| 84 | (C := majorant s w α C p n x) (D := (B+1) * s.growth n x ^ q) |
| 85 | (fun i hi => by |
| 86 | rw [iteratedFDerivWithin_of_isOpen i hU (hmap n hx)] |
| 87 | exact hp n x hx i (hi.trans hj)) |
| 88 | (fun i hi hij => by |
| 89 | rw [iteratedFDerivWithin_of_isOpen i s.isOpen_domain hx] |
| 90 | have hi0 := hq n x hx i (hij.trans hj) |
| 91 | simp only [majorant, Real.rpow_zero, mul_one] at hi0 |
| 92 | exact hi0.trans ((mul_le_mul_of_nonneg_right (by linarith : B ≤ B+1) |
| 93 | (pow_nonneg (s.growth_nonneg n x) q)).trans (by simpa using pow_le_pow_right₀ hD hi))) |
| 94 | rw [iteratedFDerivWithin_of_isOpen j s.isOpen_domain hx] at hcomp |
| 95 | calc |
| 96 | _ ≤ (j.factorial : ℝ) * majorant s w α C p n x * ((B+1)*s.growth n x^q)^j := hcomp |
| 97 | _ ≤ (m.factorial : ℝ) * majorant s w α C p n x * ((B+1)*s.growth n x^q)^m := by |
| 98 | apply mul_le_mul |
| 99 | · exact mul_le_mul_of_nonneg_right (by exact_mod_cast Nat.factorial_le hj) hA |
| 100 | · exact pow_le_pow_right₀ hD hj |
| 101 | · positivity |
| 102 | · positivity |
| 103 | _ = _ := by simp only [majorant, mul_pow, ← pow_mul, pow_add]; ring |
| 104 | |
| 105 | end Composition |
| 106 | |
| 107 | section Rescaling |
| 108 | |
| 109 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 110 | |
| 111 | /-- Banach-valued recentering of actual blown jets. The loss involves the |
| 112 | bounded normalized scale `rho`, never the inverse dyadic scale. -/ |
| 113 | theorem scaled_jet_from_blown {f : Chart → V} |
| 114 | (hf : ContDiffOn ℝ ∞ f BaseChartJets.sumRegion) {Q rho M : ℝ} {w : Inner} |
| 115 | (hQ : 0 < Q) (hrho : 0 < rho) (hw : 0 < w.1) |
| 116 | (hM : 1 ≤ M) (hi : 1/rho ≤ M) (j : ℕ) : |
| 117 | ‖iteratedFDeriv ℝ j (f ∘ SlowBorelBase.scaleMap Q) (rho,w)‖ ≤ |
| 118 | ‖SlowBorelBase.blownJet j f (Q*rho,w)‖ * M^j := by |
| 119 | have hs : ContDiffOn ℝ ∞ (f ∘ SlowBorelBase.scaleMap (Q*rho)) BaseChartJets.sumRegion := |
| 120 | hf.comp (SlowBorelBase.scaleMap (Q*rho)).contDiff.contDiffOn |
| 121 | (fun y hy => ⟨mul_pos (mul_pos hQ hrho) hy.1, hy.2⟩) |
| 122 | have heq : f ∘ SlowBorelBase.scaleMap Q = |
| 123 | (f ∘ SlowBorelBase.scaleMap (Q*rho)) ∘ SlowBorelBase.scaleMap rho⁻¹ := by |
| 124 | funext y |
| 125 | change f (Q*y.1,y.2) = f (Q*rho*(rho⁻¹*y.1),y.2) |
| 126 | congr 1 |
| 127 | apply Prod.ext |
| 128 | · change Q*y.1 = Q*rho*(rho⁻¹*y.1) |
| 129 | field_simp |
| 130 | · rfl |
| 131 | have hx : SlowBorelBase.scaleMap rho⁻¹ (rho,w) ∈ BaseChartJets.sumRegion := by |
| 132 | simpa only [SlowBorelBase.scaleMap_apply, inv_mul_cancel₀ hrho.ne'] using |
| 133 | (show ((1:ℝ),w) ∈ BaseChartJets.sumRegion from ⟨by norm_num, hw, mem_univ _⟩) |
| 134 | have hb := PhaseJetBounds.norm_jet_comp_linear BaseChartJets.sumRegion_open hs |
| 135 | (SlowBorelBase.scaleMap rho⁻¹) hx j |
| 136 | have hn : ‖SlowBorelBase.scaleMap rho⁻¹‖ ≤ M := BaseChartJets.scaleMap_norm_le hM |
| 137 | (by simpa only [abs_of_pos (inv_pos.mpr hrho), one_div] using hi) |
| 138 | rw [← heq] at hb |
| 139 | apply hb.trans |
| 140 | have he : SlowBorelBase.scaleMap rho⁻¹ (rho,w) = (1,w) := by |
| 141 | simp only [SlowBorelBase.scaleMap_apply, inv_mul_cancel₀ hrho.ne'] |
| 142 | rw [he] |
| 143 | exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) hn j) (norm_nonneg _) |
| 144 | |
| 145 | end Rescaling |
| 146 | |
| 147 | section NativeGeometry |
| 148 | |
| 149 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 150 | |
| 151 | /-- The exact normalized coordinates in the mean-variable order. -/ |
| 152 | noncomputable def coordinates (x : Point) : Chart := |
| 153 | BaseChartJets.normalizedCoordinates F.data.h (BaseContextAssembly.slowCoordinates x) |
| 154 | |
| 155 | theorem coordinates_unweighted (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 156 | UnweightedClass (BaseContextAssembly.nativeStrip W U) 0 (fun _ => coordinates (F := F)) := by |
| 157 | apply BaseContextAssembly.unweighted_polynomial_pullback |
| 158 | (BaseContextAssembly.nativeStrip W U) |
| 159 | (BaseChartJets.normalizedCoordinates_polynomial F.data.h_pos F.data.h_lt_half |
| 160 | (div_pos U.qlo_pos (by norm_num)) (BaseContextAssembly.native_geometry W U ℕ)) |
| 161 | exact fun _ => BaseContextAssembly.slowCoordinates_maps W U |
| 162 | |
| 163 | /-- The source edge distance is the capped minimum of twice the two radial |
| 164 | log distances. Thus it is at least the native strip distance. -/ |
| 165 | theorem native_edgeDistance_le (U : LocalSignedRequest.SlowRegion (2*F.data.h)) |
| 166 | {x : Point} (hx : x ∈ (BaseContextAssembly.nativeStrip W U).domain) : |
| 167 | (BaseContextAssembly.nativeStrip W U).delta x ≤ |
| 168 | FinalSlowBase.edgeDistance W (coordinates (F := F) x).2 := by |
| 169 | let r := PrimaryTargetBounds.profileRadius F.data.h (BaseContextAssembly.slowCoordinates x) |
| 170 | let a := PrimaryTargetBounds.leftRadius W |
| 171 | let b := PrimaryTargetBounds.rightRadius W |
| 172 | have ha : 0 < a := PrimaryTargetBounds.leftRadius_pos W |
| 173 | have hb : 0 < b := PrimaryTargetBounds.rightRadius_pos W |
| 174 | have hr : r ∈ Ioo a b := (BaseContextAssembly.nativeStrip_mem W U x).mp hx |>.2 |
| 175 | have hrp : 0 < r := ha.trans hr.1 |
| 176 | have hasq : a^2/2 = NominalConeAssembly.activeLeft W := by |
| 177 | dsimp [a, PrimaryTargetBounds.leftRadius] |
| 178 | rw [Real.sq_sqrt (mul_nonneg (by norm_num) (NominalConeAssembly.activeLeft_pos W).le)] |
| 179 | ring |
| 180 | have hbsq : b^2/2 = NominalConeAssembly.activeRight W := by |
| 181 | dsimp [b, PrimaryTargetBounds.rightRadius] |
| 182 | rw [Real.sq_sqrt (mul_nonneg (by norm_num) (LeadingStressWeights.activeRight_pos W).le)] |
| 183 | ring |
| 184 | have hX : r^2/2 = (coordinates (F := F) x).2.1 := |
| 185 | PrimaryTargetBounds.profileRadius_sq (F := F) (BaseContextAssembly.nativeStrip_time W U hx) |
| 186 | have halog := PrimaryTargetBounds.log_square_half ha |
| 187 | have hblog := PrimaryTargetBounds.log_square_half hb |
| 188 | rw [hasq] at halog |
| 189 | rw [hbsq] at hblog |
| 190 | have hl : Real.log (coordinates (F := F) x).2.1 - FinalSlowBase.logLeft W = |
| 191 | 2 * WeightedRadialPrimitive.logPosition a r := by |
| 192 | rw [← hX, FinalSlowBase.logLeft, WeightedRadialPrimitive.logPosition, |
| 193 | Real.log_div hrp.ne' ha.ne', PrimaryTargetBounds.log_square_half hrp, halog] |
| 194 | ring |
| 195 | have hh : FinalSlowBase.logRight W - Real.log (coordinates (F := F) x).2.1 = |
| 196 | 2 * (WeightedRadialPrimitive.logLength a b - WeightedRadialPrimitive.logPosition a r) := by |
| 197 | rw [← hX, FinalSlowBase.logRight, WeightedRadialPrimitive.logLength, |
| 198 | WeightedRadialPrimitive.logPosition, Real.log_div hb.ne' ha.ne', |
| 199 | Real.log_div hrp.ne' ha.ne', PrimaryTargetBounds.log_square_half hrp, hblog] |
| 200 | ring |
| 201 | have hlog := WeightedRadialPrimitive.logPosition_mem ha hr |
| 202 | have hd : (BaseContextAssembly.nativeStrip W U).delta x = |
| 203 | WeightedRadialPrimitive.delta (WeightedRadialPrimitive.logLength a b) |
| 204 | (WeightedRadialPrimitive.logPosition a r) := by |
| 205 | change WeightedRadialPrimitive.delta _ (WeightedRadialPrimitive.logPosition _ |
| 206 | (x.1 / Real.sqrt (MeanRankUpdate.chartQ (2*F.data.h) x))) = _ |
| 207 | rw [← PrimaryTargetBounds.meanPoint_scalar (F := F) x] |
| 208 | rfl |
| 209 | rw [hd] |
| 210 | unfold FinalSlowBase.edgeDistance BaseResidual.activeDelta ActiveAnnulusWeight.edgeDistance |
| 211 | rw [hl, hh] |
| 212 | exact min_le_min le_rfl (min_le_min (by linarith [hlog.1]) (by linarith [hlog.2])) |
| 213 | |
| 214 | theorem inverse_edgeDistance_le_growth (U : LocalSignedRequest.SlowRegion (2*F.data.h)) |
| 215 | (n : ℕ) {x : Point} (hx : x ∈ (BaseContextAssembly.nativeStrip W U).domain) : |
| 216 | (FinalSlowBase.edgeDistance W (coordinates (F := F) x).2)⁻¹ ≤ |
| 217 | (BaseContextAssembly.nativeStrip W U).growth n x := by |
| 218 | let s := BaseContextAssembly.nativeStrip W U |
| 219 | have hi : (FinalSlowBase.edgeDistance W (coordinates (F := F) x).2)⁻¹ ≤ (s.delta x)⁻¹ := |
| 220 | inv_anti₀ (s.delta_pos x hx) (native_edgeDistance_le W U hx) |
| 221 | apply hi.trans |
| 222 | apply (le_max_right (1:ℝ) ((s.delta x)⁻¹)).trans |
| 223 | exact le_mul_of_one_le_left (zero_le_one.trans (le_max_left _ _)) (s.one_le_slow n) |
| 224 | |
| 225 | theorem coordinates_range (U : LocalSignedRequest.SlowRegion (2*F.data.h)) |
| 226 | {x : Point} (hx : x ∈ (BaseContextAssembly.nativeStrip W U).domain) : |
| 227 | (coordinates (F := F) x).1 ∈ Ioo (U.qlo/2) (BaseContextAssembly.geometryUpper U) := |
| 228 | (BaseContextAssembly.native_geometry W U ℕ).q_range 0 _ |
| 229 | (BaseContextAssembly.slowCoordinates_maps W U hx) |
| 230 | |
| 231 | /-- Every fixed real power of the normalized positive scale has genuine |
| 232 | uniform jets on the moving strip, including as physical time tends to zero. -/ |
| 233 | theorem coordinate_power_unweighted (U : LocalSignedRequest.SlowRegion (2*F.data.h)) (a : ℝ) : |
| 234 | UnweightedClass (BaseContextAssembly.nativeStrip W U) 0 |
| 235 | (fun _ x => (coordinates (F := F) x).1 ^ a) := by |
| 236 | have hqlo : 0 < U.qlo/2 := div_pos U.qlo_pos (by norm_num) |
| 237 | have hc := BaseChartJets.normalizedCoordinates_polynomial F.data.h_pos F.data.h_lt_half |
| 238 | hqlo (BaseContextAssembly.native_geometry W U ℕ) |
| 239 | have hq := hc.clm (ContinuousLinearMap.fst ℝ ℝ Inner) |
| 240 | have hp := hq.compact_comp isOpen_Ioi |
| 241 | (show ContDiffOn ℝ ∞ (fun r : ℝ => r^a) (Ioi 0) from |
| 242 | fun r hr => (contDiffAt_id.rpow_const_of_ne hr.ne').contDiffWithinAt) |
| 243 | (K := Icc (U.qlo/2) (BaseContextAssembly.geometryUpper U)) isCompact_Icc |
| 244 | (fun r hr => hqlo.trans_le hr.1) |
| 245 | (fun n p hp => ⟨((BaseContextAssembly.native_geometry W U ℕ).q_range n p hp).1.le, |
| 246 | ((BaseContextAssembly.native_geometry W U ℕ).q_range n p hp).2.le⟩) |
| 247 | exact BaseContextAssembly.unweighted_polynomial_pullback |
| 248 | (BaseContextAssembly.nativeStrip W U) hp (fun _ => BaseContextAssembly.slowCoordinates_maps W U) |
| 249 | |
| 250 | end NativeGeometry |
| 251 | |
| 252 | section ActualStress |
| 253 | |
| 254 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 255 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 256 | (v : ModulatedProfileAssembly.Witness ld) |
| 257 | |
| 258 | /-- The literal positive-order part of the normalized tensor. -/ |
| 259 | noncomputable def correction (upper : ℝ) (B : ℕ) (y : Chart) : Inner := |
| 260 | FinalSlowBase.normalizedStress H v upper B y - |
| 261 | BaseResidual.stressPair (FinalSlowBase.coefficients H v) 0 y.2 |
| 262 | |
| 263 | theorem correction_smooth (upper : ℝ) (B : ℕ) : |
| 264 | ContDiffOn ℝ ∞ (correction H v upper B) BaseChartJets.sumRegion := by |
| 265 | intro y hy |
| 266 | exact ((FinalSlowBase.normalizedStress_smoothAt H v upper B hy.1).sub |
| 267 | ((BaseResidual.stressPair_smooth (FinalSlowBase.coefficients_smooth H v) 0).contDiffAt.comp |
| 268 | y contDiffAt_snd)).contDiffWithinAt |
| 269 | |
| 270 | /-- The weighted normalized remainder estimate holds at every positive |
| 271 | physical scale. Above one its actual blown jets vanish by the cutoff germ. -/ |
| 272 | theorem correction_weighted_jets (upper : ℝ) (B m : ℕ) : |
| 273 | ∃ D : ℝ, 0 < D ∧ ∃ N : ℕ, ∀ q : ℝ, 0 < q → ∀ w ∈ FinalSlowBase.annulus W, |
| 274 | ‖SlowBorelBase.blownJet m (correction H v upper B) (q,w)‖ ≤ |
| 275 | D * q ^ F.data.h * FinalSlowBase.weight W w * (FinalSlowBase.edgeDistance W w)⁻¹ ^ N := by |
| 276 | obtain ⟨D, hD, N, hb⟩ := FinalSlowBase.weighted_jets H v upper B m |
| 277 | refine ⟨D, hD, N, fun q hq w hw => ?_⟩ |
| 278 | by_cases hq1 : q ≤ 1 |
| 279 | · exact hb q hq hq1 w hw |
| 280 | · have hz := AllBandBaseJets.correction_blownJet_eq_zero |
| 281 | (FinalSlowBase.scales_admissible H v upper B).positive F.data.h |
| 282 | (BaseResidual.stressPair (FinalSlowBase.coefficients H v)) (lt_of_not_ge hq1) w m |
| 283 | change SlowBorelBase.blownJet m (correction H v upper B) (q,w) = 0 at hz |
| 284 | rw [hz, norm_zero] |
| 285 | have hw' : w ∈ BaseResidual.activeWindow (FinalSlowBase.logLeft W) (FinalSlowBase.logRight W) := by |
| 286 | rwa [← FinalSlowBase.annulus_eq W] |
| 287 | have hzeta : 0 ≤ FinalSlowBase.weight W w := |
| 288 | (ActiveAnnulusWeight.radialWeight_pos hw'.1).le |
| 289 | have hd : 0 ≤ (FinalSlowBase.edgeDistance W w)⁻¹ := |
| 290 | inv_nonneg.mpr (BaseResidual.activeDelta_bounds hw').1.le |
| 291 | exact mul_nonneg (mul_nonneg (mul_nonneg hD.le (Real.rpow_nonneg hq.le _)) hzeta) |
| 292 | (pow_nonneg hd N) |
| 293 | |
| 294 | /-- The order-zero tensor, composed with the actual moving chart, keeps |
| 295 | the exact edge weight. Its proof uses the checked profile-jet estimates. -/ |
| 296 | theorem leading_composed_meanClass (hcone : LeadingStressWeights.FullTrueCone v) |
| 297 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 298 | MeanClass (BaseContextAssembly.nativeStrip W U) 0 |
| 299 | (fun _ x => BaseResidual.stressPair (FinalSlowBase.coefficients H v) 0 |
| 300 | (coordinates (F := F) x).2) := by |
| 301 | let s := BaseContextAssembly.nativeStrip W U |
| 302 | apply class_comp_of_outer_jets (s := s) (U := univ) isOpen_univ |
| 303 | (fun _ => (BaseResidual.stressPair_smooth (FinalSlowBase.coefficients_smooth H v) 0).contDiffOn) |
| 304 | ((coordinates_unweighted W U).map (ContinuousLinearMap.snd ℝ ℝ Inner)) |
| 305 | (fun _ _ _ => mem_univ _) (fun _ x hx => s.zeta_nonneg x hx) |
| 306 | intro j |
| 307 | obtain ⟨D, hD, N, hb⟩ := FinalSlowBase.leading_coefficient_jets H v hcone j |
| 308 | refine ⟨D, hD.le, N, fun n x hx => ?_⟩ |
| 309 | have hpos : 0 < FinalSlowBase.edgeDistance W (coordinates (F := F) x).2 := |
| 310 | (s.delta_pos x hx).trans_le (native_edgeDistance_le W U hx) |
| 311 | have hi := pow_le_pow_left₀ (inv_nonneg.mpr hpos.le) |
| 312 | (inverse_edgeDistance_le_growth W U n hx) N |
| 313 | have hw : FinalSlowBase.weight W (coordinates (F := F) x).2 = s.zeta x := |
| 314 | (BaseContextAssembly.nativeStrip_weight W U hx).symm |
| 315 | calc |
| 316 | _ ≤ D * FinalSlowBase.weight W (coordinates (F := F) x).2 * |
| 317 | (FinalSlowBase.edgeDistance W (coordinates (F := F) x).2)⁻¹ ^ N := |
| 318 | hb _ (BaseContextAssembly.nativeStrip_active W U hx) |
| 319 | _ = D * s.zeta x * (FinalSlowBase.edgeDistance W (coordinates (F := F) x).2)⁻¹ ^ N := by rw [hw] |
| 320 | _ ≤ D * s.zeta x * s.growth n x ^ N := |
| 321 | mul_le_mul_of_nonneg_left hi (mul_nonneg hD.le (s.zeta_nonneg x hx)) |
| 322 | _ = _ := by simp only [majorant, Real.rpow_zero, mul_one]; ring |
| 323 | |
| 324 | /-- The actual positive-order normalized tensor is one mean order smaller |
| 325 | after the band rescaling, uniformly over all bands. -/ |
| 326 | theorem correction_composed_meanClass (upper : ℝ) (B : ℕ) |
| 327 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 328 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 329 | (fun n x => correction H v upper B |
| 330 | (SlowBorelBase.scaleMap (ChartScales.Q n) (coordinates (F := F) x))) := by |
| 331 | let s := BaseContextAssembly.nativeStrip W U |
| 332 | have hs n : ContDiffOn ℝ ∞ |
| 333 | (correction H v upper B ∘ SlowBorelBase.scaleMap (ChartScales.Q n)) BaseChartJets.sumRegion := |
| 334 | (correction_smooth H v upper B).comp (SlowBorelBase.scaleMap (ChartScales.Q n)).contDiff.contDiffOn |
| 335 | (fun y hy => ⟨mul_pos (ChartScales.Q_pos n) hy.1, hy.2⟩) |
| 336 | have hmap (n : ℕ) : MapsTo (fun x => coordinates (F := F) x) s.domain BaseChartJets.sumRegion := by |
| 337 | intro x hx |
| 338 | have hq := coordinates_range W U hx |
| 339 | have hw := BaseContextAssembly.nativeStrip_active W U hx |
| 340 | exact ⟨(div_pos U.qlo_pos (by norm_num)).trans hq.1, |
| 341 | (NominalConeAssembly.activeLeft_pos W).trans hw.1.1, mem_univ _⟩ |
| 342 | apply class_comp_of_outer_jets (s := s) BaseChartJets.sumRegion_open hs |
| 343 | (coordinates_unweighted W U) hmap (fun _ x hx => s.zeta_nonneg x hx) |
| 344 | intro j |
| 345 | obtain ⟨D, hD, N, hb⟩ := correction_weighted_jets H v upper B j |
| 346 | let K : ℝ := max 1 (1/(U.qlo/2)) |
| 347 | let R : ℝ := BaseContextAssembly.geometryUpper U |
| 348 | have hR : 0 < R := BaseContextAssembly.geometryUpper_pos U |
| 349 | have hK : 1 ≤ K := le_max_left _ _ |
| 350 | refine ⟨D * R^F.data.h * K^j, by positivity, N, fun n x hx => ?_⟩ |
| 351 | have hqp : 0 < (coordinates (F := F) x).1 := (hmap n hx).1 |
| 352 | have hxpos : 0 < (coordinates (F := F) x).2.1 := (hmap n hx).2.1 |
| 353 | have hqr := coordinates_range W U hx |
| 354 | have hinv : 1 / (coordinates (F := F) x).1 ≤ K := |
| 355 | (one_div_le_one_div_of_le (div_pos U.qlo_pos (by norm_num)) hqr.1.le).trans (le_max_right _ _) |
| 356 | have hscaled := scaled_jet_from_blown (correction_smooth H v upper B) |
| 357 | (ChartScales.Q_pos n) hqp hxpos hK hinv j |
| 358 | have hbound := hb (ChartScales.Q n * (coordinates (F := F) x).1) |
| 359 | (mul_pos (ChartScales.Q_pos n) hqp) _ (BaseContextAssembly.nativeStrip_active W U hx) |
| 360 | have hzeta : FinalSlowBase.weight W (coordinates (F := F) x).2 = s.zeta x := |
| 361 | (BaseContextAssembly.nativeStrip_weight W U hx).symm |
| 362 | have hpos : 0 < FinalSlowBase.edgeDistance W (coordinates (F := F) x).2 := |
| 363 | (s.delta_pos x hx).trans_le (native_edgeDistance_le W U hx) |
| 364 | have hd := pow_le_pow_left₀ (inv_nonneg.mpr hpos.le) |
| 365 | (inverse_edgeDistance_le_growth W U n hx) N |
| 366 | have hrpow : (ChartScales.Q n * (coordinates (F := F) x).1)^F.data.h ≤ |
| 367 | s.epsilon n * R^F.data.h := by |
| 368 | rw [Real.mul_rpow (ChartScales.Q_pos n).le hqp.le] |
| 369 | exact mul_le_mul_of_nonneg_left (Real.rpow_le_rpow hqp.le hqr.2.le F.data.h_pos.le) |
| 370 | (Real.rpow_nonneg (ChartScales.Q_pos n).le _) |
| 371 | calc |
| 372 | _ ≤ ‖SlowBorelBase.blownJet j (correction H v upper B) |
| 373 | (ChartScales.Q n * (coordinates (F := F) x).1, (coordinates (F := F) x).2)‖ * K^j := hscaled |
| 374 | _ ≤ (D * (ChartScales.Q n * (coordinates (F := F) x).1)^F.data.h * |
| 375 | FinalSlowBase.weight W (coordinates (F := F) x).2 * |
| 376 | (FinalSlowBase.edgeDistance W (coordinates (F := F) x).2)⁻¹^N) * K^j := |
| 377 | mul_le_mul_of_nonneg_right hbound (pow_nonneg (zero_le_one.trans hK) j) |
| 378 | _ = (D * (ChartScales.Q n * (coordinates (F := F) x).1)^F.data.h * s.zeta x * |
| 379 | (FinalSlowBase.edgeDistance W (coordinates (F := F) x).2)⁻¹^N) * K^j := by rw [hzeta] |
| 380 | _ ≤ (D * (s.epsilon n * R^F.data.h) * s.zeta x * s.growth n x^N) * K^j := by |
| 381 | apply mul_le_mul_of_nonneg_right _ (pow_nonneg (zero_le_one.trans hK) j) |
| 382 | exact mul_le_mul |
| 383 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hrpow hD.le) (s.zeta_nonneg x hx)) |
| 384 | hd (pow_nonneg (inv_nonneg.mpr hpos.le) N) |
| 385 | (mul_nonneg (mul_nonneg hD.le (mul_nonneg (s.epsilon_pos n).le |
| 386 | (Real.rpow_nonneg hR.le _))) (s.zeta_nonneg x hx)) |
| 387 | _ = _ := by simp only [majorant, Real.rpow_one]; ring |
| 388 | |
| 389 | /-- The band scalar is exactly the first power of the class parameter. -/ |
| 390 | theorem epsilon_bandBound (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 391 | BandBound (BaseContextAssembly.nativeStrip W U) 1 (ChartScales.epsilon F.data.h) := by |
| 392 | refine ⟨1, zero_le_one, 0, fun n => ?_⟩ |
| 393 | change ‖ChartScales.epsilon F.data.h n‖ ≤ |
| 394 | 1 * (ChartScales.epsilon F.data.h n)^(1:ℝ) * BaseContextAssembly.slowScale n^0 |
| 395 | simp only [Real.norm_of_nonneg (ChartScales.epsilon_pos F.data.h n).le, |
| 396 | Real.rpow_one, one_mul, pow_zero, mul_one, le_refl] |
| 397 | |
| 398 | include H in |
| 399 | /-- Raw positive-radius formula for the literal leading stress, including |
| 400 | the exact physical power of the normalized similarity scale. -/ |
| 401 | theorem raw_leading_meanClass (hcone : LeadingStressWeights.FullTrueCone v) |
| 402 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 403 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 404 | (fun n x => (ChartScales.epsilon F.data.h n * |
| 405 | (coordinates (F := F) x).1 ^ (-CoordinateAlgebra.A F.data.h-1/2)) • |
| 406 | FinalSlowBase.leadingStress v (coordinates (F := F) x).2) := by |
| 407 | have h0 : MeanClass (BaseContextAssembly.nativeStrip W U) 0 |
| 408 | (fun _ x => (coordinates (F := F) x).1 ^ (-CoordinateAlgebra.A F.data.h-1/2) • |
| 409 | BaseResidual.stressPair (FinalSlowBase.coefficients H v) 0 (coordinates (F := F) x).2) := by |
| 410 | simpa only [MeanClass, UnweightedClass, one_mul, zero_add] using |
| 411 | (coordinate_power_unweighted W U (-CoordinateAlgebra.A F.data.h-1/2)).smul |
| 412 | (leading_composed_meanClass H v hcone U) |
| 413 | have h1 : MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 414 | (fun n x => (ChartScales.epsilon F.data.h n * |
| 415 | (coordinates (F := F) x).1 ^ (-CoordinateAlgebra.A F.data.h-1/2)) • |
| 416 | BaseResidual.stressPair (FinalSlowBase.coefficients H v) 0 (coordinates (F := F) x).2) := by |
| 417 | simpa only [zero_add, smul_smul] using h0.band_smul (epsilon_bandBound (W := W) U) |
| 418 | apply CurlClassBounds.class_congr h1 |
| 419 | intro n x hx |
| 420 | dsimp only |
| 421 | have hw := BaseContextAssembly.nativeStrip_active W U hx |
| 422 | rw [FinalSlowBase.leading_stress_eq H v (p := (coordinates (F := F) x).2) |
| 423 | ((NominalConeAssembly.activeLeft_pos W).trans hw.1.1).le (abs_le.mpr hw.2)] |
| 424 | |
| 425 | /-- Raw positive-radius formula for the higher stress remainder. The |
| 426 | extra mean order follows from the actual weighted Borel estimate and the |
| 427 | physical band factor, without a lower bound on the flat weight. -/ |
| 428 | theorem raw_higher_meanClass (upper : ℝ) (B : ℕ) |
| 429 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 430 | MeanClass (BaseContextAssembly.nativeStrip W U) 2 |
| 431 | (fun n x => (ChartScales.epsilon F.data.h n * |
| 432 | (coordinates (F := F) x).1 ^ (-CoordinateAlgebra.A F.data.h-1/2)) • |
| 433 | (FinalSlowBase.normalizedStress H v upper B |
| 434 | (SlowBorelBase.scaleMap (ChartScales.Q n) (coordinates (F := F) x)) - |
| 435 | FinalSlowBase.leadingStress v (coordinates (F := F) x).2)) := by |
| 436 | have h0 : MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 437 | (fun n x => (coordinates (F := F) x).1 ^ (-CoordinateAlgebra.A F.data.h-1/2) • |
| 438 | correction H v upper B (SlowBorelBase.scaleMap (ChartScales.Q n) (coordinates (F := F) x))) := by |
| 439 | simpa only [MeanClass, UnweightedClass, one_mul, zero_add] using |
| 440 | (coordinate_power_unweighted W U (-CoordinateAlgebra.A F.data.h-1/2)).smul |
| 441 | (correction_composed_meanClass H v upper B U) |
| 442 | have h1 : MeanClass (BaseContextAssembly.nativeStrip W U) 2 |
| 443 | (fun n x => (ChartScales.epsilon F.data.h n * |
| 444 | (coordinates (F := F) x).1 ^ (-CoordinateAlgebra.A F.data.h-1/2)) • |
| 445 | correction H v upper B (SlowBorelBase.scaleMap (ChartScales.Q n) (coordinates (F := F) x))) := by |
| 446 | simpa only [show (1:ℝ)+1=2 by norm_num, smul_smul] using |
| 447 | h0.band_smul (epsilon_bandBound (W := W) U) |
| 448 | apply CurlClassBounds.class_congr h1 |
| 449 | intro n x hx |
| 450 | have hw := BaseContextAssembly.nativeStrip_active W U hx |
| 451 | simp only [correction, SlowBorelBase.scaleMap_apply] |
| 452 | rw [FinalSlowBase.leading_stress_eq H v (p := (coordinates (F := F) x).2) |
| 453 | ((NominalConeAssembly.activeLeft_pos W).trans hw.1.1).le (abs_le.mpr hw.2)] |
| 454 | |
| 455 | /-- The full raw stress has mean order one. -/ |
| 456 | theorem raw_stress_meanClass (hcone : LeadingStressWeights.FullTrueCone v) |
| 457 | (upper : ℝ) (B : ℕ) (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 458 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 459 | (fun n x => (ChartScales.epsilon F.data.h n * |
| 460 | (coordinates (F := F) x).1 ^ (-CoordinateAlgebra.A F.data.h-1/2)) • |
| 461 | FinalSlowBase.normalizedStress H v upper B |
| 462 | (SlowBorelBase.scaleMap (ChartScales.Q n) (coordinates (F := F) x))) := by |
| 463 | have hh := (raw_higher_meanClass H v upper B U).mono_exponent (by norm_num : (1:ℝ) ≤ 2) |
| 464 | apply CurlClassBounds.class_congr (hh.add (raw_leading_meanClass H v hcone U)) |
| 465 | intro n x hx |
| 466 | simp only [smul_sub, sub_add_cancel] |
| 467 | |
| 468 | /-- The leading term of the same actual base context belongs to `M₁`. -/ |
| 469 | theorem leadingVirtualStress_meanClass (hcone : LeadingStressWeights.FullTrueCone v) |
| 470 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 471 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 472 | (BaseContextAssembly.leadingVirtualStress H v) := by |
| 473 | apply CurlClassBounds.class_congr (raw_leading_meanClass H v hcone U) |
| 474 | intro n x hx |
| 475 | exact (BaseContextAssembly.leadingVirtualStress_eq H v n |
| 476 | (BaseContextAssembly.nativeStrip_time W U hx) (BaseContextAssembly.nativeStrip_radius W U hx)).symm |
| 477 | |
| 478 | /-- Actual virtual stress, with the signed-radius extension fixed by the |
| 479 | base context. On this native strip the radius is strictly positive. -/ |
| 480 | theorem virtualStress_meanClass (hcone : LeadingStressWeights.FullTrueCone v) |
| 481 | (upper : ℝ) (B : ℕ) (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 482 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 483 | (BaseContextAssembly.virtualStress H v upper B) := by |
| 484 | apply CurlClassBounds.class_congr (raw_stress_meanClass H v hcone upper B U) |
| 485 | intro n x hx |
| 486 | exact (BaseContextAssembly.virtualStress_normalized H v upper B n |
| 487 | (BaseContextAssembly.nativeStrip_time W U hx) (BaseContextAssembly.nativeStrip_radius W U hx)).symm |
| 488 | |
| 489 | /-- The difference between the actual virtual tensor and its actual |
| 490 | leading term belongs to `M₂`, with constants uniform over every band. -/ |
| 491 | theorem higherStress_meanClass (upper : ℝ) (B : ℕ) |
| 492 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 493 | MeanClass (BaseContextAssembly.nativeStrip W U) 2 |
| 494 | (fun n x => BaseContextAssembly.virtualStress H v upper B n x - |
| 495 | BaseContextAssembly.leadingVirtualStress H v n x) := by |
| 496 | apply CurlClassBounds.class_congr (raw_higher_meanClass H v upper B U) |
| 497 | intro n x hx |
| 498 | dsimp only |
| 499 | rw [BaseContextAssembly.virtualStress_normalized H v upper B n |
| 500 | (BaseContextAssembly.nativeStrip_time W U hx) (BaseContextAssembly.nativeStrip_radius W U hx), |
| 501 | BaseContextAssembly.leadingVirtualStress_eq H v n |
| 502 | (BaseContextAssembly.nativeStrip_time W U hx) (BaseContextAssembly.nativeStrip_radius W U hx)] |
| 503 | exact smul_sub _ _ _ |
| 504 | |
| 505 | /-- The two physical tensor entries can be consumed separately by the |
| 506 | correction step, retaining the same strip and class exponent. -/ |
| 507 | theorem virtualStress_components (hcone : LeadingStressWeights.FullTrueCone v) |
| 508 | (upper : ℝ) (B : ℕ) (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 509 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 510 | (fun n x => (BaseContextAssembly.virtualStress H v upper B n x).1) ∧ |
| 511 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 |
| 512 | (fun n x => (BaseContextAssembly.virtualStress H v upper B n x).2) := by |
| 513 | have hs := virtualStress_meanClass H v hcone upper B U |
| 514 | exact ⟨hs.map (ContinuousLinearMap.fst ℝ ℝ ℝ), hs.map (ContinuousLinearMap.snd ℝ ℝ ℝ)⟩ |
| 515 | |
| 516 | theorem higherStress_components (upper : ℝ) (B : ℕ) |
| 517 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) : |
| 518 | MeanClass (BaseContextAssembly.nativeStrip W U) 2 |
| 519 | (fun n x => (BaseContextAssembly.virtualStress H v upper B n x).1 - |
| 520 | (BaseContextAssembly.leadingVirtualStress H v n x).1) ∧ |
| 521 | MeanClass (BaseContextAssembly.nativeStrip W U) 2 |
| 522 | (fun n x => (BaseContextAssembly.virtualStress H v upper B n x).2 - |
| 523 | (BaseContextAssembly.leadingVirtualStress H v n x).2) := by |
| 524 | have hs := higherStress_meanClass H v upper B U |
| 525 | exact ⟨hs.map (ContinuousLinearMap.fst ℝ ℝ ℝ), hs.map (ContinuousLinearMap.snd ℝ ℝ ℝ)⟩ |
| 526 | |
| 527 | end ActualStress |
| 528 | |
| 529 | end NavierStokes.BaseStressClasses |