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.PacketBudgetTimeChange |
| 2 | |
| 3 | /-! One positive growth profile and one scalar amplitude determine all grade profiles. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketCylinderField |
| 8 | |
| 9 | open Set |
| 10 | |
| 11 | theorem timeProfileChange_smul {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (h : T = T') (c : ℝ) : |
| 12 | timeProfileChange (c • g) h = c • timeProfileChange g h := by |
| 13 | subst T' |
| 14 | rfl |
| 15 | |
| 16 | end EulerPacketCylinderField |
| 17 | |
| 18 | namespace EulerPacketTimeProfile.Scales |
| 19 | |
| 20 | open Set EulerPacketCylinderField |
| 21 | |
| 22 | theorem high_eq_smul_growth {K : Type*} [TopologicalSpace K] (S : Scales K) (p : ℕ) : |
| 23 | S.high p = meanScale S.H0 p • S.growth := by |
| 24 | apply ContinuousMap.ext |
| 25 | intro t |
| 26 | change S.growth t*meanScale S.H0 p = meanScale S.H0 p*S.growth t |
| 27 | exact mul_comm _ _ |
| 28 | |
| 29 | theorem high_timeProfile_eq {T T' : ℝ} (S : Scales (Icc (0 : ℝ) T)) |
| 30 | (h : T = T') (g : C(Icc (0 : ℝ) T',ℝ)) (α : ℝ) |
| 31 | (hgrowth : timeProfileChange S.growth h = α • g) (p : ℕ) : |
| 32 | timeProfileChange (S.high p) h = (α*meanScale S.H0 p) • g := by |
| 33 | rw [high_eq_smul_growth,timeProfileChange_smul,hgrowth,smul_smul,mul_comm] |
| 34 | |
| 35 | def ofTimeProfile {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 36 | (h : T = T') (α : ℝ) (hα : 0 < α) : Scales (Icc (0 : ℝ) T') := |
| 37 | ofGrowth (α • timeProfileChange g h) |
| 38 | (fun t => mul_pos hα (timeProfileChange_pos g hg h t)) |
| 39 | |
| 40 | theorem ofTimeProfile_growth {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 41 | (h : T = T') (α : ℝ) (hα : 0 < α) : |
| 42 | timeProfileChange (ofTimeProfile g hg h α hα).growth h.symm = α • g := by |
| 43 | change timeProfileChange (α • timeProfileChange g h) h.symm = α • g |
| 44 | rw [timeProfileChange_smul,timeProfileChange_roundtrip] |
| 45 | |
| 46 | theorem ofTimeProfile_high {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 47 | (h : T = T') (α : ℝ) (hα : 0 < α) (p : ℕ) : |
| 48 | timeProfileChange ((ofTimeProfile g hg h α hα).high p) h.symm = |
| 49 | (α*meanScale (ofTimeProfile g hg h α hα).H0 p) • g := |
| 50 | high_timeProfile_eq (ofTimeProfile g hg h α hα) h.symm g α |
| 51 | (ofTimeProfile_growth g hg h α hα) p |
| 52 | |
| 53 | theorem gradeFactor_pos {K : Type*} [TopologicalSpace K] (S : Scales K) |
| 54 | (α : ℝ) (hα : 0 < α) (p : ℕ) : 0 < α*meanScale S.H0 p := |
| 55 | mul_pos hα (meanScale_pos S.H0 S.H0_pos p) |
| 56 | |
| 57 | end EulerPacketTimeProfile.Scales |