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.CoefficientPathSmooth |
| 2 | import Euler.ParameterSobolevCoefficient |
| 3 | import Euler.H6Pressure |
| 4 | import Euler.SobolevGevreyOperators |
| 5 | import Euler.PacketTailBound |
| 6 | import Euler.CoefficientJetPressureBounds |
| 7 | import Euler.H6PressureConstants |
| 8 | |
| 9 | /-! Actual coefficient-orbit bounds control the fixed H5/H6 pressure |
| 10 | constants uniformly over all higher jet truncations. -/ |
| 11 | |
| 12 | /-! ## From `Euler/CoefficientPathBounds.lean` |
| 13 | |
| 14 | The text of `Euler/CoefficientPathBounds.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! |
| 19 | The bounds stored in the actual recursive coefficient jet are controlled |
| 20 | by the true word derivatives of its bounded-field translation orbit. A |
| 21 | single enlargement of the coefficient radius gives fixed-base Sobolev |
| 22 | bounds, independent of the jet truncation. |
| 23 | -/ |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | namespace EulerCoefficientPath |
| 28 | |
| 29 | open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 30 | EulerMeanCoefficients EulerMetricTransport EulerTransportDerivatives |
| 31 | EulerSpatialSobolevInverse EulerCylinderSobolev EulerJetProductBounds |
| 32 | EulerParameterWordGevrey EulerGevrey |
| 33 | open scoped ContDiff BoundedContinuousFunction |
| 34 | |
| 35 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 36 | |
| 37 | def coefficientDirections (i : Fin 4) : Space := (standardDirection i).1 |
| 38 | |
| 39 | theorem coefficientDirections_norm (i : Fin 4) : ‖coefficientDirections i‖ ≤ 1 := by |
| 40 | cases i using Fin.cases <;> simp [coefficientDirections] |
| 41 | |
| 42 | omit [CompactSpace K] in |
| 43 | theorem translateCoefficientPath_zero {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 44 | (A : C(K,Space →ᵇ V)) : translateCoefficientPath A 0 = A := by |
| 45 | apply ContinuousMap.ext |
| 46 | intro t |
| 47 | apply BoundedContinuousFunction.ext |
| 48 | intro x |
| 49 | change A t (x+0) = A t x |
| 50 | rw [add_zero] |
| 51 | |
| 52 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 53 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 54 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 55 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 56 | |
| 57 | variable (P : ℝ) [Fact (0 < P)] |
| 58 | (A : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 59 | (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) |
| 60 | |
| 61 | theorem coefficientJet_boundLevel_le_words (s n : ℕ) (t : K) : |
| 62 | boundLevel P (coefficientJet P A hA s t) n ≤ |
| 63 | wordSum coefficientDirections (translateCoefficientPath A) n 0 := by |
| 64 | induction s generalizing A n with |
| 65 | | zero => |
| 66 | cases n with |
| 67 | | zero => |
| 68 | rw [wordSum_zero,translateCoefficientPath_zero] |
| 69 | simp only [coefficientJet,boundLevel] |
| 70 | exact A.norm_coe_le_norm t |
| 71 | | succ n => |
| 72 | simp only [coefficientJet,boundLevel] |
| 73 | exact wordSum_nonneg _ _ _ _ |
| 74 | | succ s ih => |
| 75 | cases n with |
| 76 | | zero => |
| 77 | rw [wordSum_zero,translateCoefficientPath_zero] |
| 78 | simp only [coefficientJet,boundLevel] |
| 79 | exact A.norm_coe_le_norm t |
| 80 | | succ n => |
| 81 | rw [wordSum_succ coefficientDirections (translateCoefficientPath A) hA n 0] |
| 82 | rw [coefficientJet, boundLevel.eq_def] |
| 83 | apply sum_le_sum |
| 84 | intro i _ |
| 85 | have hh := ih (orbitDerivativePath A (coefficientDirections i)) |
| 86 | (orbitDerivativePath_orbit A hA (coefficientDirections i)) n |
| 87 | have he : translateCoefficientPath (orbitDerivativePath A (coefficientDirections i)) = |
| 88 | directional coefficientDirections (translateCoefficientPath A) i := |
| 89 | funext (orbitDerivativePath_translation A hA (coefficientDirections i)) |
| 90 | rw [he] at hh |
| 91 | exact hh |
| 92 | |
| 93 | theorem coefficientJet_block_le_words (s q n : ℕ) (t : K) : |
| 94 | EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ |
| 95 | EulerParameterWordGevrey.coefficientBlock coefficientDirections q (translateCoefficientPath A) n 0 := by |
| 96 | change (2 : ℝ)^q*(∑ r ∈ range (q+1),boundLevel P (coefficientJet P A hA s t) (n+r)) ≤ |
| 97 | (2 : ℝ)^q*block coefficientDirections q (translateCoefficientPath A) n 0 |
| 98 | rw [block_eq_sum_levels coefficientDirections q (translateCoefficientPath A) hA n 0] |
| 99 | exact mul_le_mul_of_nonneg_left |
| 100 | (sum_le_sum (fun r _ => coefficientJet_boundLevel_le_words P A hA s (n+r) t)) (by positivity) |
| 101 | |
| 102 | theorem coefficientJet_block_bound (s q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 103 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) |
| 104 | (n : ℕ) (t : K) : |
| 105 | EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ |
| 106 | sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := |
| 107 | (coefficientJet_block_le_words P A hA s q n t).trans |
| 108 | (coefficientBlock_of_tensor_bound coefficientDirections coefficientDirections_norm q |
| 109 | (translateCoefficientPath A) hA Rc C hRc hC hb n 0) |
| 110 | |
| 111 | end EulerCoefficientPath |
| 112 | end |
| 113 | |
| 114 | end |
| 115 | |
| 116 | /-! ## From `Euler/CoefficientPathWeightedBounds.lean` |
| 117 | |
| 118 | The text of `Euler/CoefficientPathWeightedBounds.lean`, folded into this file, which was its only importer. -/ |
| 119 | |
| 120 | section |
| 121 | |
| 122 | /-! |
| 123 | Cutoff-independent weighted estimates for the actual coefficient jets. |
| 124 | The positive-order coefficient normalization is paid once by a fixed |
| 125 | coefficient radius, independent of the solution amplitude and grade. |
| 126 | -/ |
| 127 | |
| 128 | noncomputable section |
| 129 | |
| 130 | namespace EulerCoefficientPath |
| 131 | |
| 132 | open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 133 | EulerMeanCoefficients EulerSpatialSobolevInverse EulerJetProductBounds |
| 134 | EulerParameterWordGevrey EulerGevrey EulerPacketWeights EulerSobolevGevreyOperators |
| 135 | EulerPacketTailBound EulerOperatorGevreyCalculus |
| 136 | open scoped ContDiff BoundedContinuousFunction |
| 137 | |
| 138 | def normalizedCoefficientRadius (q : ℕ) (Rc C : ℝ) : ℝ := |
| 139 | max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C) * sobolevCoefficientRadius (Fin 4) Rc |
| 140 | |
| 141 | theorem normalizedCoefficientRadius_nonneg (q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) : |
| 142 | 0 ≤ normalizedCoefficientRadius q Rc C := |
| 143 | mul_nonneg (le_trans zero_le_one (le_max_left _ _)) (sobolevCoefficientRadius_nonneg Rc hRc) |
| 144 | |
| 145 | theorem amplitude_majorant_le_normalized (q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) |
| 146 | (n : ℕ) (hn : 1 ≤ n) : |
| 147 | sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n ≤ |
| 148 | majorant (normalizedCoefficientRadius q Rc C) 0 n := by |
| 149 | have hp : sobolevCoefficientAmplitude (Fin 4) q Rc C ≤ |
| 150 | (max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C))^n := |
| 151 | (le_max_right _ _).trans (by |
| 152 | simpa only [pow_one] using pow_le_pow_right₀ |
| 153 | (le_max_left (1 : ℝ) (sobolevCoefficientAmplitude (Fin 4) q Rc C)) hn) |
| 154 | calc |
| 155 | _ ≤ (max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C))^n * |
| 156 | majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := |
| 157 | mul_le_mul_of_nonneg_right hp (majorant_nonneg _ (sobolevCoefficientRadius_nonneg Rc hRc) 0 n) |
| 158 | _ = _ := by simp only [majorant,normalizedCoefficientRadius,Nat.add_zero,mul_pow]; ring |
| 159 | |
| 160 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 161 | (P : ℝ) [Fact (0 < P)] |
| 162 | (A : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 163 | (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) |
| 164 | |
| 165 | theorem coefficientJet_block_normalized (s q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 166 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) |
| 167 | (R : ℝ) (hR : normalizedCoefficientRadius q Rc C ≤ R) |
| 168 | (n : ℕ) (hn : 1 ≤ n) (t : K) : |
| 169 | EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ |
| 170 | R^n*(n.factorial : ℝ)^2 := by |
| 171 | have h := (coefficientJet_block_bound P A hA s q Rc C hRc hC hb n t).trans |
| 172 | (amplitude_majorant_le_normalized q Rc C hRc n hn) |
| 173 | exact h.trans (majorant_radius_mono _ R (normalizedCoefficientRadius_nonneg q Rc C hRc) hR 0 n) |
| 174 | |
| 175 | private theorem weight_majorant_zero (ρ R : ℝ) (n : ℕ) : |
| 176 | weight ρ n*majorant R 0 n = (ρ*R)^n := by |
| 177 | unfold weight majorant |
| 178 | simp only [Nat.add_zero,mul_pow] |
| 179 | field_simp [factorial_cast_ne_zero n] |
| 180 | |
| 181 | theorem coefficientJet_weighted_bound (s q N : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 182 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) |
| 183 | (ρ : ℝ) (hρ : 0 < ρ) (hsmall : ρ*sobolevCoefficientRadius (Fin 4) Rc ≤ 1/2) (t : K) : |
| 184 | weightedCoefficient P (coefficientJet P A hA s t) q N ρ ≤ |
| 185 | 2*sobolevCoefficientAmplitude (Fin 4) q Rc C := by |
| 186 | have hB := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC |
| 187 | calc |
| 188 | _ ≤ ∑ n ∈ range (N+1), weight ρ n * |
| 189 | (sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n) := by |
| 190 | apply sum_le_sum |
| 191 | intro n _ |
| 192 | exact mul_le_mul_of_nonneg_left (coefficientJet_block_bound P A hA s q Rc C hRc hC hb n t) |
| 193 | (weight_pos hρ n).le |
| 194 | _ = sobolevCoefficientAmplitude (Fin 4) q Rc C * |
| 195 | ∑ n ∈ range (N+1), (ρ*sobolevCoefficientRadius (Fin 4) Rc)^n := by |
| 196 | rw [mul_sum] |
| 197 | apply sum_congr rfl |
| 198 | intro n _ |
| 199 | rw [← weight_majorant_zero ρ (sobolevCoefficientRadius (Fin 4) Rc) n] |
| 200 | ring |
| 201 | _ ≤ _ := (mul_le_mul_of_nonneg_left |
| 202 | (sum_geometric_le_two _ (mul_nonneg hρ.le (sobolevCoefficientRadius_nonneg Rc hRc)) hsmall (N+1)) |
| 203 | hB).trans_eq (mul_comm _ _) |
| 204 | |
| 205 | end EulerCoefficientPath |
| 206 | end |
| 207 | |
| 208 | end |
| 209 | |
| 210 | noncomputable section |
| 211 | |
| 212 | namespace EulerCoefficientPath |
| 213 | |
| 214 | open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 215 | EulerMeanCoefficients EulerSpatialSobolevInverse EulerJetProductBounds |
| 216 | EulerParameterWordGevrey EulerGevrey EulerCoefficientJetPressureBounds EulerCylinderSobolev |
| 217 | open scoped ContDiff BoundedContinuousFunction |
| 218 | |
| 219 | variable (P : ℝ) [Fact (0 < P)] |
| 220 | |
| 221 | omit [Fact (0 < P)] in |
| 222 | theorem boundLevel_le_block_zero {s : ℕ} {A : SmoothCoefficient P} |
| 223 | (J : CoefficientJet P standardDirection s A) (q r : ℕ) (hr : r ≤ q) : |
| 224 | boundLevel P J r ≤ EulerH6Pressure.coefficientBlock P J q 0 := by |
| 225 | let S := ∑ k ∈ range (q+1),boundLevel P J k |
| 226 | have hsum : boundLevel P J r ≤ S := by |
| 227 | exact single_le_sum (f := fun k => boundLevel P J k) |
| 228 | (fun k _ => boundLevel_nonneg (n := k) J) |
| 229 | (show r ∈ range (q+1) from mem_range.mpr (by omega)) |
| 230 | have hnon : 0 ≤ S := sum_nonneg (fun k _ => boundLevel_nonneg J) |
| 231 | have hpow : (1 : ℝ) ≤ (2 : ℝ)^q := one_le_pow₀ (by norm_num) |
| 232 | have hh : S ≤ (2 : ℝ)^q*S := by |
| 233 | simpa only [one_mul] using mul_le_mul_of_nonneg_right hpow hnon |
| 234 | simpa only [EulerH6Pressure.coefficientBlock,Nat.zero_add,S] using hsum.trans hh |
| 235 | |
| 236 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 237 | (A : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 238 | (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) |
| 239 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) |
| 240 | (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) |
| 241 | |
| 242 | include hRc hC hb |
| 243 | |
| 244 | theorem coefficientJet_base_bound (s q r : ℕ) (hr : r ≤ q) (t : K) : |
| 245 | boundLevel P (coefficientJet P A hA s t) r ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C := by |
| 246 | have hh := (boundLevel_le_block_zero P (coefficientJet P A hA s t) q r hr).trans |
| 247 | (coefficientJet_block_bound P A hA s q Rc C hRc hC hb 0 t) |
| 248 | simpa only [majorant,Nat.zero_add,pow_zero,Nat.factorial_zero,Nat.cast_one,one_pow,mul_one] using hh |
| 249 | |
| 250 | theorem coefficientJet_restrictedPressure_bound (s q b : ℕ) (hq : q ≤ s) (hqb : q ≤ b) |
| 251 | (c : ℝ) (hc : 0 < c) (t : K) : |
| 252 | (EulerH6Pressure.CoefficientJet.restrict (coefficientJet P A hA s t) q hq).pressureConstant c ≤ |
| 253 | pressureCost c (sobolevCoefficientAmplitude (Fin 4) b Rc C) q := by |
| 254 | apply TreeBound.pressureConstant_le _ c hc (sobolevCoefficientAmplitude_nonneg b Rc C hRc hC) |
| 255 | apply treeBound_of_levels |
| 256 | intro r hr |
| 257 | rw [EulerH6Pressure.coefficient_restrict_level P (coefficientJet P A hA s t) hq hr] |
| 258 | exact coefficientJet_base_bound P A hA Rc C hRc hC hb s b r (hr.trans hqb) t |
| 259 | |
| 260 | end EulerCoefficientPath |