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.ParentEulerLowBounds |
| 3 | |
| 4 | /-! The actual initialized packet changes the initial velocity gradient |
| 5 | by the exponentially small early/history size plus its correction error. |
| 6 | These are the costs needed to preserve the localized source guards. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketPhysicalLowBounds |
| 11 | |
| 12 | open EulerSmoothLimit EulerPeriodicProfile |
| 13 | |
| 14 | theorem norm_le_of_shear_error (V : Matrix) (amp δ θ ev size : ℝ) (r w : Space) |
| 15 | (hamp : 0 ≤ amp) (hδ : 0 < δ) (hδ1 : δ ≤ 1) |
| 16 | (hsize : amp*(‖r‖*‖w‖) ≤ δ*size) |
| 17 | (herr : ‖V-shearTerm amp (deriv (profile δ) θ) r w‖ ≤ ev) : ‖V‖ ≤ size+ev := by |
| 18 | have hshear : ‖shearTerm amp (deriv (profile δ) θ) r w‖ ≤ size := |
| 19 | (shearTerm_norm_le amp _ δ r w hamp (profile_deriv_abs δ hδ hδ1 θ)).trans |
| 20 | ((div_le_iff₀ hδ).2 (by nlinarith only [hsize])) |
| 21 | have h := norm_of_remainder V 0 (shearTerm amp (deriv (profile δ) θ) r w) ev |
| 22 | (by simpa only [sub_zero] using herr) |
| 23 | simp only [norm_zero,zero_add] at h |
| 24 | exact h.trans (add_le_add hshear le_rfl) |
| 25 | |
| 26 | end EulerPacketPhysicalLowBounds |
| 27 | |
| 28 | namespace EulerParentPacketFrames.Evolution |
| 29 | |
| 30 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 31 | EulerTransverseFrameCoordinates EulerTransversePacketProvider |
| 32 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerPacketCorrectionCoefficients |
| 33 | EulerPacketSourceGeometry EulerPacketMovingFrame EulerPacketGeometryLowBounds |
| 34 | EulerPacketPhysicalLowBounds EulerPacketPrimaryFactorization EulerPeriodicProfile |
| 35 | EulerSpatialCutoffs EulerPacketTerminalDatum |
| 36 | open scoped ContDiff |
| 37 | |
| 38 | variable {A : Parent} (E : Evolution A) |
| 39 | |
| 40 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 41 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 42 | (support : Set Space) (hSupport : IsCompact support) |
| 43 | {κ : ℝ} {hκ : |κ| ≤ 1} {Z R : FieldTower period A.T} |
| 44 | (B : Budget period A.T_pos (correctionData (A.transverseData m hm J support hSupport) period κ hκ Z R)) |
| 45 | (residual : ApproximationResidual period A.T_pos |
| 46 | (correctionData (A.transverseData m hm J support hSupport) period κ hκ Z R)) |
| 47 | (k : ℝ) (hk : k*κ=1) |
| 48 | |
| 49 | section Joined |
| 50 | |
| 51 | variable {τ : ℝ} {hτ : 0 < τ} {hτT : τ < A.T} |
| 52 | {F : ParentFrame (A.transverseData m hm J support hSupport) τ} |
| 53 | {H : HistoryData ((A.transverseData m hm J support hSupport).initial τ hτ hτT.le)} |
| 54 | (G : Guards hτ hτT F H) (hball : (1/2 : ℝ) ≤ G.radius) |
| 55 | (hs : tsupport innerCutoff ⊆ support) (hδ : 0 < G.δ) (hδ1 : G.δ ≤ 1) |
| 56 | |
| 57 | include hk hδ hδ1 in |
| 58 | theorem exactPacket_bad_gradient_increment |
| 59 | (ev ep : ℝ) (herr : E.SourceErrors m hm J support hSupport B residual k G hball hs ev ep) |
| 60 | (t : Icc (0 : ℝ) A.T) (ht : scaledTime τ F.a F.epsilon t ≤ 1) (x : Space) : |
| 61 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (t,y)) x- |
| 62 | fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ G.hchild*G.badRatio+ev := by |
| 63 | rw [(E.exactPacket_derivative_split m hm J support hSupport B residual k hk t x).1,add_sub_cancel_left] |
| 64 | apply norm_le_of_shear_error _ (G.primaryAmplitude hball) G.δ |
| 65 | (k*⟪m,E.inverse.normalized t (A.ell⁻¹ • x)⟫_ℝ) ev (G.hchild*G.badRatio) |
| 66 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t (A.ell⁻¹ • x))) |
| 67 | (canonicalVelocity τ hτ hτT H G.terminal hs t (E.inverse.normalized t (A.ell⁻¹ • x))) |
| 68 | (G.primaryAmplitude_nonneg hball) hδ hδ1 |
| 69 | · simpa only [mul_assoc] using G.bad_primary_size hball t ht (E.inverse.normalized t (A.ell⁻¹ • x)) hs |
| 70 | · exact (herr t (A.ell⁻¹ • x)).1 |
| 71 | |
| 72 | include hk hδ hδ1 in |
| 73 | theorem exactPacket_initial_gradient_increment |
| 74 | (ev ep : ℝ) (herr : E.SourceErrors m hm J support hSupport B residual k G hball hs ev ep) |
| 75 | (x : Space) : |
| 76 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (0,y)) x- |
| 77 | fderiv ℝ (fun y => E.velocity (0,y)) x‖ ≤ G.hchild*G.badRatio+ev := by |
| 78 | apply E.exactPacket_bad_gradient_increment m hm J support hSupport B residual k hk G hball hs hδ hδ1 ev ep herr A.zeroTime _ x |
| 79 | change (F.a/F.epsilon)*(0-τ) ≤ 1 |
| 80 | have h : (F.a/F.epsilon)*(0-τ) ≤ 0 := |
| 81 | mul_nonpos_of_nonneg_of_nonpos (div_nonneg G.a_pos.le G.epsilon_pos.le) (by linarith only [hτ]) |
| 82 | linarith only [h] |
| 83 | |
| 84 | end Joined |
| 85 | |
| 86 | section Forward |
| 87 | |
| 88 | variable {F : ParentFrame (A.transverseData m hm J support hSupport) 0} |
| 89 | (G : ForwardGuards F) (hball : (1/2 : ℝ) ≤ G.radius) |
| 90 | (hδ : 0 < G.δ) (hδ1 : G.δ ≤ 1) |
| 91 | |
| 92 | include hk hδ hδ1 in |
| 93 | theorem exactForwardPacket_early_gradient_increment |
| 94 | (ev ep : ℝ) (herr : E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep) |
| 95 | (t : Icc (0 : ℝ) A.T) (ht : scaledTime 0 F.a F.epsilon t ≤ 1) (x : Space) : |
| 96 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (t,y)) x- |
| 97 | fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ G.hchild*G.earlyRatio+ev := by |
| 98 | rw [(E.exactPacket_derivative_split m hm J support hSupport B residual k hk t x).1,add_sub_cancel_left] |
| 99 | apply norm_le_of_shear_error _ (G.primaryAmplitude hball) G.δ |
| 100 | (k*⟪m,E.inverse.normalized t (A.ell⁻¹ • x)⟫_ℝ) ev (G.hchild*G.earlyRatio) |
| 101 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t (A.ell⁻¹ • x))) |
| 102 | (EulerPacketForwardFactorization.canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t (A.ell⁻¹ • x))) |
| 103 | (G.primaryAmplitude_nonneg hball) hδ hδ1 |
| 104 | · simpa only [mul_assoc] using G.early_primary_size hball t ht (E.inverse.normalized t (A.ell⁻¹ • x)) |
| 105 | · exact (herr t (A.ell⁻¹ • x)).1 |
| 106 | |
| 107 | include hk hδ hδ1 in |
| 108 | theorem exactForwardPacket_initial_gradient_increment |
| 109 | (ev ep : ℝ) (herr : E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep) |
| 110 | (x : Space) : |
| 111 | ‖fderiv ℝ (fun y => A.exactPacketVelocity m hm J support hSupport B residual k E.inverse.field E.velocity (0,y)) x- |
| 112 | fderiv ℝ (fun y => E.velocity (0,y)) x‖ ≤ G.hchild*G.earlyRatio+ev := by |
| 113 | apply E.exactForwardPacket_early_gradient_increment m hm J support hSupport B residual k hk G hball hδ hδ1 ev ep herr A.zeroTime _ x |
| 114 | change (F.a/F.epsilon)*(0-0) ≤ 1 |
| 115 | norm_num |
| 116 | |
| 117 | end Forward |
| 118 | |
| 119 | end EulerParentPacketFrames.Evolution |