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 | theorem mean_eq_wave_add_half (σ : ℝ) : |
| 43 | meanExponent σ = waveExponent σ + 1 / 2 := by |
| 44 | unfold meanExponent waveExponent |
| 45 | ring |
| 46 | |
| 47 | theorem wave_at_least_seven_tenths {σ : ℝ} (hσ : 1 / 5 ≤ σ) : |
| 48 | 7 / 10 ≤ waveExponent σ := by |
| 49 | unfold waveExponent |
| 50 | linarith |
| 51 | |
| 52 | theorem wave_increment (σ : ℝ) : |
| 53 | waveExponent (σ + 1 / 10) = waveExponent σ + 1 / 10 := by |
| 54 | unfold waveExponent |
| 55 | ring |
| 56 | |
| 57 | theorem mean_increment (σ : ℝ) : |
| 58 | meanExponent (σ + 1 / 10) = meanExponent σ + 1 / 10 := by |
| 59 | unfold meanExponent |
| 60 | ring |
| 61 | |
| 62 | /-! ## Step 1: particular correction -/ |
| 63 | |
| 64 | /-- The displayed lower bound is in fact equality for the stated parameter range. -/ |
| 65 | theorem particular_gain_eq {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 66 | (hκ : κ ≤ 1 / 100000) : |
| 67 | particularGain σ κ = 2 / 5 := by |
| 68 | unfold particularGain waveExponent |
| 69 | apply le_antisymm (min_le_right _ _) |
| 70 | simp only [le_min_iff] |
| 71 | exact ⟨⟨⟨by linarith, by linarith⟩, by linarith⟩, le_refl _⟩ |
| 72 | |
| 73 | theorem particular_gain_exceeds_tenth {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 74 | (hκ : κ ≤ 1 / 100000) : |
| 75 | waveExponent (σ + 1 / 10) < waveExponent σ + particularGain σ κ := by |
| 76 | rw [particular_gain_eq hσ hκ, wave_increment] |
| 77 | linarith |
| 78 | |
| 79 | /-! ## Step 2: signed correction -/ |
| 80 | |
| 81 | theorem signed_gain_eq {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 82 | (hκ : κ ≤ 1 / 100000) : |
| 83 | signedGain σ κ = 2 / 5 - κ := by |
| 84 | unfold signedGain waveExponent |
| 85 | apply le_antisymm |
| 86 | · exact le_trans (min_le_left _ _) (le_trans (min_le_left _ _) (min_le_right _ _)) |
| 87 | · simp only [le_min_iff] |
| 88 | exact ⟨⟨⟨by linarith, le_refl _⟩, by linarith⟩, by linarith⟩ |
| 89 | |
| 90 | theorem signed_gain_exceeds_tenth {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 91 | (hκ : κ ≤ 1 / 100000) : |
| 92 | waveExponent (σ + 1 / 10) < waveExponent σ + signedGain σ κ := by |
| 93 | rw [signed_gain_eq hσ hκ, wave_increment] |
| 94 | linarith |
| 95 | |
| 96 | /-! ## Steps 3 and 4: mean and defect updates -/ |
| 97 | |
| 98 | theorem mean_update_wave_identity (σ κ : ℝ) : |
| 99 | meanUpdateExponent σ κ = waveExponent σ + 1 / 2 - 2 * κ := by |
| 100 | unfold meanUpdateExponent |
| 101 | rw [mean_eq_wave_add_half] |
| 102 | |
| 103 | theorem mean_update_wave_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 104 | waveExponent (σ + 1 / 10) < meanUpdateExponent σ κ := by |
| 105 | rw [mean_update_wave_identity, wave_increment] |
| 106 | linarith |
| 107 | |
| 108 | theorem completed_mean_gain_eq {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 109 | min (17 / 100) (1 - 4 * κ) = 17 / 100 := by |
| 110 | apply min_eq_left |
| 111 | linarith |
| 112 | |
| 113 | theorem completed_mean_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 114 | meanExponent (σ + 1 / 10) < |
| 115 | meanExponent σ + min (17 / 100) (1 - 4 * κ) := by |
| 116 | rw [completed_mean_gain_eq hκ, mean_increment] |
| 117 | linarith |
| 118 | |
| 119 | theorem completed_defect_margin {σ κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 120 | meanExponent (σ + 1 / 10) < meanExponent σ + 9 / 10 - 4 * κ := by |
| 121 | rw [mean_increment] |
| 122 | linarith |
| 123 | |
| 124 | /-! ## Cumulative exponent bounds -/ |
| 125 | |
| 126 | theorem signed_increment_lower_bound {σ κ : ℝ} (hσ : 1 / 5 ≤ σ) |
| 127 | (hκ : κ ≤ 1 / 100000) : |
| 128 | 69999 / 100000 ≤ waveExponent σ - κ := by |
| 129 | unfold waveExponent |
| 130 | linarith |
| 131 | |
| 132 | theorem signed_increment_above_cumulative_difference {σ κ : ℝ} |
| 133 | (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : |
| 134 | 17 / 25 < waveExponent σ - κ := by |
| 135 | have h := signed_increment_lower_bound hσ hκ |
| 136 | linarith |
| 137 | |
| 138 | theorem particular_increment_above_cumulative_difference {σ : ℝ} |
| 139 | (hσ : 1 / 5 ≤ σ) : |
| 140 | 17 / 25 < waveExponent σ := by |
| 141 | have h := wave_at_least_seven_tenths hσ |
| 142 | linarith |
| 143 | |
| 144 | theorem mean_increment_above_cumulative_mean {σ κ : ℝ} |
| 145 | (hσ : 1 / 5 ≤ σ) (hκ : κ ≤ 1 / 100000) : |
| 146 | 9 / 10 < meanUpdateExponent σ κ := by |
| 147 | unfold meanUpdateExponent meanExponent |
| 148 | linarith |
| 149 | |
| 150 | /-! ## Exact fixed choice and quantifier bookkeeping -/ |
| 151 | |
| 152 | /-- Iterated accuracy parameters; this does not assert existence of the iterates. -/ |
| 153 | def stageParameter (n : ℕ) : ℝ := 1 / 5 + (n : ℝ) / 10 |
| 154 | |
| 155 | theorem stage_parameter_zero : stageParameter 0 = 1 / 5 := by |
| 156 | norm_num [stageParameter] |
| 157 | |
| 158 | theorem stage_parameter_succ (n : ℕ) : |
| 159 | stageParameter (n + 1) = stageParameter n + 1 / 10 := by |
| 160 | unfold stageParameter |
| 161 | push_cast |
| 162 | ring |
| 163 | |
| 164 | theorem stage_parameter_admissible (n : ℕ) : |
| 165 | 1 / 5 ≤ stageParameter n := by |
| 166 | unfold stageParameter |
| 167 | have hn : (0 : ℝ) ≤ (n : ℝ) := Nat.cast_nonneg n |
| 168 | linarith |
| 169 | |
| 170 | /-- The same fixed κ works for the numerical comparisons at every finite stage. -/ |
| 171 | theorem all_stage_arithmetic (n : ℕ) {κ : ℝ} (hκ : κ ≤ 1 / 100000) : |
| 172 | waveExponent (stageParameter (n + 1)) < |
| 173 | waveExponent (stageParameter n) + particularGain (stageParameter n) κ ∧ |
| 174 | waveExponent (stageParameter (n + 1)) < |
| 175 | waveExponent (stageParameter n) + signedGain (stageParameter n) κ ∧ |
| 176 | waveExponent (stageParameter (n + 1)) < meanUpdateExponent (stageParameter n) κ ∧ |
| 177 | meanExponent (stageParameter (n + 1)) < |
| 178 | meanExponent (stageParameter n) + min (17 / 100) (1 - 4 * κ) ∧ |
| 179 | meanExponent (stageParameter (n + 1)) < |
| 180 | meanExponent (stageParameter n) + 9 / 10 - 4 * κ := by |
| 181 | rw [stage_parameter_succ] |
| 182 | exact ⟨particular_gain_exceeds_tenth (stage_parameter_admissible n) hκ, |
| 183 | signed_gain_exceeds_tenth (stage_parameter_admissible n) hκ, |
| 184 | mean_update_wave_margin hκ, completed_mean_margin hκ, completed_defect_margin hκ⟩ |
| 185 | |
| 186 | end |
| 187 | |
| 188 | end NavierStokes.ExponentLedger |