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.TransversePacketPrimaryPaths |
| 2 | |
| 3 | /-! |
| 4 | The actual joined primary solves the homogeneous transverse equation. |
| 5 | The physical normal field is pointwise; it is never treated as one L² |
| 6 | vector. All equations below are for genuine cylinder representatives. |
| 7 | -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerTransversePacketPrimary |
| 12 | |
| 13 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 14 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 15 | EulerTransversePacketProvider EulerTimeIntervalRestriction |
| 16 | |
| 17 | variable {P : ℝ} [Fact (0 < P)] |
| 18 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 19 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 20 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) |
| 21 | |
| 22 | theorem balance_ae (t : Icc (0 : ℝ) D.T) : |
| 23 | ∀ᵐ x ∂liftMeasure P, |
| 24 | derivativePath τ hτ hτT B Y t x+D.M.field t x.1 (velocityPath τ hτ hτT B Y t x)+ |
| 25 | (-(2*⟪D.normal.field t x.1,D.M.field t x.1 (velocityPath τ hτ hτT B Y t x)⟫_ℝ)/ |
| 26 | ‖D.normal.field t x.1‖^2) • D.normal.field t x.1 = 0 := by |
| 27 | by_cases ht : (t : ℝ) ≤ τ |
| 28 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 29 | have hv : velocityPath τ hτ hτT B Y t = pastVelocity τ hτ hτT B Y th := |
| 30 | velocityPath_left τ hτ hτT B Y th |
| 31 | have hd : derivativePath τ hτ hτT B Y t = pastDerivative τ hτ hτT B Y th := |
| 32 | derivativePath_left τ hτ hτT B Y th |
| 33 | rw [hv,hd] |
| 34 | exact past_balance_ae τ hτ hτT B Y th |
| 35 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 36 | let tf : Icc (0 : ℝ) (D.T-τ) := |
| 37 | ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ |
| 38 | have hv : velocityPath τ hτ hτT B Y t = futureVelocity τ hτ hτT B Y tf := |
| 39 | velocityPath_right τ hτ hτT B Y tr |
| 40 | have hd : derivativePath τ hτ hτT B Y t = futureDerivative τ hτ hτT B Y tf := |
| 41 | derivativePath_right τ hτ hτT B Y tr |
| 42 | have hidx : tailInclusion D.T τ hτ.le tf = t := by |
| 43 | apply Subtype.ext |
| 44 | change τ+((t : ℝ)-τ) = (t : ℝ) |
| 45 | ring |
| 46 | have hM : (D.tail τ hτ.le hτT).M.field tf = D.M.field t := by |
| 47 | change D.M.field (tailInclusion D.T τ hτ.le tf) = D.M.field t |
| 48 | rw [hidx] |
| 49 | have hm : (D.tail τ hτ.le hτT).normal.field tf = D.normal.field t := by |
| 50 | change D.normal.field (tailInclusion D.T τ hτ.le tf) = D.normal.field t |
| 51 | rw [hidx] |
| 52 | have he := future_balance_ae τ hτ hτT B Y tf |
| 53 | rw [hM,hm,← hv,← hd] at he |
| 54 | exact he |
| 55 | |
| 56 | theorem tangent_ae (t : Icc (0 : ℝ) D.T) : |
| 57 | ∀ᵐ x ∂liftMeasure P, |
| 58 | ⟪D.normal.field t x.1,velocityPath τ hτ hτT B Y t x⟫_ℝ = 0 := by |
| 59 | by_cases ht : (t : ℝ) ≤ τ |
| 60 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 61 | have hv : velocityPath τ hτ hτT B Y t = pastVelocity τ hτ hτT B Y th := |
| 62 | velocityPath_left τ hτ hτT B Y th |
| 63 | rw [hv] |
| 64 | filter_upwards [EulerTransversePacketEndpoint.velocityPath_ae B (endpointData τ hτ hτT Y) th] |
| 65 | with x hx |
| 66 | change pastVelocity τ hτ hτT B Y th x = _ at hx |
| 67 | rw [hx] |
| 68 | exact (D.initial τ hτ hτT.le).frame_tangent th x.1 _ |
| 69 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 70 | let tf : Icc (0 : ℝ) (D.T-τ) := |
| 71 | ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ |
| 72 | let Df := D.tail τ hτ.le hτT |
| 73 | have hv : velocityPath τ hτ hτT B Y t = futureVelocity τ hτ hτT B Y tf := |
| 74 | velocityPath_right τ hτ hτT B Y tr |
| 75 | have hidx : tailInclusion D.T τ hτ.le tf = t := by |
| 76 | apply Subtype.ext |
| 77 | change τ+((t : ℝ)-τ) = (t : ℝ) |
| 78 | ring |
| 79 | have hm : Df.normal.field tf = D.normal.field t := by |
| 80 | change D.normal.field (tailInclusion D.T τ hτ.le tf) = D.normal.field t |
| 81 | rw [hidx] |
| 82 | rw [hv,← hm] |
| 83 | filter_upwards [EulerSourceCylinderEquation.velocity_ae P D.support D.support_measurable |
| 84 | Df.T Df.T_pos.le Df.frame Df.frameDerivative Df.frameLower Df.frameLower_pos Df.frame_lower |
| 85 | (zeroForcing Df).path (forwardInitial τ hτ hτT B Y).value tf] with x hx |
| 86 | change futureVelocity τ hτ hτT B Y tf x = _ at hx |
| 87 | rw [hx] |
| 88 | exact Df.frame_tangent tf x.1 _ |
| 89 | |
| 90 | end EulerTransversePacketPrimary |