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.TransversePacketMatching |
| 2 | |
| 3 | /-! The actual time derivative and normalized pressure also match at the history/forward junction. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerTransversePacketJoin |
| 8 | |
| 9 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients |
| 10 | EulerTimeIntervalRestriction EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 11 | EulerLpCylinderPaths EulerLpCylinderRectangular EulerCylinderScalarPrimitive EulerSourceNormalCoefficient |
| 12 | EulerPacketProfileRecursion EulerTransversePacketProvider |
| 13 | open scoped ContDiff BoundedContinuousFunction |
| 14 | |
| 15 | variable {P : ℝ} [Fact (0 < P)] |
| 16 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 17 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 18 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) |
| 19 | |
| 20 | omit [Fact (0 < P)] [CompleteSpace U] in |
| 21 | theorem source_coefficient_match {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 22 | (A : SmoothCoefficientPath (Icc (0 : ℝ) D.T) V) : |
| 23 | (A.comp (initialInclusion D.T τ hτT.le)).field ⟨τ,hτ.le,le_rfl⟩ = |
| 24 | (A.comp (tailInclusion D.T τ hτ.le)).field ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by |
| 25 | change A.field ⟨τ,hτ.le,hτT.le⟩ = A.field ⟨τ+0,by linarith,by linarith⟩ |
| 26 | simp only [add_zero] |
| 27 | |
| 28 | omit [Fact (0 < P)] [CompleteSpace U] in |
| 29 | theorem normal_match : |
| 30 | (D.initial τ hτ hτT.le).normal.field ⟨τ,hτ.le,le_rfl⟩ = |
| 31 | (D.tail τ hτ.le hτT).normal.field ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := |
| 32 | source_coefficient_match τ hτ hτT D.normal |
| 33 | |
| 34 | omit [CompleteSpace U] in |
| 35 | theorem forcing_match : |
| 36 | ((G.initial τ hτ hτT.le).path ⟨τ,hτ.le,le_rfl⟩ : CylinderL2 P Space) = |
| 37 | ((G.tail τ hτ.le hτT).path ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ : CylinderL2 P Space) := by |
| 38 | change (G.path ⟨τ,hτ.le,hτT.le⟩ : CylinderL2 P Space) = |
| 39 | (G.path ⟨τ+0,by linarith,by linarith⟩ : CylinderL2 P Space) |
| 40 | simp only [add_zero] |
| 41 | |
| 42 | /-- The same physical first-order equation determines the same derivative |
| 43 | from the matching velocity and forcing. -/ |
| 44 | theorem derivative_match : pastDerivative τ hτ hτT B G ⟨τ,hτ.le,le_rfl⟩ = |
| 45 | futureDerivative τ hτ hτT B G ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by |
| 46 | let Dh := D.initial τ hτ hτT.le |
| 47 | let Df := D.tail τ hτ.le hτT |
| 48 | let Gh := G.initial τ hτ hτT.le |
| 49 | let Gf := G.tail τ hτ.le hτT |
| 50 | let Bh := B |
| 51 | let I := forwardInitial τ hτ hτT B G |
| 52 | let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ |
| 53 | let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ |
| 54 | have hM : Dh.M.field th = Df.M.field tf := source_coefficient_match τ hτ hτT D.M |
| 55 | have hm : Dh.normal.field th = Df.normal.field tf := normal_match τ hτ hτT |
| 56 | have hforce : (Gh.path th : CylinderL2 P Space) = (Gf.path tf : CylinderL2 P Space) := |
| 57 | forcing_match τ hτ hτT G |
| 58 | have hv := velocity_match τ hτ hτT B G |
| 59 | have hh := Bh.balance_ae Gh th |
| 60 | have hf := EulerSourceCylinderEquation.velocity_balance_ae P D.support D.support_measurable |
| 61 | Df.T Df.T_pos.le Df.frame Df.frameDerivative Df.frameLower Df.frameLower_pos Df.frame_lower |
| 62 | Gf.path I.value (fun t x => Df.M.field t x) (fun t x => Df.normal.field t x) |
| 63 | (HistoryData.normal_ne_zero (D := Df)) Df.frame_tangent Df.frame_range Df.frame_strain tf |
| 64 | change ∀ᵐ x ∂liftMeasure P, |
| 65 | pastDerivative τ hτ hτT B G th x+Dh.M.field th x.1 (pastVelocity τ hτ hτT B G th x)+ |
| 66 | ((⟪Dh.normal.field th x.1,(Gh.path th : CylinderL2 P Space) x⟫_ℝ- |
| 67 | 2*⟪Dh.normal.field th x.1,Dh.M.field th x.1 (pastVelocity τ hτ hτT B G th x)⟫_ℝ)/ |
| 68 | ‖Dh.normal.field th x.1‖^2) • Dh.normal.field th x.1 = (Gh.path th : CylinderL2 P Space) x at hh |
| 69 | change ∀ᵐ x ∂liftMeasure P, |
| 70 | futureDerivative τ hτ hτT B G tf x+Df.M.field tf x.1 (futureVelocity τ hτ hτT B G tf x)+ |
| 71 | ((⟪Df.normal.field tf x.1,(Gf.path tf : CylinderL2 P Space) x⟫_ℝ- |
| 72 | 2*⟪Df.normal.field tf x.1,Df.M.field tf x.1 (futureVelocity τ hτ hτT B G tf x)⟫_ℝ)/ |
| 73 | ‖Df.normal.field tf x.1‖^2) • Df.normal.field tf x.1 = (Gf.path tf : CylinderL2 P Space) x at hf |
| 74 | rw [hM,hm,hforce,hv] at hh |
| 75 | apply Lp.ext |
| 76 | filter_upwards [hh,hf] with x hx hy |
| 77 | exact add_right_cancel (add_right_cancel (hx.trans hy.symm)) |
| 78 | |
| 79 | /-- The normalized pressure integral has the same input scalar L² class on |
| 80 | both sides of the junction. -/ |
| 81 | theorem pressure_match : pastPressure τ hτ hτT B G ⟨τ,hτ.le,le_rfl⟩ = |
| 82 | futurePressure τ hτ hτT B G ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ := by |
| 83 | let Dh := D.initial τ hτ hτT.le |
| 84 | let Df := D.tail τ hτ.le hτT |
| 85 | let th : Icc (0 : ℝ) τ := ⟨τ,hτ.le,le_rfl⟩ |
| 86 | let tf : Icc (0 : ℝ) (D.T-τ) := ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ |
| 87 | have hM : Dh.M.field th = Df.M.field tf := source_coefficient_match τ hτ hτT D.M |
| 88 | have hm : Dh.normal.field th = Df.normal.field tf := normal_match τ hτ hτT |
| 89 | have hN : normalFunctional Dh.normal Dh.normalLower Dh.normalLower_pos Dh.normal_lower th = |
| 90 | normalFunctional Df.normal Df.normalLower Df.normalLower_pos Df.normal_lower tf := by |
| 91 | apply BoundedContinuousFunction.ext |
| 92 | intro x |
| 93 | apply ContinuousLinearMap.ext |
| 94 | intro v |
| 95 | erw [normalFunctional_apply,normalFunctional_apply,hm] |
| 96 | change primitive P (fullOperatorMap P |
| 97 | (normalFunctional Dh.normal Dh.normalLower Dh.normalLower_pos Dh.normal_lower th) |
| 98 | (((G.initial τ hτ hτT.le).path th : CylinderL2 P Space)-(2 : ℝ) • |
| 99 | fullOperatorMap P (Dh.M.field th) (pastVelocity τ hτ hτT B G th))) = |
| 100 | primitive P (fullOperatorMap P |
| 101 | (normalFunctional Df.normal Df.normalLower Df.normalLower_pos Df.normal_lower tf) |
| 102 | (((G.tail τ hτ.le hτT).path tf : CylinderL2 P Space)-(2 : ℝ) • |
| 103 | fullOperatorMap P (Df.M.field tf) (futureVelocity τ hτ hτT B G tf))) |
| 104 | have hforce : ((G.initial τ hτ hτT.le).path th : CylinderL2 P Space) = |
| 105 | ((G.tail τ hτ.le hτT).path tf : CylinderL2 P Space) := forcing_match τ hτ hτT G |
| 106 | have hv : pastVelocity τ hτ hτT B G th = futureVelocity τ hτ hτT B G tf := |
| 107 | velocity_match τ hτ hτT B G |
| 108 | rw [hN,hM,hforce,hv] |
| 109 | |
| 110 | end EulerTransversePacketJoin |