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.PacketProfileBudget |
| 2 | |
| 3 | /-! Time-endpoint equality transports the actual path norm and its profile without changing any bound. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketCylinderField |
| 8 | |
| 9 | open Set EulerPacketProfileRecursion EulerPacketTimeProfile |
| 10 | |
| 11 | def timeProfileChange {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (h : T = T') : |
| 12 | C(Icc (0 : ℝ) T',ℝ) := h ▸ g |
| 13 | |
| 14 | theorem timeProfileChange_pos {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 15 | (h : T = T') (t : Icc (0 : ℝ) T') : 0 < timeProfileChange g h t := by |
| 16 | subst T' |
| 17 | exact hg t |
| 18 | |
| 19 | @[simp] theorem timeProfileChange_roundtrip {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (h : T = T') : |
| 20 | timeProfileChange (timeProfileChange g h) h.symm = g := by |
| 21 | subst T' |
| 22 | rfl |
| 23 | |
| 24 | namespace Field |
| 25 | |
| 26 | variable {P T T' : ℝ} [Fact (0 < P)] {raw : VectorField} {G : Field P T raw} |
| 27 | {q d : ℕ} {R A : ℝ} |
| 28 | |
| 29 | theorem WordBound.changeTime (hG : G.WordBound q R A d) (h : T = T') : |
| 30 | (G.changeTime h).WordBound q R A d := by |
| 31 | subst T' |
| 32 | exact hG |
| 33 | |
| 34 | theorem WordBound.normalized_profile_eq {hT : 0 ≤ T} |
| 35 | {g : C(Icc (0 : ℝ) T,ℝ)} {hg : ∀ t, 0 < g t} |
| 36 | (hG : (G.normalized hT g hg).WordBound q R A d) |
| 37 | (g' : C(Icc (0 : ℝ) T,ℝ)) (hg' : ∀ t, 0 < g' t) (he : g = g') : |
| 38 | (G.normalized hT g' hg').WordBound q R A d := by |
| 39 | subst g' |
| 40 | exact hG |
| 41 | |
| 42 | theorem WordBound.normalized_changeTime (hT : 0 ≤ T) |
| 43 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 44 | (hG : (G.normalized hT g hg).WordBound q R A d) |
| 45 | (h : T = T') (hT' : 0 ≤ T') |
| 46 | (g' : C(Icc (0 : ℝ) T',ℝ)) (hg' : ∀ t, 0 < g' t) (he : timeProfileChange g h = g') : |
| 47 | ((G.changeTime h).normalized hT' g' hg').WordBound q R A d := by |
| 48 | subst T' |
| 49 | change g = g' at he |
| 50 | subst g' |
| 51 | exact hG |
| 52 | |
| 53 | end Field |
| 54 | end EulerPacketCylinderField |
| 55 | |
| 56 | namespace EulerPacketTimeProfile.Scales |
| 57 | |
| 58 | open Set EulerPacketCylinderField |
| 59 | |
| 60 | def changeTime {T T' : ℝ} (S : Scales (Icc (0 : ℝ) T)) (h : T = T') : |
| 61 | Scales (Icc (0 : ℝ) T') := h ▸ S |
| 62 | |
| 63 | @[simp] theorem high_changeTime {T T' : ℝ} (S : Scales (Icc (0 : ℝ) T)) (h : T = T') (p : ℕ) : |
| 64 | (S.changeTime h).high p = timeProfileChange (S.high p) h := by |
| 65 | subst T' |
| 66 | rfl |
| 67 | |
| 68 | @[simp] theorem mean_changeTime {T T' : ℝ} (S : Scales (Icc (0 : ℝ) T)) (h : T = T') (p : ℕ) : |
| 69 | (S.changeTime h).mean p = timeProfileChange (S.mean p) h := by |
| 70 | subst T' |
| 71 | rfl |
| 72 | |
| 73 | @[simp] theorem changeTime_roundtrip {T T' : ℝ} (S : Scales (Icc (0 : ℝ) T)) (h : T = T') : |
| 74 | (S.changeTime h).changeTime h.symm = S := by |
| 75 | subst T' |
| 76 | rfl |
| 77 | |
| 78 | end EulerPacketTimeProfile.Scales |