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.TransversePacketForcing |
| 2 | import Euler.CylinderAngleAverageTime |
| 3 | |
| 4 | /-! |
| 5 | # The actual transverse forward operator on raw packet fields |
| 6 | |
| 7 | The returned velocity and normalized pressure come from the constructed |
| 8 | supported cylinder solution. All source-frame hypotheses are discharged by |
| 9 | the deformation data. This module covers the forward interval, with genuine |
| 10 | prescribed initial coordinates; the zero initial datum gives the forced |
| 11 | operator used when t₀ = 0. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerTransversePacketProvider |
| 17 | |
| 18 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 19 | EulerLiftedGradientSpace EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths |
| 20 | EulerCylinderSmoothOrbit EulerCylinderAngleAverage EulerSourceCylinderClassical |
| 21 | EulerPacketPointJets EulerPacketProfileRecursion EulerMetricTransport |
| 22 | open scoped ContDiff |
| 23 | |
| 24 | variable {P : ℝ} [Fact (0 < P)] |
| 25 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | |
| 27 | namespace Forcing |
| 28 | |
| 29 | variable {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 30 | |
| 31 | def vector : VectorField := fun z => |
| 32 | field P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 33 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 34 | G.path_orbit I.orbit (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 35 | |
| 36 | def vectorDerivative : VectorField := fun z => |
| 37 | derivativeField P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 38 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 39 | G.path_orbit I.orbit (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 40 | |
| 41 | def scalar : ScalarField := fun z => |
| 42 | pressureField P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 43 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 44 | G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 45 | G.mean_zero I.mean_zero (D.clamp z.1) (z.2.1,(z.2.2 : AddCircle P)) |
| 46 | |
| 47 | theorem vector_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 48 | HasDerivWithinAt (fun r => G.vector I (r,(x,θ))) (G.vectorDerivative I (t,(x,θ))) |
| 49 | (Icc (0 : ℝ) D.T) t := by |
| 50 | have h := field_hasDerivWithinAt P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 51 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 52 | G.path_orbit I.orbit D.frame_derivative t (x,(θ : AddCircle P)) |
| 53 | simpa only [vector,vectorDerivative,Data.clamp,projIcc_of_mem D.T_pos.le t.property] using h |
| 54 | |
| 55 | /-- The literal transverse equation, including its constructed angular pressure. -/ |
| 56 | theorem equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 57 | G.vectorDerivative I (t,(x,θ))+D.strain (t,(x,θ)) (G.vector I (t,(x,θ)))+ |
| 58 | deriv (fun s : ℝ => G.scalar I (t,(x,s))) θ • D.normalField (t,(x,θ)) = raw (t,(x,θ)) := by |
| 59 | have h := field_pressure_equation P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 60 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 61 | G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 62 | G.mean_zero I.mean_zero D.frame_tangent D.frame_range D.frame_strain t x θ |
| 63 | rw [← G.raw_eq t x θ] at h |
| 64 | simpa only [vector,vectorDerivative,scalar,Data.strain,Data.normalField,Data.clamp_coe] using h |
| 65 | |
| 66 | theorem vector_tangent (t : ℝ) (x : Space) (θ : ℝ) : |
| 67 | ⟪D.normalField (t,(x,θ)),G.vector I (t,(x,θ))⟫_ℝ = 0 := |
| 68 | field_tangent P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 69 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 70 | G.path_orbit I.orbit D.normal D.frame_tangent (D.clamp t) (x,(θ : AddCircle P)) |
| 71 | |
| 72 | theorem vector_mean_zero (t : ℝ) (x : Space) : |
| 73 | (∫ θ in (0 : ℝ)..P, G.vector I (t,(x,θ))) = 0 := by |
| 74 | have hz := EulerSourceCylinderEquation.velocity_average_zero P D.support D.support_measurable |
| 75 | D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower |
| 76 | G.path I.value G.mean_zero I.mean_zero (D.clamp t) |
| 77 | exact (pointField_mean_zero_iff P |
| 78 | (includePath P D.support D.support_measurable (G.velocityPath I)) |
| 79 | (G.velocityPath_orbit I) (D.clamp t)).mp hz x |
| 80 | |
| 81 | theorem vector_spatial_smooth (t : ℝ) : |
| 82 | ContDiff ℝ ∞ (fun y : Space × ℝ => G.vector I (t,y)) := by |
| 83 | have h := field_smooth P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 84 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 85 | G.path_orbit I.orbit (D.clamp t) 0 |
| 86 | convert h using 1 |
| 87 | first |
| 88 | | rfl |
| 89 | | (funext y; simp only [vector,localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add]) |
| 90 | |
| 91 | theorem scalar_spatial_smooth (t : ℝ) : |
| 92 | ContDiff ℝ ∞ (fun y : Space × ℝ => G.scalar I (t,y)) := by |
| 93 | have h := pressureField_smooth P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 94 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 95 | G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 96 | G.mean_zero I.mean_zero (D.clamp t) 0 |
| 97 | convert h using 1 |
| 98 | first |
| 99 | | rfl |
| 100 | | (funext y; simp only [scalar,localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add]) |
| 101 | |
| 102 | theorem vector_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 103 | G.vector I (t,(x,θ)) = 0 := by |
| 104 | by_contra h |
| 105 | exact hx (field_tsupport_subset P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 106 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 107 | G.path_orbit I.orbit (D.clamp t) (subset_closure h)) |
| 108 | |
| 109 | theorem scalar_zero_outside (t : ℝ) (x : Space) (hx : x ∉ D.support) (θ : ℝ) : |
| 110 | G.scalar I (t,(x,θ)) = 0 := |
| 111 | pressureField_zero_outside P D.support D.support_measurable D.support_compact D.T D.T_pos.le |
| 112 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower G.path I.value |
| 113 | G.path_orbit I.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 114 | G.mean_zero I.mean_zero (D.clamp t) x hx θ |
| 115 | |
| 116 | theorem vector_periodic (t : ℝ) (x : Space) : Function.Periodic (fun θ => G.vector I (t,(x,θ))) P := by |
| 117 | intro θ |
| 118 | simp only [vector,AddCircle.coe_add_period] |
| 119 | |
| 120 | end Forcing |
| 121 | |
| 122 | /-- A total raw-field map backed by the actual forward solution on its admissible domain. -/ |
| 123 | def highSolve (P : ℝ) [Fact (0 < P)] (D : Data U) (I : InitialData P D) |
| 124 | (raw : VectorField) : VectorField × ScalarField := by |
| 125 | classical |
| 126 | exact if h : Nonempty (Forcing P D raw) then |
| 127 | let G := Classical.choice h |
| 128 | (G.vector I,G.scalar I) |
| 129 | else (0,0) |
| 130 | |
| 131 | theorem highSolve_of_admissible (D : Data U) (I : InitialData P D) (raw : VectorField) |
| 132 | (h : Nonempty (Forcing P D raw)) : |
| 133 | highSolve P D I raw = ((Classical.choice h).vector I,(Classical.choice h).scalar I) := by |
| 134 | simp only [highSolve,dite_eq_left h] |
| 135 | |
| 136 | end EulerTransversePacketProvider |