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.ParentForwardInitialSupport |
| 2 | import Euler.ParentHomogeneousPacketLowBounds |
| 3 | import Euler.ParentEulerLowBounds |
| 4 | import Euler.ParentEulerChild |
| 5 | |
| 6 | /-! The first packet preserves the exterior initial bound exactly and |
| 7 | creates the small core used by later stages. Its pressure guard comes |
| 8 | from the actual scalar pressure, and the exact correction adds no initial |
| 9 | support outside the packet ball. -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerParentPacketFrames.Evolution |
| 14 | |
| 15 | open Set InnerProductSpace EulerSmoothLimit EulerMeanHarmonic |
| 16 | EulerTransverseFrameCoordinates EulerTransversePacketProvider |
| 17 | EulerAllOrderDriftCorrection EulerGraphInvariantFlow EulerPacketTerminalDatum |
| 18 | EulerPacketPhysicalLowBounds EulerPacketFirstLowBounds |
| 19 | |
| 20 | variable {A : Parent} (E : Evolution A) (H : LowBounds A) |
| 21 | {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δ : 0 < δ) (hδ1 : δ ≤ 1) (hchild : ℝ) (hhchild : 0 ≤ hchild) |
| 25 | (ξ : U) (hs : tsupport EulerSpatialCutoffs.innerCutoff ⊆ support) |
| 26 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 27 | (Q : Budget period A.T_pos |
| 28 | (forwardInitializedCorrectionData (A.meanData H) (A.transverseData m hm J support hSupport) rfl |
| 29 | δ hδ ξ hs (δ*hchild) (A.sourceAgreement m hm J support hSupport H) N hN k hk)) |
| 30 | (G : EulerPhysicalGraphFlowBounds.Data period A.T) |
| 31 | (hG : G.A=Q.liftedPacketCoefficient period |
| 32 | (forwardInitializedNormalizedField (A.meanData H) (A.transverseData m hm J support hSupport) rfl |
| 33 | δ hδ ξ hs (δ*hchild) N k)) |
| 34 | (hgraph : ∀ t q, graphConstraint k m (G.A.field t q)=0) |
| 35 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 36 | |
| 37 | def firstChildLowBounds (hL : H.L=0) (hquarter : A.ell ≤ 1/4) |
| 38 | (hSupportBall : support ⊆ Metric.closedBall 0 (1/2 : ℝ)) |
| 39 | (ev ep CM CH : ℝ) |
| 40 | (herr : E.HomogeneousSourceErrors m hm J support hSupport Q |
| 41 | (forwardInitializedApproximationResidual (A.meanData H) (A.transverseData m hm J support hSupport) rfl |
| 42 | δ hδ ξ hs (δ*hchild) (A.sourceAgreement m hm J support hSupport H) N hN k hk) |
| 43 | k δ hchild ξ ev ep) |
| 44 | (hsize : ∀ (t : Icc (0 : ℝ) A.T) x, |
| 45 | ‖(A.transverseData m hm J support hSupport).normal.field t x‖* |
| 46 | ‖EulerPacketForwardFactorization.canonicalVelocity |
| 47 | (A.transverseData m hm J support hSupport) ξ t x‖ ≤ firstRatio) |
| 48 | (hflux : ∀ (t : Icc (0 : ℝ) A.T) x, |
| 49 | 0 ≤ ⟪(A.transverseData m hm J support hSupport).normal.field t x, |
| 50 | (A.transverseData m hm J support hSupport).M.field t x |
| 51 | (EulerPacketForwardFactorization.canonicalVelocity |
| 52 | (A.transverseData m hm J support hSupport) ξ t x)⟫_ℝ) |
| 53 | (hCM : ∀ (t : Icc (0 : ℝ) A.T) x, ‖fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ CM) |
| 54 | (hCH : ∀ (t : Icc (0 : ℝ) A.T) x, ‖fderiv ℝ (E.force t) x‖ ≤ CH) |
| 55 | (hsmall : (H.K+2*CM*δ*(hchild*firstRatio)+ep)*(A.T^2/2)+CM*A.T+ |
| 56 | boundaryLocalizationC2*(CM+hchild*firstRatio+ev)*A.ell^3*A.T ≤ 1/2) : |
| 57 | LowBounds (A.child G k m hgraph nextEll hnext hnext1) := by |
| 58 | let residual := forwardInitializedApproximationResidual (A.meanData H) |
| 59 | (A.transverseData m hm J support hSupport) rfl δ hδ ξ hs (δ*hchild) |
| 60 | (A.sourceAgreement m hm J support hSupport H) N hN k hk |
| 61 | let V := forwardInitializedNormalizedField (A.meanData H) |
| 62 | (A.transverseData m hm J support hSupport) rfl δ hδ ξ hs (δ*hchild) N k |
| 63 | have hkinv : k*k⁻¹=1 := mul_inv_cancel₀ (by linarith : k ≠ 0) |
| 64 | let EC := E.child m hm J support hSupport Q residual V rfl G hG k hkinv hgraph nextEll hnext hnext1 |
| 65 | let Cnew := CM+hchild*firstRatio+ev |
| 66 | let Knew := H.K+2*CM*δ*(hchild*firstRatio)+ep |
| 67 | have hev : 0 ≤ ev := (norm_nonneg _).trans (herr A.zeroTime 0).1 |
| 68 | have hep : 0 ≤ ep := (norm_nonneg _).trans (herr A.zeroTime 0).2 |
| 69 | have hCM0 : 0 ≤ CM := (norm_nonneg _).trans (hCM A.zeroTime 0) |
| 70 | have hv (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 71 | ‖fderiv ℝ (fun y => EC.velocity (t,y)) x‖ ≤ Cnew ∧ |
| 72 | ‖fderiv ℝ (gradient (fun y => EC.pressure (t,y))) x‖ ≤ CH+2*CM*(hchild*firstRatio)+ep ∧ |
| 73 | ∀ z, ⟪fderiv ℝ (gradient (fun y => EC.pressure (t,y))) x z,z⟫_ℝ ≤ Knew*‖z‖^2 := |
| 74 | E.exactHomogeneousPacket_low_bounds m hm J support hSupport Q residual k hkinv |
| 75 | δ hchild ξ hδ hδ1 hhchild ev ep CM CH H.K herr hsize hflux t x |
| 76 | (hCM t x) (hCH t x) (E.force_quadratic_upper_of_lowBounds H t x) |
| 77 | apply EC.lowBoundsFromPhysical CM Cnew (boundaryLocalizationC1*Cnew+1) A.ell Knew |
| 78 | hCM0 |
| 79 | · dsimp [Cnew] |
| 80 | positivity [firstRatio_pos] |
| 81 | · linarith |
| 82 | · exact A.ell_pos.le |
| 83 | · exact hquarter |
| 84 | · dsimp [Knew] |
| 85 | positivity [H.K_nonneg,firstRatio_pos] |
| 86 | · intro x hx z |
| 87 | have he : fderiv ℝ (fun y => EC.velocity (0,y)) x=fderiv ℝ (fun y => E.velocity (0,y)) x := |
| 88 | A.exactForwardPacket_initial_gradient_exterior H m hm J support hSupport |
| 89 | δ hδ ξ hs (δ*hchild) N hN k hk Q E.inverse hL hSupportBall E.velocity x hx |
| 90 | rw [he] |
| 91 | exact quadratic_lower_of_norm _ CM (hCM A.zeroTime x) z |
| 92 | · intro x _ z |
| 93 | exact quadratic_lower_of_norm _ Cnew (hv A.zeroTime x).1 z |
| 94 | · intro t x z |
| 95 | rw [← EC.pressure_hessian_eq_force] |
| 96 | exact (hv t x).2.2 z |
| 97 | · exact hsmall |
| 98 | |
| 99 | end EulerParentPacketFrames.Evolution |