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.TransversePacketLocalHistory |
| 2 | import Euler.TransversePacketHistoryPressure |
| 3 | import Euler.TransversePacketProvider |
| 4 | |
| 5 | /-! |
| 6 | # The history trace matches the actual forward transverse solve |
| 7 | |
| 8 | The forward datum is the constructed history coordinate velocity. Both |
| 9 | physical velocities therefore agree at the source time τ, with the same |
| 10 | deformation frame on the two intervals. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerTransversePacketJoin |
| 16 | |
| 17 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTimeIntervalRestriction |
| 18 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular |
| 19 | EulerCylinderSmoothOrbit EulerPacketProfileRecursion EulerCylinderAngleAverage |
| 20 | EulerTransversePacketProvider |
| 21 | open scoped ContDiff BoundedContinuousFunction |
| 22 | |
| 23 | variable {P : ℝ} [Fact (0 < P)] |
| 24 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 25 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 26 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 27 | |
| 28 | def pastVelocity : C(Icc (0 : ℝ) τ,LiftL2 P) := |
| 29 | B.velocityPath (G.initial τ hτ hτT.le) |
| 30 | |
| 31 | def futureVelocity : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := |
| 32 | includePath P D.support D.support_measurable |
| 33 | ((G.tail τ hτ.le hτT).velocityPath (forwardInitial τ hτ hτT B G)) |
| 34 | |
| 35 | def pastDerivative : C(Icc (0 : ℝ) τ,LiftL2 P) := |
| 36 | B.derivativePath (G.initial τ hτ hτT.le) |
| 37 | |
| 38 | def futureDerivative : C(Icc (0 : ℝ) (D.T-τ),LiftL2 P) := |
| 39 | includePath P D.support D.support_measurable |
| 40 | ((G.tail τ hτ.le hτT).derivativePath (forwardInitial τ hτ hτT B G)) |
| 41 | |
| 42 | def pastPressure : C(Icc (0 : ℝ) τ,CylinderL2 P ℝ) := |
| 43 | B.pressurePath (G.initial τ hτ hτT.le) |
| 44 | |
| 45 | def futurePressure : C(Icc (0 : ℝ) (D.T-τ),CylinderL2 P ℝ) := |
| 46 | (G.tail τ hτ.le hτT).pressurePath (forwardInitial τ hτ hτT B G) |
| 47 | |
| 48 | theorem pastVelocity_orbit : |
| 49 | ContDiff ℝ ∞ (fun a => pathTranslate P a (pastVelocity τ hτ hτT B G)) := |
| 50 | B.velocityPath_orbit (G.initial τ hτ hτT.le) |
| 51 | |
| 52 | theorem futureVelocity_orbit : |
| 53 | ContDiff ℝ ∞ (fun a => pathTranslate P a (futureVelocity τ hτ hτT B G)) := |
| 54 | (G.tail τ hτ.le hτT).velocityPath_orbit (forwardInitial τ hτ hτT B G) |
| 55 | |
| 56 | theorem pastDerivative_orbit : |
| 57 | ContDiff ℝ ∞ (fun a => pathTranslate P a (pastDerivative τ hτ hτT B G)) := |
| 58 | B.derivativePath_orbit (G.initial τ hτ hτT.le) |
| 59 | |
| 60 | theorem futureDerivative_orbit : |
| 61 | ContDiff ℝ ∞ (fun a => pathTranslate P a (futureDerivative τ hτ hτT B G)) := |
| 62 | (G.tail τ hτ.le hτT).derivativePath_orbit (forwardInitial τ hτ hτT B G) |
| 63 | |
| 64 | theorem pastPressure_orbit : |
| 65 | ContDiff ℝ ∞ (fun a => pathTranslate P a (pastPressure τ hτ hτT B G)) := |
| 66 | B.pressurePath_orbit (G.initial τ hτ hτT.le) |
| 67 | |
| 68 | theorem futurePressure_orbit : |
| 69 | ContDiff ℝ ∞ (fun a => pathTranslate P a (futurePressure τ hτ hτT B G)) := |
| 70 | (G.tail τ hτ.le hτT).pressurePath_orbit (forwardInitial τ hτ hτT B G) |
| 71 | |
| 72 | /-- The actual forward velocity starts from the actual history velocity. -/ |
| 73 | theorem velocity_match : pastVelocity τ hτ hτT B G ⟨τ,hτ.le,le_rfl⟩ = |
| 74 | futureVelocity τ hτ hτT B G ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by |
| 75 | let th : Icc (0 : ℝ) (D.initial τ hτ hτT.le).T := ⟨τ,hτ.le,le_rfl⟩ |
| 76 | let tf : Icc (0 : ℝ) (D.tail τ hτ.le hτT).T := ⟨0,le_rfl,(D.tail τ hτ.le hτT).T_pos.le⟩ |
| 77 | have hQ : (D.initial τ hτ hτT.le).frame.field th = (D.tail τ hτ.le hτT).frame.field tf := by |
| 78 | apply BoundedContinuousFunction.ext |
| 79 | intro x |
| 80 | apply ContinuousLinearMap.ext |
| 81 | intro v |
| 82 | change D.F.field ⟨τ,hτ.le,hτT.le⟩ x (D.R v : Space) = |
| 83 | D.F.field ⟨τ+0,by linarith,by linarith⟩ x (D.R v : Space) |
| 84 | simp only [add_zero] |
| 85 | change fullOperatorMap P ((D.initial τ hτ hτT.le).frame.field th) |
| 86 | (B.coordinatePath (G.initial τ hτ hτT.le) th) = |
| 87 | fullOperatorMap P ((D.tail τ hτ.le hτT).frame.field tf) |
| 88 | ((EulerSourceCylinderEquation.coordinates P D.support D.support_measurable |
| 89 | (D.tail τ hτ.le hτT).T (D.tail τ hτ.le hτT).T_pos.le (D.tail τ hτ.le hτT).frame |
| 90 | (D.tail τ hτ.le hτT).frameDerivative (D.tail τ hτ.le hτT).frameLower |
| 91 | (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower |
| 92 | (G.tail τ hτ.le hτT).path (forwardInitial τ hτ hτT B G).value tf : |
| 93 | Supported P U D.support D.support_measurable) : CylinderL2 P U) |
| 94 | dsimp only [tf] |
| 95 | erw [EulerSourceCylinderEquation.coordinates_initial,hQ] |
| 96 | rfl |
| 97 | |
| 98 | end EulerTransversePacketJoin |