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.TransversePacketForwardNorms |
| 2 | import Euler.TransversePacketNormalBudget |
| 3 | import Euler.TransversePacketCorrectorBounds |
| 4 | import Euler.TransversePacketPressureGradientBounds |
| 5 | |
| 6 | /-! |
| 7 | All eight genuine direct-forward outputs obey one fixed mixed-word Sobolev |
| 8 | budget. The input radius is retained, both data amplitudes remain outside |
| 9 | the solve, and at most two derivative shifts are spent. All normalization |
| 10 | uses the literal positive time profile without differentiating that profile. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerTransversePacketForward.Budget |
| 16 | |
| 17 | open Set EulerSmoothLimit EulerTransversePacketProvider EulerLiftedGradientSpace |
| 18 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerPacketProfileRecursion |
| 19 | EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight EulerCylinderSobolev |
| 20 | EulerSourceNormalResidualBounds |
| 21 | open scoped ContDiff |
| 22 | |
| 23 | private theorem standard_norm (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by |
| 24 | cases i using Fin.cases <;> simp [Prod.norm_def] |
| 25 | |
| 26 | variable {P : ℝ} [Fact (0 < P)] |
| 27 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 28 | {D : Data U} {q : ℕ} (L : Budget D (Fin 4) q) |
| 29 | (N : EulerTransversePacketJoin.NormalBudget D q L.R) |
| 30 | |
| 31 | def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost |
| 32 | def potentialAmplitude : ℝ := 3*N.blockAmplitude*(P*L.commonCost) |
| 33 | def potentialTimeAmplitude : ℝ := 6*N.blockAmplitude*(P*L.commonCost) |
| 34 | def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) |
| 35 | def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) |
| 36 | |
| 37 | variable {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) |
| 38 | (A : ℝ) (hA : 0 ≤ A) (d : ℕ) |
| 39 | (hforce : ∀ n, block standardDirection q (fun a => pathTranslate P a |
| 40 | (normalize L.g L.positive (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) |
| 41 | (hinitial : ∀ n, block standardDirection q |
| 42 | (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant L.R d n) |
| 43 | |
| 44 | include hA hforce hinitial |
| 45 | |
| 46 | theorem pressure_bound (n : ℕ) : |
| 47 | block standardDirection q (fun a => pathTranslate P a |
| 48 | (normalize L.g L.positive (G.pressurePath I))) n 0 ≤ |
| 49 | (L.pressureAmplitude (P := P) N*A)*majorant L.R (d+1) n := by |
| 50 | have hf (j : ℕ) : block standardDirection q (fun a => pathTranslate P a |
| 51 | (normalize L.g L.positive (HistoryData.forcingPath G))) j 0 ≤ A*majorant L.R (d+1) j := |
| 52 | (hforce j).trans (mul_le_mul_of_nonneg_left |
| 53 | (majorant_mono_shift L.R L.radius_one d (d+1) j (by omega)) hA) |
| 54 | rw [G.pressurePath_normalized_eq_source I L.g L.positive] |
| 55 | have h := sourcePressure_block_bound P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 56 | _ _ standardDirection standard_norm q |
| 57 | (EulerCylinderPotential.weighted_orbit P (reciprocal L.g L.positive) _ G.path_orbit) |
| 58 | (EulerCylinderPotential.weighted_orbit P (reciprocal L.g L.positive) _ (G.velocityPath_orbit I)) |
| 59 | N.Rc N.C N.C N.Ri L.R A (L.commonCost*A) N.Rc_nonneg N.C_nonneg N.C_nonneg hA |
| 60 | (mul_nonneg L.commonCost_nonneg hA) N.inverse_radius N.pressure_radius |
| 61 | N.normal_bound N.strain_bound (d+1) hf |
| 62 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) n |
| 63 | exact h.trans_eq (by unfold pressureAmplitude pressureCost; ring) |
| 64 | |
| 65 | theorem pressure_gradient_bound (n : ℕ) : |
| 66 | block standardDirection q (fun a => pathTranslate P a |
| 67 | (normalize L.g L.positive (G.scalarGradientField I).path)) n 0 ≤ |
| 68 | (3*L.pressureAmplitude (P := P) N*A)*majorant L.R (d+2) n := by |
| 69 | have h := G.scalarGradientField_normalized_bound I L.g L.positive q L.R |
| 70 | (L.pressureAmplitude (P := P) N*A) (d+1) (L.pressure_bound N G I A hA d hforce hinitial) n |
| 71 | simpa only [show d+1+1=d+2 by omega,mul_assoc] using h |
| 72 | |
| 73 | theorem potential_bound (n : ℕ) : |
| 74 | block standardDirection q (fun a => pathTranslate P a |
| 75 | (normalize L.g L.positive (G.potentialPath I))) n 0 ≤ |
| 76 | (L.potentialAmplitude (P := P) N*A)*majorant L.R (d+1) n := by |
| 77 | have hc := N.coefficient_bounds |
| 78 | have h := G.potentialPath_normalized_bound I L.g L.positive |
| 79 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 80 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) |
| 81 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 82 | (fun j a => (hc.2.2 j a).2.2.1) n |
| 83 | exact h.trans_eq (by unfold potentialAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) |
| 84 | |
| 85 | theorem potential_time_bound (n : ℕ) : |
| 86 | block standardDirection q (fun a => pathTranslate P a |
| 87 | (normalize L.g L.positive (G.potentialTimePath I))) n 0 ≤ |
| 88 | (L.potentialTimeAmplitude (P := P) N*A)*majorant L.R (d+1) n := by |
| 89 | have hc := N.coefficient_bounds |
| 90 | have h := G.potentialTimePath_normalized_bound I L.g L.positive |
| 91 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 92 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) |
| 93 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 94 | (L.derivative_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 95 | (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) n |
| 96 | exact h.trans_eq (by unfold potentialTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) |
| 97 | |
| 98 | theorem corrector_bound (n : ℕ) : |
| 99 | block standardDirection q (fun a => pathTranslate P a |
| 100 | (normalize L.g L.positive (G.correctorPath I))) n 0 ≤ |
| 101 | (L.correctorAmplitude (P := P) N*A)*majorant L.R (d+2) n := by |
| 102 | have hc := N.coefficient_bounds |
| 103 | have h := G.correctorPath_normalized_bound I L.g L.positive |
| 104 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 105 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) |
| 106 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 107 | (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).1) n |
| 108 | rw [show d+1+1=d+2 by omega] at h |
| 109 | exact h.trans_eq (by unfold correctorAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) |
| 110 | |
| 111 | theorem corrector_time_bound (n : ℕ) : |
| 112 | block standardDirection q (fun a => pathTranslate P a |
| 113 | (normalize L.g L.positive (G.correctorTimePath I))) n 0 ≤ |
| 114 | (L.correctorTimeAmplitude (P := P) N*A)*majorant L.R (d+2) n := by |
| 115 | have hc := N.coefficient_bounds |
| 116 | have h := G.correctorTimePath_normalized_bound I L.g L.positive |
| 117 | q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) |
| 118 | hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) |
| 119 | (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 120 | (L.derivative_common_bound G I standardDirection standard_norm A hA d hforce hinitial) |
| 121 | (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) |
| 122 | (fun j a => (hc.2.2 j a).1) (fun j a => (hc.2.2 j a).2.1) n |
| 123 | rw [show d+1+1=d+2 by omega] at h |
| 124 | exact h.trans_eq (by unfold correctorTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) |
| 125 | |
| 126 | end EulerTransversePacketForward.Budget |