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.SmallCorrectionResidual |
| 2 | import Euler.PacketFieldParityAlgebra |
| 3 | import Euler.PacketCylinderJetParity |
| 4 | |
| 5 | /-! Odd static data give the genuine parity hypotheses of the constructed |
| 6 | correction. In particular the actual convection residual is odd; this is |
| 7 | proved from its derivative formula. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerSmallCorrection |
| 12 | |
| 13 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 14 | EulerPacketCylinderField EulerPacketProfileRecursion EulerCorrectionAssembly |
| 15 | EulerConstantCorrection |
| 16 | |
| 17 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} |
| 18 | (G : Field P T raw) (hodd : JointOdd T raw) |
| 19 | |
| 20 | include G hodd in |
| 21 | theorem residual_odd (ε : ℝ) : |
| 22 | JointOdd T (fun z => fderiv ℝ (fun y => (ε • raw) (z.1,y)) z.2 ((ε • raw) z,0)) := by |
| 23 | have hs := hodd.smul ε |
| 24 | intro t x θ |
| 25 | change (fderiv ℝ (fun y => (ε • raw) (t,y)) (-x,-θ)) ((ε • raw) (t,(-x,-θ)),0) = |
| 26 | -((fderiv ℝ (fun y => (ε • raw) (t,y)) (x,θ)) ((ε • raw) (t,(x,θ)),0)) |
| 27 | rw [(G.smul ε).raw_fderiv_even_of_odd hs t x θ,hs t x θ] |
| 28 | have he : (-(ε • raw) (t,(x,θ)),(0 : ℝ)) = -((ε • raw) (t,(x,θ)),(0 : ℝ)) := by simp |
| 29 | rw [he,map_neg] |
| 30 | |
| 31 | include hodd in |
| 32 | theorem parityData (ε : ℝ) : ParityData P (input G ε) where |
| 33 | metric _ _ := rfl |
| 34 | linear _ _ := rfl |
| 35 | quadratic _ _ _ := by |
| 36 | change (0 : Space →L[ℝ] Space)= -0 |
| 37 | simp only [neg_zero] |
| 38 | approximation t := by |
| 39 | have h := ((G.smul ε).reflectionOdd_of_raw (hodd.smul ε)) t |
| 40 | change -EulerCylinderFieldReflection.reflection P ((G.smul ε).path t)=(G.smul ε).path t |
| 41 | rw [h,neg_neg] |
| 42 | residual t := by |
| 43 | have h := ((residual G ε).reflectionOdd_of_raw (residual_odd G hodd ε)) t |
| 44 | change -EulerCylinderFieldReflection.reflection P ((residual G ε).path t)=(residual G ε).path t |
| 45 | rw [h,neg_neg] |
| 46 | |
| 47 | end EulerSmallCorrection |