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.TransversePacketPrimaryEquation |
| 2 | import Euler.TransversePacketPrimaryParity |
| 3 | import Euler.PacketCylinderScalarGradient |
| 4 | import Euler.PacketCylinderFieldSupport |
| 5 | import Euler.PacketCylinderTimeParity |
| 6 | |
| 7 | /-! Canonical raw fields for the actual terminal-history/forward primary |
| 8 | solution, with genuine time derivative, support, mean and tangent constraints. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerTransversePacketPrimary |
| 13 | |
| 14 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 15 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 16 | EulerCylinderSmoothOrbit EulerCylinderScalarPrimitive EulerCylinderAngleAverage |
| 17 | EulerPacketProfileRecursion EulerTransversePacketProvider EulerPacketCylinderField |
| 18 | EulerMetricTransport EulerCylinderFieldReflection |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | variable {P : ℝ} [Fact (0 < P)] |
| 22 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 24 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) |
| 25 | |
| 26 | def vector : VectorField := fun z => |
| 27 | pointField P (velocityPath τ hτ hτT B Y) (velocityPath_orbit τ hτ hτT B Y) |
| 28 | (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 29 | |
| 30 | def vectorDerivative : VectorField := fun z => |
| 31 | pointField P (derivativePath τ hτ hτT B Y) (derivativePath_orbit τ hτ hτT B Y) |
| 32 | (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 33 | |
| 34 | def scalar : ScalarField := fun z => |
| 35 | scalarPointField P (pressurePath τ hτ hτT B Y) (pressurePath_orbit τ hτ hτT B Y) |
| 36 | (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 37 | |
| 38 | def vectorField : Field P D.T (vector τ hτ hτT B Y) where |
| 39 | path := velocityPath τ hτ hτT B Y |
| 40 | orbit := velocityPath_orbit τ hτ hτT B Y |
| 41 | raw_eq t x θ := by simp only [vector,Data.clamp_coe] |
| 42 | |
| 43 | def vectorDerivativeField : Field P D.T (vectorDerivative τ hτ hτT B Y) where |
| 44 | path := derivativePath τ hτ hτT B Y |
| 45 | orbit := derivativePath_orbit τ hτ hτT B Y |
| 46 | raw_eq t x θ := by simp only [vectorDerivative,Data.clamp_coe] |
| 47 | |
| 48 | theorem vectorField_time : TimeDerivative D.T_pos.le (vectorField τ hτ hτT B Y) |
| 49 | (vectorDerivativeField τ hτ hτT B Y) := velocityPath_time τ hτ hτT B Y |
| 50 | |
| 51 | theorem vector_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 52 | HasDerivWithinAt (fun s => vector τ hτ hτT B Y (s,(x,θ))) |
| 53 | (vectorDerivative τ hτ hτT B Y (t,(x,θ))) (Icc (0 : ℝ) D.T) t := |
| 54 | (vectorField τ hτ hτT B Y).raw_hasDerivWithinAt D.T_pos.le |
| 55 | (vectorDerivativeField τ hτ hτT B Y) (vectorField_time τ hτ hτT B Y) t x θ |
| 56 | |
| 57 | theorem scalar_eq_pointField (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 58 | scalar τ hτ hτT B Y (t,(x,θ)) = |
| 59 | scalarPointField P (pressurePath τ hτ hτT B Y) (pressurePath_orbit τ hτ hτT B Y) |
| 60 | t (x,(θ : AddCircle P)) := by simp only [scalar,Data.clamp_coe] |
| 61 | |
| 62 | def scalarGradientField : Field P D.T (pressureGradient (scalar τ hτ hτT B Y)) := |
| 63 | EulerPacketCylinderField.scalarGradientField (scalar τ hτ hτT B Y) |
| 64 | (pressurePath τ hτ hτT B Y) (pressurePath_orbit τ hτ hτT B Y) |
| 65 | (scalar_eq_pointField τ hτ hτT B Y) |
| 66 | |
| 67 | theorem scalar_smooth (t : ℝ) : |
| 68 | ContDiff ℝ ∞ (fun y : Space × ℝ => scalar τ hτ hτT B Y (t,y)) := |
| 69 | coverField_contDiff P _ (scalarPointField_smooth P (pressurePath τ hτ hτT B Y) |
| 70 | (pressurePath_orbit τ hτ hτT B Y) (D.clamp t)) |
| 71 | |
| 72 | theorem vector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 73 | vector τ hτ hτT B Y (t,(x,θ)) = 0 := by |
| 74 | change pointField P (velocityPath τ hτ hτT B Y) (velocityPath_orbit τ hτ hτT B Y) |
| 75 | (D.clamp t) (x,(θ : AddCircle P)) = 0 |
| 76 | rw [pointField_eq_representative] |
| 77 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 78 | _ _ (velocityPath_supported τ hτ hτT B Y (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 79 | |
| 80 | theorem vectorDerivative_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 81 | vectorDerivative τ hτ hτT B Y (t,(x,θ)) = 0 := by |
| 82 | change pointField P (derivativePath τ hτ hτT B Y) (derivativePath_orbit τ hτ hτT B Y) |
| 83 | (D.clamp t) (x,(θ : AddCircle P)) = 0 |
| 84 | rw [pointField_eq_representative] |
| 85 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 86 | _ _ (derivativePath_supported τ hτ hτT B Y (D.clamp t)) (x,(θ : AddCircle P)) hx |
| 87 | |
| 88 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 89 | (∫ θ in (0 : ℝ)..P, vector τ hτ hτT B Y (t,(x,θ))) = 0 := |
| 90 | (pointField_mean_zero_iff P (velocityPath τ hτ hτT B Y) |
| 91 | (velocityPath_orbit τ hτ hτT B Y) (D.clamp t)).mp |
| 92 | (velocityPath_mean_zero τ hτ hτT B Y (D.clamp t)) x |
| 93 | |
| 94 | theorem vector_periodic (t : ℝ) (x : Space) : |
| 95 | Function.Periodic (fun θ => vector τ hτ hτT B Y (t,(x,θ))) P := by |
| 96 | intro θ |
| 97 | simp only [vector,AddCircle.coe_add_period] |
| 98 | |
| 99 | theorem scalar_periodic (t : ℝ) (x : Space) : |
| 100 | Function.Periodic (fun θ => scalar τ hτ hτT B Y (t,(x,θ))) P := by |
| 101 | intro θ |
| 102 | simp only [scalar,AddCircle.coe_add_period] |
| 103 | |
| 104 | theorem vector_tangent (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 105 | ⟪D.normalField (t,(x,θ)),vector τ hτ hτT B Y (t,(x,θ))⟫_ℝ = 0 := by |
| 106 | have hae : (fun z : LiftDomain P => ⟪D.normal.field t z.1, |
| 107 | pointField P (velocityPath τ hτ hτT B Y) (velocityPath_orbit τ hτ hτT B Y) t z⟫_ℝ) |
| 108 | =ᵐ[liftMeasure P] (fun _ => (0 : ℝ)) := by |
| 109 | filter_upwards [tangent_ae τ hτ hτT B Y t, |
| 110 | pointField_ae P (velocityPath τ hτ hτT B Y) (velocityPath_orbit τ hτ hτT B Y) t] |
| 111 | with z hz hv |
| 112 | rwa [hv] at hz |
| 113 | have hm : Continuous (fun z : LiftDomain P => D.normal.field t z.1) := |
| 114 | (D.normal.field t).continuous.comp continuous_fst |
| 115 | have hv := smoothField_continuous P _ |
| 116 | (pointField_smooth P (velocityPath τ hτ hτT B Y) (velocityPath_orbit τ hτ hτT B Y) t) |
| 117 | have he := congrFun (Measure.eq_of_ae_eq hae (hm.inner hv) continuous_const) (x,(θ : AddCircle P)) |
| 118 | simpa only [vector,Data.normalField,Data.clamp_coe] using he |
| 119 | |
| 120 | variable (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 121 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 122 | (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 123 | (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 124 | (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) |
| 125 | |
| 126 | include hSym hF hM hH hY |
| 127 | |
| 128 | theorem vector_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 129 | vector τ hτ hτT B Y (t,(-x,-θ)) = -vector τ hτ hτT B Y (t,(x,θ)) := |
| 130 | (vectorField τ hτ hτT B Y).raw_odd_of_reflection_neg t |
| 131 | (velocityPath_reflection_neg τ hτ hτT B Y hSym hF hM hH hY t) x θ |
| 132 | |
| 133 | theorem vectorDerivative_odd (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 134 | vectorDerivative τ hτ hτT B Y (t,(-x,-θ)) = -vectorDerivative τ hτ hτT B Y (t,(x,θ)) := |
| 135 | (vectorDerivativeField τ hτ hτT B Y).raw_odd_of_reflection_neg t |
| 136 | (derivativePath_reflection_neg τ hτ hτT B Y hSym hF hM hH hY t) x θ |
| 137 | |
| 138 | end EulerTransversePacketPrimary |