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.PeriodicSobolev |
| 2 | import NavierStokes.R3.ProblemStatement |
| 3 | |
| 4 | /-! # Derivative H³ norms on Euclidean three-space |
| 5 | |
| 6 | All integrals in this file use Lebesgue measure on the whole of `ℝ³`. |
| 7 | The positive multiplicities of the eight mixed derivatives agree with the |
| 8 | existing periodic derivative norm and define an equivalent H³ norm. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set MeasureTheory |
| 14 | open scoped BigOperators ContDiff |
| 15 | |
| 16 | namespace NavierStokesR3.H3Embedding |
| 17 | |
| 18 | open NavierStokes.ProblemStatement NavierStokes.PeriodicIntegration |
| 19 | |
| 20 | def squareEnergy (f : Space → Space) : ℝ := ∫ x, ‖f x‖ ^ 2 |
| 21 | |
| 22 | def mixedEnergy (f : Space → Space) : ℝ := |
| 23 | squareEnergy f + |
| 24 | squareEnergy (spatialPartial 0 f) + |
| 25 | squareEnergy (spatialPartial 1 f) + |
| 26 | squareEnergy (spatialPartial 2 f) + |
| 27 | squareEnergy (spatialPartial 1 (spatialPartial 0 f)) + |
| 28 | squareEnergy (spatialPartial 2 (spatialPartial 0 f)) + |
| 29 | squareEnergy (spatialPartial 2 (spatialPartial 1 f)) + |
| 30 | squareEnergy (spatialPartial 2 (spatialPartial 1 (spatialPartial 0 f))) |
| 31 | |
| 32 | /-- Every ordered coordinate derivative of order at most three is included. -/ |
| 33 | def derivativeH3Energy (f : Space → Space) : ℝ := |
| 34 | mixedEnergy f + |
| 35 | (∑ i : Fin 3, ∑ j : Fin 3, |
| 36 | squareEnergy (spatialPartial i (spatialPartial j f))) + |
| 37 | (∑ i : Fin 3, ∑ j : Fin 3, ∑ k : Fin 3, |
| 38 | squareEnergy (spatialPartial i (spatialPartial j (spatialPartial k f)))) |
| 39 | |
| 40 | def derivativeH3Norm (f : Space → Space) : ℝ := Real.sqrt (derivativeH3Energy f) |
| 41 | |
| 42 | /-- Genuine square integrability, to exclude the totalized-integral convention |
| 43 | for a nonintegrable derivative. -/ |
| 44 | def HasFiniteH3 (f : Space → Space) : Prop := |
| 45 | Integrable (fun x => ‖f x‖ ^ 2) ∧ |
| 46 | (∀ i, Integrable (fun x => ‖spatialPartial i f x‖ ^ 2)) ∧ |
| 47 | (∀ i j, Integrable (fun x => ‖spatialPartial i (spatialPartial j f) x‖ ^ 2)) ∧ |
| 48 | (∀ i j k, Integrable |
| 49 | (fun x => ‖spatialPartial i (spatialPartial j (spatialPartial k f)) x‖ ^ 2)) |
| 50 | |
| 51 | theorem squareEnergy_nonneg (f : Space → Space) : 0 ≤ squareEnergy f := |
| 52 | integral_nonneg (fun _ => sq_nonneg _) |
| 53 | |
| 54 | theorem mixedEnergy_nonneg (f : Space → Space) : 0 ≤ mixedEnergy f := by |
| 55 | unfold mixedEnergy |
| 56 | repeat' apply add_nonneg |
| 57 | all_goals exact squareEnergy_nonneg _ |
| 58 | |
| 59 | theorem mixedEnergy_le_derivativeH3Energy (f : Space → Space) : |
| 60 | mixedEnergy f ≤ derivativeH3Energy f := by |
| 61 | have h2 : 0 ≤ ∑ i : Fin 3, ∑ j : Fin 3, |
| 62 | squareEnergy (spatialPartial i (spatialPartial j f)) := by |
| 63 | exact Finset.sum_nonneg (fun _ _ => Finset.sum_nonneg (fun _ _ => squareEnergy_nonneg _)) |
| 64 | have h3 : 0 ≤ ∑ i : Fin 3, ∑ j : Fin 3, ∑ k : Fin 3, |
| 65 | squareEnergy (spatialPartial i (spatialPartial j (spatialPartial k f))) := by |
| 66 | exact Finset.sum_nonneg (fun _ _ => Finset.sum_nonneg |
| 67 | (fun _ _ => Finset.sum_nonneg (fun _ _ => squareEnergy_nonneg _))) |
| 68 | unfold derivativeH3Energy |
| 69 | linarith |
| 70 | |
| 71 | theorem derivativeH3Energy_nonneg (f : Space → Space) : 0 ≤ derivativeH3Energy f := |
| 72 | (mixedEnergy_nonneg f).trans (mixedEnergy_le_derivativeH3Energy f) |
| 73 | |
| 74 | theorem derivativeH3Norm_nonneg (f : Space → Space) : 0 ≤ derivativeH3Norm f := |
| 75 | Real.sqrt_nonneg _ |
| 76 | |
| 77 | end NavierStokesR3.H3Embedding |