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.PacketGevreyProfileChoice |
| 2 | import Euler.ElapsedTimePathWeight |
| 3 | |
| 4 | /-! The actual grade scale is controlled by the source bound on `alpha*g`. |
| 5 | No reciprocal of alpha or extremum ratio of g enters this estimate. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketTimeProfile.Scales |
| 10 | |
| 11 | open Set EulerPacketCylinderField |
| 12 | |
| 13 | theorem ofGrowth_H0_le {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 14 | (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) (B : ℝ) (hB : 1 ≤ B) |
| 15 | (hbound : ∀ t, g t ≤ B) : (ofGrowth g hg).H0 ≤ B := by |
| 16 | apply max_le hB |
| 17 | apply (ContinuousMap.norm_le g (zero_le_one.trans hB)).2 |
| 18 | intro t |
| 19 | simpa only [Real.norm_eq_abs,abs_of_pos (hg t)] using hbound t |
| 20 | |
| 21 | theorem ofTimeProfile_H0_le {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) |
| 22 | (hg : ∀ t, 0 < g t) (h : T = T') (α : ℝ) (hα : 0 < α) |
| 23 | (B : ℝ) (hB : 1 ≤ B) (hbound : ∀ t, α*g t ≤ B) : |
| 24 | (ofTimeProfile g hg h α hα).H0 ≤ B := by |
| 25 | subst T' |
| 26 | exact ofGrowth_H0_le (α • g) (fun t => mul_pos hα (hg t)) B hB hbound |
| 27 | |
| 28 | end EulerPacketTimeProfile.Scales |
| 29 | |
| 30 | namespace EulerElapsedTimePathGluing |
| 31 | |
| 32 | open Set |
| 33 | |
| 34 | theorem smul_profile_le (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 35 | (g : C(Icc (0 : ℝ) (S-τ),ℝ)) |
| 36 | (hg0 : g ⟨0,le_rfl,sub_nonneg.mpr hτS⟩ = 1) |
| 37 | (α B : ℝ) (hα : α ≤ B) (hbound : ∀ t, α*g t ≤ B) |
| 38 | (t : Icc (0 : ℝ) S) : α*profile S τ hτ0 hτS g hg0 t ≤ B := by |
| 39 | by_cases ht : (t : ℝ) ≤ τ |
| 40 | · rw [profile_left S τ hτ0 hτS g hg0 ⟨t,t.property.1,ht⟩,mul_one] |
| 41 | exact hα |
| 42 | · rw [profile_right S τ hτ0 hτS g hg0 ⟨t,(not_le.mp ht).le,t.property.2⟩] |
| 43 | exact hbound _ |
| 44 | |
| 45 | end EulerElapsedTimePathGluing |