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.LowerTransportSource |
| 3 | |
| 4 | /-! The fixed-base transport commutator estimate with only H⁶ velocity norms. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerBaseTransportL2 |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolev EulerMetricTransport EulerTransportDerivatives |
| 11 | EulerH6Nonlinear EulerVectorCylinder EulerBaseTransportCommutator EulerExternalTransportCommutator |
| 12 | EulerFunctionalVelocity EulerMixedH5Product |
| 13 | open scoped ContDiff ENNReal Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The base transport constant depends only on the fixed Sobolev index and cylinder period. -/ |
| 18 | def baseTransportConstant : ℝ := (4*63*5460*1365 : ℝ)*mixedConstant period |
| 19 | |
| 20 | theorem baseTransportConstant_nonneg : 0 ≤ baseTransportConstant period := |
| 21 | mul_nonneg (by norm_num) (mixedConstant_nonneg period) |
| 22 | |
| 23 | /-- The gradient H⁵ sum is controlled by the actual H⁶ norm with a fixed combinatorial factor. -/ |
| 24 | theorem gradientFive_le_six {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 25 | (f : LiftDomain period → F) : gradientFiveNorm period f ≤ 5460*liftSobolevNorm period 6 f := by |
| 26 | have h := Finset.sum_le_sum (s := (Finset.univ : Finset (Fin 4))) (fun i _ => derivative_H5_le_H6 period i f) |
| 27 | exact h.trans_eq (by simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]; ring) |
| 28 | |
| 29 | /-- Summing actual L² fields respects the sum of their finite L² norms. -/ |
| 30 | theorem fieldL2_sum_le {ι F : Type*} [NormedAddCommGroup F] (S : Finset ι) |
| 31 | (f : ι → LiftDomain period → F) (hf : ∀ i ∈ S, MemLp (f i) 2 (liftMeasure period)) : |
| 32 | (eLpNorm (∑ i ∈ S, f i) 2 (liftMeasure period)).toReal ≤ |
| 33 | ∑ i ∈ S, (eLpNorm (f i) 2 (liftMeasure period)).toReal := by |
| 34 | have he := eLpNorm_sum_le (fun i hi => (hf i hi).aestronglyMeasurable) (by norm_num : (1 : ℝ≥0∞) ≤ 2) |
| 35 | have hfin : (∑ i ∈ S, eLpNorm (f i) 2 (liftMeasure period)) ≠ ⊤ := |
| 36 | ENNReal.sum_ne_top.mpr (fun i hi => (hf i hi).eLpNorm_ne_top) |
| 37 | have h := ENNReal.toReal_mono hfin he |
| 38 | rw [ENNReal.toReal_sum (fun i hi => (hf i hi).eLpNorm_ne_top)] at h |
| 39 | exact h |
| 40 | |
| 41 | /-- The literal transport commutator through six base derivatives is in L² and bounded using only the two H⁶ norms. -/ |
| 42 | theorem transport_base_L2 {n : ℕ} (hn : n ≤ 6) (w : Fin n → Fin 4) |
| 43 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 44 | (f g : LiftDomain period → Vector3) |
| 45 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 46 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 47 | (hfL : ∀ j, ∀ a : Fin j → Fin 4, MemLp (iteratedFieldDerivative period a f) 2 (liftMeasure period)) |
| 48 | (hgL : ∀ j, ∀ a : Fin j → Fin 4, MemLp (iteratedFieldDerivative period a g) 2 (liftMeasure period)) : |
| 49 | MemLp (transportCommutator period w (velocityMap L ∘ f) g) 2 (liftMeasure period) ∧ |
| 50 | (eLpNorm (transportCommutator period w (velocityMap L ∘ f) g) 2 (liftMeasure period)).toReal ≤ |
| 51 | baseTransportConstant period * liftSobolevNorm period 6 f * liftSobolevNorm period 6 g := by |
| 52 | let h := fun i : Fin 4 => scalarCommutator period w (L i ∘ f) (fieldDerivative period (standardDirection i) g) |
| 53 | have hs (i : Fin 4) := scalarCommutator_bound period hn w (L i ∘ f) (fieldDerivative period (standardDirection i) g) |
| 54 | (postcomp_smooth period (L i) f hf) (fieldDerivative_smooth period _ g hg) |
| 55 | (fun j hj a => postcomp_word_memLp period hj (L i) f hf (fun r _ b => hfL r b) a) |
| 56 | (fun j _ a => derivative_all_memLp period g hgL i j a) |
| 57 | have hgrad (i : Fin 4) : gradientFiveNorm period (L i ∘ f) ≤ 5460*liftSobolevNorm period 6 f := |
| 58 | (gradientFive_le_six period (L i ∘ f)).trans (mul_le_mul_of_nonneg_left |
| 59 | (postcomp_sobolevNorm_le period 6 (L i) (hL i) f hf (fun j _ a => hfL j a)) (by norm_num)) |
| 60 | have hp : (2 : ℝ)^n-1 ≤ 63 := by |
| 61 | have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hn |
| 62 | norm_num at h |
| 63 | linarith |
| 64 | have hcoef := mul_le_mul_of_nonneg_right hp (mixedConstant_nonneg period) |
| 65 | have hb (i : Fin 4) : (eLpNorm (h i) 2 (liftMeasure period)).toReal ≤ |
| 66 | (63*5460*1365*mixedConstant period)*liftSobolevNorm period 6 f*liftSobolevNorm period 6 g := by |
| 67 | have h1 := mul_le_mul hcoef (hgrad i) (gradientFiveNorm_nonneg period (L i ∘ f)) |
| 68 | (mul_nonneg (by norm_num : (0 : ℝ) ≤ 63) (mixedConstant_nonneg period)) |
| 69 | have h2 := mul_le_mul h1 (derivative_H5_le_H6 period i g) (liftSobolevNorm_nonneg period 5 _) |
| 70 | (mul_nonneg (mul_nonneg (by norm_num) (mixedConstant_nonneg period)) |
| 71 | (mul_nonneg (by norm_num) (liftSobolevNorm_nonneg period 6 f))) |
| 72 | exact (hs i).2.trans (h2.trans_eq (by ring)) |
| 73 | have heq : transportCommutator period w (velocityMap L ∘ f) g = ∑ i : Fin 4, h i := by |
| 74 | rw [transportCommutator_eq_sum period w (velocityMap L ∘ f) g (postcomp_smooth period (velocityMap L) f hf) hg] |
| 75 | rfl |
| 76 | rw [heq] |
| 77 | refine ⟨memLp_finsetSum' Finset.univ (fun i _ => (hs i).1), ?_⟩ |
| 78 | have hsum := Finset.sum_le_sum (s := (Finset.univ : Finset (Fin 4))) (fun i _ => hb i) |
| 79 | exact (fieldL2_sum_le period Finset.univ h (fun i _ => (hs i).1)).trans |
| 80 | (hsum.trans_eq (by simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]; unfold baseTransportConstant; ring)) |
| 81 | |
| 82 | end EulerBaseTransportL2 |