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.TransversePacketEndpointPointwise |
| 2 | import Euler.TransversePacketPrimaryField |
| 3 | import Euler.CylinderSliceRepresentatives |
| 4 | |
| 5 | /-! |
| 6 | The actual joined primary, restricted to its history interval, is the |
| 7 | literal compact periodic wave times the finite-dimensional endpoint history. |
| 8 | In particular its angular derivative at zero has the manuscript's δ⁻¹ factor. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerTransversePacketPrimary |
| 14 | |
| 15 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 16 | EulerLpCylinderTranslation EulerCylinderSmoothOrbit EulerMetricTransport |
| 17 | EulerTransversePacketProvider EulerVolterraConvolution EulerPacketTerminalDatum |
| 18 | EulerSpatialCutoffs EulerPeriodicProfile |
| 19 | |
| 20 | variable {P : ℝ} [Fact (0 < P)] |
| 21 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 22 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 23 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) |
| 24 | |
| 25 | theorem vector_eq_history (f : LiftDomain P → U) (hf : Continuous f) |
| 26 | (hrep : (Y.value : CylinderL2 P U) =ᵐ[liftMeasure P] f) |
| 27 | (t : Icc (0 : ℝ) τ) (x : Space) (θ : ℝ) : |
| 28 | vector τ hτ hτT B Y (t,(x,θ)) = |
| 29 | B.coefficients.labelVelocity x (f (x,(θ : AddCircle P))) t := by |
| 30 | let tg : Icc (0 : ℝ) D.T := ⟨t,t.property.1,t.property.2.trans hτT.le⟩ |
| 31 | have he := congrFun (pointField_eq_of_slice_eq P (velocityPath τ hτ hτT B Y) |
| 32 | (pastVelocity τ hτ hτT B Y) (velocityPath_orbit τ hτ hτT B Y) |
| 33 | (pastVelocity_orbit τ hτ hτT B Y) tg t (velocityPath_left τ hτ hτT B Y t)) |
| 34 | (x,(θ : AddCircle P)) |
| 35 | change pointField P (velocityPath τ hτ hτT B Y) _ (D.clamp tg) _ = _ |
| 36 | rw [Data.clamp_coe] |
| 37 | exact he.trans (EulerTransversePacketEndpoint.velocityPath_eq_history B |
| 38 | (endpointData τ hτ hτT Y) f hf hrep t (x,(θ : AddCircle P))) |
| 39 | |
| 40 | omit P [Fact (0 < P)] Y in |
| 41 | theorem vector_compact_wave_history (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 42 | (hs : tsupport innerCutoff ⊆ D.support) |
| 43 | (t : Icc (0 : ℝ) τ) (x : Space) (θ : ℝ) : |
| 44 | vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(x,θ)) = |
| 45 | (innerCutoff x*profile δ θ) • B.coefficients.labelVelocity x ξ t := by |
| 46 | rw [vector_eq_history τ hτ hτT B (initialData D δ hδ ξ hs) (field δ ξ) |
| 47 | (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ)] |
| 48 | rw [field_coe,map_smul] |
| 49 | rfl |
| 50 | |
| 51 | omit P [Fact (0 < P)] Y in |
| 52 | theorem angular_derivative_zero_history (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 53 | (hs : tsupport innerCutoff ⊆ D.support) |
| 54 | (t : Icc (0 : ℝ) τ) (x : Space) : |
| 55 | HasDerivAt (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(x,θ))) |
| 56 | ((innerCutoff x*δ⁻¹) • B.coefficients.labelVelocity x ξ t) 0 := by |
| 57 | have he : (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(x,θ))) = |
| 58 | (fun θ => (innerCutoff x*profile δ θ) • B.coefficients.labelVelocity x ξ t) := |
| 59 | funext (vector_compact_wave_history τ hτ hτT B δ hδ ξ hs t x) |
| 60 | rw [he] |
| 61 | have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt |
| 62 | rw [profile_deriv_zero δ hδ] at hp |
| 63 | exact (hp.const_mul (innerCutoff x)).smul_const (B.coefficients.labelVelocity x ξ t) |
| 64 | |
| 65 | omit P [Fact (0 < P)] Y in |
| 66 | theorem angular_derivative_zero_origin (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 67 | (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) τ) : |
| 68 | deriv (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(0,θ))) 0 = |
| 69 | δ⁻¹ • B.coefficients.labelVelocity 0 ξ t := by |
| 70 | simpa only [innerCutoff_zero,one_mul] using |
| 71 | (angular_derivative_zero_history τ hτ hτT B δ hδ ξ hs t 0).deriv |
| 72 | |
| 73 | omit P [Fact (0 < P)] Y in |
| 74 | theorem angular_derivative_zero_origin_norm (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 75 | (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) τ) : |
| 76 | ‖deriv (fun θ : ℝ => vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(0,θ))) 0‖ = |
| 77 | δ⁻¹ * ‖B.coefficients.labelVelocity 0 ξ t‖ := by |
| 78 | rw [angular_derivative_zero_origin τ hτ hτT B δ hδ ξ hs t,norm_smul, |
| 79 | Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hδ)] |
| 80 | |
| 81 | end EulerTransversePacketPrimary |