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.PacketPrimaryRegularity |
| 2 | import Euler.PacketPrimaryParity |
| 3 | import Euler.PacketTerminalEnvelope |
| 4 | import Euler.TransversePacketJets |
| 5 | import Euler.TransversePacketInitialRepresentative |
| 6 | |
| 7 | /-! |
| 8 | The actual compact-wave primary starting at time zero. It is the genuine |
| 9 | homogeneous forward evolution, has the prescribed initial field, and supplies |
| 10 | the literal homogeneous equation and all primary regularity/parity inputs. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerPacketForwardPrimary |
| 16 | |
| 17 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 18 | EulerPacketCylinderField EulerPacketProfileRecursion EulerTransversePacketProvider |
| 19 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderFieldReflection |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable {P : ℝ} [Fact (0 < P)] |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | (D : Data U) (Y : InitialData P D) |
| 25 | |
| 26 | abbrev forcing : Forcing P D (0 : VectorField) := homogeneousForcing D |
| 27 | abbrev vector : VectorField := (forcing D).vector Y |
| 28 | abbrev scalar : ScalarField := (forcing D).scalar Y |
| 29 | abbrev derivative : VectorField := (forcing D).vectorDerivative Y |
| 30 | |
| 31 | omit [CompleteSpace U] in |
| 32 | theorem forcing_path_zero : (forcing (P := P) D).path = 0 := by |
| 33 | apply ContinuousMap.ext |
| 34 | intro t |
| 35 | apply Subtype.ext |
| 36 | rfl |
| 37 | |
| 38 | def profile (O : Operators) : Profile := homogeneousPrimary D Y O |
| 39 | |
| 40 | def regularity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P) : |
| 41 | ProfileRegularity P D.T D.T_pos.le D.support (profile D Y O) := |
| 42 | homogeneousPrimaryRegularity D Y O hcorrector |
| 43 | |
| 44 | theorem equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 45 | linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) D.T) (vector D Y) (t,(x,θ)))+ |
| 46 | fastPressure (D.normalField (t,(x,θ))) (pressureJet (scalar D Y) (t,(x,θ))) = 0 := |
| 47 | (forcing D).jet_equation Y t x θ |
| 48 | |
| 49 | theorem tangent (t : ℝ) (x : Space) (θ : ℝ) : |
| 50 | inner ℝ (D.normalField (t,(x,θ))) (vector D Y (t,(x,θ))) = 0 := |
| 51 | (forcing D).vector_tangent Y t x θ |
| 52 | |
| 53 | theorem mean_zero (t : ℝ) (x : Space) : |
| 54 | (∫ θ in (0 : ℝ)..P, vector D Y (t,(x,θ))) = 0 := |
| 55 | (forcing D).vector_mean_zero Y t x |
| 56 | |
| 57 | theorem pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => scalar D Y (t,y)) := |
| 58 | (forcing D).scalar_spatial_smooth Y t |
| 59 | |
| 60 | theorem parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P) |
| 61 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 62 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 63 | (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 64 | (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) : |
| 65 | ProfileParity D.T (profile D Y O) := |
| 66 | homogeneousPrimaryParity D Y O hcorrector hSym hF hM hY |
| 67 | |
| 68 | end EulerPacketForwardPrimary |
| 69 | |
| 70 | namespace EulerPacketTerminalDatum |
| 71 | |
| 72 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 73 | EulerPacketCylinderField EulerPacketProfileRecursion EulerTransversePacketProvider |
| 74 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderFieldReflection |
| 75 | EulerSpatialCutoffs EulerPeriodicProfile EulerCylinderSmoothOrbit EulerMetricTransport |
| 76 | open scoped ContDiff |
| 77 | |
| 78 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 79 | (D : Data U) (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 80 | (hs : tsupport innerCutoff ⊆ D.support) |
| 81 | |
| 82 | def forwardPrimary (O : Operators) : Profile := |
| 83 | EulerPacketForwardPrimary.profile D (initialData D δ hδ ξ hs) O |
| 84 | |
| 85 | def forwardPrimaryRegularity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector period) : |
| 86 | ProfileRegularity period D.T D.T_pos.le D.support (forwardPrimary D δ hδ ξ hs O) := |
| 87 | EulerPacketForwardPrimary.regularity D (initialData D δ hδ ξ hs) O hcorrector |
| 88 | |
| 89 | theorem forwardPrimary_equation (O : Operators) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 90 | linearPart (D.strain (t,(x,θ))) |
| 91 | (slicedJet (Icc (0 : ℝ) D.T) (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ)))+ |
| 92 | fastPressure (D.normalField (t,(x,θ))) |
| 93 | (pressureJet (forwardPrimary D δ hδ ξ hs O).highPressure (t,(x,θ))) = 0 := |
| 94 | EulerPacketForwardPrimary.equation D (initialData D δ hδ ξ hs) t x θ |
| 95 | |
| 96 | theorem forwardPrimary_tangent (O : Operators) (t : ℝ) (x : Space) (θ : ℝ) : |
| 97 | inner ℝ (D.normalField (t,(x,θ))) ((forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := |
| 98 | EulerPacketForwardPrimary.tangent D (initialData D δ hδ ξ hs) t x θ |
| 99 | |
| 100 | theorem forwardPrimary_mean_zero (O : Operators) (t : ℝ) (x : Space) : |
| 101 | (∫ θ in (0 : ℝ)..period, (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := |
| 102 | EulerPacketForwardPrimary.mean_zero D (initialData D δ hδ ξ hs) t x |
| 103 | |
| 104 | theorem forwardPrimary_parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector period) |
| 105 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 106 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 107 | (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) : |
| 108 | ProfileParity D.T (forwardPrimary D δ hδ ξ hs O) := |
| 109 | EulerPacketForwardPrimary.parity D (initialData D δ hδ ξ hs) O hcorrector hSym hF hM |
| 110 | (terminal_reflection δ hδ ξ) |
| 111 | |
| 112 | theorem forwardPrimary_initial (O : Operators) (x : Space) (θ : ℝ) : |
| 113 | (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ)) = |
| 114 | (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := by |
| 115 | change (EulerPacketForwardPrimary.forcing D).vector (initialData D δ hδ ξ hs) (0,(x,θ)) = _ |
| 116 | rw [(EulerPacketForwardPrimary.forcing D).vector_initial_of_representative |
| 117 | (initialData D δ hδ ξ hs) (field δ ξ) |
| 118 | (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ), |
| 119 | field_coe,map_smul] |
| 120 | |
| 121 | theorem forwardPrimary_initial_angular (O : Operators) (x : Space) : |
| 122 | HasDerivAt (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) |
| 123 | ((innerCutoff x*δ⁻¹) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) 0 := by |
| 124 | have he : (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) = |
| 125 | fun θ => (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := |
| 126 | funext (forwardPrimary_initial D δ hδ ξ hs O x) |
| 127 | rw [he] |
| 128 | have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt |
| 129 | rw [profile_deriv_zero δ hδ] at hp |
| 130 | exact (hp.const_mul (innerCutoff x)).smul_const (D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) |
| 131 | |
| 132 | theorem forwardPrimary_initial_angular_norm (O : Operators) : |
| 133 | ‖deriv (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(0,θ))) 0‖ = |
| 134 | δ⁻¹*‖D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ 0 ξ‖ := by |
| 135 | rw [(forwardPrimary_initial_angular D δ hδ ξ hs O 0).deriv,innerCutoff_zero,one_mul, |
| 136 | norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hδ)] |
| 137 | |
| 138 | end EulerPacketTerminalDatum |