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.PacketChildLowBounds |
| 2 | import Euler.PacketForwardGeometryLowBounds |
| 3 | import Euler.PacketForwardPrimaryShear |
| 4 | |
| 5 | /-! The time-zero amplification stage preserves the actual sharp |
| 6 | physical derivative and upper pressure bounds. The early interval keeps |
| 7 | its exponential gain, and the good interval retains the extra delta in |
| 8 | the upper pressure estimate. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketPhysicalLowBounds |
| 13 | |
| 14 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 15 | EulerTransversePacketProvider EulerPacketForwardFactorization |
| 16 | |
| 17 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 18 | {D : Data U} (ξ : U) (a slope : ℝ) |
| 19 | |
| 20 | theorem forwardPressureTerm_eq_coefficient (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 21 | pressureTerm a slope (D.M.field t x) (D.normal.field t x) |
| 22 | (canonicalVelocity D ξ t x) = |
| 23 | (EulerPacketForwardShear.pressureCoefficient D ξ a t x*slope) • |
| 24 | rankOne ℝ (D.normal.field t x) (D.normal.field t x) := by |
| 25 | unfold pressureTerm EulerPacketForwardShear.pressureCoefficient |
| 26 | congr 1 |
| 27 | ring |
| 28 | |
| 29 | end EulerPacketPhysicalLowBounds |
| 30 | |
| 31 | namespace EulerParentPacketFrames.Evolution |
| 32 | |
| 33 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 34 | EulerTransverseFrameCoordinates EulerTransversePacketProvider |
| 35 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerPacketCorrectionCoefficients |
| 36 | EulerPacketSourceGeometry EulerPacketMovingFrame EulerPacketGeometryLowBounds |
| 37 | EulerPacketPhysicalLowBounds EulerPacketForwardFactorization EulerPeriodicProfile |
| 38 | EulerSpatialCutoffs EulerPacketTerminalDatum |
| 39 | open scoped ContDiff |
| 40 | |
| 41 | variable {A : Parent} (E : Evolution A) |
| 42 | |
| 43 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 44 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 45 | (support : Set Space) (hSupport : IsCompact support) |
| 46 | {κ : ℝ} {hκ : |κ| ≤ 1} {Z R : FieldTower period A.T} |
| 47 | (B : Budget period A.T_pos (correctionData (A.transverseData m hm J support hSupport) period κ hκ Z R)) |
| 48 | (residual : ApproximationResidual period A.T_pos |
| 49 | (correctionData (A.transverseData m hm J support hSupport) period κ hκ Z R)) |
| 50 | (k : ℝ) (hk : k*κ=1) |
| 51 | |
| 52 | variable {F : ParentFrame (A.transverseData m hm J support hSupport) 0} |
| 53 | (G : ForwardGuards F) (hball : (1/2 : ℝ) ≤ G.radius) |
| 54 | (hδ : 0 < G.δ) (hδ1 : G.δ ≤ 1) |
| 55 | |
| 56 | /-- The exact source (20) errors, expressed on the same normalized |
| 57 | packet that defines the physical child. These are precisely the two |
| 58 | errors supplied by the same-Q packet choice. -/ |
| 59 | def ForwardSourceErrors (ev ep : ℝ) : Prop := |
| 60 | ∀ (t : Icc (0 : ℝ) A.T) (x : Space), |
| 61 | ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- |
| 62 | shearTerm (G.primaryAmplitude hball) (deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) |
| 63 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 64 | (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x))‖ ≤ ev ∧ |
| 65 | ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- |
| 66 | pressureTerm (G.primaryAmplitude hball) (deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) |
| 67 | ((A.transverseData m hm J support hSupport).M.field t (E.inverse.normalized t x)) |
| 68 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 69 | (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x))‖ ≤ ep |
| 70 | |
| 71 | /-- The literal strict errors returned by the global same-Q packet |
| 72 | theorem imply the error record without any additional analytic bound. -/ |
| 73 | theorem forwardSourceErrors_of_global (ev ep : ℝ) |
| 74 | (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), |
| 75 | ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- |
| 76 | (G.primaryAmplitude hball*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • |
| 77 | rankOne ℝ (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x)) |
| 78 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ |
| 79 | ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- |
| 80 | (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm J support hSupport) G.initialCoordinate (G.primaryAmplitude hball) t |
| 81 | (E.inverse.normalized t x)*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • |
| 82 | rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 83 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : |
| 84 | E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep := by |
| 85 | intro t x |
| 86 | refine ⟨(herr t x).1.le,?_⟩ |
| 87 | erw [forwardPressureTerm_eq_coefficient] |
| 88 | exact (herr t x).2.le |
| 89 | |
| 90 | include hk hδ hδ1 in |
| 91 | theorem exactForwardPacket_good_low_bounds |
| 92 | (ev ep CM CH Kupper : ℝ) |
| 93 | (herr : E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep) |
| 94 | (t : Icc (0 : ℝ) A.T) (ht : 1 ≤ scaledTime 0 F.a F.epsilon t) (x : Space) |
| 95 | (hCM : ‖fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ CM) |
| 96 | (hCH : ‖fderiv ℝ (E.force t) x‖ ≤ CH) |
| 97 | (hupper : ∀ z, ⟪fderiv ℝ (E.force t) x z,z⟫_ℝ ≤ Kupper*‖z‖^2) : |
| 98 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (t,y)) x‖ ≤ |
| 99 | CM+G.hchild*goodRatio+ev ∧ |
| 100 | ‖fderiv ℝ (gradient (fun y => A.exactPacketPressure m hm J support hSupport B residual k E.inverse.field E.pressure (t,y))) x‖ ≤ |
| 101 | CH+2*CM*(G.hchild*goodRatio)+ep ∧ |
| 102 | ∀ 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⟫_ℝ ≤ |
| 103 | (Kupper+2*CM*G.δ*(G.hchild*goodRatio)+ep)*‖z‖^2 := by |
| 104 | let y := E.inverse.normalized t (A.ell⁻¹ • x) |
| 105 | have herr' := herr t (A.ell⁻¹ • x) |
| 106 | have he := E.exactPacket_derivative_split m hm J support hSupport B residual k hk t x |
| 107 | have hm' : (A.transverseData m hm J support hSupport).M.field t y= |
| 108 | fderiv ℝ (fun y => E.velocity (t,y)) x := E.strain_at_normalized_inverse t x |
| 109 | apply good_step_bounds _ _ _ _ ((A.transverseData m hm J support hSupport).M.field t y) |
| 110 | ((A.transverseData m hm J support hSupport).normal.field t y) |
| 111 | (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t y) |
| 112 | (G.primaryAmplitude hball) G.δ (k*⟪m,y⟫_ℝ) ev ep CM CM CH (G.hchild*goodRatio) |
| 113 | (G.primaryAmplitude_nonneg hball) hδ hδ1 |
| 114 | · simpa only [mul_assoc] using G.good_primary_size hball t ht y |
| 115 | · rw [hm']; exact hCM |
| 116 | · exact hCM |
| 117 | · exact hCH |
| 118 | · rw [he.1,add_sub_cancel_left] |
| 119 | exact herr'.1 |
| 120 | · rw [he.2,add_sub_cancel_left] |
| 121 | exact herr'.2 |
| 122 | · exact G.good_primary_flux hball t ht y |
| 123 | · exact hupper |
| 124 | |
| 125 | include hk hδ hδ1 in |
| 126 | theorem exactForwardPacket_early_low_bounds |
| 127 | (ev ep CM CH Kupper : ℝ) |
| 128 | (herr : E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep) |
| 129 | (t : Icc (0 : ℝ) A.T) (ht : scaledTime 0 F.a F.epsilon t ≤ 1) (x : Space) |
| 130 | (hCM : ‖fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ CM) |
| 131 | (hCH : ‖fderiv ℝ (E.force t) x‖ ≤ CH) |
| 132 | (hupper : ∀ z, ⟪fderiv ℝ (E.force t) x z,z⟫_ℝ ≤ Kupper*‖z‖^2) : |
| 133 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (t,y)) x‖ ≤ |
| 134 | CM+G.hchild*G.earlyRatio+ev ∧ |
| 135 | ‖fderiv ℝ (gradient (fun y => A.exactPacketPressure m hm J support hSupport B residual k E.inverse.field E.pressure (t,y))) x‖ ≤ |
| 136 | CH+2*CM*(G.hchild*G.earlyRatio)+ep ∧ |
| 137 | ∀ 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⟫_ℝ ≤ |
| 138 | (Kupper+2*CM*(G.hchild*G.earlyRatio)+ep)*‖z‖^2 := by |
| 139 | let y := E.inverse.normalized t (A.ell⁻¹ • x) |
| 140 | have herr' := herr t (A.ell⁻¹ • x) |
| 141 | have he := E.exactPacket_derivative_split m hm J support hSupport B residual k hk t x |
| 142 | have hm' : (A.transverseData m hm J support hSupport).M.field t y= |
| 143 | fderiv ℝ (fun y => E.velocity (t,y)) x := E.strain_at_normalized_inverse t x |
| 144 | apply absolute_step_bounds _ _ _ _ ((A.transverseData m hm J support hSupport).M.field t y) |
| 145 | ((A.transverseData m hm J support hSupport).normal.field t y) |
| 146 | (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t y) |
| 147 | (G.primaryAmplitude hball) G.δ (k*⟪m,y⟫_ℝ) ev ep CM CM CH (G.hchild*G.earlyRatio) |
| 148 | (G.primaryAmplitude_nonneg hball) hδ hδ1 |
| 149 | · simpa only [mul_assoc] using G.early_primary_size hball t ht y |
| 150 | · rw [hm']; exact hCM |
| 151 | · exact hCM |
| 152 | · exact hCH |
| 153 | · rw [he.1,add_sub_cancel_left] |
| 154 | exact herr'.1 |
| 155 | · rw [he.2,add_sub_cancel_left] |
| 156 | exact herr'.2 |
| 157 | · exact hupper |
| 158 | |
| 159 | include hk hδ hδ1 in |
| 160 | /-- The full horizon has one fixed absolute-size cost, while the upper |
| 161 | pressure cost retains delta on good times and the exponentially small |
| 162 | bad-time ratio. The parent constants remain the actual sharp CM and CH. -/ |
| 163 | theorem exactForwardPacket_whole_horizon_low_bounds |
| 164 | (ev ep CM CH Kupper : ℝ) |
| 165 | (herr : E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep) |
| 166 | (hCM : ∀ (t : Icc (0 : ℝ) A.T) x, ‖fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ CM) |
| 167 | (hCH : ∀ (t : Icc (0 : ℝ) A.T) x, ‖fderiv ℝ (E.force t) x‖ ≤ CH) |
| 168 | (hupper : ∀ (t : Icc (0 : ℝ) A.T) x z, ⟪fderiv ℝ (E.force t) x z,z⟫_ℝ ≤ Kupper*‖z‖^2) |
| 169 | (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 170 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (t,y)) x‖ ≤ |
| 171 | CM+G.hchild*(goodRatio+G.earlyRatio)+ev ∧ |
| 172 | ‖fderiv ℝ (gradient (fun y => A.exactPacketPressure m hm J support hSupport B residual k E.inverse.field E.pressure (t,y))) x‖ ≤ |
| 173 | CH+2*CM*G.hchild*(goodRatio+G.earlyRatio)+ep ∧ |
| 174 | ∀ 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⟫_ℝ ≤ |
| 175 | (Kupper+2*CM*G.hchild*(G.δ*goodRatio+G.earlyRatio)+ep)*‖z‖^2 := by |
| 176 | have hCM0 : 0 ≤ CM := (norm_nonneg _).trans (hCM t x) |
| 177 | have hchild := G.child_nonneg |
| 178 | have hbad := G.earlyRatio_nonneg |
| 179 | have hgood := goodRatio_pos.le |
| 180 | by_cases ht : 1 ≤ scaledTime 0 F.a F.epsilon t |
| 181 | · obtain ⟨hv,hp,hq⟩ := E.exactForwardPacket_good_low_bounds m hm J support hSupport B residual k hk |
| 182 | G hball hδ hδ1 ev ep CM CH Kupper herr t ht x (hCM t x) (hCH t x) (hupper t x) |
| 183 | refine ⟨hv.trans ?_,hp.trans ?_,fun z => (hq z).trans ?_⟩ |
| 184 | · nlinarith only [mul_nonneg hchild hbad] |
| 185 | · nlinarith only [mul_nonneg (mul_nonneg hCM0 hchild) hbad] |
| 186 | · apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) |
| 187 | nlinarith only [mul_nonneg (mul_nonneg hCM0 hchild) hbad] |
| 188 | · obtain ⟨hv,hp,hq⟩ := E.exactForwardPacket_early_low_bounds m hm J support hSupport B residual k hk |
| 189 | G hball hδ hδ1 ev ep CM CH Kupper herr t (le_of_not_ge ht) x (hCM t x) (hCH t x) (hupper t x) |
| 190 | refine ⟨hv.trans ?_,hp.trans ?_,fun z => (hq z).trans ?_⟩ |
| 191 | · nlinarith only [mul_nonneg hchild hgood] |
| 192 | · nlinarith only [mul_nonneg (mul_nonneg hCM0 hchild) hgood] |
| 193 | · apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) |
| 194 | nlinarith only [mul_nonneg (mul_nonneg (mul_nonneg hCM0 hchild) G.delta_nonneg) hgood] |
| 195 | |
| 196 | end EulerParentPacketFrames.Evolution |