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.L2TimeDerivative |
| 2 | import NavierStokes.R3.H3CompactCurve |
| 3 | import NavierStokes.R3.H3StrongSolution |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | open Set Filter MeasureTheory |
| 8 | open scoped ContDiff Topology BigOperators |
| 9 | |
| 10 | namespace NavierStokesR3.H3Comparison |
| 11 | |
| 12 | open ProblemStatement |
| 13 | open NavierStokes.ProblemStatement (temporalDerivative advection spatialDerivative spatialDivergence) |
| 14 | open NavierStokes.PeriodicUniqueness (slab spatial_smooth time_differentiable_at_interior) |
| 15 | |
| 16 | private theorem time_derivative {a b t : ℝ} {u : VelocityField} |
| 17 | (hu : ContDiffOn ℝ ∞ u (slab a b)) (ht : t ∈ Ioo a b) (x : Space) : |
| 18 | HasDerivAt (fun r => u (r, x)) (temporalDerivative u t x) t := |
| 19 | (time_differentiable_at_interior hu ht x).hasDerivAt |
| 20 | |
| 21 | private theorem time_derivative_continuous {a b : ℝ} {u : VelocityField} |
| 22 | (hu : ContDiffOn ℝ ∞ u (slab a b)) : |
| 23 | ContinuousOn (fun z => temporalDerivative u z.1 z.2) (Ioo a b ×ˢ univ) := |
| 24 | CompactTimeIntegral.continuousOn_timeDeriv_of_contDiffOn (hu.of_le (by simp)) |
| 25 | |
| 26 | private theorem time_derivative_zero {a b t : ℝ} {u : VelocityField} {K : Set Space} |
| 27 | (hu : ContDiffOn ℝ ∞ u (slab a b)) |
| 28 | (hsupp : ∀ r ∈ Icc a b, tsupport (fun x => u (r, x)) ⊆ K) |
| 29 | (ht : t ∈ Ioo a b) {x : Space} (hx : x ∉ K) : temporalDerivative u t x = 0 := by |
| 30 | exact CompactTimeIntegral.derivative_eq_zero_outside |
| 31 | (G := fun z => temporalDerivative u z.1 z.2) |
| 32 | (fun r hr y hy => CompactEnergy.zero_outside (hsupp r (Ioo_subset_Icc_self hr)) hy) |
| 33 | (fun r hr y => time_derivative hu hr y) ht hx |
| 34 | |
| 35 | end NavierStokesR3.H3Comparison |