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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #439 chore(NavierStokes/Smooth): delete 6 declarations nothing uses
1 commit
+0 −66 NavierStokes/SmoothCovariance.lean View file
| @@ -127,46 +127,6 @@ section Smooth | ||
| 127 | 127 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 128 | 128 | variable {s : Set E} {H : E → Mat2} {T : E → Vec2} |
| 129 | 129 | |
| 130 | -theorem contDiffOn_determinant | |
| 131 | - (hH : ∀ i j, ContDiffOn ℝ ∞ (fun x => H x i j) s) : | |
| 132 | - ContDiffOn ℝ ∞ (fun x => (H x).det) s := by | |
| 133 | - simpa only [Pi.mul_apply, Pi.sub_apply, Matrix.det_fin_two] using | |
| 134 | - ((hH 0 0).mul (hH 1 1)).sub ((hH 0 1).mul (hH 1 0)) | |
| 135 | - | |
| 136 | -theorem contDiffOn_numerator | |
| 137 | - (hH : ∀ i j, ContDiffOn ℝ ∞ (fun x => H x i j) s) | |
| 138 | - (hT : ∀ i, ContDiffOn ℝ ∞ (fun x => T x i) s) (i : Fin 2) : | |
| 139 | - ContDiffOn ℝ ∞ (fun x => cramerNumerator (H x) (T x) i) s := by | |
| 140 | - fin_cases i | |
| 141 | - · simpa [Pi.mul_apply, Pi.sub_apply, cramerNumerator] using ((hT 0).mul (hH 1 1)).sub ((hH 0 1).mul (hT 1)) | |
| 142 | - · simpa [Pi.mul_apply, Pi.sub_apply, cramerNumerator] using ((hH 0 0).mul (hT 1)).sub ((hT 0).mul (hH 1 0)) | |
| 143 | - | |
| 144 | -/-- Smoothness requires a nonvanishing determinant, independently of positivity. -/ | |
| 145 | -theorem contDiffOn_weights | |
| 146 | - (hH : ∀ i j, ContDiffOn ℝ ∞ (fun x => H x i j) s) | |
| 147 | - (hT : ∀ i, ContDiffOn ℝ ∞ (fun x => T x i) s) | |
| 148 | - (hdet : ∀ x ∈ s, (H x).det ≠ 0) (i : Fin 2) : | |
| 149 | - ContDiffOn ℝ ∞ (fun x => weights (H x) (T x) i) s := | |
| 150 | - (contDiffOn_numerator hH hT i).div (contDiffOn_determinant hH) hdet | |
| 151 | - | |
| 152 | -theorem contDiffOn_inverse_solution | |
| 153 | - (hH : ∀ i j, ContDiffOn ℝ ∞ (fun x => H x i j) s) | |
| 154 | - (hT : ∀ i, ContDiffOn ℝ ∞ (fun x => T x i) s) | |
| 155 | - (hdet : ∀ x ∈ s, (H x).det ≠ 0) (i : Fin 2) : | |
| 156 | - ContDiffOn ℝ ∞ (fun x => (H x)⁻¹.mulVec (T x) i) s := by | |
| 157 | - apply (contDiffOn_weights hH hT hdet i).congr | |
| 158 | - intro x hx | |
| 159 | - exact congrFun (inverse_formula (H x) (T x) (hdet x hx)) i | |
| 160 | - | |
| 161 | -/-- Positive square-root amplitudes are smooth on the strict cone. -/ | |
| 162 | -theorem contDiffOn_amplitudes | |
| 163 | - (hH : ∀ i j, ContDiffOn ℝ ∞ (fun x => H x i j) s) | |
| 164 | - (hT : ∀ i, ContDiffOn ℝ ∞ (fun x => T x i) s) | |
| 165 | - (hcone : ∀ x ∈ s, StrictCone (H x) (T x)) (i : Fin 2) : | |
| 166 | - ContDiffOn ℝ ∞ (fun x => amplitudes (H x) (T x) i) s := | |
| 167 | - (contDiffOn_weights hH hT (fun x hx => (hcone x hx).det_ne_zero) i).sqrt | |
| 168 | - (fun x hx => ne_of_gt ((hcone x hx).weights_pos i)) | |
| 169 | - | |
| 170 | 130 | end Smooth |
| 171 | 131 | |
| 172 | 132 | section Compact |
| @@ -253,30 +213,4 @@ theorem compact_perturbation_stability {S : Set Datum} (hS : IsCompact S) | ||
| 253 | 213 | exact ⟨ρ, hρ, fun z hz z' hdist => |
| 254 | 214 | hsub (Metric.mem_cthickening_of_dist_le z' z ρ S hz hdist)⟩ |
| 255 | 215 | |
| 256 | -/-- Uniform perturbation stability for a continuous family on a compact | |
| 257 | -parameter set. Competing matrices need not form a continuous family. -/ | |
| 258 | -theorem compact_family_perturbation_stability | |
| 259 | - {X : Type*} [TopologicalSpace X] {K : Set X} (hK : IsCompact K) | |
| 260 | - {H : X → Mat2} {T : X → Vec2} | |
| 261 | - (hH : ∀ i j, ContinuousOn (fun x => H x i j) K) | |
| 262 | - (hT : ∀ i, ContinuousOn (fun x => T x i) K) | |
| 263 | - (hcone : ∀ x ∈ K, StrictCone (H x) (T x)) : | |
| 264 | - ∃ ρ : ℝ, 0 < ρ ∧ ∀ x ∈ K, ∀ H' : Mat2, ∀ T' : Vec2, | |
| 265 | - dist (H', T') (H x, T x) ≤ ρ → | |
| 266 | - H'.det ≠ 0 ∧ (∀ i, 0 < weights H' T' i) ∧ | |
| 267 | - (∀ i, 0 < amplitudes H' T' i) := by | |
| 268 | - let f : X → Datum := fun x => (H x, T x) | |
| 269 | - have hf : ContinuousOn f K := | |
| 270 | - (continuousOn_pi.mpr (fun i => continuousOn_pi.mpr (hH i))).prodMk | |
| 271 | - (continuousOn_pi.mpr hT) | |
| 272 | - have himage : f '' K ⊆ strictConeRegion := by | |
| 273 | - rintro z ⟨x, hx, rfl⟩ | |
| 274 | - exact hcone x hx | |
| 275 | - obtain ⟨ρ, hρ, hstable⟩ := | |
| 276 | - compact_perturbation_stability (hK.image_of_continuousOn hf) himage | |
| 277 | - refine ⟨ρ, hρ, ?_⟩ | |
| 278 | - intro x hx H' T' hdist | |
| 279 | - have hc := hstable (f x) (mem_image_of_mem f hx) (H', T') hdist | |
| 280 | - exact ⟨hc.det_ne_zero, hc.weights_pos, hc.amplitudes_pos⟩ | |
| 281 | - | |
| 282 | 216 | end NavierStokes.SmoothCovariance |
+24 −0 routes/s1-ns-smooth-3/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-smooth-3 | |
| 6 | + | |
| 7 | +Wave 3 of the family `NavierStokes/Smooth*`. I delete the 6 declarations the wave-3 plan lists from | |
| 8 | +`NavierStokes/SmoothCovariance.lean` (66 lines, deletions only): | |
| 9 | +`NavierStokes.SmoothCovariance.contDiffOn_determinant`, | |
| 10 | +`contDiffOn_numerator`, `contDiffOn_weights`, `contDiffOn_inverse_solution`, | |
| 11 | +`contDiffOn_amplitudes` and `compact_family_perturbation_stability`. | |
| 12 | + | |
| 13 | +How I checked it as a reviewer. `git grep -n -w` for each of the six short names finds no hit anywhere | |
| 14 | +in the tree after the change, so no statement that stays names one of them. The deleted docstrings | |
| 15 | +(the two on `contDiffOn_weights` and `contDiffOn_amplitudes`, one on | |
| 16 | +`compact_family_perturbation_stability`) name no numbered result of the paper, and no deleted line | |
| 17 | +mentions the manuscript or a section or equation. | |
| 18 | + | |
| 19 | +`python3 checks/challenge.py .` ends with | |
| 20 | +`ok: 4 challenge files and the build configuration as approved; 2588 Lean files, 508098 lines, …`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Nothing left for this unit; the pull request is open against `main`. | |