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.ParentPacketNeighborPolynomial |
| 2 | import Euler.PacketParameterEnvelope |
| 3 | |
| 4 | /-! Actual selected terminal coordinates and the canonical boundary |
| 5 | parameter have fixed polynomial caps. They are inputs to the uniform |
| 6 | normal-stage source envelope. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerParentPacketParameterCaps |
| 11 | |
| 12 | open Real EulerPacketParentLabelBounds EulerTransverseActivationSelection EulerMeanHarmonic |
| 13 | |
| 14 | def terminalConstant (CM CH : ℝ) : ℝ := |
| 15 | 8*(activationConstant CM CH+1)*(1+3*(1+embeddingCost)^2) |
| 16 | |
| 17 | theorem terminalConstant_nonneg (CM CH : ℝ) (hCH : 0 ≤ CH) : |
| 18 | 0 ≤ terminalConstant CM CH := by |
| 19 | unfold terminalConstant activationConstant |
| 20 | positivity |
| 21 | |
| 22 | def boundaryConstant (CM : ℝ) : ℝ := boundaryLocalizationC1*(CM+2)+1 |
| 23 | |
| 24 | theorem boundaryConstant_pos (CM : ℝ) (hCM : 0 ≤ CM) : 0 < boundaryConstant CM := by |
| 25 | unfold boundaryConstant |
| 26 | positivity [boundaryLocalizationC1_nonneg] |
| 27 | |
| 28 | theorem boundary_parameter_bound (CM Bc L X : ℝ) (hX : 1 ≤ X) |
| 29 | (hBc : Bc ≤ CM*X^1000+2) (hL : L=boundaryLocalizationC1*Bc+1) : |
| 30 | L ≤ boundaryConstant CM*X^1000 := by |
| 31 | have hp : 1 ≤ X^1000 := one_le_pow₀ hX |
| 32 | have hb : Bc ≤ (CM+2)*X^1000 := by nlinarith only [hBc,hp] |
| 33 | have h := mul_le_mul_of_nonneg_left hb boundaryLocalizationC1_nonneg |
| 34 | rw [hL] |
| 35 | unfold boundaryConstant |
| 36 | nlinarith only [h,hp] |
| 37 | |
| 38 | end EulerParentPacketParameterCaps |
| 39 | |
| 40 | namespace EulerParentPacketFrames.LabelData |
| 41 | |
| 42 | open Set EulerSmoothLimit EulerTransverseFrameCoordinates EulerTransversePacketProvider |
| 43 | EulerPacketSourceGeometry EulerPacketParentLabelBounds EulerGevrey |
| 44 | EulerParentPacketParameterCaps EulerTransverseActivationSelection |
| 45 | |
| 46 | variable {A : Parent} (L : LabelData A) |
| 47 | {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 48 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 49 | (support : Set Space) (hsupport : IsCompact support) |
| 50 | {τ : ℝ} {hτ : 0 < τ} {hτT : τ < A.T} |
| 51 | {P : ParentFrame (A.transverseData m hm R support hsupport) τ} |
| 52 | {H : HistoryData ((A.transverseData m hm R support hsupport).initial τ hτ hτT.le)} |
| 53 | (G : Guards hτ hτT P H) |
| 54 | |
| 55 | theorem selected_terminal_bound (hH : 1 ≤ P.shear) : |
| 56 | ‖G.terminal‖ ≤ terminalConstant G.CM G.CH*L.K^4 := by |
| 57 | let D := A.transverseData m hm R support hsupport |
| 58 | have hK0 := zero_le_one.trans L.K_one |
| 59 | have hF : ∀ t x, ‖D.F.field t x‖ ≤ frameAmplitude L.K := by |
| 60 | intro t x |
| 61 | change ‖A.frame.field t x‖ ≤ frameAmplitude L.K |
| 62 | have h := L.frame_scaled_bound 0 t x |
| 63 | simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, |
| 64 | Nat.cast_one,pow_zero,mul_one,one_pow] using h |
| 65 | have hInv := D.inverseBound_le_of_frame (frameAmplitude L.K) |
| 66 | (frameAmplitude_nonneg L.K) A.frame_det hF |
| 67 | have hK2 : 1 ≤ L.K^2 := one_le_pow₀ L.K_one |
| 68 | have hK4 : 1 ≤ L.K^4 := one_le_pow₀ L.K_one |
| 69 | have hEmb := embeddingCost_nonneg |
| 70 | have hFcap : frameAmplitude L.K ≤ (1+embeddingCost)*L.K^2 := by |
| 71 | unfold frameAmplitude gradientAmplitude |
| 72 | nlinarith only [hK2] |
| 73 | have hFsquare := pow_le_pow_left₀ (frameAmplitude_nonneg L.K) hFcap 2 |
| 74 | have hIcap : D.inverseBound ≤ (1+3*(1+embeddingCost)^2)*L.K^4 := by |
| 75 | nlinarith only [hInv,hFsquare,hK4] |
| 76 | have hAct : 0 ≤ 8*(activationConstant G.CM G.CH+1) := by |
| 77 | unfold activationConstant |
| 78 | positivity [G.CH_nonneg] |
| 79 | calc |
| 80 | _ ≤ P.terminalBound G.CM G.CH := G.terminal_properties.2.2.2.1 |
| 81 | _ ≤ 8*(activationConstant G.CM G.CH+1)*D.inverseBound := by |
| 82 | unfold ParentFrame.terminalBound |
| 83 | exact div_le_self (mul_nonneg hAct D.inverseBound_pos.le) hH |
| 84 | _ ≤ 8*(activationConstant G.CM G.CH+1)*((1+3*(1+embeddingCost)^2)*L.K^4) := |
| 85 | mul_le_mul_of_nonneg_left hIcap hAct |
| 86 | _ = _ := by unfold terminalConstant; ring |
| 87 | |
| 88 | end EulerParentPacketFrames.LabelData |