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.CylinderPathProduct |
| 2 | import Euler.CylinderConstantMap |
| 3 | |
| 4 | /-! Literal bounded bilinear nonlinearities preserve smooth continuous cylinder L² paths. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderPathProduct |
| 9 | |
| 10 | open Set MeasureTheory ContinuousLinearMap Finset EulerSmoothLimit EulerLiftedGradientSpace |
| 11 | EulerCylinderSobolevSpace EulerCylinderSmoothOrbit EulerLpCylinderTranslation |
| 12 | EulerCylinderConstantMap EulerMetricTransport |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | def component (i : Fin 3) : Space →L[ℝ] ℝ := EuclideanSpace.proj i |
| 16 | |
| 17 | theorem component_norm (i : Fin 3) : ‖component i‖ ≤ 1 := by |
| 18 | apply opNorm_le_bound _ zero_le_one |
| 19 | intro u |
| 20 | change ‖u i‖ ≤ (1 : ℝ)*‖u‖ |
| 21 | simpa only [one_mul] using PiLp.norm_apply_le u i |
| 22 | |
| 23 | def basisVector (i : Fin 3) : Space := EuclideanSpace.single i 1 |
| 24 | |
| 25 | theorem sum_components (u : Space) : (∑ i : Fin 3, component i u • basisVector i) = u := by |
| 26 | ext i |
| 27 | simp [component, basisVector, Pi.single_apply, mul_ite] |
| 28 | |
| 29 | theorem bilinear_components (B : Space →L[ℝ] Space →L[ℝ] Space) (u v : Space) : |
| 30 | (∑ i : Fin 3, B (basisVector i) (component i u • v)) = B u v := by |
| 31 | have h := congrArg (fun z : Space => B z v) (sum_components u) |
| 32 | simpa only [map_sum, _root_.sum_apply, map_smul, smul_apply] using h |
| 33 | |
| 34 | variable (P : ℝ) [Fact (0 < P)] {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 35 | (B : Space →L[ℝ] Space →L[ℝ] Space) (p q : C(K,LiftL2 P)) |
| 36 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 37 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 38 | |
| 39 | def bilinearTerm (i : Fin 3) : C(K,LiftL2 P) := |
| 40 | pathMap P (B (basisVector i)) |
| 41 | (scalarProductPath P (component i) (component_norm i) p q hp hq) |
| 42 | |
| 43 | theorem bilinearTerm_orbit (i : Fin 3) : |
| 44 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (bilinearTerm P B p q hp hq i)) := |
| 45 | pathMap_orbit_contDiff P (B (basisVector i)) _ |
| 46 | (scalarProductPath_orbit P (component i) (component_norm i) p q hp hq) |
| 47 | |
| 48 | /-- An arbitrary fixed bilinear vector operation on the actual L² paths. -/ |
| 49 | def bilinearProductPath : C(K,LiftL2 P) := ∑ i : Fin 3, bilinearTerm P B p q hp hq i |
| 50 | |
| 51 | theorem bilinearProductPath_orbit : |
| 52 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (bilinearProductPath P B p q hp hq)) := by |
| 53 | simp only [bilinearProductPath, map_sum] |
| 54 | exact ContDiff.sum (fun i _ => bilinearTerm_orbit P B p q hp hq i) |
| 55 | |
| 56 | theorem bilinearTerm_ae (i : Fin 3) (t : K) : |
| 57 | (bilinearTerm P B p q hp hq i t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 58 | fun x => B (basisVector i) (component i (pointField P p hp t x) • pointField P q hq t x) := by |
| 59 | filter_upwards [map_ae P (B (basisVector i)) |
| 60 | (scalarProductPath P (component i) (component_norm i) p q hp hq t), |
| 61 | scalarProductPath_ae P (component i) (component_norm i) p q hp hq t] with x hm hp |
| 62 | exact hm.trans (congrArg (B (basisVector i)) hp) |
| 63 | |
| 64 | theorem bilinearProductPath_ae (t : K) : |
| 65 | (bilinearProductPath P B p q hp hq t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 66 | fun x => B (pointField P p hp t x) (pointField P q hq t x) := by |
| 67 | have ht : ∀ᶠ x in ae (liftMeasure P), ∀ i : Fin 3, |
| 68 | bilinearTerm P B p q hp hq i t x = |
| 69 | B (basisVector i) (component i (pointField P p hp t x) • pointField P q hq t x) := |
| 70 | Filter.eventually_all.mpr (fun i => bilinearTerm_ae P B p q hp hq i t) |
| 71 | have hs := Lp.coeFn_fun_finsetSum (univ : Finset (Fin 3)) |
| 72 | (fun i => bilinearTerm P B p q hp hq i t) |
| 73 | filter_upwards [hs,ht] with x hs ht |
| 74 | change (∑ i : Fin 3, bilinearTerm P B p q hp hq i t) x = _ |
| 75 | rw [hs] |
| 76 | exact (sum_congr rfl (fun i _ => ht i)).trans |
| 77 | (bilinear_components B (pointField P p hp t x) (pointField P q hq t x)) |
| 78 | |
| 79 | /-- The reconstructed field agrees everywhere with the literal nonlinearity. -/ |
| 80 | theorem pointField_bilinearProductPath (t : K) (x : LiftDomain P) : |
| 81 | pointField P (bilinearProductPath P B p q hp hq) |
| 82 | (bilinearProductPath_orbit P B p q hp hq) t x = |
| 83 | B (pointField P p hp t x) (pointField P q hq t x) := by |
| 84 | have he := Measure.eq_of_ae_eq |
| 85 | ((pointField_ae P _ (bilinearProductPath_orbit P B p q hp hq) t).symm.trans |
| 86 | (bilinearProductPath_ae P B p q hp hq t)) |
| 87 | (smoothField_continuous P _ (pointField_smooth P _ _ t)) |
| 88 | ((B.continuous.comp (smoothField_continuous P _ (pointField_smooth P p hp t))).clm_apply |
| 89 | (smoothField_continuous P _ (pointField_smooth P q hq t))) |
| 90 | exact congrFun he x |
| 91 | |
| 92 | end EulerCylinderPathProduct |