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.DiagonalJetBounds |
| 2 | import NavierStokes.ResidualStability |
| 3 | |
| 4 | /-! |
| 5 | # Residual flatness from quantitative finite-stage data |
| 6 | |
| 7 | The finite approximation used in the proof depends on the requested jet order |
| 8 | and decay power. Stage constants and neighborhoods may depend on that stage; |
| 9 | the loss of powers in the background estimates must not. All jet estimates |
| 10 | refer to actual iterated Fréchet derivatives of the displayed fields. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.DiagonalResidual |
| 16 | |
| 17 | open Set Filter Function |
| 18 | open scoped Topology BigOperators ContDiff |
| 19 | |
| 20 | private local instance : NormedAddCommGroup |
| 21 | (ProblemStatement.SpaceTime →L[ℝ] ProblemStatement.SpaceTime →L[ℝ] ProblemStatement.Space) := |
| 22 | inferInstance |
| 23 | private local instance : NormedSpace ℝ |
| 24 | (ProblemStatement.SpaceTime →L[ℝ] ProblemStatement.SpaceTime →L[ℝ] ProblemStatement.Space) := |
| 25 | inferInstance |
| 26 | |
| 27 | section Rates |
| 28 | |
| 29 | variable {D V : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 30 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 31 | |
| 32 | /-- A single quantitative order for one actual derivative. -/ |
| 33 | def JetRate (l : Filter D) (q : D → ℝ) (f : D → V) (m : ℕ) (r : ℝ) : Prop := |
| 34 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ x in l, ‖iteratedFDeriv ℝ m f x‖ ≤ C * (q x) ^ r |
| 35 | |
| 36 | /-- A common constant and neighborhood for a finite list of actual jets. -/ |
| 37 | def FiniteJetRate (l : Filter D) (q : D → ℝ) (f : D → V) (M : ℕ) (r : ℝ) : Prop := |
| 38 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ x in l, ∀ m ≤ M, |
| 39 | ‖iteratedFDeriv ℝ m f x‖ ≤ C * (q x) ^ r |
| 40 | |
| 41 | theorem JetRate.weaken {l : Filter D} {q : D → ℝ} {f : D → V} {m : ℕ} {r s : ℝ} |
| 42 | (hf : JetRate l q f m r) (hq : ∀ᶠ x in l, 0 < q x ∧ q x ≤ 1) (hsr : s ≤ r) : |
| 43 | JetRate l q f m s := by |
| 44 | obtain ⟨C, hC, hb⟩ := hf |
| 45 | refine ⟨C, hC, ?_⟩ |
| 46 | filter_upwards [hq, hb] with x hx hbound |
| 47 | exact hbound.trans (mul_le_mul_of_nonneg_left |
| 48 | (Real.rpow_le_rpow_of_exponent_ge hx.1 hx.2 hsr) hC) |
| 49 | |
| 50 | theorem finiteJetRate_of_jetRate {l : Filter D} {q : D → ℝ} {f : D → V} {r : ℝ} |
| 51 | (hq : ∀ᶠ x in l, 0 < q x) (M : ℕ) : |
| 52 | (∀ m ≤ M, JetRate l q f m r) → FiniteJetRate l q f M r := by |
| 53 | induction M with |
| 54 | | zero => |
| 55 | intro h |
| 56 | obtain ⟨C, hC, hb⟩ := h 0 le_rfl |
| 57 | refine ⟨C, hC, ?_⟩ |
| 58 | filter_upwards [hb] with x hx |
| 59 | intro m hm |
| 60 | have hm0 : m = 0 := Nat.eq_zero_of_le_zero hm |
| 61 | subst m |
| 62 | exact hx |
| 63 | | succ M ih => |
| 64 | intro h |
| 65 | obtain ⟨A, hA, ha⟩ := ih (fun m hm => h m (by omega)) |
| 66 | obtain ⟨B, hB, hb⟩ := h (M + 1) le_rfl |
| 67 | refine ⟨A + B, add_nonneg hA hB, ?_⟩ |
| 68 | filter_upwards [hq, ha, hb] with x hx hax hbx |
| 69 | intro m hm |
| 70 | by_cases hmM : m ≤ M |
| 71 | · exact (hax m hmM).trans (mul_le_mul_of_nonneg_right |
| 72 | (le_add_of_nonneg_right hB) (Real.rpow_nonneg hx.le r)) |
| 73 | · have hm' : m = M + 1 := by omega |
| 74 | subst m |
| 75 | exact hbx.trans (mul_le_mul_of_nonneg_right |
| 76 | (le_add_of_nonneg_left hA) (Real.rpow_nonneg hx.le r)) |
| 77 | |
| 78 | theorem JetRate.add {l : Filter D} {q : D → ℝ} {f g : D → V} {m : ℕ} {r : ℝ} |
| 79 | {U : Set D} (hf : JetRate l q f m r) (hg : JetRate l q g m r) |
| 80 | (hU : IsOpen U) (hlU : ∀ᶠ x in l, x ∈ U) |
| 81 | (hsf : ContDiffOn ℝ ∞ f U) (hsg : ContDiffOn ℝ ∞ g U) : |
| 82 | JetRate l q (fun x => f x + g x) m r := by |
| 83 | obtain ⟨A, hA, ha⟩ := hf |
| 84 | obtain ⟨B, hB, hb⟩ := hg |
| 85 | refine ⟨A + B, add_nonneg hA hB, ?_⟩ |
| 86 | filter_upwards [hlU, ha, hb] with x hx hax hbx |
| 87 | calc |
| 88 | _ ≤ ‖iteratedFDeriv ℝ m f x‖ + ‖iteratedFDeriv ℝ m g x‖ := |
| 89 | ResidualStability.norm_jet_add_le hU hsf hsg hx m |
| 90 | _ ≤ A * (q x) ^ r + B * (q x) ^ r := add_le_add hax hbx |
| 91 | _ = (A + B) * (q x) ^ r := (add_mul _ _ _).symm |
| 92 | |
| 93 | theorem JetRate.congr_on {l : Filter D} {q : D → ℝ} {f g : D → V} {m : ℕ} {r : ℝ} |
| 94 | {U : Set D} (hf : JetRate l q f m r) (hU : IsOpen U) |
| 95 | (hlU : ∀ᶠ x in l, x ∈ U) (hfg : EqOn f g U) : JetRate l q g m r := by |
| 96 | obtain ⟨C, hC, hb⟩ := hf |
| 97 | refine ⟨C, hC, ?_⟩ |
| 98 | filter_upwards [hlU, hb] with x hx hbound |
| 99 | rwa [← ResidualStability.iteratedFDeriv_eqOn hU hfg m hx] |
| 100 | |
| 101 | end Rates |
| 102 | |
| 103 | section Powers |
| 104 | |
| 105 | /-- A nonnegative upper bound for every loss in a finite derivative list. -/ |
| 106 | def maxJetLoss (L : ℕ → ℝ) (M : ℕ) : ℝ := |
| 107 | max 0 ((Finset.range (M + 1)).sup' |
| 108 | ⟨0, Finset.mem_range.mpr (Nat.succ_pos M)⟩ L) |
| 109 | |
| 110 | theorem maxJetLoss_nonneg (L : ℕ → ℝ) (M : ℕ) : 0 ≤ maxJetLoss L M := |
| 111 | le_max_left _ _ |
| 112 | |
| 113 | theorem le_maxJetLoss (L : ℕ → ℝ) {m M : ℕ} (hm : m ≤ M) : L m ≤ maxJetLoss L M := |
| 114 | (Finset.le_sup' L (Finset.mem_range.mpr (Nat.lt_succ_of_le hm))).trans (le_max_right _ _) |
| 115 | |
| 116 | theorem power_product_le {q A B r s n : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) |
| 117 | (hA : 0 ≤ A) (hB : 0 ≤ B) (hn : n ≤ r + s) : |
| 118 | (A * q ^ r) * (B * q ^ s) ≤ (A * B) * q ^ n := by |
| 119 | calc |
| 120 | _ = (A * B) * q ^ (r + s) := by rw [Real.rpow_add hq]; ring |
| 121 | _ ≤ _ := mul_le_mul_of_nonneg_left |
| 122 | (Real.rpow_le_rpow_of_exponent_ge hq hq1 hn) (mul_nonneg hA hB) |
| 123 | |
| 124 | /-- A scalar version of the six-term residual estimate. Taking the tail |
| 125 | order at least `n+b` absorbs background growth `q^(-b)` and the quadratic |
| 126 | tail term, with constants allowed to depend on the chosen stage. -/ |
| 127 | theorem perturbation_majorant_le {q A W P b n t d p k : ℝ} |
| 128 | (hq : 0 < q) (hq1 : q ≤ 1) (hA : 0 ≤ A) (hW : 0 ≤ W) (hP : 0 ≤ P) |
| 129 | (hb : 0 ≤ b) (hn : 0 ≤ n) |
| 130 | (ht : 0 ≤ t) (hd : 0 ≤ d) (hp : 0 ≤ p) (hk : 0 ≤ k) : |
| 131 | t * (W * q ^ (n + b)) + d * (W * q ^ (n + b)) + p * (P * q ^ (n + b)) + |
| 132 | k * (A * q ^ (-b)) * (W * q ^ (n + b)) + |
| 133 | k * (W * q ^ (n + b)) * (A * q ^ (-b)) + |
| 134 | k * (W * q ^ (n + b)) * (W * q ^ (n + b)) ≤ |
| 135 | (t * W + d * W + p * P + k * A * W + k * W * A + k * W * W) * q ^ n := by |
| 136 | have hpow : q ^ (n + b) ≤ q ^ n := |
| 137 | Real.rpow_le_rpow_of_exponent_ge hq hq1 (by linarith) |
| 138 | have hlinW := mul_le_mul_of_nonneg_left hpow hW |
| 139 | have hlinP := mul_le_mul_of_nonneg_left hpow hP |
| 140 | have hAW := power_product_le hq hq1 hA hW (show n ≤ -b + (n + b) by linarith) |
| 141 | have hWA := power_product_le hq hq1 hW hA (show n ≤ (n + b) + -b by linarith) |
| 142 | have hWW := power_product_le hq hq1 hW hW (show n ≤ (n + b) + (n + b) by linarith) |
| 143 | have h1 := mul_le_mul_of_nonneg_left hlinW ht |
| 144 | have h2 := mul_le_mul_of_nonneg_left hlinW hd |
| 145 | have h3 := mul_le_mul_of_nonneg_left hlinP hp |
| 146 | have h4 := mul_le_mul_of_nonneg_left hAW hk |
| 147 | have h5 := mul_le_mul_of_nonneg_left hWA hk |
| 148 | have h6 := mul_le_mul_of_nonneg_left hWW hk |
| 149 | calc |
| 150 | _ ≤ t * (W * q ^ n) + d * (W * q ^ n) + p * (P * q ^ n) + |
| 151 | k * ((A * W) * q ^ n) + k * ((W * A) * q ^ n) + k * ((W * W) * q ^ n) := by |
| 152 | simpa only [mul_assoc] using add_le_add (add_le_add (add_le_add (add_le_add |
| 153 | (add_le_add h1 h2) h3) h4) h5) h6 |
| 154 | _ = _ := by ring |
| 155 | |
| 156 | end Powers |
| 157 | |
| 158 | |
| 159 | section Residual |
| 160 | |
| 161 | open ProblemStatement ResidualStability |
| 162 | |
| 163 | /-- Quantitative residual stability packaged as an eventual power estimate. |
| 164 | The background exponent `b` is paid for by selecting tail order `n+b`. -/ |
| 165 | theorem residualDifference_jetRate {U : Set SpaceTime} {l : Filter SpaceTime} |
| 166 | {q : SpaceTime → ℝ} {u w : VelocityField} {p r : PressureField} |
| 167 | (hU : IsOpen U) (hlU : ∀ᶠ z in l, z ∈ U) |
| 168 | (hq : ∀ᶠ z in l, 0 < q z ∧ q z ≤ 1) |
| 169 | (hu : ContDiffOn ℝ ∞ u U) (hw : ContDiffOn ℝ ∞ w U) |
| 170 | (hp : ContDiffOn ℝ ∞ p U) (hr : ContDiffOn ℝ ∞ r U) |
| 171 | (m : ℕ) {b n : ℝ} (hb : 0 ≤ b) (hn : 0 ≤ n) |
| 172 | (hbg : FiniteJetRate l q u (m + 1) (-b)) |
| 173 | (hwu : FiniteJetRate l q w (m + 2) (n + b)) |
| 174 | (hpr : FiniteJetRate l q r (m + 1) (n + b)) : |
| 175 | JetRate l q (residualDifference u w p r) m n := by |
| 176 | obtain ⟨A, hA, hAb⟩ := hbg |
| 177 | obtain ⟨W, hW, hWb⟩ := hwu |
| 178 | obtain ⟨P, hP, hPb⟩ := hpr |
| 179 | let K : ℝ := ‖spaceRestriction Space‖ * (2 : ℝ) ^ m |
| 180 | let C : ℝ := ‖timeJet‖ * W + ‖laplaceJet‖ * W + ‖pressureJet‖ * P + |
| 181 | K * A * W + K * W * A + K * W * W |
| 182 | refine ⟨C, ?_, ?_⟩ |
| 183 | · dsimp [C, K] |
| 184 | positivity |
| 185 | · filter_upwards [hlU, hq, hAb, hWb, hPb] with z hz hqz hAz hWz hPz |
| 186 | have hres := residualDifference_jet_bound hU hu hw hp hr hz m hAz hWz hPz |
| 187 | have hpow := perturbation_majorant_le hqz.1 hqz.2 hA hW hP hb hn |
| 188 | (norm_nonneg timeJet) (norm_nonneg laplaceJet) (norm_nonneg pressureJet) |
| 189 | (show 0 ≤ K by dsimp [K]; positivity) |
| 190 | exact hres.trans hpow |
| 191 | |
| 192 | /-- For each requested order choose a single sufficiently advanced stage. |
| 193 | Only the jets through `m+2` of its tail are used, and the background power |
| 194 | losses are independent of the stage. Constants and neighborhoods may depend |
| 195 | on the stage and derivative order. -/ |
| 196 | theorem residual_jetRate_of_stages {U : Set SpaceTime} {l : Filter SpaceTime} |
| 197 | {q : SpaceTime → ℝ} {u : VelocityField} {p : PressureField} |
| 198 | {uStage : ℕ → VelocityField} {pStage : ℕ → PressureField} |
| 199 | {g Lbg Ltail Lres : ℕ → ℝ} |
| 200 | (hU : IsOpen U) (hlU : ∀ᶠ z in l, z ∈ U) |
| 201 | (hq : ∀ᶠ z in l, 0 < q z ∧ q z ≤ 1) |
| 202 | (hu : ContDiffOn ℝ ∞ u U) (hp : ContDiffOn ℝ ∞ p U) |
| 203 | (hus : ∀ J, ContDiffOn ℝ ∞ (uStage J) U) |
| 204 | (hps : ∀ J, ContDiffOn ℝ ∞ (pStage J) U) |
| 205 | (hg : Tendsto g atTop atTop) |
| 206 | (hbg : ∀ J m, JetRate l q (uStage J) m (-Lbg m)) |
| 207 | (htu : ∀ J m, m ≤ J → |
| 208 | JetRate l q (fun z => u z - uStage J z) m (g J - Ltail m)) |
| 209 | (htp : ∀ J m, m ≤ J → |
| 210 | JetRate l q (fun z => p z - pStage J z) m (g J - Ltail m)) |
| 211 | (hres : ∀ J m, JetRate l q |
| 212 | (fun z => navierStokesResidual (uStage J) (pStage J) z.1 z.2) m (g J - Lres m)) |
| 213 | (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : |
| 214 | JetRate l q (fun z => navierStokesResidual u p z.1 z.2) m n := by |
| 215 | let b := maxJetLoss Lbg (m + 1) |
| 216 | let t := maxJetLoss Ltail (m + 2) |
| 217 | have hb : 0 ≤ b := maxJetLoss_nonneg Lbg (m + 1) |
| 218 | obtain ⟨J₀, hJ₀⟩ := eventually_atTop.1 |
| 219 | (hg.eventually (eventually_ge_atTop (max (n + b + t) (n + Lres m)))) |
| 220 | let J := max (m + 2) J₀ |
| 221 | have hJm : m + 2 ≤ J := le_max_left _ _ |
| 222 | have hgJ : max (n + b + t) (n + Lres m) ≤ g J := hJ₀ J (le_max_right _ _) |
| 223 | have hgain : n + b + t ≤ g J := (le_max_left _ _).trans hgJ |
| 224 | have hresgain : n + Lres m ≤ g J := (le_max_right _ _).trans hgJ |
| 225 | have hqpos : ∀ᶠ z in l, 0 < q z := hq.mono (fun _ hz => hz.1) |
| 226 | have hbackground : FiniteJetRate l q (uStage J) (m + 1) (-b) := by |
| 227 | apply finiteJetRate_of_jetRate hqpos |
| 228 | intro k hk |
| 229 | exact (hbg J k).weaken hq (neg_le_neg (le_maxJetLoss Lbg hk)) |
| 230 | have htailgain (k : ℕ) (hk : k ≤ m + 2) : n + b ≤ g J - Ltail k := by |
| 231 | have hkt : Ltail k ≤ t := le_maxJetLoss Ltail hk |
| 232 | linarith |
| 233 | have hvelocity : FiniteJetRate l q (fun z => u z - uStage J z) (m + 2) (n + b) := by |
| 234 | apply finiteJetRate_of_jetRate hqpos |
| 235 | intro k hk |
| 236 | exact (htu J k (hk.trans hJm)).weaken hq (htailgain k hk) |
| 237 | have hpressure : FiniteJetRate l q (fun z => p z - pStage J z) (m + 1) (n + b) := by |
| 238 | apply finiteJetRate_of_jetRate hqpos |
| 239 | intro k hk |
| 240 | exact (htp J k (by omega)).weaken hq (htailgain k (by omega)) |
| 241 | have hstage : JetRate l q |
| 242 | (fun z => navierStokesResidual (uStage J) (pStage J) z.1 z.2) m n := |
| 243 | (hres J m).weaken hq (by linarith) |
| 244 | have hdiff := residualDifference_jetRate hU hlU hq (hus J) (hu.sub (hus J)) |
| 245 | (hps J) (hp.sub (hps J)) m hb hn hbackground hvelocity hpressure |
| 246 | have hsStage := ResidualRegularity.contDiffOn_residual hU (hus J) (hps J) |
| 247 | have hsDiff : ContDiffOn ℝ ∞ |
| 248 | (residualDifference (uStage J) (fun z => u z - uStage J z) |
| 249 | (pStage J) (fun z => p z - pStage J z)) U := |
| 250 | (ResidualRegularity.contDiffOn_residual hU ((hus J).add (hu.sub (hus J))) |
| 251 | ((hps J).add (hp.sub (hps J)))).sub hsStage |
| 252 | have hsum := hstage.add hdiff hU hlU hsStage hsDiff |
| 253 | have huadd : (fun z => uStage J z + (u z - uStage J z)) = u := by |
| 254 | funext z |
| 255 | abel |
| 256 | have hpadd : (fun z => pStage J z + (p z - pStage J z)) = p := by |
| 257 | funext z |
| 258 | abel |
| 259 | have hidentity : |
| 260 | (fun z => navierStokesResidual (uStage J) (pStage J) z.1 z.2 + |
| 261 | residualDifference (uStage J) (fun y => u y - uStage J y) |
| 262 | (pStage J) (fun y => p y - pStage J y) z) = |
| 263 | (fun z => navierStokesResidual u p z.1 z.2) := by |
| 264 | funext z |
| 265 | simp only [residualDifference, huadd, hpadd] |
| 266 | abel |
| 267 | rwa [hidentity] at hsum |
| 268 | |
| 269 | /-- Every actual residual jet is flat. This follows by choosing a different |
| 270 | finite stage for each requested derivative and decay order; no fixed tail |
| 271 | is assumed or proved flat to all orders. -/ |
| 272 | theorem allJetsFlat_residual_of_stages {U : Set SpaceTime} {l : Filter SpaceTime} |
| 273 | {q : SpaceTime → ℝ} {u : VelocityField} {p : PressureField} |
| 274 | {uStage : ℕ → VelocityField} {pStage : ℕ → PressureField} |
| 275 | {g Lbg Ltail Lres : ℕ → ℝ} |
| 276 | (hU : IsOpen U) (hlU : ∀ᶠ z in l, z ∈ U) |
| 277 | (hq : ∀ᶠ z in l, 0 < q z ∧ q z ≤ 1) |
| 278 | (hu : ContDiffOn ℝ ∞ u U) (hp : ContDiffOn ℝ ∞ p U) |
| 279 | (hus : ∀ J, ContDiffOn ℝ ∞ (uStage J) U) |
| 280 | (hps : ∀ J, ContDiffOn ℝ ∞ (pStage J) U) |
| 281 | (hg : Tendsto g atTop atTop) |
| 282 | (hbg : ∀ J m, JetRate l q (uStage J) m (-Lbg m)) |
| 283 | (htu : ∀ J m, m ≤ J → |
| 284 | JetRate l q (fun z => u z - uStage J z) m (g J - Ltail m)) |
| 285 | (htp : ∀ J m, m ≤ J → |
| 286 | JetRate l q (fun z => p z - pStage J z) m (g J - Ltail m)) |
| 287 | (hres : ∀ J m, JetRate l q |
| 288 | (fun z => navierStokesResidual (uStage J) (pStage J) z.1 z.2) m (g J - Lres m)) : |
| 289 | AllJetsFlat l q (fun z => navierStokesResidual u p z.1 z.2) := by |
| 290 | intro m N |
| 291 | obtain ⟨C, hC, hbound⟩ := residual_jetRate_of_stages hU hlU hq hu hp hus hps |
| 292 | hg hbg htu htp hres m (N : ℝ) (Nat.cast_nonneg N) |
| 293 | refine ⟨C, hC, ?_⟩ |
| 294 | filter_upwards [hq, hbound] with z hz hb |
| 295 | simpa only [abs_norm, abs_of_pos hz.1, Real.rpow_natCast] using hb |
| 296 | |
| 297 | end Residual |
| 298 | |
| 299 | section DiagonalBridge |
| 300 | |
| 301 | variable {D V : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 302 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 303 | |
| 304 | /-- The actual diagonal tail provides the `JetRate` used in the residual |
| 305 | theorem. This is a fixed-prefix rate, not all-order flatness of that tail. -/ |
| 306 | theorem jetRate_diagonal_tail {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 307 | {q : D → ℝ} {A : ℕ → D → V} {g L : ℕ → ℝ} {U : Set D} {l : Filter D} |
| 308 | (hU : IsOpen U) (hq : ContDiffOn ℝ ∞ q U) |
| 309 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) (hg : Monotone g) |
| 310 | (hb : DiagonalJetBounds.CutStageBounds a q A g L U) |
| 311 | (hlU : ∀ᶠ x in l, x ∈ U) (hlq : ∀ᶠ x in l, 0 < q x ∧ q x ≤ 1) |
| 312 | (hqzero : Tendsto q l (𝓝 0)) (J m : ℕ) (hm : m ≤ J + 3) : |
| 313 | JetRate l q |
| 314 | (fun x => SolenoidalDiagonal.potentialSum a q A x - |
| 315 | DiagonalJetBounds.uncutPrefix A (J + 1) x) m (g (J + 1) - L m) := by |
| 316 | obtain ⟨δ, hδ, hprefix⟩ := |
| 317 | DiagonalJetBounds.partialPotential_eventuallyEq_uncut a q A (J + 1) |
| 318 | refine ⟨(1 / 2 : ℝ) ^ J, by positivity, ?_⟩ |
| 319 | filter_upwards [hlU, hlq, hqzero.eventually (gt_mem_nhds hδ)] with x hx hqx hsmall |
| 320 | have hpref := hprefix x (hq.contDiffAt (hU.mem_nhds hx)).continuousAt |
| 321 | (by simpa only [abs_of_pos hqx.1] using hsmall) |
| 322 | have heq : |
| 323 | (fun y => SolenoidalDiagonal.potentialSum a q A y - |
| 324 | SolenoidalDiagonal.partialPotential a q A (J + 1) y) =ᶠ[𝓝 x] |
| 325 | (fun y => SolenoidalDiagonal.potentialSum a q A y - |
| 326 | DiagonalJetBounds.uncutPrefix A (J + 1) y) := by |
| 327 | filter_upwards [hpref] with y hy |
| 328 | rw [hy] |
| 329 | rw [← (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq heq m).self_of_nhds] |
| 330 | exact DiagonalJetBounds.potential_tail_jet_bound ha hU hq hA hg hb hx |
| 331 | hqx.1 hqx.2 J m hm |
| 332 | |
| 333 | end DiagonalBridge |
| 334 | |
| 335 | section DiagonalVelocity |
| 336 | |
| 337 | open ProblemStatement ResidualStability |
| 338 | |
| 339 | /-- A spatial curl costs one actual full derivative and a fixed operator |
| 340 | norm, independently of the chosen diagonal prefix. -/ |
| 341 | theorem JetRate.spatialCurl {U : Set SpaceTime} {l : Filter SpaceTime} |
| 342 | {q : SpaceTime → ℝ} {A : VelocityField} {m : ℕ} {r : ℝ} |
| 343 | (hbound : JetRate l q A (m + 1) r) (hU : IsOpen U) |
| 344 | (hlU : ∀ᶠ z in l, z ∈ U) (hA : ContDiffOn ℝ ∞ A U) : |
| 345 | JetRate l q (SpatialCurl.spatialCurl A) m r := by |
| 346 | obtain ⟨C, hC, hb⟩ := hbound |
| 347 | let K : ℝ := ‖SpatialCurl.curlLinear.comp (spaceRestriction Space)‖ |
| 348 | refine ⟨K * C, mul_nonneg |
| 349 | (norm_nonneg (SpatialCurl.curlLinear.comp (spaceRestriction Space))) hC, ?_⟩ |
| 350 | filter_upwards [hlU, hb] with z hz hboundz |
| 351 | calc |
| 352 | _ ≤ K * ‖iteratedFDeriv ℝ (m + 1) A z‖ := |
| 353 | norm_iteratedFDeriv_spatialCurl_le hU hA hz m |
| 354 | _ ≤ K * (C * (q z) ^ r) := mul_le_mul_of_nonneg_left hboundz |
| 355 | (norm_nonneg (SpatialCurl.curlLinear.comp (spaceRestriction Space))) |
| 356 | _ = (K * C) * (q z) ^ r := (mul_assoc _ _ _).symm |
| 357 | |
| 358 | theorem spatialCurl_sub_on {U : Set SpaceTime} {A B : VelocityField} |
| 359 | (hU : IsOpen U) (hA : ContDiffOn ℝ ∞ A U) (hB : ContDiffOn ℝ ∞ B U) : |
| 360 | EqOn (SpatialCurl.spatialCurl (fun z => A z - B z)) |
| 361 | (fun z => SpatialCurl.spatialCurl A z - SpatialCurl.spatialCurl B z) U := by |
| 362 | intro z hz |
| 363 | have hAs := spatialSlice_differentiable hU hA hz |
| 364 | have hBs := spatialSlice_differentiable hU hB hz |
| 365 | change SpatialCurl.curlLinear |
| 366 | (fderiv ℝ (fun y => A (z.1, y) - B (z.1, y)) z.2) = _ |
| 367 | rw [fderiv_fun_sub hAs hBs, map_sub] |
| 368 | rfl |
| 369 | |
| 370 | /-- The velocity tail of the actual solenoidal diagonal construction has a |
| 371 | fixed-prefix jet rate, obtained from one higher potential derivative. -/ |
| 372 | theorem jetRate_diagonal_velocity_tail {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 373 | {q : SpaceTime → ℝ} {A : ℕ → VelocityField} {g L : ℕ → ℝ} |
| 374 | {U : Set SpaceTime} {l : Filter SpaceTime} |
| 375 | (hU : IsOpen U) (hqpos : ∀ z ∈ U, 0 < q z) (hq : ContDiffOn ℝ ∞ q U) |
| 376 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) (hg : Monotone g) |
| 377 | (hb : DiagonalJetBounds.CutStageBounds a q A g L U) |
| 378 | (hlU : ∀ᶠ z in l, z ∈ U) (hlq : ∀ᶠ z in l, 0 < q z ∧ q z ≤ 1) |
| 379 | (hqzero : Tendsto q l (𝓝 0)) (J m : ℕ) (hm : m + 1 ≤ J + 3) : |
| 380 | JetRate l q |
| 381 | (fun z => SolenoidalDiagonal.velocitySum a q A z - |
| 382 | SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1)) z) |
| 383 | m (g (J + 1) - L (m + 1)) := by |
| 384 | have hsum := SolenoidalDiagonal.potentialSum_contDiffOn ha hU hqpos hq hA |
| 385 | have hprefix : ContDiffOn ℝ ∞ (DiagonalJetBounds.uncutPrefix A (J + 1)) U := |
| 386 | ContDiffOn.sum (fun j _ => hA j) |
| 387 | have htail := jetRate_diagonal_tail ha hU hq hA hg hb hlU hlq hqzero J (m + 1) hm |
| 388 | exact (htail.spatialCurl hU hlU (hsum.sub hprefix)).congr_on hU hlU |
| 389 | (spatialCurl_sub_on hU hsum hprefix) |
| 390 | |
| 391 | /-- Explicit diagonal-sum corollary. Velocity is the curl of the constructed |
| 392 | potential sum and pressure is the constructed scalar sum. Their tail |
| 393 | assumptions are discharged by `DiagonalJetBounds`; the background growth and |
| 394 | finite-stage residual estimates remain the genuine construction inputs. -/ |
| 395 | theorem allJetsFlat_diagonal_residual {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 396 | {q : SpaceTime → ℝ} {A : ℕ → VelocityField} {P : ℕ → PressureField} |
| 397 | {g LA LP Lbg Lres : ℕ → ℝ} {U : Set SpaceTime} {l : Filter SpaceTime} |
| 398 | (hU : IsOpen U) (hqpos : ∀ z ∈ U, 0 < q z) (hq : ContDiffOn ℝ ∞ q U) |
| 399 | (hA : ∀ j, ContDiffOn ℝ ∞ (A j) U) (hP : ∀ j, ContDiffOn ℝ ∞ (P j) U) |
| 400 | (hgmono : Monotone g) (hgtop : Tendsto g atTop atTop) |
| 401 | (hbA : DiagonalJetBounds.CutStageBounds a q A g LA U) |
| 402 | (hbP : DiagonalJetBounds.CutStageBounds a q P g LP U) |
| 403 | (hlU : ∀ᶠ z in l, z ∈ U) (hqzero : Tendsto q l (𝓝 0)) |
| 404 | (hbg : ∀ J m, JetRate l q |
| 405 | (SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1))) m (-Lbg m)) |
| 406 | (hres : ∀ J m, JetRate l q |
| 407 | (fun z => navierStokesResidual |
| 408 | (SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1))) |
| 409 | (DiagonalJetBounds.uncutPrefix P (J + 1)) z.1 z.2) m (g J - Lres m)) : |
| 410 | AllJetsFlat l q (fun z => navierStokesResidual |
| 411 | (SolenoidalDiagonal.velocitySum a q A) |
| 412 | (SolenoidalDiagonal.potentialSum a q P) z.1 z.2) := by |
| 413 | have hlq : ∀ᶠ z in l, 0 < q z ∧ q z ≤ 1 := by |
| 414 | filter_upwards [hlU, hqzero.eventually (gt_mem_nhds (show (0 : ℝ) < 1 by norm_num))] |
| 415 | with z hz hq1 |
| 416 | exact ⟨hqpos z hz, hq1.le⟩ |
| 417 | have hprefixA (J : ℕ) : |
| 418 | ContDiffOn ℝ ∞ (DiagonalJetBounds.uncutPrefix A (J + 1)) U := |
| 419 | ContDiffOn.sum (fun j _ => hA j) |
| 420 | have hprefixP (J : ℕ) : |
| 421 | ContDiffOn ℝ ∞ (DiagonalJetBounds.uncutPrefix P (J + 1)) U := |
| 422 | ContDiffOn.sum (fun j _ => hP j) |
| 423 | have hvelocity (J : ℕ) : ContDiffOn ℝ ∞ |
| 424 | (SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1))) U := by |
| 425 | intro z hz |
| 426 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 427 | ((hprefixA J).contDiffAt (hU.mem_nhds hz)) (by simp)).contDiffWithinAt |
| 428 | apply allJetsFlat_residual_of_stages |
| 429 | (uStage := fun J => SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1))) |
| 430 | (pStage := fun J => DiagonalJetBounds.uncutPrefix P (J + 1)) |
| 431 | (g := g) (Ltail := fun m => max (LA (m + 1)) (LP m)) |
| 432 | hU hlU hlq (SolenoidalDiagonal.velocitySum_contDiffOn ha hU hqpos hq hA) |
| 433 | (SolenoidalDiagonal.potentialSum_contDiffOn ha hU hqpos hq hP) |
| 434 | hvelocity hprefixP hgtop hbg ?_ ?_ hres |
| 435 | · intro J m hm |
| 436 | apply (jetRate_diagonal_velocity_tail ha hU hqpos hq hA hgmono hbA hlU hlq |
| 437 | hqzero J m (by omega)).weaken hlq |
| 438 | exact sub_le_sub (hgmono (Nat.le_succ J)) (le_max_left (LA (m + 1)) (LP m)) |
| 439 | · intro J m hm |
| 440 | apply (jetRate_diagonal_tail ha hU hq hP hgmono hbP hlU hlq hqzero J m |
| 441 | (by omega)).weaken hlq |
| 442 | exact sub_le_sub (hgmono (Nat.le_succ J)) (le_max_right (LA (m + 1)) (LP m)) |
| 443 | |
| 444 | end DiagonalVelocity |
| 445 | |
| 446 | end NavierStokes.DiagonalResidual |