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.PacketForwardChildLowBounds |
| 2 | import Euler.PacketFirstLowBounds |
| 3 | |
| 4 | /-! Exact low-order propagation for the first homogeneous packet, whose |
| 5 | amplitude is delta times the desired initial shear. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerParentPacketFrames.Evolution |
| 10 | |
| 11 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 12 | EulerTransverseFrameCoordinates EulerTransversePacketProvider |
| 13 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerPacketCorrectionCoefficients |
| 14 | EulerPacketSourceGeometry EulerPacketMovingFrame EulerPacketGeometryLowBounds |
| 15 | EulerPacketPhysicalLowBounds EulerPacketForwardFactorization EulerPeriodicProfile |
| 16 | EulerSpatialCutoffs EulerPacketTerminalDatum |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {A : Parent} (E : Evolution A) |
| 20 | |
| 21 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 22 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 23 | (support : Set Space) (hSupport : IsCompact support) |
| 24 | {κ : ℝ} {hκ : |κ| ≤ 1} {Z R : FieldTower period A.T} |
| 25 | (B : Budget period A.T_pos (correctionData (A.transverseData m hm J support hSupport) period κ hκ Z R)) |
| 26 | (residual : ApproximationResidual period A.T_pos |
| 27 | (correctionData (A.transverseData m hm J support hSupport) period κ hκ Z R)) |
| 28 | (k : ℝ) (hk : k*κ=1) |
| 29 | |
| 30 | variable (δ hchild : ℝ) (ξ : U) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (hhchild : 0 ≤ hchild) |
| 31 | |
| 32 | /-- The exact source (20) errors, expressed on the same normalized |
| 33 | packet that defines the physical child. These are precisely the two |
| 34 | errors supplied by the same-Q packet choice. -/ |
| 35 | def HomogeneousSourceErrors (ev ep : ℝ) : Prop := |
| 36 | ∀ (t : Icc (0 : ℝ) A.T) (x : Space), |
| 37 | ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- |
| 38 | shearTerm (δ*hchild) (deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) |
| 39 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 40 | (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t (E.inverse.normalized t x))‖ ≤ ev ∧ |
| 41 | ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- |
| 42 | pressureTerm (δ*hchild) (deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) |
| 43 | ((A.transverseData m hm J support hSupport).M.field t (E.inverse.normalized t x)) |
| 44 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 45 | (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t (E.inverse.normalized t x))‖ ≤ ep |
| 46 | |
| 47 | /-- The literal strict errors returned by the global same-Q packet |
| 48 | theorem imply the error record without any additional analytic bound. -/ |
| 49 | theorem homogeneousSourceErrors_of_global (ev ep : ℝ) |
| 50 | (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), |
| 51 | ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- |
| 52 | ((δ*hchild)*deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • |
| 53 | rankOne ℝ (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t (E.inverse.normalized t x)) |
| 54 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ |
| 55 | ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- |
| 56 | (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm J support hSupport) ξ (δ*hchild) t |
| 57 | (E.inverse.normalized t x)*deriv (profile δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • |
| 58 | rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 59 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : |
| 60 | E.HomogeneousSourceErrors m hm J support hSupport B residual k δ hchild ξ ev ep := by |
| 61 | intro t x |
| 62 | refine ⟨(herr t x).1.le,?_⟩ |
| 63 | erw [forwardPressureTerm_eq_coefficient] |
| 64 | exact (herr t x).2.le |
| 65 | |
| 66 | include hk hδ hδ1 hhchild in |
| 67 | theorem exactHomogeneousPacket_low_bounds |
| 68 | (ev ep CM CH Kupper : ℝ) |
| 69 | (herr : E.HomogeneousSourceErrors m hm J support hSupport B residual k δ hchild ξ ev ep) |
| 70 | (hsize : ∀ (s : Icc (0 : ℝ) A.T) y, |
| 71 | ‖(A.transverseData m hm J support hSupport).normal.field s y‖* |
| 72 | ‖canonicalVelocity (A.transverseData m hm J support hSupport) ξ s y‖ ≤ EulerPacketFirstLowBounds.firstRatio) |
| 73 | (hflux : ∀ (s : Icc (0 : ℝ) A.T) y, |
| 74 | 0 ≤ ⟪(A.transverseData m hm J support hSupport).normal.field s y, |
| 75 | (A.transverseData m hm J support hSupport).M.field s y |
| 76 | (canonicalVelocity (A.transverseData m hm J support hSupport) ξ s y)⟫_ℝ) |
| 77 | (t : Icc (0 : ℝ) A.T) (x : Space) |
| 78 | (hCM : ‖fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ CM) |
| 79 | (hCH : ‖fderiv ℝ (E.force t) x‖ ≤ CH) |
| 80 | (hupper : ∀ z, ⟪fderiv ℝ (E.force t) x z,z⟫_ℝ ≤ Kupper*‖z‖^2) : |
| 81 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (t,y)) x‖ ≤ |
| 82 | CM+hchild*EulerPacketFirstLowBounds.firstRatio+ev ∧ |
| 83 | ‖fderiv ℝ (gradient (fun y => A.exactPacketPressure m hm J support hSupport B residual k E.inverse.field E.pressure (t,y))) x‖ ≤ |
| 84 | CH+2*CM*(hchild*EulerPacketFirstLowBounds.firstRatio)+ep ∧ |
| 85 | ∀ z, ⟪fderiv ℝ (gradient (fun y => A.exactPacketPressure m hm J support hSupport B residual k E.inverse.field E.pressure (t,y))) x z,z⟫_ℝ ≤ |
| 86 | (Kupper+2*CM*δ*(hchild*EulerPacketFirstLowBounds.firstRatio)+ep)*‖z‖^2 := by |
| 87 | let y := E.inverse.normalized t (A.ell⁻¹ • x) |
| 88 | have herr' := herr t (A.ell⁻¹ • x) |
| 89 | have he := E.exactPacket_derivative_split m hm J support hSupport B residual k hk t x |
| 90 | have hm' : (A.transverseData m hm J support hSupport).M.field t y= |
| 91 | fderiv ℝ (fun y => E.velocity (t,y)) x := E.strain_at_normalized_inverse t x |
| 92 | apply good_step_bounds _ _ _ _ ((A.transverseData m hm J support hSupport).M.field t y) |
| 93 | ((A.transverseData m hm J support hSupport).normal.field t y) |
| 94 | (canonicalVelocity (A.transverseData m hm J support hSupport) ξ t y) |
| 95 | (δ*hchild) δ (k*⟪m,y⟫_ℝ) ev ep CM CM CH (hchild*EulerPacketFirstLowBounds.firstRatio) |
| 96 | (mul_nonneg hδ.le hhchild) hδ hδ1 |
| 97 | · have hh := mul_le_mul_of_nonneg_left (hsize t y) (mul_nonneg hδ.le hhchild) |
| 98 | simpa only [mul_assoc] using hh |
| 99 | · rw [hm']; exact hCM |
| 100 | · exact hCM |
| 101 | · exact hCH |
| 102 | · rw [he.1,add_sub_cancel_left] |
| 103 | exact herr'.1 |
| 104 | · rw [he.2,add_sub_cancel_left] |
| 105 | exact herr'.2 |
| 106 | · exact hflux t y |
| 107 | · exact hupper |
| 108 | |
| 109 | end EulerParentPacketFrames.Evolution |