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.TransversePacketBudget |
| 2 | import Euler.TransversePacketCorrector |
| 3 | import Euler.MeanCoefficientPathJets |
| 4 | |
| 5 | /-! Source-only coefficient budgets for the joined pressure, potential and corrector. -/ |
| 6 | |
| 7 | /-! ## From `Euler/TransversePacketCoefficientBounds.lean` |
| 8 | |
| 9 | The text of `Euler/TransversePacketCoefficientBounds.lean`, folded into this file, which was its only importer. -/ |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Explicit polynomial coefficient budgets for the actual transverse potential and slow curl. -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace EulerTransversePacketProvider.Data |
| 18 | |
| 19 | open Set EulerSmoothLimit EulerMeanCoefficients EulerGevrey EulerOperatorGevreyCalculus |
| 20 | EulerSourceNormalCoefficient EulerSourcePotentialCoefficient EulerTransverseBoundedFrame |
| 21 | EulerTimeLpGramGevrey |
| 22 | open scoped ContDiff BoundedContinuousFunction |
| 23 | |
| 24 | def correctorCoefficientRadius (R Ri : ℝ) : ℝ := R+4*Ri+1 |
| 25 | |
| 26 | def correctorCoefficientAmplitude (C Ri : ℝ) : ℝ := |
| 27 | 1+C+3*C^2+3*Ri*C+27*(3*Ri*C)^2*(3*C^2) |
| 28 | |
| 29 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) |
| 30 | |
| 31 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 32 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 33 | private local instance : NormedAddCommGroup PotentialField := inferInstance |
| 34 | private local instance : NormedSpace ℝ PotentialField := inferInstance |
| 35 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,PotentialField) := inferInstance |
| 36 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,PotentialField) := inferInstance |
| 37 | private local instance : NormedAddCommGroup (Space →L[ℝ] ℝ) := inferInstance |
| 38 | private local instance : NormedSpace ℝ (Space →L[ℝ] ℝ) := inferInstance |
| 39 | private local instance : NormedAddCommGroup NormalField := inferInstance |
| 40 | private local instance : NormedSpace ℝ NormalField := inferInstance |
| 41 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,NormalField) := inferInstance |
| 42 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,NormalField) := inferInstance |
| 43 | private local instance : NormedAddCommGroup (Space →ᵇ Space) := inferInstance |
| 44 | private local instance : NormedSpace ℝ (Space →ᵇ Space) := inferInstance |
| 45 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance |
| 46 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance |
| 47 | |
| 48 | /-- All four coefficients used in C and C_t follow from the original F⁻¹ and M bounds. -/ |
| 49 | theorem corrector_coefficient_bounds (R C Ri : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hRi : 0 ≤ Ri) |
| 50 | (hInv : 2*gramCost D.normalLower C 1*(R+1) ≤ Ri) |
| 51 | (hI : ∀ n t x, ‖iteratedFDeriv ℝ n (D.FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ |
| 52 | C*majorant R 0 n) |
| 53 | (hM : ∀ n t x, ‖iteratedFDeriv ℝ n (D.M.field t : Space → Space →L[ℝ] Space) x‖ ≤ |
| 54 | C*majorant R 0 n) : |
| 55 | 0 ≤ correctorCoefficientRadius R Ri ∧ 0 ≤ correctorCoefficientAmplitude C Ri ∧ |
| 56 | ∀ n a, |
| 57 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ |
| 58 | correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ |
| 59 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ |
| 60 | correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ |
| 61 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ |
| 62 | correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n ∧ |
| 63 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ |
| 64 | correctorCoefficientAmplitude C Ri*majorant (correctorCoefficientRadius R Ri) 0 n := by |
| 65 | let Rc := correctorCoefficientRadius R Ri |
| 66 | let Cc := correctorCoefficientAmplitude C Ri |
| 67 | have hRc : 0 ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; positivity |
| 68 | have hRR : R ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; linarith |
| 69 | have hIR : 4*Ri ≤ Rc := by dsimp [Rc,correctorCoefficientRadius]; linarith |
| 70 | have hN : 0 ≤ 3*Ri*C := by positivity |
| 71 | have hD : 0 ≤ 3*C^2 := by positivity |
| 72 | have hDt : 0 ≤ 27*(3*Ri*C)^2*(3*C^2) := by positivity |
| 73 | have hCc : 0 ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; positivity |
| 74 | have hC0 : C ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith |
| 75 | have hC1 : 3*C^2 ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith |
| 76 | have hCN : 3*Ri*C ≤ Cc := by dsimp [Cc,correctorCoefficientAmplitude]; linarith |
| 77 | have hCT : 27*(3*Ri*C)^2*(3*C^2) ≤ Cc := by |
| 78 | dsimp [Cc,correctorCoefficientAmplitude] |
| 79 | linarith |
| 80 | have hIb (n : ℕ) (a : Space) : |
| 81 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n := |
| 82 | (D.FInv.norm_iteratedFDeriv_translation_le n (C*majorant R 0 n) |
| 83 | (mul_nonneg hC (majorant_nonneg R hR 0 n)) (hI n) a).trans |
| 84 | (mul_le_mul_of_nonneg_left (majorant_radius_mono R Rc hR hRR 0 n) hC) |
| 85 | have hMb (n : ℕ) (a : Space) : |
| 86 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.M.field) a‖ ≤ C*majorant Rc 0 n := |
| 87 | (D.M.norm_iteratedFDeriv_translation_le n (C*majorant R 0 n) |
| 88 | (mul_nonneg hC (majorant_nonneg R hR 0 n)) (hM n) a).trans |
| 89 | (mul_le_mul_of_nonneg_left (majorant_radius_mono R Rc hR hRR 0 n) hC) |
| 90 | have hnormal (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 91 | ‖iteratedFDeriv ℝ n (D.normal.field t : Space → Space) x‖ ≤ C*majorant R 0 n := |
| 92 | normalCoefficient_derivative_bound D.m₀ D.FInv D.m₀_unit n (C*majorant R 0 n) (hI n) t x |
| 93 | have hNb (n : ℕ) (a : Space) : |
| 94 | ‖iteratedFDeriv ℝ n (translateCoefficientPath |
| 95 | (normalFunctional D.normal D.normalLower D.normalLower_pos D.normal_lower)) a‖ ≤ |
| 96 | (3*Ri*C)*majorant Rc 0 n := |
| 97 | (normalFunctional_translation_bound D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 98 | R C Ri hR hC hInv hnormal n a).trans |
| 99 | (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) Rc (by positivity) hIR 0 n) hN) |
| 100 | have hKb (n : ℕ) (a : Space) : |
| 101 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ |
| 102 | (3*Ri*C)*majorant Rc 0 n := |
| 103 | (potentialCoefficient_translation_bound D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 104 | R C Ri hR hC hInv hnormal n a).trans |
| 105 | (mul_le_mul_of_nonneg_left (majorant_radius_mono (4*Ri) Rc (by positivity) hIR 0 n) hN) |
| 106 | have hIt (n : ℕ) (a : Space) : |
| 107 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ (3*C^2)*majorant Rc 0 n := by |
| 108 | simpa only [pow_two, mul_assoc] using D.inverseDerivative_bound Rc C C hRc hC hC hIb hMb n a |
| 109 | have hmt (n : ℕ) (a : Space) : |
| 110 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.normalDerivative) a‖ ≤ (3*C^2)*majorant Rc 0 n := by |
| 111 | simpa only [pow_two, mul_assoc] using D.normalDerivative_bound Rc C C hRc hC hC hIb hMb n a |
| 112 | have hKt (n : ℕ) (a : Space) : |
| 113 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ |
| 114 | (27*(3*Ri*C)^2*(3*C^2))*majorant Rc 0 n := |
| 115 | potentialTimePath_bound D.normal D.normalDerivative D.normalLower D.normalLower_pos D.normal_lower |
| 116 | D.normalDerivative_orbit Rc (3*Ri*C) (3*C^2) hRc hN hD hNb hmt n a |
| 117 | refine ⟨hRc,hCc,fun n a => ?_⟩ |
| 118 | have hmj := majorant_nonneg Rc hRc 0 n |
| 119 | exact ⟨(hIb n a).trans (mul_le_mul_of_nonneg_right hC0 hmj), |
| 120 | (hIt n a).trans (mul_le_mul_of_nonneg_right hC1 hmj), |
| 121 | (hKb n a).trans (mul_le_mul_of_nonneg_right hCN hmj), |
| 122 | (hKt n a).trans (mul_le_mul_of_nonneg_right hCT hmj)⟩ |
| 123 | |
| 124 | end EulerTransversePacketProvider.Data |
| 125 | end |
| 126 | |
| 127 | end |
| 128 | |
| 129 | noncomputable section |
| 130 | |
| 131 | namespace EulerTransversePacketJoin |
| 132 | |
| 133 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTransversePacketProvider |
| 134 | EulerTransversePacketProvider.Data EulerGevrey EulerParameterWordGevrey EulerTimeLpGramGevrey |
| 135 | EulerTransverseBoundedFrame EulerTransverseForwardCoefficientGevrey EulerSourceCylinderTimeBounds |
| 136 | open scoped ContDiff BoundedContinuousFunction |
| 137 | |
| 138 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 139 | |
| 140 | /-- Original inverse-deformation and strain jets, with one fixed inverse radius. -/ |
| 141 | structure NormalBudget (D : Data U) (q : ℕ) (R : ℝ) where |
| 142 | Rc : ℝ |
| 143 | C : ℝ |
| 144 | Ri : ℝ |
| 145 | Rc_nonneg : 0 ≤ Rc |
| 146 | C_nonneg : 0 ≤ C |
| 147 | inverse_radius : 2*gramCost D.normalLower C 1*(Rc+1) ≤ Ri |
| 148 | inverse_bound : ∀ n t x, |
| 149 | ‖iteratedFDeriv ℝ n (D.FInv.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant Rc 0 n |
| 150 | strain_bound : ∀ n t x, |
| 151 | ‖iteratedFDeriv ℝ n (D.M.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant Rc 0 n |
| 152 | radius : sobolevCoefficientRadius (Fin 4) (correctorCoefficientRadius Rc Ri) ≤ R |
| 153 | |
| 154 | namespace NormalBudget |
| 155 | |
| 156 | variable {D : Data U} {q : ℕ} {R : ℝ} (N : NormalBudget D q R) |
| 157 | |
| 158 | theorem Ri_nonneg : 0 ≤ N.Ri := |
| 159 | (inverseRadius_bounds D.normalLower N.C N.Rc N.Ri D.normalLower_pos N.Rc_nonneg N.inverse_radius).1 |
| 160 | |
| 161 | def coefficientRadius : ℝ := correctorCoefficientRadius N.Rc N.Ri |
| 162 | def coefficientAmplitude : ℝ := correctorCoefficientAmplitude N.C N.Ri |
| 163 | def blockAmplitude : ℝ := sobolevCoefficientAmplitude (Fin 4) q N.coefficientRadius N.coefficientAmplitude |
| 164 | |
| 165 | theorem coefficient_bounds : |
| 166 | 0 ≤ N.coefficientRadius ∧ 0 ≤ N.coefficientAmplitude ∧ |
| 167 | ∀ n a, |
| 168 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ |
| 169 | N.coefficientAmplitude*majorant N.coefficientRadius 0 n ∧ |
| 170 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ |
| 171 | N.coefficientAmplitude*majorant N.coefficientRadius 0 n ∧ |
| 172 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ |
| 173 | N.coefficientAmplitude*majorant N.coefficientRadius 0 n ∧ |
| 174 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ |
| 175 | N.coefficientAmplitude*majorant N.coefficientRadius 0 n := |
| 176 | D.corrector_coefficient_bounds N.Rc N.C N.Ri N.Rc_nonneg N.C_nonneg N.Ri_nonneg |
| 177 | N.inverse_radius N.inverse_bound N.strain_bound |
| 178 | |
| 179 | theorem blockAmplitude_nonneg : 0 ≤ N.blockAmplitude := |
| 180 | sobolevCoefficientAmplitude_nonneg q N.coefficientRadius N.coefficientAmplitude |
| 181 | N.coefficient_bounds.1 N.coefficient_bounds.2.1 |
| 182 | |
| 183 | theorem normal_bound (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 184 | ‖iteratedFDeriv ℝ n (D.normal.field t : Space → Space) x‖ ≤ N.C*majorant N.Rc 0 n := |
| 185 | normalCoefficient_derivative_bound D.m₀ D.FInv D.m₀_unit n _ (N.inverse_bound n) t x |
| 186 | |
| 187 | theorem pressure_radius : sobolevCoefficientRadius (Fin 4) (4*N.Ri) ≤ R := by |
| 188 | apply le_trans _ N.radius |
| 189 | unfold sobolevCoefficientRadius correctorCoefficientRadius |
| 190 | apply mul_le_mul_of_nonneg_left _ (by norm_num : (0 : ℝ) ≤ 4) |
| 191 | apply mul_le_mul_of_nonneg_left _ (le_trans zero_le_one (le_max_left _ _)) |
| 192 | linarith [N.Rc_nonneg] |
| 193 | |
| 194 | end NormalBudget |
| 195 | |
| 196 | namespace Budget |
| 197 | |
| 198 | variable [CompleteSpace U] {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 199 | {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} |
| 200 | (L : Budget D τ hτ hτT B ι q) |
| 201 | |
| 202 | theorem velocityCost_nonneg : 0 ≤ L.velocityCost := by |
| 203 | have hC := sobolevCoefficientAmplitude_nonneg (ι := ι) q L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg |
| 204 | have ht := EulerFixedEvolutionSobolev.traceCost_nonneg τ hτ.le |
| 205 | unfold velocityCost |
| 206 | positivity |
| 207 | |
| 208 | theorem derivativeCost_nonneg : 0 ≤ L.derivativeCost := by |
| 209 | have hRi := (inverseRadius_bounds (D.tail τ hτ.le hτT).frameLower L.C₀ L.Rc L.Ri |
| 210 | (D.tail τ hτ.le hτT).frameLower_pos L.Rc_nonneg L.forward_inverse).1 |
| 211 | have h0 := sobolevCoefficientAmplitude_nonneg (ι := ι) q L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg |
| 212 | have h1 := sobolevCoefficientAmplitude_nonneg (ι := ι) q L.Rc L.C₁ L.Rc_nonneg L.C₁_nonneg |
| 213 | have ht := EulerFixedEvolutionSobolev.traceCost_nonneg τ hτ.le |
| 214 | have hb0 := sobolevCoefficientAmplitude_nonneg (ι := ι) q (4*L.Ri) L.C₀ (by positivity) L.C₀_nonneg |
| 215 | have hb1 := sobolevCoefficientAmplitude_nonneg (ι := ι) q (4*L.Ri) L.C₁ (by positivity) L.C₁_nonneg |
| 216 | have hC₀ := L.C₀_nonneg |
| 217 | have hC₁ := L.C₁_nonneg |
| 218 | have hbb := sobolevCoefficientAmplitude_nonneg (ι := ι) q (4*L.Ri) (18*L.Ri*L.C₀*L.C₁) |
| 219 | (by positivity) (by positivity) |
| 220 | have hbf := sobolevCoefficientAmplitude_nonneg (ι := ι) q (4*L.Ri) (3*L.Ri*L.C₀) |
| 221 | (by positivity) (by positivity) |
| 222 | unfold derivativeCost physicalCost coordinateCost |
| 223 | positivity |
| 224 | |
| 225 | def commonCost : ℝ := L.velocityCost+L.derivativeCost |
| 226 | |
| 227 | theorem commonCost_nonneg : 0 ≤ L.commonCost := add_nonneg L.velocityCost_nonneg L.derivativeCost_nonneg |
| 228 | theorem velocityCost_le_common : L.velocityCost ≤ L.commonCost := le_add_of_nonneg_right L.derivativeCost_nonneg |
| 229 | theorem derivativeCost_le_common : L.derivativeCost ≤ L.commonCost := le_add_of_nonneg_left L.velocityCost_nonneg |
| 230 | |
| 231 | end Budget |
| 232 | end EulerTransversePacketJoin |