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 | import Mathlib.MeasureTheory.Group.Integral |
| 4 | import NavierStokes.R3.H3Approximation |
| 5 | import Mathlib.MeasureTheory.Function.ConvergenceInMeasure |
| 6 | |
| 7 | /-! # Sobolev embedding for genuine weak H³ fields |
| 8 | |
| 9 | The estimate is passed through a smooth compact approximation in L² of all |
| 10 | weak jets. No classical derivatives of the limiting field are used. |
| 11 | -/ |
| 12 | |
| 13 | /-! ## From `NavierStokes/R3/H3BoxIntegral.lean` |
| 14 | |
| 15 | The text of `NavierStokes/R3/H3BoxIntegral.lean`, folded into this file, which was its only importer. -/ |
| 16 | |
| 17 | section |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | open Set MeasureTheory |
| 22 | |
| 23 | namespace NavierStokesR3.H3Embedding |
| 24 | |
| 25 | open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration |
| 26 | |
| 27 | private def unitMeasure : Measure ℝ := volume.restrict (Icc 0 1) |
| 28 | |
| 29 | private instance : IsFiniteMeasure unitMeasure := by |
| 30 | unfold unitMeasure |
| 31 | infer_instance |
| 32 | |
| 33 | private theorem unitPi_eq (n : ℕ) : |
| 34 | Measure.pi (fun _ : Fin n => unitMeasure) = volume.restrict (Icc 0 1) := by |
| 35 | unfold unitMeasure |
| 36 | rw [← Measure.restrict_pi_pi] |
| 37 | congr 1 |
| 38 | ext x |
| 39 | simp [Set.mem_Icc, Pi.le_def] |
| 40 | |
| 41 | private theorem integrable_unitPi {n : ℕ} {g : (Fin n → ℝ) → ℝ} |
| 42 | (hg : Continuous g) : Integrable g (Measure.pi (fun _ : Fin n => unitMeasure)) := by |
| 43 | rw [unitPi_eq] |
| 44 | exact hg.integrableOn_Icc |
| 45 | |
| 46 | end NavierStokesR3.H3Embedding |
| 47 | end |
| 48 | |
| 49 | end |
| 50 | |
| 51 | /-! ## From `NavierStokes/R3/H3Embedding.lean` |
| 52 | |
| 53 | The text of `NavierStokes/R3/H3Embedding.lean`, folded into this file, which was its only importer. -/ |
| 54 | |
| 55 | section |
| 56 | |
| 57 | /-! # The whole-space H³ supremum estimate |
| 58 | |
| 59 | The unit-cube fundamental-theorem-of-calculus estimate is applied after |
| 60 | translation to an arbitrary point. Each local derivative integral is bounded |
| 61 | by its genuine Lebesgue integral over all of ℝ³. |
| 62 | -/ |
| 63 | |
| 64 | noncomputable section |
| 65 | |
| 66 | open Set MeasureTheory |
| 67 | open scoped BigOperators ContDiff |
| 68 | |
| 69 | namespace NavierStokesR3.H3Embedding |
| 70 | |
| 71 | open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration |
| 72 | |
| 73 | end NavierStokesR3.H3Embedding |
| 74 | end |
| 75 | |
| 76 | end |
| 77 | |
| 78 | noncomputable section |
| 79 | |
| 80 | open Set Filter MeasureTheory |
| 81 | open scoped ContDiff Topology InnerProductSpace BigOperators |
| 82 | |
| 83 | namespace NavierStokesR3.H3Embedding |
| 84 | |
| 85 | open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration |
| 86 | open H3Comparison |
| 87 | |
| 88 | theorem squareEnergy_eq_norm_toLp {f : Space → Space} (hf : MemLp f 2 volume) : |
| 89 | squareEnergy f = ‖hf.toLp f‖ ^ 2 := by |
| 90 | rw [← real_inner_self_eq_norm_sq, L2.inner_def] |
| 91 | apply integral_congr_ae |
| 92 | filter_upwards [hf.coeFn_toLp] with x hx |
| 93 | rw [hx, real_inner_self_eq_norm_sq] |
| 94 | |
| 95 | end NavierStokesR3.H3Embedding |