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.SharpPhysicalCarrier |
| 2 | |
| 3 | noncomputable section |
| 4 | namespace NavierStokes.SharpLogWeights |
| 5 | open PhysicalGraphBounds |
| 6 | |
| 7 | /-- Dyadic slow powers become a polynomial in the physical logarithm, |
| 8 | without sacrificing any power of the physical scale. -/ |
| 9 | theorem slow_power_log_bound (e : ℝ) : |
| 10 | ∃ C : ℝ, 0 < C ∧ ∃ P : ℕ, ∀ n : ℕ, 1 ≤ n → ∀ q : ℝ, |
| 11 | 0 < q → q/2 ≤ ChartScales.Q n → |
| 12 | ChartScales.S n^e ≤ C*(1+|Real.log q|)^P := by |
| 13 | let D := (Real.log 2+1)/Real.log 2 |
| 14 | let P := ⌈2*e⌉₊ |
| 15 | have hlog : 0 < Real.log 2 := Real.log_pos (by norm_num) |
| 16 | have hD : 0 < D := by dsimp [D]; positivity |
| 17 | refine ⟨D^P, pow_pos hD P, P, ?_⟩ |
| 18 | intro n hn q hq hlo |
| 19 | have hn1 : (1:ℝ) ≤ n := by exact_mod_cast hn |
| 20 | have hlogQ : Real.log (ChartScales.Q n) = -(n:ℝ)*Real.log 2 := by |
| 21 | simp only [ChartScales.Q, SlotColoring.dyadicQ, Real.log_rpow (by norm_num : (0:ℝ)<2)] |
| 22 | have hl := Real.log_le_log (by positivity : 0 < q/2) hlo |
| 23 | rw [Real.log_div hq.ne' (by norm_num : (2:ℝ)≠0), hlogQ] at hl |
| 24 | have hnlog : (n:ℝ) ≤ D*(1+|Real.log q|) := by |
| 25 | dsimp [D] |
| 26 | rw [div_mul_eq_mul_div] |
| 27 | apply (le_div_iff₀ hlog).mpr |
| 28 | nlinarith [neg_le_abs (Real.log q), abs_nonneg (Real.log q)] |
| 29 | calc |
| 30 | ChartScales.S n^e = (n:ℝ)^(2*e) := by |
| 31 | unfold ChartScales.S |
| 32 | rw [← Real.rpow_natCast_mul (show 0 ≤ (n:ℝ) by positivity)] |
| 33 | norm_num |
| 34 | _ ≤ (n:ℝ)^(P:ℝ) := Real.rpow_le_rpow_of_exponent_le hn1 (Nat.le_ceil _) |
| 35 | _ = (n:ℝ)^P := Real.rpow_natCast _ _ |
| 36 | _ ≤ (D*(1+|Real.log q|))^P := pow_le_pow_left₀ (by positivity) hnlog P |
| 37 | _ = _ := mul_pow _ _ _ |
| 38 | |
| 39 | /-- Preserve the exact real exponent while comparing a dyadic chart with |
| 40 | its physical scale and converting the remaining slow factor to logarithms. -/ |
| 41 | theorem chart_weight_bound (g e : ℝ) : |
| 42 | ∃ C : ℝ, 0 < C ∧ ∃ P : ℕ, ∀ n : ℕ, 1 ≤ n → ∀ q : ℝ, |
| 43 | 0 < q → q/2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2*q → |
| 44 | ChartScales.Q n^g * ChartScales.S n^e ≤ C*q^g*(1+|Real.log q|)^P := by |
| 45 | obtain ⟨D,hD,P,hslow⟩ := slow_power_log_bound e |
| 46 | refine ⟨2^|g| * D, by positivity, P, ?_⟩ |
| 47 | intro n hn q hq hlo hhi |
| 48 | calc |
| 49 | _ ≤ (2^|g| * q^g)*(D*(1+|Real.log q|)^P) := |
| 50 | mul_le_mul (comparable_rpow (ChartScales.Q_pos n) hq hlo hhi g) |
| 51 | (hslow n hn q hq hlo) (Real.rpow_nonneg (sq_nonneg _) _) (by positivity) |
| 52 | _ = _ := by ring |
| 53 | |
| 54 | end NavierStokes.SharpLogWeights |