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.QuadraticMildPasting |
| 2 | |
| 3 | /-! Genuine finite-time continuation of actual viscous mild solutions from an a priori Sobolev bound. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerBoundedMildContinuation |
| 8 | |
| 9 | open MeasureTheory Set EulerCylinderSobolevSpace EulerSobolevHeat EulerVolterraConvolution |
| 10 | EulerUniformHeatLocal EulerQuadraticSource EulerTimePathGluing EulerQuadraticMildPasting |
| 11 | open scoped Topology |
| 12 | |
| 13 | /-- The next actual time window ends at the smaller of one full step and the terminal time. -/ |
| 14 | theorem advance_time_eq (a δ S : ℝ) : a+min δ (S-a) = min (a+δ) S := by |
| 15 | by_cases h : δ ≤ S-a |
| 16 | · rw [min_eq_left h, min_eq_left (by linarith : a+δ ≤ S)] |
| 17 | · rw [min_eq_right (le_of_not_ge h), min_eq_right (by linarith : S ≤ a+δ)] |
| 18 | ring |
| 19 | |
| 20 | /-- Repeated genuine local windows reach each successive point of a fixed finite time grid. -/ |
| 21 | theorem advance_grid (S δ a : ℝ) (hδ : 0 ≤ δ) (n : ℕ) |
| 22 | (hgrid : min ((n : ℝ)*δ) S ≤ a) : |
| 23 | min (((n+1 : ℕ) : ℝ)*δ) S ≤ a+min δ (S-a) := by |
| 24 | rw [advance_time_eq] |
| 25 | apply le_min |
| 26 | · by_cases hn : (n : ℝ)*δ ≤ S |
| 27 | · have hna : (n : ℝ)*δ ≤ a := by simpa only [min_eq_left hn] using hgrid |
| 28 | apply (min_le_left _ _).trans |
| 29 | push_cast |
| 30 | nlinarith only [hna] |
| 31 | · have hSa : S ≤ a := by simpa only [min_eq_right (le_of_not_ge hn)] using hgrid |
| 32 | exact (min_le_right _ _).trans (by linarith) |
| 33 | · exact min_le_right _ _ |
| 34 | |
| 35 | variable (period : ℝ) [Fact (0 < period)] |
| 36 | |
| 37 | /-- An actual uniform Sobolev bound on partial solutions yields a genuine solution on the whole prescribed interval. |
| 38 | The continuation is constructed by finitely many actual local heat solves and exact nonlinear pasting. -/ |
| 39 | theorem exists_global_mild_of_bound (q : ℕ) (ν : ℝ) (hν : 0 < ν) (S : ℝ) (hS : 0 < S) |
| 40 | (R : ℝ) (hR : 0 ≤ R) (u₀ : SobolevSpace period (q+1)) (hu₀ : ‖u₀‖ ≤ R) |
| 41 | (C : Coefficients (Icc (0 : ℝ) S) (SobolevSpace period (q+1)) (SobolevSpace period q)) |
| 42 | (hbound : ∀ (T : ℝ) (hT : 0 ≤ T) (hTS : T ≤ S) |
| 43 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))), |
| 44 | (∀ t, u t = quadraticDuhamel period ν hν hT hTS C u₀ u t) → ‖u‖ ≤ R) : |
| 45 | ∃ u : C(Icc (0 : ℝ) S, SobolevSpace period (q+1)), |
| 46 | ‖u‖ ≤ R ∧ u ⟨0,le_rfl,hS.le⟩ = u₀ ∧ |
| 47 | ∀ t, u t = quadraticDuhamel period ν hν hS.le le_rfl C u₀ u t := by |
| 48 | obtain ⟨δ,hδ,_,hlocal⟩ := exists_uniform_restart_time period q ν hν S hS R hR C |
| 49 | have hind : ∀ n : ℕ, ∃ (a : ℝ) (ha : 0 ≤ a) (haS : a ≤ S), |
| 50 | min ((n : ℝ)*δ) S ≤ a ∧ |
| 51 | ∃ u : C(Icc (0 : ℝ) a, SobolevSpace period (q+1)), |
| 52 | ∀ t, u t = quadraticDuhamel period ν hν ha haS C u₀ u t := by |
| 53 | intro n |
| 54 | induction n with |
| 55 | | zero => |
| 56 | obtain ⟨u,_,_,hsol⟩ := hlocal 0 0 le_rfl le_rfl (by linarith) hδ.le u₀ hu₀ |
| 57 | refine ⟨0,le_rfl,hS.le,?_,u,?_⟩ |
| 58 | · simpa only [Nat.cast_zero,zero_mul] using min_le_left (0 : ℝ) S |
| 59 | · apply (quadratic_mild_window_iff period ν hν le_rfl hS.le C u₀ u).mpr |
| 60 | exact hsol |
| 61 | | succ n ih => |
| 62 | obtain ⟨a,ha,haS,hgrid,u,hsolu⟩ := ih |
| 63 | let b := min δ (S-a) |
| 64 | have hb : 0 ≤ b := le_min hδ.le (sub_nonneg.mpr haS) |
| 65 | have hbδ : b ≤ δ := min_le_left _ _ |
| 66 | have habS : a+b ≤ S := by have h := min_le_right δ (S-a); dsimp [b]; linarith |
| 67 | have hu : ‖u ⟨a,ha,le_rfl⟩‖ ≤ R := |
| 68 | (u.norm_coe_le_norm _).trans (hbound a ha haS u hsolu) |
| 69 | obtain ⟨v,_,hv0,hsolv⟩ := hlocal a b ha hb habS hbδ (u ⟨a,ha,le_rfl⟩) hu |
| 70 | let w := gluePath a b ha hb u v hv0.symm |
| 71 | have hw := glue_quadratic_mild period ν hν C a b ha hb haS habS u v hv0.symm u₀ hsolu hsolv |
| 72 | exact ⟨a+b,add_nonneg ha hb,habS,advance_grid S δ a hδ.le n hgrid,w,hw⟩ |
| 73 | obtain ⟨n,hn⟩ := exists_nat_ge (S/δ) |
| 74 | have hN : S ≤ (n : ℝ)*δ := (div_le_iff₀ hδ).mp hn |
| 75 | obtain ⟨a,ha,haS,hgrid,u,hsol⟩ := hind n |
| 76 | have hSa : S ≤ a := by simpa only [min_eq_right hN] using hgrid |
| 77 | have he : a = S := le_antisymm haS hSa |
| 78 | subst a |
| 79 | refine ⟨u,hbound S ha haS u hsol,?_,hsol⟩ |
| 80 | have hz := hsol ⟨0,le_rfl,hS.le⟩ |
| 81 | simpa only [quadraticDuhamel,mul_zero,Real.toNNReal_zero,heatOperator_zero,intervalIntegral.integral_same,add_zero] using hz |
| 82 | |
| 83 | end EulerBoundedMildContinuation |