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.SobolevTransportCommutator |
| 2 | import Euler.SobolevMetricTransport |
| 3 | |
| 4 | /-! Genuine transport as a bounded bilinear map from Sobolev velocity and an H¹ transported field into L². -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerTransportL2Bilinear |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerMetricTransport EulerTransportDerivatives EulerSobolevL2Product EulerSobolevTransport |
| 12 | EulerFunctionalVelocity EulerH6Nonlinear EulerSobolevMetricTransport |
| 13 | open scoped ContDiff ENNReal Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The actual product of a bounded Sobolev velocity with the genuine first derivatives of an H¹ field. -/ |
| 18 | def transportL2Bilinear {q : ℕ} (hq : 3 ≤ q) (L : Fin 4 → Vector3 →L[ℝ] ℝ) : |
| 19 | SobolevSpace period q →L[ℝ] SobolevSpace period 1 →L[ℝ] LiftL2 period := |
| 20 | ∑ i : Fin 4, (scalarProductBilinear period hq (L i)).bilinearComp |
| 21 | (ContinuousLinearMap.id ℝ (SobolevSpace period q)) ((valueOperator period 0).comp (derivativeOperator period 0 i)) |
| 22 | |
| 23 | /-- Transport is the sum of its four literal scalar-times-derivative L² products. -/ |
| 24 | theorem transportL2Bilinear_apply {q : ℕ} (hq : 3 ≤ q) (L : Fin 4 → Vector3 →L[ℝ] ℝ) |
| 25 | (u : SobolevSpace period q) (e : SobolevSpace period 1) : |
| 26 | transportL2Bilinear period hq L u e = ∑ i : Fin 4, |
| 27 | scalarProduct period hq (L i) u (value period (derivativeOperator period 0 i e)) := by |
| 28 | simp only [transportL2Bilinear, sum_apply, ContinuousLinearMap.bilinearComp_apply, |
| 29 | ContinuousLinearMap.id_apply, ContinuousLinearMap.comp_apply, scalarProductBilinear_apply] |
| 30 | rfl |
| 31 | |
| 32 | /-- On the actual lifted velocity coefficients, this is exactly the operator used in metric transport cancellation. -/ |
| 33 | theorem transportL2Bilinear_eq_metric {q : ℕ} (hq : 3 ≤ q) (κ : ℝ) (m : Vector3) |
| 34 | (u : SobolevSpace period q) (e : SobolevSpace period 1) : |
| 35 | transportL2Bilinear period hq (velocityComponents κ m) u e = transportOperator period hq κ m u e := by |
| 36 | rw [transportL2Bilinear_apply, transportOperator_apply] |
| 37 | |
| 38 | /-- The bilinear L² transport agrees almost everywhere with the actual classical directional transport. -/ |
| 39 | theorem transportL2Bilinear_ae {q : ℕ} (hq : 3 ≤ q) (L : Fin 4 → Vector3 →L[ℝ] ℝ) |
| 40 | (u : SobolevSpace period q) (e : SobolevSpace period 1) (f g : LiftDomain period → Vector3) |
| 41 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 42 | (he : (value period e : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 43 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 44 | (transportL2Bilinear period hq L u e : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 45 | transportField period 3 (velocityMap L ∘ f) g := by |
| 46 | rw [transportL2Bilinear_apply] |
| 47 | have hi (i : Fin 4) : |
| 48 | (scalarProduct period hq (L i) u (value period (derivativeOperator period 0 i e)) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 49 | (fun x => L i (f x) • fieldDerivative period (standardDirection i) g x) := by |
| 50 | have hd := EulerStrongSmoothJet.translation_derivative_ae period (standardDirection i) |
| 51 | (value period e) (value period (derivativeOperator period 0 i e)) g he hg |
| 52 | (derivativeOperator_hasDerivAt period i e) |
| 53 | filter_upwards [scalarProduct_ae period hq (L i) u (value period (derivativeOperator period 0 i e)), hu, hd] |
| 54 | with x hx hux hdx |
| 55 | exact hx.trans (by rw [hux,hdx]) |
| 56 | filter_upwards [Lp.coeFn_finsetSum Finset.univ (fun i : Fin 4 => |
| 57 | scalarProduct period hq (L i) u (value period (derivativeOperator period 0 i e))), ae_all_iff.mpr hi] |
| 58 | with x hx hall |
| 59 | simp only [Finset.sum_apply] at hx |
| 60 | change _ = ∑ i : Fin 4, L i (f x) • fieldDerivative period (standardDirection i) g x |
| 61 | exact hx.trans (Finset.sum_congr rfl (fun i _ => hall i)) |
| 62 | |
| 63 | end EulerTransportL2Bilinear |