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.H3Definitions |
| 2 | import Mathlib.MeasureTheory.Integral.Pi |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | open Set MeasureTheory |
| 7 | |
| 8 | namespace NavierStokesR3.H3Embedding |
| 9 | |
| 10 | open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration |
| 11 | |
| 12 | private def unitMeasure : Measure ℝ := volume.restrict (Icc 0 1) |
| 13 | |
| 14 | private instance : IsFiniteMeasure unitMeasure := by |
| 15 | unfold unitMeasure |
| 16 | infer_instance |
| 17 | |
| 18 | private theorem unitPi_eq (n : ℕ) : |
| 19 | Measure.pi (fun _ : Fin n => unitMeasure) = volume.restrict (Icc 0 1) := by |
| 20 | unfold unitMeasure |
| 21 | rw [← Measure.restrict_pi_pi] |
| 22 | congr 1 |
| 23 | ext x |
| 24 | simp [Set.mem_Icc, Pi.le_def] |
| 25 | |
| 26 | private theorem integrable_unitPi {n : ℕ} {g : (Fin n → ℝ) → ℝ} |
| 27 | (hg : Continuous g) : Integrable g (Measure.pi (fun _ : Fin n => unitMeasure)) := by |
| 28 | rw [unitPi_eq] |
| 29 | exact hg.integrableOn_Icc |
| 30 | |
| 31 | end NavierStokesR3.H3Embedding |