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.CylinderPathBilinear |
| 2 | import Euler.CylinderPathDerivativeProduct |
| 3 | import Euler.CylinderTimeGradient |
| 4 | import Euler.ParameterSobolevFiniteSum |
| 5 | |
| 6 | /-! Literal spatial advection of smooth continuous cylinder paths, with unchanged word radius. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerCylinderPathProduct |
| 11 | |
| 12 | open Set MeasureTheory ContinuousLinearMap Finset EulerSmoothLimit EulerLiftedGradientSpace |
| 13 | EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerCylinderSobolev |
| 14 | EulerParameterWordGevrey EulerGevrey EulerMetricTransport EulerLiftedWeakDerivative |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | theorem sum_spatial_components (u : Space) : |
| 18 | (∑ i : Fin 3, component i u • standardDirection i.succ) = (u,0) := by |
| 19 | have h := congrArg (ContinuousLinearMap.inl ℝ Space ℝ) (sum_components u) |
| 20 | simpa only [map_sum, map_smul, standardDirection_succ, basisVector, inl_apply] using h |
| 21 | |
| 22 | theorem spatial_advection_components (D : LiftTangent →L[ℝ] Space) (u : Space) : |
| 23 | (∑ i : Fin 3, component i u • D (standardDirection i.succ)) = D (u,0) := by |
| 24 | simpa only [map_sum, map_smul] using congrArg D (sum_spatial_components u) |
| 25 | |
| 26 | variable (P : ℝ) [Fact (0 < P)] {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 27 | (p q : C(K,LiftL2 P)) |
| 28 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 29 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 30 | |
| 31 | /-- The actual path representing p·∇q, where the derivative is spatial and the angle is retained. -/ |
| 32 | def advectionPath : C(K,LiftL2 P) := |
| 33 | ∑ i : Fin 3, scalarDerivativeProductPath P (component i) (component_norm i) p q hp hq i.succ |
| 34 | |
| 35 | theorem advectionPath_orbit : |
| 36 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (advectionPath P p q hp hq)) := by |
| 37 | simp only [advectionPath, map_sum] |
| 38 | exact ContDiff.sum (fun i _ => |
| 39 | scalarDerivativeProductPath_orbit P (component i) (component_norm i) p q hp hq i.succ) |
| 40 | |
| 41 | theorem advectionPath_ae (t : K) : |
| 42 | (advectionPath P p q hp hq t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 43 | fun x => fieldFDeriv P (pointField P q hq t) x (pointField P p hp t x,0) := by |
| 44 | let r := fun i : Fin 3 => |
| 45 | scalarDerivativeProductPath P (component i) (component_norm i) p q hp hq i.succ |
| 46 | have ht (i : Fin 3) : (r i t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 47 | fun x => component i (pointField P p hp t x) • |
| 48 | fieldFDeriv P (pointField P q hq t) x (standardDirection i.succ) := by |
| 49 | filter_upwards [pointField_ae P (r i) |
| 50 | (scalarDerivativeProductPath_orbit P (component i) (component_norm i) p q hp hq i.succ) t] |
| 51 | with x hx |
| 52 | exact hx.trans (pointField_scalarDerivativeProductPath P (component i) (component_norm i) |
| 53 | p q hp hq i.succ t x) |
| 54 | have hall := Filter.eventually_all.mpr ht |
| 55 | have hs := Lp.coeFn_fun_finsetSum (univ : Finset (Fin 3)) (fun i => r i t) |
| 56 | filter_upwards [hs,hall] with x hs hx |
| 57 | change (∑ i : Fin 3, r i t) x = _ |
| 58 | rw [hs] |
| 59 | exact (sum_congr rfl (fun i _ => hx i)).trans |
| 60 | (spatial_advection_components _ (pointField P p hp t x)) |
| 61 | |
| 62 | theorem pointField_advectionPath (t : K) (x : LiftDomain P) : |
| 63 | pointField P (advectionPath P p q hp hq) (advectionPath_orbit P p q hp hq) t x = |
| 64 | fieldFDeriv P (pointField P q hq t) x (pointField P p hp t x,0) := by |
| 65 | have hD := (pointField_fderiv_joint_continuous P q hq).comp |
| 66 | ((continuous_const : Continuous (fun _ : LiftDomain P => t)).prodMk continuous_id) |
| 67 | have he := Measure.eq_of_ae_eq |
| 68 | ((pointField_ae P _ (advectionPath_orbit P p q hp hq) t).symm.trans |
| 69 | (advectionPath_ae P p q hp hq t)) |
| 70 | (smoothField_continuous P _ (pointField_smooth P _ _ t)) |
| 71 | (hD.clm_apply ((smoothField_continuous P _ (pointField_smooth P p hp t)).prodMk continuous_const)) |
| 72 | exact congrFun he x |
| 73 | |
| 74 | /-- Actual H6 word blocks for spatial advection consume just one derivative shift. -/ |
| 75 | theorem advectionPath_majorant (R A C : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hC : 0 ≤ C) |
| 76 | (d e : ℕ) (a : LiftTangent) |
| 77 | (hb : ∀ n, block standardDirection 6 (fun b : LiftTangent => pathTranslate P b p) n a ≤ |
| 78 | A*majorant R d n) |
| 79 | (hc : ∀ n, block standardDirection 6 (fun b : LiftTangent => pathTranslate P b q) n a ≤ |
| 80 | C*majorant R e n) (n : ℕ) : |
| 81 | block standardDirection 6 (fun b : LiftTangent => pathTranslate P b (advectionPath P p q hp hq)) n a ≤ |
| 82 | (9*productBlockConstant P*A*C)*majorant R (d+e+1) n := by |
| 83 | let f := fun i : Fin 3 => fun b : LiftTangent => pathTranslate P b |
| 84 | (scalarDerivativeProductPath P (component i) (component_norm i) p q hp hq i.succ) |
| 85 | have he : (fun b : LiftTangent => pathTranslate P b (advectionPath P p q hp hq)) = |
| 86 | ∑ i : Fin 3, f i := by |
| 87 | funext b |
| 88 | simp only [advectionPath, map_sum, f, Finset.sum_apply] |
| 89 | rw [he] |
| 90 | have h := block_finset_sum_le standardDirection 6 univ f |
| 91 | (fun i _ => scalarDerivativeProductPath_orbit P (component i) (component_norm i) p q hp hq i.succ) n a |
| 92 | exact h.trans ((sum_le_sum (fun i _ => scalarDerivativeProductPath_majorant P |
| 93 | (component i) (component_norm i) p q hp hq i.succ R A C hR hA hC d e a hb hc n)).trans_eq |
| 94 | (by simp only [sum_const, card_univ, Fintype.card_fin, nsmul_eq_mul, Nat.cast_ofNat]; ring)) |
| 95 | |
| 96 | end EulerCylinderPathProduct |