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.ViscosityCauchy |
| 2 | import Euler.SobolevCauchyInterpolation |
| 3 | import Euler.SobolevPathLimits |
| 4 | |
| 5 | /-! Strong lower-Sobolev compactness of an actual uniformly bounded correction family. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCorrectionFamilyCompactness |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCorrectionOperators |
| 12 | EulerQuadraticSource EulerCorrectionStabilityBudget EulerViscosityCauchy |
| 13 | EulerSobolevCauchyInterpolation EulerSobolevPathLimits |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- The inherited Sobolev normed-group instance for family compactness. -/ |
| 19 | local instance familySobolevGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 20 | /-- The inherited real Sobolev module instance for family compactness. -/ |
| 21 | local instance familySobolevSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 22 | |
| 23 | /-- The actual one-order restriction equals the original truncation map. -/ |
| 24 | theorem restrict_eq_truncate (q : ℕ) : restrictOperator period (Nat.le_succ q)=truncateOperator period q := by |
| 25 | apply ContinuousLinearMap.ext |
| 26 | intro f |
| 27 | apply value_injective period |
| 28 | rfl |
| 29 | |
| 30 | /-- Actual strong lower-order Sobolev compactness retains the trace, divergence constraint and common norm bound. -/ |
| 31 | theorem exists_limit_with_constraints {s q : ℕ} (hqs : q < s) (T : ℝ) (hT : 0 ≤ T) |
| 32 | (κ : ℝ) (m : Vector3) (u : ℕ → C(Icc (0 : ℝ) T,SobolevSpace period s)) (M : ℝ) |
| 33 | (huM : ∀ n, ‖u n‖ ≤ M) (hu0 : ∀ n, u n ⟨0,le_rfl,hT⟩=0) |
| 34 | (hud : ∀ n t, value period (u n t) ∈ divergenceFreeSpace period κ m) |
| 35 | (hCauchy : CauchySeq (fun n => (valueOperator period s).compLeftContinuous ℝ (Icc (0 : ℝ) T) (u n))) : |
| 36 | ∃ e : C(Icc (0 : ℝ) T,SobolevSpace period q), |
| 37 | Filter.Tendsto (fun n => (restrictOperator period hqs.le).compLeftContinuous ℝ (Icc (0 : ℝ) T) (u n)) |
| 38 | Filter.atTop (𝓝 e) ∧ |
| 39 | e ⟨0,le_rfl,hT⟩=0 ∧ (∀ t, value period (e t) ∈ divergenceFreeSpace period κ m) ∧ ‖e‖ ≤ M := by |
| 40 | have hM : 0 ≤ M := (norm_nonneg (u 0)).trans (huM 0) |
| 41 | obtain ⟨e,hlimit⟩ := exists_limit_restrict_of_value period hqs T M hM u huM hCauchy |
| 42 | let ul := fun n => (restrictOperator period hqs.le).compLeftContinuous ℝ (Icc (0 : ℝ) T) (u n) |
| 43 | have hul (n : ℕ) : ‖ul n‖ ≤ M := (restrict_path_norm period hqs.le T (u n)).trans (huM n) |
| 44 | have hi : e ⟨0,le_rfl,hT⟩=0 := limit_zero_trace period T ⟨0,le_rfl,hT⟩ ul e hlimit (fun n => by |
| 45 | change restrictOperator period hqs.le (u n ⟨0,le_rfl,hT⟩)=0 |
| 46 | rw [hu0 n,map_zero]) |
| 47 | have hd : ∀ t, value period (e t) ∈ divergenceFreeSpace period κ m := |
| 48 | limit_divergenceFree period T κ m ul e hlimit hud |
| 49 | exact ⟨e,hlimit,hi,hd,limit_norm_bound period T M ul e hlimit hul⟩ |
| 50 | |
| 51 | /-- Genuine uniformly bounded correction solutions with Cauchy viscosities have an actual strong lower-Sobolev limit with the original trace and divergence constraint. -/ |
| 52 | theorem exists_correction_family_limit {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 53 | (D : CorrectionData period q (Icc (0 : ℝ) T)) (B : StabilityBudget period hT D) |
| 54 | (ν : ℕ → ℝ) (hν : ∀ n, 0 < ν n) (hν1 : ∀ n, ν n ≤ 1) (hνc : CauchySeq ν) |
| 55 | (u : ℕ → C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) (M : ℝ) (huM : ∀ n, ‖u n‖ ≤ M) |
| 56 | (hu0 : ∀ n, u n ⟨0,le_rfl,hT⟩=0) |
| 57 | (hu : ∀ n t, u n t = quadraticDuhamel period (ν n) (hν n) hT le_rfl (D.coefficients period hq) 0 (u n) t) |
| 58 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 59 | (hud : ∀ n t, value period (u n t) ∈ divergenceFreeSpace period D.κ D.direction) : |
| 60 | ∃ e : C(Icc (0 : ℝ) T,SobolevSpace period q), |
| 61 | Filter.Tendsto (fun n => (truncateOperator period q).compLeftContinuous ℝ (Icc (0 : ℝ) T) (u n)) |
| 62 | Filter.atTop (𝓝 e) ∧ |
| 63 | e ⟨0,le_rfl,hT⟩=0 ∧ (∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) ∧ ‖e‖ ≤ M := by |
| 64 | have hCauchy := correction_family_cauchy period hq T hT D B ν hν hν1 hνc u M huM hu hz hud |
| 65 | have h := exists_limit_with_constraints period (Nat.lt_succ_self q) T hT D.κ D.direction u M huM hu0 hud hCauchy |
| 66 | simpa only [restrict_eq_truncate period q] using h |
| 67 | |
| 68 | end EulerCorrectionFamilyCompactness |