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 NavierStokes.R3.H3CandidateStrong |
| 2 | import NavierStokes.R3.H3CandidateUniqueness |
| 3 | import NavierStokes.R3.H3Blowup |
| 4 | import NavierStokes.R3.Theorem |
| 5 | |
| 6 | /-! # Exact maximal classical H³ lifespan on ℝ³ |
| 7 | |
| 8 | The solution class uses genuine weak H³ jets with their L² topology, actual |
| 9 | L² time differentiation, and the same forcing and initial velocity. No |
| 10 | periodicity or pressure normalization is imposed on competing solutions. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set |
| 16 | |
| 17 | namespace NavierStokesR3.H3Comparison |
| 18 | |
| 19 | open ProblemStatement H3Embedding |
| 20 | |
| 21 | def ClassicalH3Solution.restrict {ν T S : ℝ} {f u : VelocityField} {p : PressureField} |
| 22 | {initial : Space → Space} (h : ClassicalH3Solution ν f initial T u p) |
| 23 | (hS : 0 < S) (hST : S ≤ T) : ClassicalH3Solution ν f initial S u p where |
| 24 | lifespan_pos := hS |
| 25 | initial_velocity := h.initial_velocity |
| 26 | on_shorter_interval := fun R hR => h.on_shorter_interval R ⟨hR.1, hR.2.trans_le hST⟩ |
| 27 | |
| 28 | def VelocityAgreesOn (T : ℝ) (u v : VelocityField) : Prop := |
| 29 | ∀ t ∈ Ico (0 : ℝ) T, ∀ x : Space, u (t, x) = v (t, x) |
| 30 | |
| 31 | def HasClassicalH3Extension (ν : ℝ) (f : VelocityField) (initial : Space → Space) |
| 32 | (T : ℝ) (u : VelocityField) : Prop := |
| 33 | ∃ S : ℝ, ∃ v : VelocityField, ∃ q : PressureField, |
| 34 | T < S ∧ Nonempty (ClassicalH3Solution ν f initial S v q) ∧ VelocityAgreesOn T u v |
| 35 | |
| 36 | def IsMaximalClassicalH3Solution (ν : ℝ) (f : VelocityField) (initial : Space → Space) |
| 37 | (T : ℝ) (u : VelocityField) (p : PressureField) : Prop := |
| 38 | Nonempty (ClassicalH3Solution ν f initial T u p) ∧ ¬HasClassicalH3Extension ν f initial T u |
| 39 | |
| 40 | def admissibleH3Lifespans (ν : ℝ) (f : VelocityField) (initial : Space → Space) : Set ℝ := |
| 41 | {T | ∃ u : VelocityField, ∃ p : PressureField, Nonempty (ClassicalH3Solution ν f initial T u p)} |
| 42 | |
| 43 | theorem candidate_agrees_with_classicalH3 {ν T : ℝ} {u v : VelocityField} |
| 44 | {p q : PressureField} {f : VelocityField} {K : Set Space} |
| 45 | (hν : 0 < ν) (h : CandidateProperties ν u p f K) |
| 46 | (hv : ClassicalH3Solution ν f (fun _ => 0) T v q) : |
| 47 | VelocityAgreesOn (min 1 T) u v := by |
| 48 | intro t ht x |
| 49 | by_cases ht0 : t = 0 |
| 50 | · rw [ht0, h.zero_initial_velocity, hv.initial_velocity] |
| 51 | · have htpos : 0 < t := lt_of_le_of_ne ht.1 (Ne.symm ht0) |
| 52 | have ht1 : t < 1 := (lt_min_iff.mp ht.2).1 |
| 53 | have htT : t < T := (lt_min_iff.mp ht.2).2 |
| 54 | exact candidate_unique_on_Icc_h3 hν h ht1 (hv.on_shorter_interval t ⟨htpos, htT⟩) |
| 55 | hv.initial_velocity t ⟨ht.1, le_rfl⟩ x |
| 56 | |
| 57 | theorem candidate_classicalH3_lifespan_le_one {ν T : ℝ} {u v : VelocityField} |
| 58 | {p q : PressureField} {f : VelocityField} {K : Set Space} |
| 59 | (hν : 0 < ν) (h : CandidateProperties ν u p f K) |
| 60 | (hv : ClassicalH3Solution ν f (fun _ => 0) T v q) : T ≤ 1 := by |
| 61 | by_contra hn |
| 62 | have hT : 1 < T := lt_of_not_ge hn |
| 63 | apply candidate_no_classicalH3_extension h hT hv |
| 64 | simpa only [VelocityAgreesOn, min_eq_left hT.le] using candidate_agrees_with_classicalH3 hν h hv |
| 65 | |
| 66 | theorem candidate_extends_shorter_classicalH3 {ν T : ℝ} {u v : VelocityField} |
| 67 | {p q : PressureField} {f : VelocityField} {K : Set Space} |
| 68 | (hν : 0 < ν) (h : CandidateProperties ν u p f K) |
| 69 | (hv : ClassicalH3Solution ν f (fun _ => 0) T v q) (hT : T < 1) : |
| 70 | HasClassicalH3Extension ν f (fun _ => 0) T v := by |
| 71 | refine ⟨1, u, p, hT, ⟨candidate_classicalH3Solution h⟩, ?_⟩ |
| 72 | intro t ht x |
| 73 | exact (candidate_agrees_with_classicalH3 hν h hv t |
| 74 | (by simpa only [min_eq_right hT.le] using ht) x).symm |
| 75 | |
| 76 | theorem candidate_is_maximal_classicalH3 {ν : ℝ} {u : VelocityField} |
| 77 | {p : PressureField} {f : VelocityField} {K : Set Space} |
| 78 | (hν : 0 < ν) (h : CandidateProperties ν u p f K) : |
| 79 | IsMaximalClassicalH3Solution ν f (fun _ => 0) 1 u p := by |
| 80 | refine ⟨⟨candidate_classicalH3Solution h⟩, ?_⟩ |
| 81 | rintro ⟨S, v, q, hS, ⟨hv⟩, _⟩ |
| 82 | exact (not_lt_of_ge (candidate_classicalH3_lifespan_le_one hν h hv)) hS |
| 83 | |
| 84 | /-- Every maximal classical H³ solution for the same force and datum has |
| 85 | exactly the stated lifespan; a shorter maximal solution is also excluded by |
| 86 | actual extension using uniqueness. -/ |
| 87 | theorem maximal_classicalH3_lifespan_eq_one {ν T : ℝ} {u v : VelocityField} |
| 88 | {p q : PressureField} {f : VelocityField} {K : Set Space} |
| 89 | (hν : 0 < ν) (h : CandidateProperties ν u p f K) |
| 90 | (hv : IsMaximalClassicalH3Solution ν f (fun _ => 0) T v q) : T = 1 := by |
| 91 | obtain ⟨hvc⟩ := hv.1 |
| 92 | apply le_antisymm (candidate_classicalH3_lifespan_le_one hν h hvc) |
| 93 | by_contra hn |
| 94 | exact hv.2 (candidate_extends_shorter_classicalH3 hν h hvc (lt_of_not_ge hn)) |
| 95 | |
| 96 | theorem candidate_admissibleH3Lifespans {ν : ℝ} {u : VelocityField} |
| 97 | {p : PressureField} {f : VelocityField} {K : Set Space} |
| 98 | (hν : 0 < ν) (h : CandidateProperties ν u p f K) : |
| 99 | admissibleH3Lifespans ν f (fun _ => 0) = Ioc (0 : ℝ) 1 := by |
| 100 | ext T |
| 101 | constructor |
| 102 | · rintro ⟨v, q, ⟨hv⟩⟩ |
| 103 | exact ⟨hv.lifespan_pos, candidate_classicalH3_lifespan_le_one hν h hv⟩ |
| 104 | · intro hT |
| 105 | exact ⟨u, p, ⟨(candidate_classicalH3Solution h).restrict hT.1 hT.2⟩⟩ |
| 106 | |
| 107 | /-- The full main theorem's actual Euclidean fields have maximal classical |
| 108 | H³ lifespan exactly one, for every positive viscosity. -/ |
| 109 | theorem theorem_1_1_with_maximalH3 (ν : ℝ) (hν : 0 < ν) : |
| 110 | ∃ u : VelocityField, ∃ p : PressureField, ∃ f : VelocityField, ∃ K : Set Space, |
| 111 | CandidateProperties ν u p f K ∧ ¬Nonempty (GlobalFiniteEnergySolution ν f) ∧ |
| 112 | IsMaximalClassicalH3Solution ν f (fun _ => 0) 1 u p ∧ |
| 113 | admissibleH3Lifespans ν f (fun _ => 0) = Ioc (0 : ℝ) 1 := by |
| 114 | obtain ⟨u, p, f, K, hc, hg⟩ := NavierStokesR3.theorem_1_1 ν hν |
| 115 | exact ⟨u, p, f, K, hc, hg, candidate_is_maximal_classicalH3 hν hc, |
| 116 | candidate_admissibleH3Lifespans hν hc⟩ |
| 117 | |
| 118 | end NavierStokesR3.H3Comparison |