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.PacketCylinderFieldAverage |
| 2 | import Euler.PacketCylinderJetOperations |
| 3 | |
| 4 | /-! Genuine periodicity and zero-mean identities for raw cylinder-path witnesses. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerPacketPointJets |
| 11 | EulerPacketProfileRecursion EulerPeriodicDerivativeMean |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | namespace Field |
| 15 | |
| 16 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} (G : Field P T raw) |
| 17 | |
| 18 | include G in |
| 19 | theorem raw_periodic (t : Icc (0 : ℝ) T) (x : Space) : |
| 20 | Function.Periodic (fun θ => raw (t,(x,θ))) P := by |
| 21 | intro θ |
| 22 | change raw (t,(x,θ+P)) = raw (t,(x,θ)) |
| 23 | rw [G.raw_eq,G.raw_eq,AddCircle.coe_add_period] |
| 24 | |
| 25 | include G in |
| 26 | theorem raw_angle_continuous (t : Icc (0 : ℝ) T) (x : Space) : |
| 27 | Continuous (fun θ : ℝ => raw (t,(x,θ))) := |
| 28 | (G.raw_smooth t).continuous.comp (continuous_const.prodMk continuous_id) |
| 29 | |
| 30 | include G in |
| 31 | theorem raw_angle_hasDerivAt (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 32 | HasDerivAt (fun s => raw (t,(x,s))) |
| 33 | (fderiv ℝ (fun y => raw (t,y)) (x,θ) (0,1)) θ := by |
| 34 | have h := ((G.raw_smooth t).differentiable (by simp) (x,θ)).hasFDerivAt.comp_hasDerivAt θ |
| 35 | ((hasDerivAt_const θ x).prodMk (hasDerivAt_id θ)) |
| 36 | exact h |
| 37 | |
| 38 | include G in |
| 39 | theorem raw_angle_derivative_continuous (t : Icc (0 : ℝ) T) (x : Space) : |
| 40 | Continuous (fun θ => fderiv ℝ (fun y => raw (t,y)) (x,θ) (0,1)) := |
| 41 | (((G.raw_smooth t).fderiv_right (m := ∞) (by simp)).continuous.comp |
| 42 | (continuous_const.prodMk continuous_id)).clm_apply continuous_const |
| 43 | |
| 44 | include G in |
| 45 | theorem raw_angle_derivative_integral (t : Icc (0 : ℝ) T) (x : Space) : |
| 46 | (∫ θ in (0 : ℝ)..P, fderiv ℝ (fun y => raw (t,y)) (x,θ) (0,1)) = 0 := |
| 47 | integral_derivative_eq_zero P _ _ (G.raw_angle_hasDerivAt t x) |
| 48 | (G.raw_angle_derivative_continuous t x) (G.raw_periodic t x) |
| 49 | |
| 50 | include G in |
| 51 | theorem subtract_mean_integral (t : Icc (0 : ℝ) T) (x : Space) : |
| 52 | (∫ θ in (0 : ℝ)..P, (raw-EulerPacketProfileRecursion.angleMean P raw) (t,(x,θ))) = 0 := by |
| 53 | have hP : P ≠ 0 := ne_of_gt (Fact.out : 0 < P) |
| 54 | change (∫ θ in (0 : ℝ)..P, raw (t,(x,θ))- |
| 55 | P⁻¹ • (∫ s in (0 : ℝ)..P, raw (t,(x,s)))) = 0 |
| 56 | rw [intervalIntegral.integral_sub ((G.raw_angle_continuous t x).intervalIntegrable 0 P) |
| 57 | intervalIntegrable_const,intervalIntegral.integral_const,sub_zero,smul_smul, |
| 58 | mul_inv_cancel₀ hP,one_smul,sub_self] |
| 59 | |
| 60 | end Field |
| 61 | |
| 62 | variable {P T : ℝ} [Fact (0 < P)] {rawB rawA normal : VectorField} |
| 63 | |
| 64 | /-- A new angle-independent mean cannot contribute angular mean to its primary interaction. -/ |
| 65 | theorem mean_primary_integral_zero (N : VectorCoefficient T normal) |
| 66 | (A : Field P T rawA) (s : Set ℝ) |
| 67 | (hB : ∀ (t : Icc (0 : ℝ) T) x θ, rawB (t,(x,θ)) = rawB (t,(x,0))) |
| 68 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 69 | (∫ θ in (0 : ℝ)..P, fastAdvection (normal (t,(x,θ))) |
| 70 | (slicedJet s rawB (t,(x,θ))) (slicedJet s rawA (t,(x,θ)))) = 0 := by |
| 71 | have he : (fun θ => fastAdvection (normal (t,(x,θ))) |
| 72 | (slicedJet s rawB (t,(x,θ))) (slicedJet s rawA (t,(x,θ)))) = |
| 73 | fun θ => inner ℝ (N.path t x) (rawB (t,(x,0))) • |
| 74 | fderiv ℝ (fun y => rawA (t,y)) (x,θ) (0,1) := by |
| 75 | funext θ |
| 76 | change inner ℝ (normal (t,(x,θ))) (rawB (t,(x,θ))) • |
| 77 | (slicedJet s rawA (t,(x,θ))).2 angleDirection = _ |
| 78 | rw [N.raw_eq,hB,slicedJet_angle] |
| 79 | rw [he] |
| 80 | exact integral_constant_smul_derivative_eq_zero P _ _ _ (A.raw_angle_hasDerivAt t x) |
| 81 | (A.raw_angle_derivative_continuous t x) (A.raw_periodic t x) |
| 82 | |
| 83 | end EulerPacketCylinderField |