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 Euler.EulerProof |
| 2 | |
| 3 | /-! Relative growth of the primary scalar reference dominates zero slope. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | |
| 8 | namespace EulerPacketMovingFrame |
| 9 | |
| 10 | open Set EulerPacketGrowth |
| 11 | |
| 12 | theorem equation30_slope_ratio_dominates |
| 13 | {σ lam s t : ℝ} {F F₁ Z Z₁ : ℝ → ℝ} |
| 14 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hlam : 0 ≤ lam) |
| 15 | (hF : ∀ x, 0 ≤ x → HasDerivAt F (F₁ x) x) |
| 16 | (hZ : ∀ x, 0 ≤ x → HasDerivAt Z (Z₁ x) x) |
| 17 | (hfluxF : ∀ x, 0 ≤ x → HasDerivAt (fun u => (1+(σ^2*u^2)^2)*F₁ u) |
| 18 | (2*(1-σ^2*(σ^2*x^2))*F x) x) |
| 19 | (hfluxZ : ∀ x, 0 ≤ x → HasDerivAt (fun u => (1+(σ^2*u^2)^2)*Z₁ u) |
| 20 | (2*(1-σ^2*(σ^2*x^2))*Z x) x) |
| 21 | (hF0 : F 0 = 1) (hF₁0 : F₁ 0 = 0) (hZ0 : Z 0 = 1) (hZ₁0 : Z₁ 0 = lam) |
| 22 | (hs : 0 ≤ s) (hst : s ≤ t) : |
| 23 | F t/F s ≤ Z t/Z s := by |
| 24 | have hFp := equation30_global_positive hσ hσsmall hF hfluxF hF0 (by rw [hF₁0]) |
| 25 | have hZp := equation30_global_positive hσ hσsmall hZ hfluxZ hZ0 (by rw [hZ₁0]; exact hlam) |
| 26 | have ht : 0 ≤ t := hs.trans hst |
| 27 | let D : ℝ → ℝ := fun x => 1+(σ^2*x^2)^2 |
| 28 | have hquotient : ∀ x ∈ Icc 0 t, |
| 29 | HasDerivAt (fun u => Z u/F u) (lam/(D x*(F x)^2)) x := by |
| 30 | have hh := quotient_derivative_of_flux |
| 31 | (D := D) (c := fun x => 2*(1-σ^2*(σ^2*x^2))) |
| 32 | (fun x (hx : x ∈ Icc 0 t) => hF x hx.1) |
| 33 | (fun x hx => hZ x hx.1) (fun x hx => hfluxF x hx.1) (fun x hx => hfluxZ x hx.1) |
| 34 | (fun _ _ => by dsimp [D]; positivity) |
| 35 | (fun x hx => ne_of_gt (hFp x hx.1)) |
| 36 | intro x hx |
| 37 | simpa only [hF0, hF₁0, hZ₁0, D, zero_pow (by decide : 2 ≠ 0), mul_zero, zero_mul, |
| 38 | add_zero, one_mul, sub_zero] using hh x hx |
| 39 | have hmono : MonotoneOn (fun x => Z x/F x) (Icc 0 t) := by |
| 40 | apply monotoneOn_of_hasDerivWithinAt_nonneg (convex_Icc (0:ℝ) t) |
| 41 | (fun x hx => (hquotient x hx).continuousAt.continuousWithinAt) |
| 42 | (fun x hx => (hquotient x (interior_subset hx)).hasDerivWithinAt) |
| 43 | intro x _ |
| 44 | exact div_nonneg hlam (by dsimp [D]; positivity) |
| 45 | have hr := hmono ⟨hs, hst⟩ ⟨ht, le_rfl⟩ hst |
| 46 | have hp := (div_le_div_iff₀ (hFp s hs) (hFp t ht)).mp hr |
| 47 | apply (div_le_div_iff₀ (hFp s hs) (hZp s hs)).mpr |
| 48 | nlinarith only [hp] |
| 49 | |
| 50 | end EulerPacketMovingFrame |