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.TransversePacketCorrectorOperator |
| 2 | import Euler.PacketPotentialParity |
| 3 | |
| 4 | /-! The literal corrector preserves joint odd parity under the actual even inverse deformation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerTransversePacketProvider |
| 9 | |
| 10 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerPacketProfileRecursion |
| 11 | EulerPacketPiola EulerPacketAngularPotential EulerCylinderSmoothOrbit |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | private theorem fderiv_of_even (f : LiftTangent → Space) (hf : ContDiff ℝ ∞ f) |
| 15 | (he : ∀ z, f (-z) = f z) (z : LiftTangent) : fderiv ℝ f (-z) = -fderiv ℝ f z := by |
| 16 | have hd := ((hf.differentiable (by simp) (-z)).hasFDerivAt).comp z |
| 17 | ((hasFDerivAt_id (𝕜 := ℝ) z).neg) |
| 18 | have heq : (fun y => f (-y)) = f := funext he |
| 19 | have h : fderiv ℝ f z = -fderiv ℝ f (-z) := by |
| 20 | simpa only [Function.comp_def, heq, comp_neg, comp_id] using hd.fderiv |
| 21 | simpa only [neg_neg] using congrArg Neg.neg h.symm |
| 22 | |
| 23 | namespace Data |
| 24 | |
| 25 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) |
| 26 | (P : ℝ) [Fact (0 < P)] (A : VectorField) (t : ℝ) |
| 27 | |
| 28 | theorem rawPotential_smooth (hA : ContDiff ℝ ∞ (fun y : LiftTangent => A (t,y))) : |
| 29 | ContDiff ℝ ∞ (fun y : LiftTangent => D.rawPotential P A (t,y)) := by |
| 30 | have hn (x : Space) : D.normal.field (D.clamp t) x ≠ 0 := by |
| 31 | intro hz |
| 32 | have hl := D.normal_lower (D.clamp t) x |
| 33 | rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at hl |
| 34 | exact (not_le_of_gt D.normalLower_pos) hl |
| 35 | exact coveringPotential_contDiff P (Fact.out : 0 < P).le |
| 36 | (fun x => D.normal.field (D.clamp t) x) (fun y => A (t,y)) |
| 37 | (D.normal.smooth (D.clamp t)) hn hA |
| 38 | |
| 39 | variable (hInv : ∀ x, D.FInv.field (D.clamp t) (-x) = D.FInv.field (D.clamp t) x) |
| 40 | (hA : ContDiff ℝ ∞ (fun y : LiftTangent => A (t,y))) |
| 41 | (hper : ∀ x, Function.Periodic (fun θ => A (t,(x,θ))) P) |
| 42 | (hmean : ∀ x, (∫ θ in (0 : ℝ)..P, A (t,(x,θ))) = 0) |
| 43 | (hodd : ∀ x θ, A (t,(-x,-θ)) = -A (t,(x,θ))) |
| 44 | |
| 45 | include hInv hA hper hmean hodd in |
| 46 | theorem rawPotential_even (x : Space) (θ : ℝ) : |
| 47 | D.rawPotential P A (t,(-x,-θ)) = D.rawPotential P A (t,(x,θ)) := by |
| 48 | have hn (y : Space) : D.normal.field (D.clamp t) (-y) = D.normal.field (D.clamp t) y := by |
| 49 | change (D.FInv.field (D.clamp t) (-y)).adjoint D.m₀ = (D.FInv.field (D.clamp t) y).adjoint D.m₀ |
| 50 | rw [hInv] |
| 51 | exact potential_joint_even P (Fact.out : 0 < P).ne' |
| 52 | (fun y => D.normal.field (D.clamp t) y) (fun y θ => A (t,(y,θ))) hn |
| 53 | (fun y => hA.continuous.comp (continuous_const.prodMk continuous_id)) hper hmean hodd x θ |
| 54 | |
| 55 | include hInv hA hper hmean hodd in |
| 56 | theorem curlCorrector_odd (x : Space) (θ : ℝ) : |
| 57 | D.curlCorrector P A (t,(-x,-θ)) = -D.curlCorrector P A (t,(x,θ)) := by |
| 58 | have he (z : LiftTangent) : D.rawPotential P A (t,-z) = D.rawPotential P A (t,z) := |
| 59 | D.rawPotential_even P A t hInv hA hper hmean hodd z.1 z.2 |
| 60 | have hd := fderiv_of_even (fun z : LiftTangent => D.rawPotential P A (t,z)) |
| 61 | (D.rawPotential_smooth P A t hA) he (x,θ) |
| 62 | change curlOperator |
| 63 | ((fderiv ℝ (fun z : LiftTangent => D.rawPotential P A (t,z)) (-(x,θ))).comp |
| 64 | ((ContinuousLinearMap.inl ℝ Space ℝ).comp (D.FInv.field (D.clamp t) (-x)))) = |
| 65 | -curlOperator |
| 66 | ((fderiv ℝ (fun z : LiftTangent => D.rawPotential P A (t,z)) (x,θ)).comp |
| 67 | ((ContinuousLinearMap.inl ℝ Space ℝ).comp (D.FInv.field (D.clamp t) x))) |
| 68 | rw [hd, hInv, neg_comp, map_neg] |
| 69 | |
| 70 | end Data |
| 71 | |
| 72 | namespace Forcing |
| 73 | |
| 74 | variable {P : ℝ} [Fact (0 < P)] |
| 75 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 76 | {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 77 | |
| 78 | theorem corrector_odd (t : Icc (0 : ℝ) D.T) |
| 79 | (hInv : ∀ x, D.FInv.field t (-x) = D.FInv.field t x) |
| 80 | (hA : ∀ x θ, G.vector I (t,(-x,-θ)) = -G.vector I (t,(x,θ))) (x : Space) (θ : ℝ) : |
| 81 | G.corrector I (t,(-x,-θ)) = -G.corrector I (t,(x,θ)) := by |
| 82 | rw [← G.curlCorrector_eq I t (-x) (-θ), ← G.curlCorrector_eq I t x θ] |
| 83 | apply D.curlCorrector_odd P (G.vector I) t |
| 84 | · simpa only [D.clamp_coe] using hInv |
| 85 | · exact G.vector_spatial_smooth I t |
| 86 | · exact G.vector_periodic I t |
| 87 | · exact G.vector_mean_zero I t |
| 88 | · exact hA |
| 89 | |
| 90 | end Forcing |
| 91 | end EulerTransversePacketProvider |