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 Euler.AngleMeanZeroPrimitive |
| 2 | |
| 3 | /-! The mean of a genuine derivative of a periodic field is zero. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPeriodicDerivativeMean |
| 8 | |
| 9 | open MeasureTheory |
| 10 | |
| 11 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 12 | |
| 13 | theorem integral_derivative_eq_zero (P : ℝ) (f f' : ℝ → E) |
| 14 | (hf : ∀ θ, HasDerivAt f (f' θ) θ) (hf' : Continuous f') |
| 15 | (hper : Function.Periodic f P) : (∫ θ in 0..P, f' θ)=0 := by |
| 16 | rw [intervalIntegral.integral_eq_sub_of_hasDerivAt (fun θ _ => hf θ) |
| 17 | (hf'.intervalIntegrable 0 P)] |
| 18 | simpa only [zero_add] using sub_eq_zero.mpr (hper 0) |
| 19 | |
| 20 | /-- A coefficient independent of angle cannot change this zero-mean conclusion. -/ |
| 21 | theorem integral_constant_smul_derivative_eq_zero (P c : ℝ) (f f' : ℝ → E) |
| 22 | (hf : ∀ θ, HasDerivAt f (f' θ) θ) (hf' : Continuous f') |
| 23 | (hper : Function.Periodic f P) : (∫ θ in 0..P, c • f' θ)=0 := by |
| 24 | rw [intervalIntegral.integral_smul, integral_derivative_eq_zero P f f' hf hf' hper, |
| 25 | smul_zero] |
| 26 | |
| 27 | end EulerPeriodicDerivativeMean |