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 NavierStokes.CutStageEstimates |
| 2 | |
| 3 | /-! |
| 4 | # A common diagonal schedule with arbitrary additional finite tests |
| 5 | |
| 6 | The same sequence of cutoff scales enforces all field jet estimates and any |
| 7 | prescribed finite family of positive-power logarithmic tests at each stage. |
| 8 | The bounds apply throughout the reciprocal interval, including its endpoint. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.GenericDiagonalSchedule |
| 14 | |
| 15 | open Set Function Filter |
| 16 | open scoped Topology ContDiff BigOperators |
| 17 | |
| 18 | /-- The logarithmic power and the positive decay power may both depend on the |
| 19 | individual member of the finite family. -/ |
| 20 | theorem exists_integer_scale_variable {κ : Type*} (s : Finset κ) |
| 21 | (B P γ : κ → ℝ) (hγ : ∀ k ∈ s, 0 < γ k) {ε : ℝ} (hε : 0 < ε) : |
| 22 | ∃ a : ℕ, 0 < a ∧ ∀ k ∈ s, ∀ r : ℝ, 0 < r → r ≤ 1 / (a : ℝ) → |
| 23 | |DiagonalScale.logPowerWeight (B k) (P k) (γ k) r| ≤ ε := by |
| 24 | have hsmall : ∀ᶠ r in 𝓝[>] (0 : ℝ), |
| 25 | ∀ k ∈ s, |DiagonalScale.logPowerWeight (B k) (P k) (γ k) r| < ε := by |
| 26 | apply (eventually_all_finset s).2 |
| 27 | intro k hk |
| 28 | have hlim := (DiagonalScale.tendsto_logPowerWeight (B k) (P k) (γ k) (hγ k hk)).abs |
| 29 | simp only [abs_zero] at hlim |
| 30 | exact hlim.eventually (gt_mem_nhds hε) |
| 31 | rcases mem_nhdsGT_iff_exists_Ioo_subset.1 hsmall with ⟨δ, hδ, hb⟩ |
| 32 | change (0 : ℝ) < δ at hδ |
| 33 | obtain ⟨n, hn⟩ := exists_nat_one_div_lt hδ |
| 34 | refine ⟨n + 1, Nat.succ_pos _, ?_⟩ |
| 35 | intro k hk r hr hra |
| 36 | apply (hb ⟨hr, ?_⟩ k hk).le |
| 37 | apply hra.trans_lt |
| 38 | simpa only [Nat.cast_add, Nat.cast_one] using hn |
| 39 | |
| 40 | /-- One doubling sequence dominates any prescribed sequence of lower bounds |
| 41 | and meets an arbitrary finite list of tests at each stage. All cutoff supports |
| 42 | lie strictly below the prescribed positive outer boundary. -/ |
| 43 | theorem exists_scales_with_tests {κ : Type*} (tests : ℕ → Finset κ) |
| 44 | (B P γ : ℕ → κ → ℝ) (hγ : ∀ j k, k ∈ tests j → 0 < γ j k) |
| 45 | (lower : ℕ → ℕ) {q0 : ℝ} (hq0 : 0 < q0) : |
| 46 | ∃ a : ℕ → ℕ, (∀ j, lower j ≤ a j) ∧ (∀ j, 0 < a j) ∧ |
| 47 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 48 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 49 | (∀ j, 1 / (a j : ℝ) < q0) ∧ |
| 50 | ∀ j k, k ∈ tests j → ∀ r : ℝ, 0 < r → r ≤ 1 / (a j : ℝ) → |
| 51 | |DiagonalScale.logPowerWeight (B j k) (P j k) (γ j k) r| ≤ |
| 52 | (1 / 2 : ℝ) ^ j := by |
| 53 | choose b hb htest using fun j => |
| 54 | exists_integer_scale_variable (tests j) (B j) (P j) (γ j) (hγ j) |
| 55 | (show (0 : ℝ) < (1 / 2) ^ j by positivity) |
| 56 | obtain ⟨n, hn⟩ := exists_nat_one_div_lt hq0 |
| 57 | let c : ℕ → ℕ := fun j => max (lower j) (max (b j) (n + 1)) |
| 58 | let a := DiagonalScale.doublingEnvelope c |
| 59 | have hca : ∀ j, c j ≤ a j := DiagonalScale.doublingEnvelope_ge c |
| 60 | have hba : ∀ j, b j ≤ a j := fun j => |
| 61 | ((le_max_left _ _).trans (le_max_right _ _)).trans (hca j) |
| 62 | have hna : ∀ j, n + 1 ≤ a j := fun j => |
| 63 | ((le_max_right _ _).trans (le_max_right _ _)).trans (hca j) |
| 64 | have hmono : StrictMono a := DiagonalScale.doublingEnvelope_strictMono c |
| 65 | refine ⟨a, fun j => (le_max_left _ _).trans (hca j), |
| 66 | DiagonalScale.doublingEnvelope_pos c, DiagonalScale.doublingEnvelope_growth c, |
| 67 | hmono, SolenoidalDiagonal.realScales_tendsto hmono, ?_, ?_⟩ |
| 68 | · intro j |
| 69 | apply (one_div_le_one_div_of_le (by positivity : (0 : ℝ) < ((n + 1 : ℕ) : ℝ)) |
| 70 | (by exact_mod_cast hna j)).trans_lt |
| 71 | simpa only [Nat.cast_add, Nat.cast_one] using hn |
| 72 | · intro j k hk r hr hra |
| 73 | apply htest j k hk r hr |
| 74 | exact hra.trans (one_div_le_one_div_of_le (by exact_mod_cast hb j) |
| 75 | (by exact_mod_cast hba j)) |
| 76 | |
| 77 | section Fields |
| 78 | |
| 79 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 80 | variable {ι : Type*} [Fintype ι] {W : ι → Type*} |
| 81 | [∀ i, NormedAddCommGroup (W i)] [∀ i, NormedSpace ℝ (W i)] |
| 82 | |
| 83 | /-- The realization schedule and the additional normalized coefficient tests |
| 84 | are imposed simultaneously, for one finite heterogeneous family of fields. -/ |
| 85 | theorem exists_finite_diagonal_cut_bounds_with_tests {U S : Set E} |
| 86 | (hU : IsOpen U) (hSU : S ⊆ U) {q : E → ℝ} |
| 87 | (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ S, 0 < q x) |
| 88 | (Bq : ℕ → ℝ) |
| 89 | (hBq : ∀ k x, x ∈ S → q x ≤ 1 → |
| 90 | ‖iteratedFDeriv ℝ k q x‖ ≤ Bq k * q x ^ (1 - (k : ℝ))) |
| 91 | {A : ∀ i, ℕ → E → W i} (hA : ∀ i j, 1 ≤ j → ContDiffOn ℝ ∞ (A i j) U) |
| 92 | (g L : ℕ → ℝ) (C p : ι → ℕ → ℕ → ℝ) |
| 93 | (hraw : ∀ i, CutStageEstimates.RawStageBounds q (A i) g L (C i) (p i) S) |
| 94 | (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) |
| 95 | {κ : Type*} (tests : ℕ → Finset κ) (B P γ : ℕ → κ → ℝ) |
| 96 | (hγ : ∀ j k, k ∈ tests j → 0 < γ j k) {q0 : ℝ} (hq0 : 0 < q0) : |
| 97 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 98 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 99 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 100 | (∀ j, 1 / (a j : ℝ) < q0) ∧ |
| 101 | (∀ i, DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) q (A i) |
| 102 | (fun j => g j / 2) (CutStageEstimates.cutLoss L) S) ∧ |
| 103 | ∀ j k, k ∈ tests j → ∀ r : ℝ, 0 < r → r ≤ 1 / (a j : ℝ) → |
| 104 | |DiagonalScale.logPowerWeight (B j k) (P j k) (γ j k) r| ≤ |
| 105 | (1 / 2 : ℝ) ^ j := by |
| 106 | classical |
| 107 | choose K hK hb using fun i => |
| 108 | CutStageEstimates.exists_cut_stage_constants hU hSU hq hpos Bq hBq |
| 109 | (hA i) g L (C i) (p i) (hraw i) |
| 110 | let Kall : ℕ → ℕ → ℝ := fun j m => 1 + ∑ i, |K i j m| |
| 111 | let Pall : ℕ → ℕ → ℝ := fun j m => 1 + ∑ i, |CutStageEstimates.cutLog (p i) j m| |
| 112 | have hKall : ∀ j m, 0 < Kall j m := by |
| 113 | intro j m |
| 114 | have := Finset.sum_nonneg (fun i (_ : i ∈ Finset.univ) => abs_nonneg (K i j m)) |
| 115 | dsimp only [Kall] |
| 116 | linarith |
| 117 | have hKle : ∀ i j m, K i j m ≤ Kall j m := by |
| 118 | intro i j m |
| 119 | exact (le_abs_self _).trans ((Finset.single_le_sum (fun i _ => abs_nonneg (K i j m)) |
| 120 | (Finset.mem_univ i)).trans (le_add_of_nonneg_left zero_le_one)) |
| 121 | have hPle : ∀ i j m, CutStageEstimates.cutLog (p i) j m ≤ Pall j m := by |
| 122 | intro i j m |
| 123 | exact (le_abs_self _).trans ((Finset.single_le_sum |
| 124 | (fun i _ => abs_nonneg (CutStageEstimates.cutLog (p i) j m)) (Finset.mem_univ i)).trans |
| 125 | (le_add_of_nonneg_left zero_le_one)) |
| 126 | obtain ⟨b, hblower, hbpos, _, _, _, hbsmall⟩ := |
| 127 | DiagonalScale.exists_diagonal_scales Kall Pall g hg lower |
| 128 | obtain ⟨a, hba, hapos, hadouble, hamono, hatop, haouter, hatest⟩ := |
| 129 | exists_scales_with_tests tests B P γ hγ b hq0 |
| 130 | refine ⟨a, hblower.trans (hba 0), hapos, hadouble, hamono, hatop, haouter, ?_, hatest⟩ |
| 131 | intro i j hj m hm x hx |
| 132 | apply CutStageEstimates.cut_product_bound_of_threshold hU hSU hq hpos (hA i j hj) m |
| 133 | (show (1 : ℝ) ≤ (a j : ℝ) by exact_mod_cast (Nat.succ_le_of_lt (hapos j))) (by positivity) (K := Kall j m) (P := Pall j m) |
| 134 | (g := g j) (L := CutStageEstimates.cutLoss L m) ?_ ?_ x hx |
| 135 | · intro c hc y hy hq1 |
| 136 | apply (hb i j hj m c hc y hy hq1).trans |
| 137 | have hlog : 1 ≤ 1 + |Real.log (q y)| := le_add_of_nonneg_right (abs_nonneg _) |
| 138 | apply mul_le_mul_of_nonneg_right _ (Real.rpow_nonneg (hpos y hy).le _) |
| 139 | calc |
| 140 | _ ≤ Kall j m * (1 + |Real.log (q y)|) ^ (CutStageEstimates.cutLog (p i) j m) := |
| 141 | mul_le_mul_of_nonneg_right (hKle i j m) (Real.rpow_nonneg (by positivity) _) |
| 142 | _ ≤ _ := mul_le_mul_of_nonneg_left |
| 143 | (Real.rpow_le_rpow_of_exponent_le hlog (hPle i j m)) (hKall j m).le |
| 144 | · intro r hr hra |
| 145 | exact hbsmall j hj m hm r hr |
| 146 | (hra.trans (one_div_le_one_div_of_le (by exact_mod_cast hbpos j) |
| 147 | (show (b j : ℝ) ≤ (a j : ℝ) by exact_mod_cast hba j))) |
| 148 | |
| 149 | end Fields |
| 150 | |
| 151 | end NavierStokes.GenericDiagonalSchedule |