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 | import Euler.ClosedIntervalDerivativeExtension |
| 3 | |
| 4 | /-! Normalized coefficient motion from genuine one-sided time derivatives. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | |
| 9 | namespace EulerPacketMovingFrame |
| 10 | |
| 11 | open Set EulerPacketCoefficientControl EulerClosedIntervalDerivativeExtension |
| 12 | |
| 13 | /-- The existing quantitative motion estimate applies on closed intervals |
| 14 | without assuming an extension of the original coefficient paths. -/ |
| 15 | theorem normalized_motion_errors_within |
| 16 | {a ε Θ G d β : ℝ} {B E : ℝ → Fin 3 → Fin 3 → ℝ} |
| 17 | {h h₁ b₁ k₁ : ℝ → ℝ} |
| 18 | (ha : 1 / 2 ≤ a) (hε : 0 < ε) (hΘ : 1 ≤ Θ) (hG : 1 ≤ G) (hd : 0 ≤ d) |
| 19 | (hsmall : 16 * (ε * Θ * G ^ 2 + d) ≤ 1) |
| 20 | (hB : ∀ t ∈ Icc 0 Θ, ∀ i j, |B t i j| ≤ G) |
| 21 | (hE : ∀ t ∈ Icc 0 Θ, ∀ i j, |E t i j| ≤ d) |
| 22 | (hb : ∀ t ∈ Icc 0 Θ, HasDerivWithinAt (fun s => B s 0 1) (b₁ t) (Icc 0 Θ) t) |
| 23 | (hk : ∀ t ∈ Icc 0 Θ, HasDerivWithinAt (fun s => B s 2 1) (k₁ t) (Icc 0 Θ) t) |
| 24 | (hbBound : ∀ t ∈ Icc 0 Θ, |b₁ t| ≤ 2 * ε * G ^ 2) |
| 25 | (hkBound : ∀ t ∈ Icc 0 Θ, |k₁ t| ≤ 2 * ε * G ^ 2) |
| 26 | (hShear : ∀ t ∈ Icc 0 Θ, HasDerivWithinAt h (h₁ t) (Icc 0 Θ) t) |
| 27 | (hShearBound : ∀ t ∈ Icc 0 Θ, |h₁ t| ≤ (4 * ε * G) * |h t|) |
| 28 | (hb0 : B 0 0 1 = a) (hk0 : B 0 2 1 = a * β) (hh0 : h 0 = a / ε ^ 2) : |
| 29 | let e := 16 * (ε * Θ * G ^ 2 + d) |
| 30 | ε ≤ e ∧ ∀ t ∈ Icc 0 Θ, |
| 31 | (∀ i j, |ε * B t i j / a| ≤ e) ∧ |
| 32 | (∀ i j, |E t i j / a| ≤ e) ∧ |
| 33 | |ε ^ 2 * h t / a - 1| ≤ e ∧ |
| 34 | |B t 0 1 / a - 1| ≤ e ∧ |B t 2 1 / a - β| ≤ e := by |
| 35 | have hΘ0 : 0 < Θ := by linarith |
| 36 | have h0 : (0:ℝ) ∈ Icc 0 Θ := ⟨le_rfl, hΘ0.le⟩ |
| 37 | obtain ⟨b', hbeq, hbd⟩ := exists_extension hΘ0 hb |
| 38 | obtain ⟨k', hkeq, hkd⟩ := exists_extension hΘ0 hk |
| 39 | obtain ⟨h', hheq, hhd⟩ := exists_extension hΘ0 hShear |
| 40 | let B' : ℝ → Fin 3 → Fin 3 → ℝ := fun t i j => |
| 41 | if i = 0 ∧ j = 1 then b' t else if i = 2 ∧ j = 1 then k' t else B t i j |
| 42 | have hBeq : ∀ t ∈ Icc 0 Θ, ∀ i j, B' t i j = B t i j := by |
| 43 | intro t ht i j |
| 44 | dsimp [B'] |
| 45 | split_ifs with hb hk |
| 46 | · rcases hb with ⟨rfl, rfl⟩ |
| 47 | exact hbeq ht |
| 48 | · rcases hk with ⟨rfl, rfl⟩ |
| 49 | exact hkeq ht |
| 50 | · rfl |
| 51 | have hB' : ∀ t ∈ Icc 0 Θ, ∀ i j, |B' t i j| ≤ G := by |
| 52 | intro t ht i j |
| 53 | rw [hBeq t ht] |
| 54 | exact hB t ht i j |
| 55 | have hb' : ∀ t ∈ Icc 0 Θ, HasDerivAt (fun s => B' s 0 1) (b₁ t) t := by |
| 56 | intro t ht |
| 57 | simpa [B'] using hbd t ht |
| 58 | have hk' : ∀ t ∈ Icc 0 Θ, HasDerivAt (fun s => B' s 2 1) (k₁ t) t := by |
| 59 | intro t ht |
| 60 | simpa [B'] using hkd t ht |
| 61 | have hh' : ∀ t ∈ Icc 0 Θ, |h₁ t| ≤ (4*ε*G)*|h' t| := by |
| 62 | intro t ht |
| 63 | rw [hheq ht] |
| 64 | exact hShearBound t ht |
| 65 | have hb0' : B' 0 0 1 = a := (hBeq 0 h0 0 1).trans hb0 |
| 66 | have hk0' : B' 0 2 1 = a*β := (hBeq 0 h0 2 1).trans hk0 |
| 67 | have hh0' : h' 0 = a/ε^2 := (hheq h0).trans hh0 |
| 68 | have herr := normalized_motion_errors ha hε hΘ hG hd hsmall hB' hE hb' hk' |
| 69 | hbBound hkBound hhd hh' hb0' hk0' hh0' |
| 70 | refine ⟨herr.1, ?_⟩ |
| 71 | intro t ht |
| 72 | simpa only [hBeq t ht, hheq ht] using herr.2 t ht |
| 73 | |
| 74 | end EulerPacketMovingFrame |