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.TransversePacketEndpoint |
| 2 | import Euler.TransversePacketTraceMatching |
| 3 | import Euler.TransversePacketInitial |
| 4 | import Euler.TransversePacketCylinderFields |
| 5 | |
| 6 | /-! |
| 7 | The primary history has prescribed terminal displacement. Its actual |
| 8 | coordinate velocity at τ is the initial value of the homogeneous forward |
| 9 | solve. Both the physical velocity and its true derivative match at τ. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransversePacketPrimary |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 17 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular |
| 18 | EulerCylinderSmoothOrbit EulerPacketProfileRecursion EulerTransversePacketProvider |
| 19 | EulerVolterraConvolution |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable {P : ℝ} [Fact (0 < P)] |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | |
| 25 | def zeroForcing (D : Data U) : Forcing P D (0 : VectorField) where |
| 26 | path := 0 |
| 27 | path_orbit := by |
| 28 | simpa only [map_zero] using |
| 29 | (contDiff_const : ContDiff ℝ ∞ (fun _ : LiftTangent => (0 : C(Icc (0 : ℝ) D.T,LiftL2 P)))) |
| 30 | raw_eq t x θ := (pointField_zero_of_value_zero P _ _ t (by simp) (x,(θ : AddCircle P))).symm |
| 31 | mean_zero _ := map_zero _ |
| 32 | |
| 33 | variable {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 34 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) |
| 35 | |
| 36 | def endpointData : InitialData P (D.initial τ hτ hτT.le) where |
| 37 | value := Y.value |
| 38 | orbit := Y.orbit |
| 39 | mean_zero := Y.mean_zero |
| 40 | |
| 41 | def forwardInitial : InitialData P (D.tail τ hτ.le hτT) where |
| 42 | value := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).value |
| 43 | orbit := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).orbit |
| 44 | mean_zero := (EulerTransversePacketEndpoint.terminalInitial B (endpointData τ hτ hτT Y)).mean_zero |
| 45 | |
| 46 | def pastVelocity : C(Icc (0 : ℝ) τ,LiftL2 P) := |
| 47 | EulerTransversePacketEndpoint.velocityPath B (endpointData τ hτ hτT Y) |
| 48 | |
| 49 | def pastDerivative : C(Icc (0 : ℝ) τ,LiftL2 P) := |
| 50 | EulerTransversePacketEndpoint.derivativePath B (endpointData τ hτ hτT Y) |
| 51 | |
| 52 | def futureVelocity : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := |
| 53 | includePath P D.support D.support_measurable |
| 54 | ((zeroForcing (D.tail τ hτ.le hτT)).velocityPath (forwardInitial τ hτ hτT B Y)) |
| 55 | |
| 56 | def futureDerivative : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := |
| 57 | includePath P D.support D.support_measurable |
| 58 | ((zeroForcing (D.tail τ hτ.le hτT)).derivativePath (forwardInitial τ hτ hτT B Y)) |
| 59 | |
| 60 | theorem pastVelocity_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (pastVelocity τ hτ hτT B Y)) := |
| 61 | EulerTransversePacketEndpoint.velocityPath_orbit B (endpointData τ hτ hτT Y) |
| 62 | |
| 63 | theorem pastDerivative_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (pastDerivative τ hτ hτT B Y)) := |
| 64 | EulerTransversePacketEndpoint.derivativePath_orbit B (endpointData τ hτ hτT Y) |
| 65 | |
| 66 | theorem futureVelocity_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (futureVelocity τ hτ hτT B Y)) := |
| 67 | (zeroForcing (D.tail τ hτ.le hτT)).velocityPath_orbit (forwardInitial τ hτ hτT B Y) |
| 68 | |
| 69 | theorem futureDerivative_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (futureDerivative τ hτ hτT B Y)) := |
| 70 | (zeroForcing (D.tail τ hτ.le hτT)).derivativePath_orbit (forwardInitial τ hτ hτT B Y) |
| 71 | |
| 72 | theorem velocity_match : pastVelocity τ hτ hτT B Y ⟨τ,hτ.le,le_rfl⟩ = |
| 73 | futureVelocity τ hτ hτT B Y ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by |
| 74 | let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ |
| 75 | let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ |
| 76 | have hQ : (D.initial τ hτ hτT.le).frame.field th = (D.tail τ hτ.le hτT).frame.field tf := by |
| 77 | apply BoundedContinuousFunction.ext |
| 78 | intro x |
| 79 | apply ContinuousLinearMap.ext |
| 80 | intro v |
| 81 | change D.F.field ⟨τ,hτ.le,hτT.le⟩ x (D.R v : Space) = |
| 82 | D.F.field ⟨τ+0,by linarith,by linarith⟩ x (D.R v : Space) |
| 83 | simp only [add_zero] |
| 84 | change fullOperatorMap P ((D.initial τ hτ hτT.le).frame.field th) |
| 85 | (EulerTransversePacketEndpoint.coordinatePath B (endpointData τ hτ hτT Y) th) = |
| 86 | fullOperatorMap P ((D.tail τ hτ.le hτT).frame.field tf) |
| 87 | (((zeroForcing (D.tail τ hτ.le hτT)).coordinatePath (forwardInitial τ hτ hτT B Y) tf) : |
| 88 | CylinderL2 P U) |
| 89 | dsimp only [tf] |
| 90 | erw [Forcing.coordinatePath_initial,hQ] |
| 91 | rfl |
| 92 | |
| 93 | theorem past_balance_ae (t : Icc (0 : ℝ) τ) : |
| 94 | ∀ᵐ x ∂liftMeasure P, |
| 95 | pastDerivative τ hτ hτT B Y t x+ |
| 96 | (D.initial τ hτ hτT.le).M.field t x.1 (pastVelocity τ hτ hτT B Y t x)+ |
| 97 | (-(2*⟪(D.initial τ hτ hτT.le).normal.field t x.1, |
| 98 | (D.initial τ hτ hτT.le).M.field t x.1 (pastVelocity τ hτ hτT B Y t x)⟫_ℝ)/ |
| 99 | ‖(D.initial τ hτ hτT.le).normal.field t x.1‖^2) • |
| 100 | (D.initial τ hτ hτT.le).normal.field t x.1 = 0 := |
| 101 | EulerTransversePacketEndpoint.balance_ae B (endpointData τ hτ hτT Y) t |
| 102 | |
| 103 | theorem future_balance_ae (t : Icc (0 : ℝ) (D.T-τ)) : |
| 104 | ∀ᵐ x ∂liftMeasure P, |
| 105 | futureDerivative τ hτ hτT B Y t x+ |
| 106 | (D.tail τ hτ.le hτT).M.field t x.1 (futureVelocity τ hτ hτT B Y t x)+ |
| 107 | (-(2*⟪(D.tail τ hτ.le hτT).normal.field t x.1, |
| 108 | (D.tail τ hτ.le hτT).M.field t x.1 (futureVelocity τ hτ hτT B Y t x)⟫_ℝ)/ |
| 109 | ‖(D.tail τ hτ.le hτT).normal.field t x.1‖^2) • |
| 110 | (D.tail τ hτ.le hτT).normal.field t x.1 = 0 := by |
| 111 | let Df := D.tail τ hτ.le hτT |
| 112 | have hh := EulerSourceCylinderEquation.velocity_balance_ae P D.support D.support_measurable |
| 113 | Df.T Df.T_pos.le Df.frame Df.frameDerivative Df.frameLower Df.frameLower_pos Df.frame_lower |
| 114 | (zeroForcing Df).path (forwardInitial τ hτ hτT B Y).value |
| 115 | (fun t x => Df.M.field t x) (fun t x => Df.normal.field t x) |
| 116 | (HistoryData.normal_ne_zero (D := Df)) Df.frame_tangent Df.frame_range Df.frame_strain t |
| 117 | filter_upwards [hh,Lp.coeFn_zero Space 2 (liftMeasure P)] with x hx hz |
| 118 | change futureDerivative τ hτ hτT B Y t x+Df.M.field t x.1 (futureVelocity τ hτ hτT B Y t x)+ |
| 119 | ((⟪Df.normal.field t x.1,(0 : LiftL2 P) x⟫_ℝ- |
| 120 | 2*⟪Df.normal.field t x.1,Df.M.field t x.1 (futureVelocity τ hτ hτT B Y t x)⟫_ℝ)/ |
| 121 | ‖Df.normal.field t x.1‖^2) • Df.normal.field t x.1 = (0 : LiftL2 P) x at hx |
| 122 | simpa only [hz,Pi.zero_apply,inner_zero_right,zero_sub] using hx |
| 123 | |
| 124 | theorem derivative_match : pastDerivative τ hτ hτT B Y ⟨τ,hτ.le,le_rfl⟩ = |
| 125 | futureDerivative τ hτ hτT B Y ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by |
| 126 | let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ |
| 127 | let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ |
| 128 | have hM : (D.initial τ hτ hτT.le).M.field th = (D.tail τ hτ.le hτT).M.field tf := |
| 129 | EulerTransversePacketJoin.source_coefficient_match τ hτ hτT D.M |
| 130 | have hm : (D.initial τ hτ hτT.le).normal.field th = (D.tail τ hτ.le hτT).normal.field tf := |
| 131 | EulerTransversePacketJoin.normal_match τ hτ hτT |
| 132 | have hh := past_balance_ae τ hτ hτT B Y th |
| 133 | rw [hM,hm,velocity_match τ hτ hτT B Y] at hh |
| 134 | apply Lp.ext |
| 135 | filter_upwards [hh,future_balance_ae τ hτ hτT B Y tf] with x hx hy |
| 136 | exact add_right_cancel (add_right_cancel (hx.trans hy.symm)) |
| 137 | |
| 138 | theorem pastVelocity_time (t : Icc (0 : ℝ) τ) : |
| 139 | HasDerivWithinAt (extendPath τ hτ.le (pastVelocity τ hτ hτT B Y)) |
| 140 | (pastDerivative τ hτ hτT B Y t) (Icc (0 : ℝ) τ) t := |
| 141 | EulerTransversePacketEndpoint.velocityPath_time B (endpointData τ hτ hτT Y) t |
| 142 | |
| 143 | theorem futureVelocity_time (t : Icc (0 : ℝ) (D.T-τ)) : |
| 144 | HasDerivWithinAt (extendPath (D.T-τ) (sub_pos.mpr hτT).le (futureVelocity τ hτ hτT B Y)) |
| 145 | (futureDerivative τ hτ hτT B Y t) (Icc (0 : ℝ) (D.T-τ)) t := |
| 146 | (zeroForcing (D.tail τ hτ.le hτT)).vectorField_time (forwardInitial τ hτ hτT B Y) t |
| 147 | |
| 148 | end EulerTransversePacketPrimary |