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.ParabolicDefinitions |
| 2 | |
| 3 | /-! |
| 4 | # Energy and blowup under an affine parabolic change of variables |
| 5 | |
| 6 | The affine clock fixes time one. Extension by zero before time zero lets a |
| 7 | uniform kinetic-energy bound pass through the change of variables on the |
| 8 | entire interval starting at zero. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokesR3.ParabolicScaling |
| 14 | |
| 15 | open ProblemStatement Set MeasureTheory |
| 16 | |
| 17 | theorem velocity_energy_bounded {u : VelocityField} {l : ℝ} |
| 18 | (hu : UniformFiniteEnergy (Ico 0 1) u) (hl : 1 < l) : |
| 19 | UniformFiniteEnergy (Ico 0 1) (velocity l u) := by |
| 20 | have hp : 0 < l := lt_trans zero_lt_one hl |
| 21 | have htime : UniformFiniteEnergy (Ico 0 1) |
| 22 | (fun z => zeroBefore u (clock l z.1, z.2)) := by |
| 23 | obtain ⟨E, hE, hu⟩ := hu |
| 24 | refine ⟨E, hE, ?_⟩ |
| 25 | intro t ht |
| 26 | by_cases hc : 0 ≤ clock l t |
| 27 | · simpa only [SquareIntegrableAtTime, kineticEnergy, zeroBefore, |
| 28 | ite_eq_left hc] using hu (clock l t) ⟨hc, clock_lt_one hp ht.2⟩ |
| 29 | · constructor |
| 30 | · simp [SquareIntegrableAtTime, zeroBefore, hc] |
| 31 | · simpa [kineticEnergy, zeroBefore, hc] using hE |
| 32 | exact htime.spatial_smul l l hp.ne' |
| 33 | |
| 34 | theorem velocity_speed_unbounded {u : VelocityField} {l : ℝ} |
| 35 | (hu : SpeedUnboundedAtOne u) (hl : 1 < l) : |
| 36 | SpeedUnboundedAtOne (velocity l u) := by |
| 37 | have hp : 0 < l := lt_trans zero_lt_one hl |
| 38 | have hq : 0 < l ^ 2 := sq_pos_of_pos hp |
| 39 | have hq1 : 1 ≤ l ^ 2 := by nlinarith |
| 40 | intro M hM δ hδ |
| 41 | obtain ⟨t, x, ht, hδt, hMtx⟩ := hu M hM δ hδ |
| 42 | let s : ℝ := (t - 1) / l ^ 2 + 1 |
| 43 | have hs1 : s < 1 := by |
| 44 | dsimp [s] |
| 45 | have : (t - 1) / l ^ 2 < 0 := div_neg_of_neg_of_pos (by linarith [ht.2]) hq |
| 46 | linarith |
| 47 | have hts : t ≤ s := by |
| 48 | have hprod : (t - 1) * (l ^ 2 - 1) ≤ 0 := |
| 49 | mul_nonpos_of_nonpos_of_nonneg (by linarith [ht.2]) (by linarith) |
| 50 | have hd : t - 1 ≤ (t - 1) / l ^ 2 := (le_div_iff₀ hq).2 (by nlinarith) |
| 51 | dsimp [s] |
| 52 | linarith |
| 53 | have hclock : clock l s = t := by |
| 54 | dsimp [clock, s] |
| 55 | field_simp |
| 56 | ring |
| 57 | refine ⟨s, l⁻¹ • x, ⟨lt_of_lt_of_le ht.1 hts, hs1⟩, lt_of_lt_of_le hδt hts, ?_⟩ |
| 58 | simp only [velocity, pull, hclock, smul_smul, mul_inv_cancel₀ hp.ne', one_smul] |
| 59 | rw [zeroBefore_eq_of_nonneg u ht.1.le, norm_smul, Real.norm_eq_abs, abs_of_pos hp] |
| 60 | have hn : 0 ≤ ‖u (t, x)‖ := norm_nonneg _ |
| 61 | nlinarith |
| 62 | |
| 63 | end NavierStokesR3.ParabolicScaling |