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.TransversePacketTraceMatching |
| 2 | import Euler.ElapsedTimePathNaturality |
| 3 | import Euler.TransversePacketCylinderFields |
| 4 | |
| 5 | /-! |
| 6 | # The actual complete forced transverse path |
| 7 | |
| 8 | The constructed history and forward paths are joined using their proved |
| 9 | matching traces. The result has a true continuous time derivative across |
| 10 | the junction, and its mixed translation orbit is smooth in the uniform |
| 11 | time-path topology. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerTransversePacketJoin |
| 17 | |
| 18 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 19 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 20 | EulerPacketProfileRecursion EulerTransversePacketProvider EulerElapsedTimePathGluing |
| 21 | EulerVolterraConvolution EulerParameterWordGevrey |
| 22 | open scoped ContDiff |
| 23 | |
| 24 | variable {P : ℝ} [Fact (0 < P)] |
| 25 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 27 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 28 | |
| 29 | def velocityPath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 30 | join D.T τ hτ.le hτT.le (pastVelocity τ hτ hτT B G) (futureVelocity τ hτ hτT B G) |
| 31 | (velocity_match τ hτ hτT B G) |
| 32 | |
| 33 | def derivativePath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 34 | join D.T τ hτ.le hτT.le (pastDerivative τ hτ hτT B G) (futureDerivative τ hτ hτT B G) |
| 35 | (derivative_match τ hτ hτT B G) |
| 36 | |
| 37 | def pressurePath : C(Icc (0 : ℝ) D.T,CylinderL2 P ℝ) := |
| 38 | join D.T τ hτ.le hτT.le (pastPressure τ hτ hτT B G) (futurePressure τ hτ hτT B G) |
| 39 | (pressure_match τ hτ hτT B G) |
| 40 | |
| 41 | theorem velocityPath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (velocityPath τ hτ hτT B G)) := |
| 42 | join_orbit_contDiff P D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) |
| 43 | (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) |
| 44 | |
| 45 | theorem derivativePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (derivativePath τ hτ hτT B G)) := |
| 46 | join_orbit_contDiff P D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) |
| 47 | (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) |
| 48 | |
| 49 | theorem pressurePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (pressurePath τ hτ hτT B G)) := |
| 50 | join_orbit_contDiff P D.T τ hτ.le hτT.le _ _ (pressure_match τ hτ hτT B G) |
| 51 | (pastPressure_orbit τ hτ hτT B G) (futurePressure_orbit τ hτ hτT B G) |
| 52 | |
| 53 | theorem velocityPath_left (t : Icc (0 : ℝ) τ) : |
| 54 | velocityPath τ hτ hτT B G ⟨t,t.property.1,t.property.2.trans hτT.le⟩ = |
| 55 | pastVelocity τ hτ hτT B G t := |
| 56 | join_left D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) t |
| 57 | |
| 58 | theorem derivativePath_left (t : Icc (0 : ℝ) τ) : |
| 59 | derivativePath τ hτ hτT B G ⟨t,t.property.1,t.property.2.trans hτT.le⟩ = |
| 60 | pastDerivative τ hτ hτT B G t := |
| 61 | join_left D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) t |
| 62 | |
| 63 | theorem pressurePath_left (t : Icc (0 : ℝ) τ) : |
| 64 | pressurePath τ hτ hτT B G ⟨t,t.property.1,t.property.2.trans hτT.le⟩ = |
| 65 | pastPressure τ hτ hτT B G t := |
| 66 | join_left D.T τ hτ.le hτT.le _ _ (pressure_match τ hτ hτT B G) t |
| 67 | |
| 68 | theorem velocityPath_right (t : Icc τ D.T) : |
| 69 | velocityPath τ hτ hτT B G ⟨t,hτ.le.trans t.property.1,t.property.2⟩ = |
| 70 | futureVelocity τ hτ hτT B G ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ := |
| 71 | join_right D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) t |
| 72 | |
| 73 | theorem derivativePath_right (t : Icc τ D.T) : |
| 74 | derivativePath τ hτ hτT B G ⟨t,hτ.le.trans t.property.1,t.property.2⟩ = |
| 75 | futureDerivative τ hτ hτT B G ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ := |
| 76 | join_right D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) t |
| 77 | |
| 78 | theorem pressurePath_right (t : Icc τ D.T) : |
| 79 | pressurePath τ hτ hτT B G ⟨t,hτ.le.trans t.property.1,t.property.2⟩ = |
| 80 | futurePressure τ hτ hτT B G ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ := |
| 81 | join_right D.T τ hτ.le hτT.le _ _ (pressure_match τ hτ hτT B G) t |
| 82 | |
| 83 | /-- The physical time derivative exists through τ, on the closed whole interval. -/ |
| 84 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 85 | HasDerivWithinAt (extendPath D.T D.T_pos.le (velocityPath τ hτ hτT B G)) |
| 86 | (derivativePath τ hτ hτT B G t) (Icc (0 : ℝ) D.T) t := by |
| 87 | apply join_hasDerivWithinAt D.T τ hτ.le hτT.le |
| 88 | (pastVelocity τ hτ hτT B G) (futureVelocity τ hτ hτT B G) |
| 89 | (velocity_match τ hτ hτT B G) (pastDerivative τ hτ hτT B G) (futureDerivative τ hτ hτT B G) |
| 90 | (derivative_match τ hτ hτT B G) _ _ t |
| 91 | · exact B.velocityPath_time (G.initial τ hτ hτT.le) |
| 92 | · exact (G.tail τ hτ.le hτT).vectorField_time (forwardInitial τ hτ hτT B G) |
| 93 | |
| 94 | /-- The gluing step itself has no external radius cost. -/ |
| 95 | theorem velocityPath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : |
| 96 | block directions q (fun b => pathTranslate P b (velocityPath τ hτ hτT B G)) n a ≤ |
| 97 | block directions q (fun b => pathTranslate P b (pastVelocity τ hτ hτT B G)) n a+ |
| 98 | block directions q (fun b => pathTranslate P b (futureVelocity τ hτ hτT B G)) n a := |
| 99 | join_orbit_block P D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B G) |
| 100 | (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) directions q n a |
| 101 | |
| 102 | theorem derivativePath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : |
| 103 | block directions q (fun b => pathTranslate P b (derivativePath τ hτ hτT B G)) n a ≤ |
| 104 | block directions q (fun b => pathTranslate P b (pastDerivative τ hτ hτT B G)) n a+ |
| 105 | block directions q (fun b => pathTranslate P b (futureDerivative τ hτ hτT B G)) n a := |
| 106 | join_orbit_block P D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B G) |
| 107 | (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) directions q n a |
| 108 | |
| 109 | theorem pressurePath_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : |
| 110 | block directions q (fun b => pathTranslate P b (pressurePath τ hτ hτT B G)) n a ≤ |
| 111 | block directions q (fun b => pathTranslate P b (pastPressure τ hτ hτT B G)) n a+ |
| 112 | block directions q (fun b => pathTranslate P b (futurePressure τ hτ hτT B G)) n a := |
| 113 | join_orbit_block P D.T τ hτ.le hτT.le _ _ (pressure_match τ hτ hτT B G) |
| 114 | (pastPressure_orbit τ hτ hτT B G) (futurePressure_orbit τ hτ hτT B G) directions q n a |
| 115 | |
| 116 | end EulerTransversePacketJoin |