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.MeanCylinderWordBounds |
| 2 | import Euler.MeanPacketPathEnvelope |
| 3 | import Euler.MeanPacketPressureForcing |
| 4 | import Euler.MeanPacketJets |
| 5 | import Euler.PacketCylinderCoefficientBounds |
| 6 | |
| 7 | /-! |
| 8 | Source-only budgets for the actual mean solver on the cylinder. The radius |
| 9 | and inverse guards are fixed before the forcing amplitude, shift, or grade. |
| 10 | The output fields are the genuine velocity, time derivative, and gradient |
| 11 | of the normalized scalar pressure constructed by the source solver. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerMeanPacketProvider |
| 17 | |
| 18 | open Set Real ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal |
| 19 | EulerMeanCoefficients EulerMeanTimeContinuousTranslation EulerParameterWordGevrey EulerGevrey |
| 20 | EulerMeanStrongContinuousGevrey EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 21 | EulerPacketPointJets EulerPacketProfileRecursion EulerPacketCylinderField |
| 22 | open scoped ContDiff BoundedContinuousFunction |
| 23 | |
| 24 | /-- All quantitative inputs concern the source coefficients and their inverse. |
| 25 | The fixed normalized forcing factor only accounts for time-L² inclusion. -/ |
| 26 | structure Budget (D : Data) (q : ℕ) (R : ℝ) extends SobolevData D (Fin 4) q R where |
| 27 | forcing_one : 1 ≤ Cf |
| 28 | forcing_time : sqrt D.T ≤ Cf |
| 29 | |
| 30 | def Data.frameCoefficient (D : Data) : MatrixCoefficient D.T |
| 31 | (fun z => D.F.field (D.clamp z.1) z.2.1) where |
| 32 | path := D.F.field |
| 33 | orbit := D.F.translation_contDiff |
| 34 | raw_eq t x θ := by rw [Data.clamp_coe] |
| 35 | |
| 36 | namespace Forcing |
| 37 | |
| 38 | variable {D : Data} {raw : VectorField} (G : Forcing D raw) |
| 39 | (P : ℝ) [Fact (0 < P)] |
| 40 | |
| 41 | def pressureForceCylinderField : EulerPacketCylinderField.Field P D.T G.pressureForce := |
| 42 | G.pressureForceForcing.toCylinderField P |
| 43 | |
| 44 | /-- This witness represents the literal spatial gradient encoded by the |
| 45 | packet pressure jet, not merely the projected physical pressure force. -/ |
| 46 | def pressureGradientCylinderField : EulerPacketCylinderField.Field P D.T (pressureGradient G.scalar) := |
| 47 | (D.frameCoefficient.adjoint.multiply (G.pressureForceCylinderField P)).congr (by |
| 48 | intro t x θ |
| 49 | change pressureGradient G.scalar (t,(x,θ)) = |
| 50 | (D.F.field (D.clamp t) x).adjoint (G.pressureForce (t,(x,θ))) |
| 51 | rw [Data.clamp_coe] |
| 52 | change (toDual ℝ Space).symm ((pressureJet G.scalar (t,(x,θ))).2.comp spatialInjection) = _ |
| 53 | rw [pressureJet_spatial_derivative G.scalar t x θ |
| 54 | ((G.scalar_spatial_smooth t).differentiable (by simp) (x,θ))] |
| 55 | exact G.scalarGradient_eq t x θ) |
| 56 | |
| 57 | theorem restore_cylinder_word_bound {q d : ℕ} {R A C : ℝ} |
| 58 | (hb : ∀ n a, block spatialDirection q (fun b : Space => pathTranslation D.T b G.path) n a ≤ |
| 59 | ((P⁻¹*sqrt P)*A)*(C*majorant R d n)) : |
| 60 | (G.toCylinderField P).WordBound q R (A*C) d := by |
| 61 | have hh := G.toCylinderField_word_bound P (A := ((P⁻¹*sqrt P)*A)*C) (fun n a => |
| 62 | (hb n a).trans_eq (by ring)) |
| 63 | have hC : sqrt P*(((P⁻¹*sqrt P)*A)*C) = A*C := by |
| 64 | calc |
| 65 | _ = (sqrt P*(P⁻¹*sqrt P))*(A*C) := by ring |
| 66 | _ = _ := by rw [embedding_mean_norm_product, one_mul] |
| 67 | simpa only [hC] using hh |
| 68 | |
| 69 | end Forcing |
| 70 | |
| 71 | namespace Budget |
| 72 | |
| 73 | variable {D : Data} {q : ℕ} {R : ℝ} (B : Budget D q R) |
| 74 | |
| 75 | def velocityCost : ℝ := B.toSobolevData.velocityAmplitude |
| 76 | def derivativeCost : ℝ := B.toSobolevData.derivativeAmplitude |
| 77 | def pressureForceCost : ℝ := B.toSobolevData.pressureAmplitude |
| 78 | def pressureGradientCost : ℝ := 3*sobolevCoefficientAmplitude (Fin 4) q B.Rc B.CF*B.pressureForceCost |
| 79 | |
| 80 | theorem coefficient_radius_nonneg : 0 ≤ B.Rc := |
| 81 | (by norm_num : (0:ℝ) ≤ 1024).trans B.radius_lower |
| 82 | |
| 83 | theorem radius_bounds : 1 ≤ R ∧ sobolevCoefficientRadius (Fin 4) B.Rc ≤ R := by |
| 84 | have hr := sobolevCoefficientRadius_nonneg (ι := Fin 4) B.Rc B.coefficient_radius_nonneg |
| 85 | have hm := B.inverse_cost_lower |
| 86 | have h := B.radius_budget |
| 87 | constructor <;> nlinarith only [hr, hm, h] |
| 88 | |
| 89 | theorem costs_nonneg : 0 ≤ B.velocityCost ∧ 0 ≤ B.derivativeCost ∧ |
| 90 | 0 ≤ B.pressureForceCost ∧ 0 ≤ B.pressureGradientCost := by |
| 91 | have hF := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q B.Rc B.CF |
| 92 | B.coefficient_radius_nonneg B.CF_nonneg |
| 93 | have hF₁ := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q B.Rc B.CF₁ |
| 94 | B.coefficient_radius_nonneg B.CF₁_nonneg |
| 95 | have hT := coordinateTraceCost_nonneg D.T D.T_pos.le |
| 96 | have hf := B.Cf_nonneg |
| 97 | unfold velocityCost derivativeCost pressureGradientCost pressureForceCost |
| 98 | SobolevData.velocityAmplitude SobolevData.derivativeAmplitude SobolevData.pressureAmplitude |
| 99 | constructor |
| 100 | · positivity |
| 101 | constructor |
| 102 | · positivity |
| 103 | constructor <;> positivity |
| 104 | |
| 105 | theorem frameCoefficient_bound (n : ℕ) (a : Space) : |
| 106 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.frameCoefficient.path) a‖ ≤ |
| 107 | B.CF*majorant B.Rc 0 n := |
| 108 | D.F.norm_iteratedFDeriv_translation_le n (B.CF*majorant B.Rc 0 n) |
| 109 | (mul_nonneg B.CF_nonneg (majorant_nonneg B.Rc B.coefficient_radius_nonneg 0 n)) |
| 110 | (B.frame_bound n) a |
| 111 | |
| 112 | /-- Same-radius bounds on the three actual physical output paths. The |
| 113 | period factors from averaging and constant extension cancel exactly. -/ |
| 114 | theorem physical_word_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} |
| 115 | (G : Forcing D raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) |
| 116 | (hG : (G.toCylinderField P).WordBound q R A d) : |
| 117 | (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+2) ∧ |
| 118 | (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ |
| 119 | (G.pressureForceCylinderField P).WordBound q R (A*B.pressureForceCost) (d+3) := by |
| 120 | have hA' : 0 ≤ (P⁻¹*sqrt P)*A := by |
| 121 | have hp := (Fact.out : 0 < P) |
| 122 | positivity |
| 123 | obtain ⟨hv, hd, hp⟩ := B.toSobolevData.path_envelope_bounds B.forcing_one B.forcing_time |
| 124 | spatialDirection spatialDirection_norm G d ((P⁻¹*sqrt P)*A) hA' |
| 125 | (G.ordinary_word_bound P hG) |
| 126 | exact ⟨G.vectorForcing.restore_cylinder_word_bound P hv, |
| 127 | G.vectorDerivativeForcing.restore_cylinder_word_bound P hd, |
| 128 | G.pressureForceForcing.restore_cylinder_word_bound P hp⟩ |
| 129 | |
| 130 | /-- The mean solver consumes at most three shifts, with a linear forcing |
| 131 | amplitude and the identical radius. The third output is d(bar q). -/ |
| 132 | theorem word_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} |
| 133 | (G : Forcing D raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) |
| 134 | (hG : (G.toCylinderField P).WordBound q R A d) : |
| 135 | (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+2) ∧ |
| 136 | (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ |
| 137 | (G.pressureGradientCylinderField P).WordBound q R (A*B.pressureGradientCost) (d+3) := by |
| 138 | obtain ⟨hv, hd, hp⟩ := B.physical_word_bounds P G d A hA hG |
| 139 | have hprod := hp.multiply D.frameCoefficient.adjoint B.Rc B.CF |
| 140 | B.coefficient_radius_nonneg B.CF_nonneg (mul_nonneg hA B.costs_nonneg.2.2.1) B.radius_bounds.2 |
| 141 | (D.frameCoefficient.adjoint_bound B.Rc B.CF B.frameCoefficient_bound) |
| 142 | refine ⟨hv, hd, ?_⟩ |
| 143 | change (D.frameCoefficient.adjoint.multiply (G.pressureForceCylinderField P)).WordBound q R |
| 144 | (A*B.pressureGradientCost) (d+3) |
| 145 | convert! hprod using 1 |
| 146 | unfold pressureGradientCost |
| 147 | ring |
| 148 | |
| 149 | /-- Any actual cylinder witness of the input raw forcing can supply the |
| 150 | bound; the provider's canonical choice is immaterial. -/ |
| 151 | theorem word_bounds_of_field (P : ℝ) [Fact (0 < P)] {raw : VectorField} |
| 152 | (G : Forcing D raw) (F : EulerPacketCylinderField.Field P D.T raw) |
| 153 | (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hF : F.WordBound q R A d) : |
| 154 | (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+2) ∧ |
| 155 | (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ |
| 156 | (G.pressureGradientCylinderField P).WordBound q R (A*B.pressureGradientCost) (d+3) := |
| 157 | B.word_bounds P G d A hA (hF.transfer (G.toCylinderField P)) |
| 158 | |
| 159 | /-- A common three-shift budget also covers the velocity, and is therefore |
| 160 | within the source allowance of ten shifts. -/ |
| 161 | theorem three_shift_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} |
| 162 | (G : Forcing D raw) (F : EulerPacketCylinderField.Field P D.T raw) |
| 163 | (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hF : F.WordBound q R A d) : |
| 164 | (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+3) ∧ |
| 165 | (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ |
| 166 | (G.pressureGradientCylinderField P).WordBound q R (A*B.pressureGradientCost) (d+3) := by |
| 167 | obtain ⟨hv, hd, hp⟩ := B.word_bounds_of_field P G F d A hA hF |
| 168 | exact ⟨hv.mono_shift B.radius_bounds.1 (mul_nonneg hA B.costs_nonneg.1) (by omega), hd, hp⟩ |
| 169 | |
| 170 | /-- The mean profile H₀^(2p−2) is a constant scalar envelope. The same |
| 171 | fixed source budget applies at every grade and every derivative shift. -/ |
| 172 | theorem grade_profile_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} |
| 173 | (G : Forcing D raw) (F : EulerPacketCylinderField.Field P D.T raw) |
| 174 | (p d : ℕ) (A H₀ : ℝ) (hA : 0 ≤ A) (hH₀ : 0 ≤ H₀) |
| 175 | (hF : F.WordBound q R (A*H₀^(2*p-2)) d) : |
| 176 | (G.vectorCylinderField P).WordBound q R ((A*B.velocityCost)*H₀^(2*p-2)) (d+3) ∧ |
| 177 | (G.vectorDerivativeCylinderField P).WordBound q R ((A*B.derivativeCost)*H₀^(2*p-2)) (d+3) ∧ |
| 178 | (G.pressureGradientCylinderField P).WordBound q R ((A*B.pressureGradientCost)*H₀^(2*p-2)) (d+3) := by |
| 179 | have hh := B.three_shift_bounds P G F d (A*H₀^(2*p-2)) (mul_nonneg hA (pow_nonneg hH₀ _)) hF |
| 180 | simpa only [mul_assoc, mul_left_comm, mul_comm] using hh |
| 181 | |
| 182 | end Budget |
| 183 | end EulerMeanPacketProvider |