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 Mathlib.Data.Real.Basic |
| 2 | import Mathlib.Tactic.Linarith |
| 3 | import Mathlib.Tactic.NormNum |
| 4 | import Mathlib.Tactic.Ring |
| 5 | |
| 6 | /-! |
| 7 | # Arithmetic of the residual-order ledger |
| 8 | |
| 9 | The candidate manuscript, Proposition 10.3, assigns real |
| 10 | exponents to analytic estimates. This file checks the arithmetic of those |
| 11 | assignments, conditional on the estimates being valid. It does not define the |
| 12 | analytic classes, construct a correction, or prove an estimate for a PDE. |
| 13 | |
| 14 | The manuscript fixes `κ = 10⁻⁵` in §8.1 and again in §10.2. The results below |
| 15 | hold uniformly for `0 ≤ κ ≤ 10⁻⁵` and `σ ≥ 1/5`. Fractions are exact rationals |
| 16 | in the real numbers; no floating-point calculation is used. |
| 17 | -/ |
| 18 | |
| 19 | namespace NavierStokes.ExponentLedger |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | /-- The good-wave residual exponent `B = 1/2 + σ`. -/ |
| 24 | def waveExponent (σ : ℝ) : ℝ := 1 / 2 + σ |
| 25 | |
| 26 | /-- The mean and defect target exponent `C = 1 + σ`. -/ |
| 27 | def meanExponent (σ : ℝ) : ℝ := 1 + σ |
| 28 | |
| 29 | /-- The intermediate exponent `H₁ = C - 2κ`. -/ |
| 30 | def meanUpdateExponent (σ κ : ℝ) : ℝ := meanExponent σ - 2 * κ |
| 31 | |
| 32 | /-- Minimum of the four listed gains for the particular wave correction. -/ |
| 33 | def particularGain (σ κ : ℝ) : ℝ := |
| 34 | min (min (min (1 / 2 - 3 * κ) (1 / 2 - κ)) |
| 35 | (waveExponent σ - κ)) (2 / 5) |
| 36 | |
| 37 | /-- Minimum of the four listed gains for the signed wave correction. -/ |
| 38 | def signedGain (σ κ : ℝ) : ℝ := |
| 39 | min (min (min (1 / 2 - 4 * κ) (2 / 5 - κ)) |
| 40 | (1 / 2 - 2 * κ)) (waveExponent σ - 3 * κ) |
| 41 | |
| 42 | /-- The five distinct gains listed for the signed bar residual, after divergence. |
| 43 | The subtracted bump repeats the fourth bound and so contributes no new minimum. -/ |
| 44 | def signedBarGain (σ κ : ℝ) : ℝ := |
| 45 | min (min (min (min (9 / 50 - 2 * κ) (1 / 2 - 3 * κ)) |
| 46 | (σ - 3 * κ)) (1 - κ)) (1 - 2 * κ) |
| 47 | |
| 48 | theorem mean_eq_wave_add_half (σ : ℝ) : |
| 49 | meanExponent σ = waveExponent σ + 1 / 2 := by |
| 50 | unfold meanExponent waveExponent |
| 51 | ring |
| 52 | |
| 53 | theorem wave_at_least_seven_tenths {σ : ℝ} (hσ : 1 / 5 ≤ σ) : |
| 54 | 7 / 10 ≤ waveExponent σ := by |
| 55 | unfold waveExponent |
| 56 | linarith |
| 57 | |
| 58 | theorem mean_at_least_six_fifths {σ : ℝ} (hσ : 1 / 5 ≤ σ) : |
| 59 | 6 / 5 ≤ meanExponent σ := by |
| 60 | unfold meanExponent |
| 61 | linarith |
| 62 | |
| 63 | theorem wave_increment (σ : ℝ) : |
| 64 | waveExponent (σ + 1 / 10) = waveExponent σ + 1 / 10 := by |
| 65 | unfold waveExponent |
| 66 | ring |
| 67 | |
| 68 | theorem mean_increment (σ : ℝ) : |
| 69 | meanExponent (σ + 1 / 10) = meanExponent σ + 1 / 10 := by |
| 70 | unfold meanExponent |
| 71 | ring |
| 72 | |
| 73 | theorem parameter_lower_bound_preserved {σ : ℝ} (hσ : 1 / 5 ≤ σ) : |
| 74 | 1 / 5 ≤ σ + 1 / 10 := by |
| 75 | linarith |
| 76 | |
| 77 | /-! ## Step 1: particular correction -/ |
| 78 | |
| 79 | /-- The displayed lower bound is in fact equality for the stated parameter range. -/ |
| 80 | theorem particular_gain_eq {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 81 | (hκ : κ ≤ 1 / 100000) : |
| 82 | particularGain σ κ = 2 / 5 := by |
| 83 | unfold particularGain waveExponent |
| 84 | apply le_antisymm (min_le_right _ _) |
| 85 | simp only [le_min_iff] |
| 86 | exact ⟨⟨⟨by linarith, by linarith⟩, by linarith⟩, le_refl _⟩ |
| 87 | |
| 88 | theorem particular_linear_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 89 | waveExponent σ + 2 / 5 ≤ waveExponent σ + 1 / 2 - 3 * κ := by |
| 90 | linarith |
| 91 | |
| 92 | theorem particular_old_wave_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 93 | waveExponent σ + 2 / 5 ≤ waveExponent σ + 1 / 2 - κ := by |
| 94 | linarith |
| 95 | |
| 96 | theorem particular_square_margin {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 97 | (hκ : κ ≤ 1 / 100000) : |
| 98 | waveExponent σ + 2 / 5 ≤ 2 * waveExponent σ - κ := by |
| 99 | unfold waveExponent |
| 100 | linarith |
| 101 | |
| 102 | theorem particular_gain_exceeds_tenth {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 103 | (hκ : κ ≤ 1 / 100000) : |
| 104 | waveExponent (σ + 1 / 10) < waveExponent σ + particularGain σ κ := by |
| 105 | rw [particular_gain_eq hσ hκ, wave_increment] |
| 106 | linarith |
| 107 | |
| 108 | theorem particular_tensor_exponent (σ : ℝ) : |
| 109 | waveExponent σ + 1 / 2 = meanExponent σ := by |
| 110 | exact (mean_eq_wave_add_half σ).symm |
| 111 | |
| 112 | /-! ## Step 2: signed correction -/ |
| 113 | |
| 114 | theorem signed_gain_eq {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 115 | (hκ : κ ≤ 1 / 100000) : |
| 116 | signedGain σ κ = 2 / 5 - κ := by |
| 117 | unfold signedGain waveExponent |
| 118 | apply le_antisymm |
| 119 | · exact le_trans (min_le_left _ _) (le_trans (min_le_left _ _) (min_le_right _ _)) |
| 120 | · simp only [le_min_iff] |
| 121 | exact ⟨⟨⟨by linarith, le_refl _⟩, by linarith⟩, by linarith⟩ |
| 122 | |
| 123 | theorem signed_gain_exceeds_tenth {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 124 | (hκ : κ ≤ 1 / 100000) : |
| 125 | waveExponent (σ + 1 / 10) < waveExponent σ + signedGain σ κ := by |
| 126 | rw [signed_gain_eq hσ hκ, wave_increment] |
| 127 | linarith |
| 128 | |
| 129 | theorem signed_old_difference_identity (σ κ : ℝ) : |
| 130 | waveExponent σ + 17 / 25 - κ = meanExponent σ + 9 / 50 - κ := by |
| 131 | unfold waveExponent meanExponent |
| 132 | ring |
| 133 | |
| 134 | theorem signed_square_identity (σ κ : ℝ) : |
| 135 | 2 * waveExponent σ - 2 * κ = meanExponent σ + σ - 2 * κ := by |
| 136 | unfold waveExponent meanExponent |
| 137 | ring |
| 138 | |
| 139 | theorem signed_old_difference_after_divergence (σ κ : ℝ) : |
| 140 | (waveExponent σ + 17 / 25 - κ) - κ = |
| 141 | meanExponent σ + (9 / 50 - 2 * κ) := by |
| 142 | unfold waveExponent meanExponent |
| 143 | ring |
| 144 | |
| 145 | theorem signed_curl_after_divergence (σ κ : ℝ) : |
| 146 | (meanExponent σ + 1 / 2 - 2 * κ) - κ = |
| 147 | meanExponent σ + (1 / 2 - 3 * κ) := by |
| 148 | ring |
| 149 | |
| 150 | theorem signed_square_after_divergence (σ κ : ℝ) : |
| 151 | (2 * waveExponent σ - 2 * κ) - κ = |
| 152 | meanExponent σ + (σ - 3 * κ) := by |
| 153 | unfold waveExponent meanExponent |
| 154 | ring |
| 155 | |
| 156 | theorem old_difference_bar_margin {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 157 | 17 / 100 < 9 / 50 - 2 * κ := by |
| 158 | linarith |
| 159 | |
| 160 | theorem curl_bar_margin {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 161 | 17 / 100 < 1 / 2 - 3 * κ := by |
| 162 | linarith |
| 163 | |
| 164 | theorem square_bar_margin {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 165 | (hκ : κ ≤ 1 / 100000) : |
| 166 | 17 / 100 < σ - 3 * κ := by |
| 167 | linarith |
| 168 | |
| 169 | theorem axial_bar_margin {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 170 | 17 / 100 < 1 - κ := by |
| 171 | linarith |
| 172 | |
| 173 | theorem pressure_bar_margin {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 174 | 17 / 100 < 1 - 2 * κ := by |
| 175 | linarith |
| 176 | |
| 177 | /-- Every listed contribution exceeds the claimed `.17` bar-residual gain. -/ |
| 178 | theorem signed_bar_gain_exceeds_seventeen_hundredths {σ κ : ℝ} |
| 179 | (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : |
| 180 | 17 / 100 < signedBarGain σ κ := by |
| 181 | unfold signedBarGain |
| 182 | simp only [lt_min_iff] |
| 183 | exact ⟨⟨⟨⟨old_difference_bar_margin hκ, curl_bar_margin hκ⟩, |
| 184 | square_bar_margin hσ hκ⟩, axial_bar_margin hκ⟩, pressure_bar_margin hκ⟩ |
| 185 | |
| 186 | /-! ## Steps 3 and 4: mean and defect updates -/ |
| 187 | |
| 188 | theorem mean_update_wave_identity (σ κ : ℝ) : |
| 189 | meanUpdateExponent σ κ = waveExponent σ + 1 / 2 - 2 * κ := by |
| 190 | unfold meanUpdateExponent |
| 191 | rw [mean_eq_wave_add_half] |
| 192 | |
| 193 | theorem mean_update_wave_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 194 | waveExponent (σ + 1 / 10) < meanUpdateExponent σ κ := by |
| 195 | rw [mean_update_wave_identity, wave_increment] |
| 196 | linarith |
| 197 | |
| 198 | theorem temporal_mean_gain_identity (σ κ : ℝ) : |
| 199 | meanUpdateExponent σ κ + 1 - 2 * κ = meanExponent σ + (1 - 4 * κ) := by |
| 200 | unfold meanUpdateExponent |
| 201 | ring |
| 202 | |
| 203 | theorem completed_mean_gain_eq {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 204 | min (17 / 100) (1 - 4 * κ) = 17 / 100 := by |
| 205 | apply min_eq_left |
| 206 | linarith |
| 207 | |
| 208 | theorem completed_mean_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 209 | meanExponent (σ + 1 / 10) < |
| 210 | meanExponent σ + min (17 / 100) (1 - 4 * κ) := by |
| 211 | rw [completed_mean_gain_eq hκ, mean_increment] |
| 212 | linarith |
| 213 | |
| 214 | theorem rank_defect_gain_identity (σ κ : ℝ) : |
| 215 | meanUpdateExponent σ κ + 9 / 10 - 2 * κ = |
| 216 | meanExponent σ + 9 / 10 - 4 * κ := by |
| 217 | unfold meanUpdateExponent |
| 218 | ring |
| 219 | |
| 220 | theorem completed_defect_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 221 | meanExponent (σ + 1 / 10) < meanExponent σ + 9 / 10 - 4 * κ := by |
| 222 | rw [mean_increment] |
| 223 | linarith |
| 224 | |
| 225 | /-! ## Cumulative exponent bounds -/ |
| 226 | |
| 227 | theorem signed_increment_lower_bound {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 228 | (hκ : κ ≤ 1 / 100000) : |
| 229 | 69999 / 100000 ≤ waveExponent σ - κ := by |
| 230 | unfold waveExponent |
| 231 | linarith |
| 232 | |
| 233 | theorem signed_increment_above_cumulative_difference {σ κ : ℝ} |
| 234 | (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : |
| 235 | 17 / 25 < waveExponent σ - κ := by |
| 236 | have h := signed_increment_lower_bound hσ hκ |
| 237 | linarith |
| 238 | |
| 239 | theorem particular_increment_above_cumulative_difference {σ : ℝ} |
| 240 | (hσ : 1 / 5 ≤ σ) : |
| 241 | 17 / 25 < waveExponent σ := by |
| 242 | have h := wave_at_least_seven_tenths hσ |
| 243 | linarith |
| 244 | |
| 245 | theorem mean_increment_above_cumulative_mean {σ κ : ℝ} |
| 246 | (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : |
| 247 | 9 / 10 < meanUpdateExponent σ κ := by |
| 248 | unfold meanUpdateExponent meanExponent |
| 249 | linarith |
| 250 | |
| 251 | theorem radial_increment_above_cumulative_radial {σ κ : ℝ} |
| 252 | (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : |
| 253 | 19 / 10 < meanUpdateExponent σ κ + 1 := by |
| 254 | have h := mean_increment_above_cumulative_mean hσ hκ |
| 255 | linarith |
| 256 | |
| 257 | theorem particular_pressure_above_cumulative_mean {σ : ℝ} |
| 258 | (hσ : 1 / 5 ≤ σ) : |
| 259 | 9 / 10 < waveExponent σ + 1 / 2 := by |
| 260 | have h := wave_at_least_seven_tenths hσ |
| 261 | linarith |
| 262 | |
| 263 | theorem signed_pressure_above_cumulative_mean {σ κ : ℝ} |
| 264 | (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : |
| 265 | 9 / 10 < waveExponent σ - κ + 1 / 2 := by |
| 266 | have h := signed_increment_lower_bound hσ hκ |
| 267 | linarith |
| 268 | |
| 269 | /-! ## Exact fixed choice and quantifier bookkeeping -/ |
| 270 | |
| 271 | theorem manuscript_kappa_admissible : |
| 272 | (0 : ℝ) ≤ 1 / 100000 ∧ (1 / 100000 : ℝ) ≤ 1 / 100000 := by |
| 273 | norm_num |
| 274 | |
| 275 | /-- A stricter `κ < 10⁻⁶` also suffices, but is not the manuscript's choice. -/ |
| 276 | theorem smaller_kappa_admissible {κ : ℝ} (hκ : κ < 1 / 1000000) : |
| 277 | κ ≤ 1 / 100000 := by |
| 278 | linarith |
| 279 | |
| 280 | /-- The most restrictive `.17` bar margin has this exact threshold. -/ |
| 281 | theorem old_difference_bar_margin_iff (κ : ℝ) : |
| 282 | 17 / 100 < 9 / 50 - 2 * κ ↔ κ < 1 / 200 := by |
| 283 | constructor <;> intro h <;> linarith |
| 284 | |
| 285 | /-- Iterated accuracy parameters; this does not assert existence of the iterates. -/ |
| 286 | def stageParameter (n : ℕ) : ℝ := 1 / 5 + (n : ℝ) / 10 |
| 287 | |
| 288 | theorem stage_parameter_zero : stageParameter 0 = 1 / 5 := by |
| 289 | norm_num [stageParameter] |
| 290 | |
| 291 | theorem stage_parameter_succ (n : ℕ) : |
| 292 | stageParameter (n + 1) = stageParameter n + 1 / 10 := by |
| 293 | unfold stageParameter |
| 294 | push_cast |
| 295 | ring |
| 296 | |
| 297 | theorem stage_parameter_admissible (n : ℕ) : |
| 298 | 1 / 5 ≤ stageParameter n := by |
| 299 | unfold stageParameter |
| 300 | have hn : (0 : ℝ) ≤ (n : ℝ) := Nat.cast_nonneg n |
| 301 | linarith |
| 302 | |
| 303 | /-- The same fixed κ works for the numerical comparisons at every finite stage. -/ |
| 304 | theorem all_stage_arithmetic (n : ℕ) {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 305 | waveExponent (stageParameter (n + 1)) < |
| 306 | waveExponent (stageParameter n) + particularGain (stageParameter n) κ ∧ |
| 307 | waveExponent (stageParameter (n + 1)) < |
| 308 | waveExponent (stageParameter n) + signedGain (stageParameter n) κ ∧ |
| 309 | waveExponent (stageParameter (n + 1)) < meanUpdateExponent (stageParameter n) κ ∧ |
| 310 | meanExponent (stageParameter (n + 1)) < |
| 311 | meanExponent (stageParameter n) + min (17 / 100) (1 - 4 * κ) ∧ |
| 312 | meanExponent (stageParameter (n + 1)) < |
| 313 | meanExponent (stageParameter n) + 9 / 10 - 4 * κ := by |
| 314 | rw [stage_parameter_succ] |
| 315 | exact ⟨particular_gain_exceeds_tenth (stage_parameter_admissible n) hκ, |
| 316 | signed_gain_exceeds_tenth (stage_parameter_admissible n) hκ, |
| 317 | mean_update_wave_margin hκ, completed_mean_margin hκ, completed_defect_margin hκ⟩ |
| 318 | |
| 319 | end |
| 320 | |
| 321 | end NavierStokes.ExponentLedger |