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.GeneralRealCylinderAlgebra |
| 2 | |
| 3 | /-! The additional H⁵ cylinder algebra estimate needed for the base transport commutator. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerH5CylinderAlgebra |
| 8 | |
| 9 | open MeasureTheory EulerSobolev EulerCylinderSobolev EulerCylinderCoordinates |
| 10 | EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives EulerGeneralCylinderAlgebra |
| 11 | open scoped ENNReal NNReal ContDiff Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- In every Leibniz term through order q≥5, one factor has three spare derivatives. -/ |
| 16 | theorem product_tensor_term_le {q n j : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (hj : j ≤ n) |
| 17 | (f g : LiftDomain period → ℂ) |
| 18 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 19 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 20 | (hfL2 : ∀ k ≤ q, ∀ w : Fin k → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) |
| 21 | (hgL2 : ∀ k ≤ q, ∀ w : Fin k → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) |
| 22 | (x : LiftDomain period) : |
| 23 | ‖iteratedFDeriv ℝ j (euclideanLift period f x) 0‖ * |
| 24 | ‖iteratedFDeriv ℝ (n - j) (euclideanLift period g x) 0‖ ≤ |
| 25 | lowDerivativeConstant period q * productEnvelope period q f g x := by |
| 26 | by_cases hjlow : j + 3 ≤ q |
| 27 | · have hA := mul_le_mul (tensor_low_le_Hq period hjlow f hf hfL2 x) |
| 28 | (tensor_le_totalMagnitude period (by omega : n - j ≤ q) g hg x) (norm_nonneg _) |
| 29 | (mul_nonneg (lowDerivativeConstant_nonneg period q) (liftSobolevNorm_nonneg period q f)) |
| 30 | have hB : liftSobolevNorm period q f * totalMagnitude period q g x ≤ productEnvelope period q f g x := |
| 31 | le_add_of_nonneg_right (mul_nonneg (liftSobolevNorm_nonneg period q g) (totalMagnitude_nonneg period q f x)) |
| 32 | rw [mul_assoc] at hA |
| 33 | exact hA.trans (mul_le_mul_of_nonneg_left hB (lowDerivativeConstant_nonneg period q)) |
| 34 | · have hA := mul_le_mul (tensor_le_totalMagnitude period (by omega : j ≤ q) f hf x) |
| 35 | (tensor_low_le_Hq period (by omega : n - j + 3 ≤ q) g hg hgL2 x) (norm_nonneg _) |
| 36 | (totalMagnitude_nonneg period q f x) |
| 37 | have hB : liftSobolevNorm period q g * totalMagnitude period q f x ≤ productEnvelope period q f g x := |
| 38 | le_add_of_nonneg_left (mul_nonneg (liftSobolevNorm_nonneg period q f) (totalMagnitude_nonneg period q g x)) |
| 39 | have hC := mul_le_mul_of_nonneg_left hB (lowDerivativeConstant_nonneg period q) |
| 40 | exact hA.trans ((by ring : _ = lowDerivativeConstant period q * |
| 41 | (liftSobolevNorm period q g * totalMagnitude period q f x)).trans_le hC) |
| 42 | |
| 43 | |
| 44 | /-- Every actual product derivative is bounded pointwise by the low/high Sobolev envelope. -/ |
| 45 | theorem product_word_pointwise_le {q n : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (w : Fin n → Fin 4) |
| 46 | (f g : LiftDomain period → ℂ) |
| 47 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 48 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 49 | (hfL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) |
| 50 | (hgL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) |
| 51 | (x : LiftDomain period) : |
| 52 | ‖iteratedFieldDerivative period w (f * g) x‖ ≤ |
| 53 | (2 : ℝ) ^ q * lowDerivativeConstant period q * productEnvelope period q f g x := by |
| 54 | have he := euclideanLift_iteratedFieldDerivative period w (f * g) |
| 55 | (EulerCylinderAlgebra.product_smooth period f g hf hg) x 0 |
| 56 | rw [euclideanLift_zero] at he |
| 57 | rw [he] |
| 58 | have hA := (iteratedFDeriv ℝ n (euclideanLift period (f * g) x) 0).le_opNorm |
| 59 | (fun j => EuclideanSpace.single (w j) (1 : ℝ)) |
| 60 | simp only [PiLp.norm_single, norm_one, Finset.prod_const_one, mul_one] at hA |
| 61 | have hB := norm_iteratedFDeriv_mul_le (euclideanLift_smooth period f hf x) |
| 62 | (euclideanLift_smooth period g hg x) 0 (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) |
| 63 | have hC : (∑ j ∈ Finset.range (n + 1), (n.choose j : ℝ) * |
| 64 | ‖iteratedFDeriv ℝ j (euclideanLift period f x) 0‖ * |
| 65 | ‖iteratedFDeriv ℝ (n - j) (euclideanLift period g x) 0‖) ≤ |
| 66 | 2 ^ n * (lowDerivativeConstant period q * productEnvelope period q f g x) := by |
| 67 | calc |
| 68 | _ ≤ ∑ j ∈ Finset.range (n + 1), (n.choose j : ℝ) * |
| 69 | (lowDerivativeConstant period q * productEnvelope period q f g x) := by |
| 70 | apply Finset.sum_le_sum |
| 71 | intro j hj |
| 72 | rw [mul_assoc] |
| 73 | exact mul_le_mul_of_nonneg_left (product_tensor_term_le period hq hn |
| 74 | (by simpa using Finset.mem_range.1 hj) f g hf hg hfL2 hgL2 x) (Nat.cast_nonneg _) |
| 75 | _ = _ := by |
| 76 | rw [← Finset.sum_mul] |
| 77 | congr 1 |
| 78 | exact_mod_cast Nat.sum_range_choose n |
| 79 | have hp : (2 : ℝ) ^ n ≤ 2 ^ q := pow_le_pow_right₀ (by norm_num) hn |
| 80 | have hD := mul_le_mul_of_nonneg_right hp (mul_nonneg |
| 81 | (lowDerivativeConstant_nonneg period q) (productEnvelope_nonneg period q f g x)) |
| 82 | exact hA.trans (hB.trans (hC.trans (hD.trans_eq (mul_assoc _ _ _).symm))) |
| 83 | |
| 84 | |
| 85 | /-- Every derivative word through order q of the actual product belongs to L². -/ |
| 86 | theorem product_word_memLp {q n : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (w : Fin n → Fin 4) |
| 87 | (f g : LiftDomain period → ℂ) |
| 88 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 89 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 90 | (hfL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) |
| 91 | (hgL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : |
| 92 | MemLp (iteratedFieldDerivative period w (f * g)) 2 (liftMeasure period) := by |
| 93 | apply (productEnvelope_memLp period q f g hfL2 hgL2).of_le_mul |
| 94 | ((smoothField_continuous period _ (iteratedFieldDerivative_smooth period w (f * g) |
| 95 | (EulerCylinderAlgebra.product_smooth period f g hf hg))).aestronglyMeasurable) |
| 96 | filter_upwards [] with x |
| 97 | rw [Real.norm_of_nonneg (productEnvelope_nonneg period q f g x)] |
| 98 | exact product_word_pointwise_le period hq hn w f g hf hg hfL2 hgL2 x |
| 99 | |
| 100 | |
| 101 | /-- Every product derivative has an explicit L² bound by the product of fixed-order Sobolev norms. -/ |
| 102 | theorem product_word_L2_le {q n : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (w : Fin n → Fin 4) |
| 103 | (f g : LiftDomain period → ℂ) |
| 104 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 105 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 106 | (hfL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) |
| 107 | (hgL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : |
| 108 | (eLpNorm (iteratedFieldDerivative period w (f * g)) 2 (liftMeasure period)).toReal ≤ |
| 109 | ((2 : ℝ) ^ q * lowDerivativeConstant period q * 2) * |
| 110 | liftSobolevNorm period q f * liftSobolevNorm period q g := by |
| 111 | have henv := productEnvelope_memLp period q f g hfL2 hgL2 |
| 112 | have hA := eLpNorm_le_mul_eLpNorm_of_ae_le_mul (μ := liftMeasure period) |
| 113 | (Filter.Eventually.of_forall (fun x => show ‖iteratedFieldDerivative period w (f * g) x‖ ≤ |
| 114 | ((2 : ℝ) ^ q * lowDerivativeConstant period q) * ‖productEnvelope period q f g x‖ by |
| 115 | rw [Real.norm_of_nonneg (productEnvelope_nonneg period q f g x)] |
| 116 | exact product_word_pointwise_le period hq hn w f g hf hg hfL2 hgL2 x)) (2 : ℝ≥0∞) |
| 117 | have hc : 0 ≤ (2 : ℝ) ^ q * lowDerivativeConstant period q := |
| 118 | mul_nonneg (pow_nonneg (by norm_num) _) (lowDerivativeConstant_nonneg period q) |
| 119 | have hfin : ENNReal.ofReal ((2 : ℝ) ^ q * lowDerivativeConstant period q) * |
| 120 | eLpNorm (productEnvelope period q f g) 2 (liftMeasure period) ≠ ⊤ := by finiteness |
| 121 | have hB := ENNReal.toReal_mono hfin hA |
| 122 | simp only [ENNReal.toReal_mul, ENNReal.toReal_ofReal hc] at hB |
| 123 | have hC := mul_le_mul_of_nonneg_left (productEnvelope_L2_le period q f g hfL2 hgL2) hc |
| 124 | rw [Lp.norm_toLp] at hC |
| 125 | exact hB.trans (hC.trans_eq (by ring)) |
| 126 | |
| 127 | |
| 128 | /-- The genuine complex cylinder Sobolev algebra estimate at every integer order q≥5. -/ |
| 129 | theorem cylinder_Hq_algebra {q : ℕ} (hq : 5 ≤ q) (f g : LiftDomain period → ℂ) |
| 130 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 131 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 132 | (hfL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) |
| 133 | (hgL2 : ∀ k ≤ q, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : |
| 134 | liftSobolevNorm period q (f * g) ≤ |
| 135 | algebraConstant period q * liftSobolevNorm period q f * liftSobolevNorm period q g := by |
| 136 | have hA : liftSobolevNorm period q (f * g) ≤ |
| 137 | ∑ n ∈ Finset.range (q + 1), ∑ _w : Fin n → Fin 4, |
| 138 | ((2 : ℝ) ^ q * lowDerivativeConstant period q * 2) * |
| 139 | liftSobolevNorm period q f * liftSobolevNorm period q g := by |
| 140 | apply Finset.sum_le_sum |
| 141 | intro n hn |
| 142 | apply Finset.sum_le_sum |
| 143 | intro w _ |
| 144 | exact product_word_L2_le period hq (by have := Finset.mem_range.1 hn; omega) w f g hf hg hfL2 hgL2 |
| 145 | apply hA.trans_eq |
| 146 | simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fun, Fintype.card_fin, |
| 147 | nsmul_eq_mul, Nat.cast_pow, Nat.cast_ofNat] |
| 148 | rw [← Finset.sum_mul] |
| 149 | unfold algebraConstant |
| 150 | ring |
| 151 | |
| 152 | |
| 153 | end EulerH5CylinderAlgebra |