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.CylinderScalarClassical |
| 2 | import Euler.AnglePrimitiveParity |
| 3 | |
| 4 | /-! The normalized scalar angular primitive converts joint odd parity to even parity. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderScalarPrimitive |
| 9 | |
| 10 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerAngleMeanZeroPrimitive |
| 11 | |
| 12 | variable (P : ℝ) [Fact (0 < P)] (f : LiftDomain P → ℝ) (hf : Continuous f) |
| 13 | (hmean : ∀ y, (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) = 0) |
| 14 | |
| 15 | theorem classicalPrimitive_joint_even |
| 16 | (hodd : ∀ y θ, f (-y,((-θ : ℝ) : AddCircle P)) = -f (y,(θ : AddCircle P))) |
| 17 | (y : Space) (θ : ℝ) : |
| 18 | classicalPrimitive P f hf hmean (-y,((-θ : ℝ) : AddCircle P)) = |
| 19 | classicalPrimitive P f hf hmean (y,(θ : AddCircle P)) := by |
| 20 | rw [classicalPrimitive_cover,classicalPrimitive_cover] |
| 21 | have he : (fun s : ℝ => f (-y,(s : AddCircle P))) = fun s => -f (y,((-s : ℝ) : AddCircle P)) := by |
| 22 | funext s |
| 23 | simpa only [neg_neg] using hodd y (-s) |
| 24 | rw [he,primitive_reflection P (Fact.out : 0 < P).ne' |
| 25 | (fun s : ℝ => f (y,(s : AddCircle P))) |
| 26 | (hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P))) |
| 27 | (scalarAngle_periodic P f y) (hmean y)] |
| 28 | simp only [neg_neg] |
| 29 | |
| 30 | end EulerCylinderScalarPrimitive |