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.WholeSpaceUniqueness |
| 2 | import NavierStokes.R3.ViscosityScaling |
| 3 | |
| 4 | /-! |
| 5 | # Whole-space comparison at every positive viscosity |
| 6 | |
| 7 | Spatial normalization transports both solutions in the comparison theorem. |
| 8 | Time and the closed comparison interval are unchanged. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | namespace NavierStokesR3.WholeSpaceUniqueness |
| 17 | |
| 18 | open ProblemStatement ViscosityScaling |
| 19 | open NavierStokes.ProblemStatement (spatialDivergence) |
| 20 | |
| 21 | /-- The compact smooth candidate is unique on every shorter closed interval |
| 22 | among smooth solutions with one finite energy bound on that interval. -/ |
| 23 | theorem candidate_unique_on_Icc_viscosity {ν : ℝ} (hν : 0 < ν) |
| 24 | {u : VelocityField} {p : PressureField} {f : VelocityField} {K : Set Space} |
| 25 | (h : CandidateProperties ν u p f K) {T : ℝ} (hT : T < 1) |
| 26 | {v : VelocityField} {q : PressureField} |
| 27 | (hv : ContDiffOn ℝ ∞ v (Comparison.slab 0 T)) |
| 28 | (hq : ContDiffOn ℝ ∞ q (Comparison.slab 0 T)) |
| 29 | (hev : UniformFiniteEnergy (Icc (0 : ℝ) T) v) |
| 30 | (hdv : ∀ t ∈ Ioo (0 : ℝ) T, ∀ x, spatialDivergence v t x = 0) |
| 31 | (hNSv : ∀ t ∈ Ioo (0 : ℝ) T, ∀ x, navierStokesResidual ν v q t x = f (t, x)) |
| 32 | (hvzero : ∀ x, v (0, x) = 0) : |
| 33 | ∀ t ∈ Icc (0 : ℝ) T, ∀ x, u (t, x) = v (t, x) := by |
| 34 | let a : ℝ := (Real.sqrt ν)⁻¹ |
| 35 | have ha : 0 < a := inv_pos.mpr (Real.sqrt_pos.mpr hν) |
| 36 | have hcoef : a ^ 2 * ν = 1 := by |
| 37 | dsimp [a] |
| 38 | have hs : Real.sqrt ν ≠ 0 := (Real.sqrt_pos.mpr hν).ne' |
| 39 | calc |
| 40 | (Real.sqrt ν)⁻¹ ^ 2 * ν = (Real.sqrt ν)⁻¹ ^ 2 * (Real.sqrt ν) ^ 2 := |
| 41 | congrArg ((Real.sqrt ν)⁻¹ ^ 2 * ·) (Real.sq_sqrt hν.le).symm |
| 42 | _ = 1 := by field_simp |
| 43 | have hc : CandidateProperties 1 (rescale a a⁻¹ u) (rescale (a ^ 2) a⁻¹ p) |
| 44 | (rescale a a⁻¹ f) ((fun x : Space => a • x) '' K) := by |
| 45 | simpa only [hcoef] using rescale_candidate h ha |
| 46 | have he := candidate_unique_on_Icc hc hT |
| 47 | (rescale_smooth_on hv a a⁻¹) (rescale_smooth_on hq (a ^ 2) a⁻¹) |
| 48 | (hev.spatial_smul a a⁻¹ (inv_ne_zero ha.ne')) |
| 49 | (fun t ht x => by rw [rescale_divergence, hdv t ht, mul_zero]) |
| 50 | (fun t ht x => by |
| 51 | rw [← hcoef, rescale_residual ν a ha.ne', hNSv t ht] |
| 52 | rfl) |
| 53 | (fun x => by simp only [rescale, hvzero, smul_zero]) |
| 54 | intro t ht x |
| 55 | have hx := he t ht (a • x) |
| 56 | simpa only [rescale, smul_smul, inv_mul_cancel₀ ha.ne', one_smul, |
| 57 | smul_right_inj ha.ne'] using hx |
| 58 | |
| 59 | end NavierStokesR3.WholeSpaceUniqueness |