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.H3Curve |
| 2 | |
| 3 | noncomputable section |
| 4 | |
| 5 | open Set Filter MeasureTheory |
| 6 | open scoped ContDiff Topology |
| 7 | |
| 8 | namespace NavierStokesR3.H3Comparison |
| 9 | |
| 10 | open ProblemStatement H3Embedding H3Compact |
| 11 | open NavierStokes.PeriodicIntegration (spatialPartial) |
| 12 | open NavierStokes.PeriodicUniqueness (slab spatial_smooth) |
| 13 | |
| 14 | /-- A compactly supported smooth spacetime field gives a continuous curve in |
| 15 | the ordinary L² space, including closed time endpoints. -/ |
| 16 | theorem continuous_compact_slices_toLp {a b : ℝ} (hab : a < b) |
| 17 | {u : VelocityField} {K : Set Space} (hK : IsCompact K) |
| 18 | (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 19 | (hsupp : ∀ t ∈ Icc a b, tsupport (fun x => u (t, x)) ⊆ K) |
| 20 | {hm : ∀ t : Icc a b, MemLp (fun x => u (t, x)) 2 volume} : |
| 21 | Continuous (fun t : Icc a b => (hm t).toLp (fun x => u (t, x))) := by |
| 22 | rw [continuous_iff_continuousAt] |
| 23 | intro t |
| 24 | apply tendsto_iff_norm_sub_tendsto_zero.mpr |
| 25 | let w : VelocityField := fun z => u z - u (t, z.2) |
| 26 | have hw : ContDiffOn ℝ ∞ w (slab a b) := |
| 27 | hu.sub (((spatial_smooth hu t.property).comp contDiff_snd).contDiffOn) |
| 28 | have hs : ∀ r ∈ Icc a b, tsupport (fun x => w (r, x)) ⊆ K := by |
| 29 | intro r hr |
| 30 | exact (tsupport_sub _ _).trans (union_subset (hsupp r hr) (hsupp t t.property)) |
| 31 | have hc : Continuous (fun r : Icc a b => Real.sqrt (squareEnergy (fun x => w (r, x)))) := |
| 32 | continuousOn_iff_continuous_domRestrict.mp |
| 33 | (partialWord_square_continuousOn hab hK hw hs []).sqrt |
| 34 | have he (r : Icc a b) : |
| 35 | ‖(hm r).toLp (fun x => u (r, x)) - (hm t).toLp (fun x => u (t, x))‖ = |
| 36 | Real.sqrt (squareEnergy (fun x => w (r, x))) := by |
| 37 | have hp := squareEnergy_eq_norm_toLp ((hm r).sub (hm t)) |
| 38 | rw [MemLp.toLp_sub] at hp |
| 39 | rw [show (fun x => w (r, x)) = (fun x => u (r, x)) - (fun x => u (t, x)) from rfl, |
| 40 | hp, Real.sqrt_sq_eq_abs, abs_of_nonneg (norm_nonneg _)] |
| 41 | have hc0 : Real.sqrt (squareEnergy (fun x => w (t, x))) = 0 := by |
| 42 | simp [w, squareEnergy] |
| 43 | simp_rw [he] |
| 44 | exact hc0 ▸ hc.continuousAt.tendsto |
| 45 | |
| 46 | /-- Compact joint smoothness supplies all genuine weak H³ jets and the |
| 47 | finite product of their L² topologies. -/ |
| 48 | def h3Curve_of_compact_slab {a b : ℝ} (hab : a < b) |
| 49 | {u : VelocityField} {K : Set Space} (hK : IsCompact K) |
| 50 | (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 51 | (hsupp : ∀ t ∈ Icc a b, tsupport (fun x => u (t, x)) ⊆ K) : |
| 52 | H3Curve u (Icc a b) where |
| 53 | first := fun i => partialField i u |
| 54 | second := fun i j => partialField i (partialField j u) |
| 55 | third := fun i j k => partialField i (partialField j (partialField k u)) |
| 56 | spatial_continuous := fun _t ht => (spatial_smooth hu ht).continuous |
| 57 | approximation := fun t ht => H3Approximation.of_contDiff_compact (spatial_smooth hu ht) |
| 58 | (CompactEnergy.slice_compact hK (hsupp t ht)) |
| 59 | velocity_continuous := continuous_compact_slices_toLp hab hK hu hsupp |
| 60 | first_continuous := fun i => continuous_compact_slices_toLp hab hK |
| 61 | (partialWord_contDiffOn hab hu [i]) (partialWord_support hsupp [i]) |
| 62 | second_continuous := fun i j => continuous_compact_slices_toLp hab hK |
| 63 | (partialWord_contDiffOn hab hu [i, j]) (partialWord_support hsupp [i, j]) |
| 64 | third_continuous := fun i j k => continuous_compact_slices_toLp hab hK |
| 65 | (partialWord_contDiffOn hab hu [i, j, k]) (partialWord_support hsupp [i, j, k]) |
| 66 | |
| 67 | /-- The exact candidate is a genuine C([0,T];H³(ℝ³)) curve for each shorter |
| 68 | positive closed interval, with no PDE-specific assumptions needed here. -/ |
| 69 | def candidate_h3Curve {ν : ℝ} {u : VelocityField} {p : PressureField} |
| 70 | {f : VelocityField} {K : Set Space} (h : CandidateProperties ν u p f K) |
| 71 | {T : ℝ} (hT0 : 0 < T) (hT : T < 1) : H3Curve u (Icc 0 T) := |
| 72 | h3Curve_of_compact_slab hT0 h.support_compact |
| 73 | (h.velocity_smooth.mono (fun _z hz => ⟨⟨hz.1.1, hz.1.2.trans_lt hT⟩, hz.2⟩)) |
| 74 | (fun t ht => h.velocity_support t ⟨ht.1, ht.2.trans_lt hT⟩) |
| 75 | |
| 76 | end NavierStokesR3.H3Comparison |