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.SobolevSmoothApproximation |
| 2 | import Euler.SobolevSmoothProduct |
| 3 | |
| 4 | /-! Positive-time Gaussian heat has every actual Sobolev derivative, enabling genuine H∞ approximations. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevHeat |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerGaussianCylinderHeat |
| 11 | EulerSpatialSobolevInverse EulerCylinderSobolev EulerCylinderMollifier EulerMollifierRepresentative |
| 12 | EulerMetricTransport EulerStrongSmoothJet EulerNoncompactTransport |
| 13 | open scoped Topology ContDiff NNReal |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- Positive-time actual cylinder heat belongs to every finite Sobolev space, for every L² datum. -/ |
| 18 | theorem cylinderHeat_all_orders (q : ℕ) (v : ℝ≥0) (hv : 0 < v) (f : LiftL2 period) : |
| 19 | ∃ u : SobolevSpace period q, value period u = cylinderHeat period v f := by |
| 20 | induction q generalizing v with |
| 21 | | zero => exact ⟨ofJet period (SpatialJet.zero (cylinderHeat period v f)), value_ofJet period _⟩ |
| 22 | | succ q ih => |
| 23 | have hh : 0 < v/2 := div_pos hv (by norm_num) |
| 24 | obtain ⟨u, hu⟩ := ih (v/2) hh |
| 25 | refine ⟨heatGain period q (v/2) hh u, ?_⟩ |
| 26 | rw [heatGain_value, hu, cylinderHeat_semigroup, add_halves] |
| 27 | |
| 28 | /-- Mollified positive-time heat has an actual smooth representative whose derivatives of every order are in L². -/ |
| 29 | theorem mollified_heat_all_memLp (n : ℕ) (v : ℝ≥0) (hv : 0 < v) (f : LiftL2 period) : |
| 30 | ∀ j, ∀ w : Fin j → Fin 4, |
| 31 | MemLp (iteratedFieldDerivative period w (smoothMollifier period n (cylinderHeat period v f))) 2 (liftMeasure period) := by |
| 32 | intro j w |
| 33 | obtain ⟨u, hu⟩ := cylinderHeat_all_orders period j v hv f |
| 34 | have h := sobolevMollifier_word_ae period (le_refl j) n u w |
| 35 | rw [hu] at h |
| 36 | exact (Lp.memLp _).ae_eq h |
| 37 | |
| 38 | /-- The earlier contractive high-regularity approximations are in fact genuine smooth H∞ fields. -/ |
| 39 | theorem smoothApprox_representative_all {q : ℕ} (n : ℕ) (u : SobolevSpace period q) : |
| 40 | ∃ f : LiftDomain period → Vector3, |
| 41 | (value period (smoothApprox period q n u) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f ∧ |
| 42 | (∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) ∧ |
| 43 | ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period) := by |
| 44 | let v := smoothingVariance n+(smoothingVariance n+smoothingVariance n) |
| 45 | have hv : 0 < v := add_pos_of_pos_of_nonneg (smoothingVariance_pos n) bot_le |
| 46 | let f := smoothMollifier period n (cylinderHeat period v (value period u)) |
| 47 | refine ⟨f, ?_, smoothMollifier_smooth period n _, mollified_heat_all_memLp period n v hv (value period u)⟩ |
| 48 | have h := sobolevMollifier_representative period n |
| 49 | (heatGainThree period q (smoothingVariance n) (smoothingVariance_pos n) u) |
| 50 | rw [heatGainThree_value] at h |
| 51 | exact h |
| 52 | |
| 53 | end EulerSobolevHeat |