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.LiftedTransportComponents |
| 2 | import Euler.CylinderSobolevDensity |
| 3 | |
| 4 | /-! Genuine metric transport energy on finite Sobolev fields, obtained by smooth convolution limits. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevMetricTransport |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerMetricTransport |
| 11 | EulerSpatialSobolevInverse EulerCylinderSobolev EulerCylinderSobolevSpace EulerSobolevL2Product |
| 12 | EulerSobolevTransport EulerMollifierRepresentative EulerCylinderGradient |
| 13 | open scoped Topology ContDiff ENNReal NNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- Actual lifted transport is a bounded map H¹→L² for each fixed Hq velocity, q≥3. -/ |
| 18 | def transportOperator {q : ℕ} (hq : 3 ≤ q) (κ : ℝ) (m : Vector3) |
| 19 | (z : SobolevSpace period q) : SobolevSpace period 1 →L[ℝ] LiftL2 period := |
| 20 | ∑ i : Fin 4, (scalarProductBilinear period hq (velocityComponents κ m i) z).comp |
| 21 | ((valueOperator period 0).comp (derivativeOperator period 0 i)) |
| 22 | |
| 23 | /-- The Sobolev transport operator is the literal sum of coefficient-times-coordinate-derivative products. -/ |
| 24 | theorem transportOperator_apply {q : ℕ} (hq : 3 ≤ q) (κ : ℝ) (m : Vector3) |
| 25 | (z : SobolevSpace period q) (e : SobolevSpace period 1) : |
| 26 | transportOperator period hq κ m z e = ∑ i : Fin 4, |
| 27 | scalarProduct period hq (velocityComponents κ m i) z |
| 28 | (value period (derivativeOperator period 0 i e)) := by |
| 29 | simp only [transportOperator, sum_apply, ContinuousLinearMap.comp_apply, scalarProductBilinear_apply] |
| 30 | rfl |
| 31 | |
| 32 | /-- A smooth representative of an actual H¹ class has its full classical gradient in L². -/ |
| 33 | theorem representative_fderiv_memLp (e : SobolevSpace period 1) |
| 34 | (g : LiftDomain period → Vector3) |
| 35 | (he : (value period e : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 36 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 37 | MemLp (fun x => fderiv ℝ (localFieldLift period g x) 0) 2 (liftMeasure period) := by |
| 38 | apply fieldFDeriv_memLp_of_coordinates period g hg |
| 39 | intro i |
| 40 | exact (Lp.memLp _).ae_eq (EulerStrongSmoothJet.translation_derivative_ae period (standardDirection i) |
| 41 | (value period e) (value period (derivativeOperator period 0 i e)) g he hg |
| 42 | (derivativeOperator_hasDerivAt period i e)) |
| 43 | |
| 44 | /-- On any actual smooth representative, Sobolev transport equals the genuine classical lifted differential expression. -/ |
| 45 | theorem transportOperator_eq_representative {q : ℕ} (hq : 3 ≤ q) (κ : ℝ) (m : Vector3) |
| 46 | (z : SobolevSpace period q) (e : SobolevSpace period 1) (g : LiftDomain period → Vector3) |
| 47 | (he : (value period e : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 48 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 49 | (hDg : MemLp (fun x => fderiv ℝ (localFieldLift period g x) 0) 2 (liftMeasure period)) |
| 50 | (B : ℝ≥0) (hzB : ∀ᵐ x ∂liftMeasure period, ‖value period z x‖ ≤ B) : |
| 51 | transportOperator period hq κ m z e = |
| 52 | EulerRepresentativeMetricEvolution.liftedTransport period κ m g (value period z) hDg B hzB := by |
| 53 | rw [transportOperator_apply] |
| 54 | apply Lp.ext |
| 55 | have hd (i : Fin 4) := EulerStrongSmoothJet.translation_derivative_ae period (standardDirection i) |
| 56 | (value period e) (value period (derivativeOperator period 0 i e)) g he hg |
| 57 | (derivativeOperator_hasDerivAt period i e) |
| 58 | filter_upwards [Lp.coeFn_finsetSum Finset.univ (fun i : Fin 4 => |
| 59 | scalarProduct period hq (velocityComponents κ m i) z (value period (derivativeOperator period 0 i e))), |
| 60 | ae_all_iff.mpr (fun i => scalarProduct_ae period hq (velocityComponents κ m i) z |
| 61 | (value period (derivativeOperator period 0 i e))), ae_all_iff.mpr hd, |
| 62 | EulerRepresentativeMetricEvolution.liftedTransport_ae period κ m g (value period z) hDg B hzB] |
| 63 | with x hsum hprod hder htrans |
| 64 | simp only [Finset.sum_apply] at hsum |
| 65 | rw [hsum, htrans, ← velocityComponents_direction κ m (value period z x), map_sum] |
| 66 | apply Finset.sum_congr rfl |
| 67 | intro i _ |
| 68 | rw [hprod i, hder i, map_smul] |
| 69 | rfl |
| 70 | |
| 71 | /-- Metric transport cancellation extends from actual smooth convolutions to every H¹ field. -/ |
| 72 | theorem metric_transport_bound {q : ℕ} (hq : 3 ≤ q) (κ : ℝ) (m : Vector3) |
| 73 | (K : SmoothCoefficient period) (z : SobolevSpace period q) (e : SobolevSpace period 1) |
| 74 | (hsym : ∀ x v w, ⟪K.coefficient x v, w⟫_ℝ = ⟪v, K.coefficient x w⟫_ℝ) |
| 75 | (hz : value period z ∈ divergenceFreeSpace period κ m) |
| 76 | (B : ℝ≥0) (hzB : ∀ᵐ x ∂liftMeasure period, ‖value period z x‖ ≤ B) : |
| 77 | |⟪K.operator (value period e), transportOperator period hq κ m z e⟫_ℝ| ≤ |
| 78 | (1 / 2 : ℝ) * K.firstBound * ((|κ| + ‖m‖) * B) * ‖value period e‖ ^ 2 := by |
| 79 | let E := fun n => sobolevMollifier period 1 n e |
| 80 | let g := fun n => smoothMollifier period n (value period e) |
| 81 | have hE := sobolevMollifier_tendsto period e |
| 82 | have hEv := (valueOperator period 1).continuous.continuousAt.tendsto.comp hE |
| 83 | have hT := (transportOperator period hq κ m z).continuous.continuousAt.tendsto.comp hE |
| 84 | have hK := K.operator.continuous.continuousAt.tendsto.comp hEv |
| 85 | have hleft := (hK.inner (𝕜 := ℝ) hT).abs |
| 86 | have hright := (hEv.norm.pow 2).const_mul |
| 87 | ((1 / 2 : ℝ) * K.firstBound * ((|κ| + ‖m‖) * B)) |
| 88 | apply le_of_tendsto_of_tendsto hleft hright |
| 89 | apply Filter.Eventually.of_forall |
| 90 | intro n |
| 91 | have hrep := sobolevMollifier_representative period n e |
| 92 | have hg := smoothMollifier_smooth period n (value period e) |
| 93 | have hDg := representative_fderiv_memLp period (E n) (g n) hrep hg |
| 94 | have heq := transportOperator_eq_representative period hq κ m z (E n) (g n) hrep hg hDg B hzB |
| 95 | change |⟪K.operator (value period (E n)), transportOperator period hq κ m z (E n)⟫_ℝ| ≤ _ |
| 96 | rw [heq] |
| 97 | exact EulerRepresentativeMetricEvolution.metric_transport_inner_bound period κ m K.coefficient K.measurable |
| 98 | (value period (E n)) (g n) (value period z) hrep K.smooth hg hDg hsym hz |
| 99 | K.bound K.firstBound B K.norm_bound K.norm_first hzB |
| 100 | |
| 101 | end EulerSobolevMetricTransport |