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.TransversePacketJoinedPaths |
| 2 | import Euler.CylinderSliceRepresentatives |
| 3 | import Euler.TransversePacketPressureGradient |
| 4 | |
| 5 | /-! |
| 6 | # The complete transverse history/forward field as a genuine cylinder path |
| 7 | |
| 8 | All raw fields are canonical continuous representatives of the constructed |
| 9 | L² paths. Restriction recovers the actual history and forward solutions. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransversePacketJoin |
| 15 | |
| 16 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 17 | EulerCylinderSmoothOrbit EulerCylinderScalarPrimitive EulerPacketProfileRecursion |
| 18 | EulerTransversePacketProvider EulerPacketCylinderField EulerLpCylinderPaths |
| 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)) {raw : VectorField} (G : Forcing P D raw) |
| 25 | |
| 26 | def vector : VectorField := fun z => |
| 27 | pointField P (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) |
| 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 G) (derivativePath_orbit τ hτ hτT B G) |
| 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 G) (pressurePath_orbit τ hτ hτT B G) |
| 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 G) where |
| 39 | path := velocityPath τ hτ hτT B G |
| 40 | orbit := velocityPath_orbit τ hτ hτT B G |
| 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 G) where |
| 44 | path := derivativePath τ hτ hτT B G |
| 45 | orbit := derivativePath_orbit τ hτ hτT B G |
| 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 G) |
| 49 | (vectorDerivativeField τ hτ hτT B G) := velocityPath_time τ hτ hτT B G |
| 50 | |
| 51 | theorem vector_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 52 | HasDerivWithinAt (fun s => vector τ hτ hτT B G (s,(x,θ))) |
| 53 | (vectorDerivative τ hτ hτT B G (t,(x,θ))) (Icc (0 : ℝ) D.T) t := |
| 54 | (vectorField τ hτ hτT B G).raw_hasDerivWithinAt D.T_pos.le |
| 55 | (vectorDerivativeField τ hτ hτT B G) (vectorField_time τ hτ hτT B G) t x θ |
| 56 | |
| 57 | theorem scalar_eq_pointField (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 58 | scalar τ hτ hτT B G (t,(x,θ)) = |
| 59 | scalarPointField P (pressurePath τ hτ hτT B G) (pressurePath_orbit τ hτ hτT B G) |
| 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 G)) := |
| 63 | EulerPacketCylinderField.scalarGradientField (scalar τ hτ hτT B G) |
| 64 | (pressurePath τ hτ hτT B G) (pressurePath_orbit τ hτ hτT B G) |
| 65 | (scalar_eq_pointField τ hτ hτT B G) |
| 66 | |
| 67 | theorem vector_left (t : Icc (0 : ℝ) τ) (x : Space) (θ : ℝ) : |
| 68 | vector τ hτ hτT B G (t,(x,θ)) = |
| 69 | B.field (G.initial τ hτ hτT.le) t (x,(θ : AddCircle P)) := by |
| 70 | let tg : Icc (0 : ℝ) D.T := ⟨t,t.property.1,t.property.2.trans hτT.le⟩ |
| 71 | have he := congrFun (pointField_eq_of_slice_eq P (velocityPath τ hτ hτT B G) |
| 72 | (pastVelocity τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) |
| 73 | (pastVelocity_orbit τ hτ hτT B G) tg t (velocityPath_left τ hτ hτT B G t)) (x,(θ : AddCircle P)) |
| 74 | change pointField P (velocityPath τ hτ hτT B G) _ (D.clamp tg) _ = _ |
| 75 | rw [Data.clamp_coe] |
| 76 | exact he |
| 77 | |
| 78 | theorem vectorDerivative_left (t : Icc (0 : ℝ) τ) (x : Space) (θ : ℝ) : |
| 79 | vectorDerivative τ hτ hτT B G (t,(x,θ)) = |
| 80 | B.derivativeField (G.initial τ hτ hτT.le) t (x,(θ : AddCircle P)) := by |
| 81 | let tg : Icc (0 : ℝ) D.T := ⟨t,t.property.1,t.property.2.trans hτT.le⟩ |
| 82 | have he := congrFun (pointField_eq_of_slice_eq P (derivativePath τ hτ hτT B G) |
| 83 | (pastDerivative τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) |
| 84 | (pastDerivative_orbit τ hτ hτT B G) tg t (derivativePath_left τ hτ hτT B G t)) (x,(θ : AddCircle P)) |
| 85 | change pointField P (derivativePath τ hτ hτT B G) _ (D.clamp tg) _ = _ |
| 86 | rw [Data.clamp_coe] |
| 87 | exact he |
| 88 | |
| 89 | theorem scalar_left (t : Icc (0 : ℝ) τ) (x : Space) (θ : ℝ) : |
| 90 | scalar τ hτ hτT B G (t,(x,θ)) = |
| 91 | B.pressureField (G.initial τ hτ hτT.le) t (x,(θ : AddCircle P)) := by |
| 92 | let tg : Icc (0 : ℝ) D.T := ⟨t,t.property.1,t.property.2.trans hτT.le⟩ |
| 93 | have he := congrFun (scalarPointField_eq_of_slice_eq P (pressurePath τ hτ hτT B G) |
| 94 | (pastPressure τ hτ hτT B G) (pressurePath_orbit τ hτ hτT B G) |
| 95 | (pastPressure_orbit τ hτ hτT B G) tg t (pressurePath_left τ hτ hτT B G t)) (x,(θ : AddCircle P)) |
| 96 | change scalarPointField P (pressurePath τ hτ hτT B G) _ (D.clamp tg) _ = _ |
| 97 | rw [Data.clamp_coe] |
| 98 | exact he.trans (congrFun (B.pressureField_eq_scalarPointField |
| 99 | (G.initial τ hτ hτT.le) t) (x,(θ : AddCircle P))).symm |
| 100 | |
| 101 | theorem vector_right (t : Icc τ D.T) (x : Space) (θ : ℝ) : |
| 102 | vector τ hτ hτT B G (t,(x,θ)) = |
| 103 | (G.tail τ hτ.le hτT).vector (forwardInitial τ hτ hτT B G) ((t : ℝ)-τ,(x,θ)) := by |
| 104 | let tg : Icc (0 : ℝ) D.T := ⟨t,hτ.le.trans t.property.1,t.property.2⟩ |
| 105 | let tf : Icc (0 : ℝ) (D.T-τ) := ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ |
| 106 | have he := congrFun (pointField_eq_of_slice_eq P (velocityPath τ hτ hτT B G) |
| 107 | (futureVelocity τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) |
| 108 | (futureVelocity_orbit τ hτ hτT B G) tg tf (velocityPath_right τ hτ hτT B G t)) (x,(θ : AddCircle P)) |
| 109 | change pointField P (velocityPath τ hτ hτT B G) _ (D.clamp tg) _ = _ |
| 110 | rw [Data.clamp_coe] |
| 111 | exact he.trans (((G.tail τ hτ.le hτT).vectorField (forwardInitial τ hτ hτT B G)).raw_eq tf x θ).symm |
| 112 | |
| 113 | theorem vectorDerivative_right (t : Icc τ D.T) (x : Space) (θ : ℝ) : |
| 114 | vectorDerivative τ hτ hτT B G (t,(x,θ)) = |
| 115 | (G.tail τ hτ.le hτT).vectorDerivative (forwardInitial τ hτ hτT B G) ((t : ℝ)-τ,(x,θ)) := by |
| 116 | let tg : Icc (0 : ℝ) D.T := ⟨t,hτ.le.trans t.property.1,t.property.2⟩ |
| 117 | let tf : Icc (0 : ℝ) (D.T-τ) := ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ |
| 118 | have he := congrFun (pointField_eq_of_slice_eq P (derivativePath τ hτ hτT B G) |
| 119 | (futureDerivative τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) |
| 120 | (futureDerivative_orbit τ hτ hτT B G) tg tf (derivativePath_right τ hτ hτT B G t)) (x,(θ : AddCircle P)) |
| 121 | change pointField P (derivativePath τ hτ hτT B G) _ (D.clamp tg) _ = _ |
| 122 | rw [Data.clamp_coe] |
| 123 | exact he.trans (((G.tail τ hτ.le hτT).vectorDerivativeField (forwardInitial τ hτ hτT B G)).raw_eq tf x θ).symm |
| 124 | |
| 125 | theorem scalar_right (t : Icc τ D.T) (x : Space) (θ : ℝ) : |
| 126 | scalar τ hτ hτT B G (t,(x,θ)) = |
| 127 | (G.tail τ hτ.le hτT).scalar (forwardInitial τ hτ hτT B G) ((t : ℝ)-τ,(x,θ)) := by |
| 128 | let tg : Icc (0 : ℝ) D.T := ⟨t,hτ.le.trans t.property.1,t.property.2⟩ |
| 129 | let tf : Icc (0 : ℝ) (D.T-τ) := ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ |
| 130 | have he := congrFun (scalarPointField_eq_of_slice_eq P (pressurePath τ hτ hτT B G) |
| 131 | (futurePressure τ hτ hτT B G) (pressurePath_orbit τ hτ hτT B G) |
| 132 | (futurePressure_orbit τ hτ hτT B G) tg tf (pressurePath_right τ hτ hτT B G t)) (x,(θ : AddCircle P)) |
| 133 | change scalarPointField P (pressurePath τ hτ hτT B G) _ (D.clamp tg) _ = _ |
| 134 | rw [Data.clamp_coe] |
| 135 | exact he.trans ((G.tail τ hτ.le hτT).scalar_eq_pointField (forwardInitial τ hτ hτT B G) tf x θ).symm |
| 136 | |
| 137 | end EulerTransversePacketJoin |