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.GevreyComposition |
| 2 | import Euler.VolumeSobolevComposition |
| 3 | |
| 4 | /-! Gevrey-two composition with the outer derivatives in actual L². |
| 5 | Only the inner positive derivatives are bounded in sup norm. The outer |
| 6 | L² norm is transported by a measure-preserving map, so it is not replaced |
| 7 | by a pointwise bound or by a volume of the ambient domain. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open MeasureTheory |
| 12 | open scoped BigOperators ContDiff ENNReal |
| 13 | |
| 14 | namespace EulerGevreyCompositionLp |
| 15 | |
| 16 | open EulerGevreyComposition |
| 17 | |
| 18 | variable {E F : Type*} |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | |
| 22 | def innerPartitionBound {n : ℕ} (B R : ℝ) (c : OrderedFinpartition n) : ℝ := |
| 23 | ∏ i, B*R^(c.partSize i)*((c.partSize i).factorial : ℝ)^2 |
| 24 | |
| 25 | lemma innerPartitionBound_nonneg {n : ℕ} (B R : ℝ) (hB : 0 ≤ B) (hR : 0 ≤ R) |
| 26 | (c : OrderedFinpartition n) : 0 ≤ innerPartitionBound B R c := by |
| 27 | unfold innerPartitionBound |
| 28 | exact Finset.prod_nonneg fun i _ => mul_nonneg (mul_nonneg hB (pow_nonneg hR _)) (sq_nonneg _) |
| 29 | |
| 30 | theorem composition_partition_bound (f : E → E) (g : E → F) |
| 31 | (n : ℕ) (x : E) (hf : ContDiffAt ℝ n f x) (hg : ContDiffAt ℝ n g (f x)) |
| 32 | (B R : ℝ) (_hB : 0 ≤ B) (_hR : 0 ≤ R) |
| 33 | (hfjet : ∀ j, 0 < j → j ≤ n → |
| 34 | ‖iteratedFDeriv ℝ j f x‖ ≤ B*R^j*(j.factorial : ℝ)^2) : |
| 35 | ‖iteratedFDeriv ℝ n (g ∘ f) x‖ ≤ |
| 36 | ∑ c : OrderedFinpartition n, |
| 37 | innerPartitionBound B R c*‖iteratedFDeriv ℝ c.length g (f x)‖ := by |
| 38 | rw [iteratedFDeriv_comp hg hf le_rfl] |
| 39 | apply (norm_sum_le _ _).trans |
| 40 | apply Finset.sum_le_sum |
| 41 | intro c _ |
| 42 | calc |
| 43 | _ ≤ ‖iteratedFDeriv ℝ c.length g (f x)‖ * |
| 44 | ∏ i, ‖iteratedFDeriv ℝ (c.partSize i) f x‖ := |
| 45 | c.norm_compAlongOrderedFinpartition_le _ _ |
| 46 | _ ≤ ‖iteratedFDeriv ℝ c.length g (f x)‖*innerPartitionBound B R c := by |
| 47 | apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) |
| 48 | exact Finset.prod_le_prod (fun i _ => norm_nonneg _) |
| 49 | (fun i _ => hfjet _ (c.partSize_pos i) (c.partSize_le i)) |
| 50 | _ = _ := mul_comm _ _ |
| 51 | |
| 52 | variable [MeasurableSpace E] |
| 53 | |
| 54 | /-- A genuine L² composition estimate with factorial-square growth. |
| 55 | The measurability premise is automatic for smooth finite-dimensional |
| 56 | fields, and no L² premise is required for the composed derivative. -/ |
| 57 | theorem composition_memLp_and_bound |
| 58 | (μ : Measure E) (f : E → E) (g : E → F) |
| 59 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 60 | (hmp : MeasurePreserving f μ μ) (n : ℕ) |
| 61 | (hfg : AEStronglyMeasurable (iteratedFDeriv ℝ n (g ∘ f)) μ) |
| 62 | (A B R S : ℝ) (hA : 0 ≤ A) (hB : 0 ≤ B) (hR : 0 ≤ R) (hS : 0 ≤ S) |
| 63 | (hgLp : ∀ j ≤ n, MemLp (iteratedFDeriv ℝ j g) 2 μ) |
| 64 | (hgjet : ∀ j ≤ n, |
| 65 | (eLpNorm (iteratedFDeriv ℝ j g) 2 μ).toReal ≤ A*S^j*(j.factorial : ℝ)^2) |
| 66 | (hfjet : ∀ j, 0 < j → j ≤ n → ∀ x, |
| 67 | ‖iteratedFDeriv ℝ j f x‖ ≤ B*R^j*(j.factorial : ℝ)^2) : |
| 68 | MemLp (iteratedFDeriv ℝ n (g ∘ f)) 2 μ ∧ |
| 69 | (eLpNorm (iteratedFDeriv ℝ n (g ∘ f)) 2 μ).toReal ≤ |
| 70 | A*(R*(B*S+2))^n*(n.factorial : ℝ)^2 := by |
| 71 | let H : OrderedFinpartition n → E → ℝ := fun c x => |
| 72 | innerPartitionBound B R c*‖iteratedFDeriv ℝ c.length g (f x)‖ |
| 73 | have hHpos (c : OrderedFinpartition n) (x : E) : 0 ≤ H c x := |
| 74 | mul_nonneg (innerPartitionBound_nonneg B R hB hR c) (norm_nonneg _) |
| 75 | have hHLp (c : OrderedFinpartition n) : MemLp (H c) 2 μ := |
| 76 | (((hgLp c.length c.length_le).norm).comp_measurePreserving hmp).const_mul _ |
| 77 | have hsumLp : MemLp (fun x => ∑ c : OrderedFinpartition n, H c x) 2 μ := |
| 78 | memLp_finsetSum _ (fun c _ => hHLp c) |
| 79 | have hdom (x : E) : ‖iteratedFDeriv ℝ n (g ∘ f) x‖ ≤ ∑ c : OrderedFinpartition n, H c x := |
| 80 | composition_partition_bound f g n x |
| 81 | (hf.contDiffAt.of_le (by simp)) (hg.contDiffAt.of_le (by simp)) |
| 82 | B R hB hR (fun j hj hjn => hfjet j hj hjn x) |
| 83 | have hcompLp : MemLp (iteratedFDeriv ℝ n (g ∘ f)) 2 μ := by |
| 84 | apply hsumLp.of_le hfg |
| 85 | filter_upwards [] with x |
| 86 | rw [Real.norm_of_nonneg (Finset.sum_nonneg (fun c _ => hHpos c x))] |
| 87 | exact hdom x |
| 88 | refine ⟨hcompLp,?_⟩ |
| 89 | have he : (fun x => ∑ c : OrderedFinpartition n, H c x) = ∑ c : OrderedFinpartition n, H c := by |
| 90 | funext x |
| 91 | simp only [Finset.sum_apply] |
| 92 | have hsumNorm := eLpNorm_sum_le |
| 93 | (fun c (_ : c ∈ (Finset.univ : Finset (OrderedFinpartition n))) => (hHLp c).aestronglyMeasurable) |
| 94 | (by norm_num : (1 : ℝ≥0∞) ≤ 2) |
| 95 | have hLpNorm : eLpNorm (iteratedFDeriv ℝ n (g ∘ f)) 2 μ ≤ |
| 96 | ∑ c : OrderedFinpartition n, eLpNorm (H c) 2 μ := by |
| 97 | apply (eLpNorm_mono_ae_real (Filter.Eventually.of_forall hdom)).trans |
| 98 | rw [he] |
| 99 | exact hsumNorm |
| 100 | have hreal := ENNReal.toReal_mono |
| 101 | (ENNReal.sum_ne_top.mpr (fun c _ => (hHLp c).eLpNorm_ne_top)) hLpNorm |
| 102 | rw [ENNReal.toReal_sum (fun c _ => (hHLp c).eLpNorm_ne_top)] at hreal |
| 103 | have hHnorm (c : OrderedFinpartition n) : |
| 104 | (eLpNorm (H c) 2 μ).toReal = innerPartitionBound B R c* |
| 105 | (eLpNorm (iteratedFDeriv ℝ c.length g) 2 μ).toReal := by |
| 106 | have hfun : H c = innerPartitionBound B R c • |
| 107 | ((fun y => ‖iteratedFDeriv ℝ c.length g y‖) ∘ f) := rfl |
| 108 | rw [hfun, eLpNorm_const_smul, |
| 109 | eLpNorm_comp_measurePreserving (hgLp c.length c.length_le).aestronglyMeasurable.norm hmp, |
| 110 | eLpNorm_norm, ENNReal.toReal_mul, toReal_enorm, |
| 111 | Real.norm_of_nonneg (innerPartitionBound_nonneg B R hB hR c)] |
| 112 | simp_rw [hHnorm] at hreal |
| 113 | calc |
| 114 | _ ≤ ∑ c : OrderedFinpartition n, innerPartitionBound B R c* |
| 115 | (eLpNorm (iteratedFDeriv ℝ c.length g) 2 μ).toReal := hreal |
| 116 | _ ≤ ∑ c : OrderedFinpartition n, innerPartitionBound B R c* |
| 117 | (A*S^c.length*(c.length.factorial : ℝ)^2) := by |
| 118 | exact Finset.sum_le_sum fun c _ => mul_le_mul_of_nonneg_left |
| 119 | (hgjet c.length c.length_le) (innerPartitionBound_nonneg B R hB hR c) |
| 120 | _ = A*R^n*partitionSum n (B*S) := by |
| 121 | rw [partitionSum, Finset.mul_sum] |
| 122 | apply Finset.sum_congr rfl |
| 123 | intro c _ |
| 124 | rw [mul_comm] |
| 125 | exact partition_bound_factorization c A B R S |
| 126 | _ ≤ A*R^n*((B*S+2)^n*(n.factorial : ℝ)^2) := |
| 127 | mul_le_mul_of_nonneg_left (partitionSum_le n (B*S) (mul_nonneg hB hS)) |
| 128 | (mul_nonneg hA (pow_nonneg hR n)) |
| 129 | _ = _ := by rw [mul_pow]; ring |
| 130 | |
| 131 | end EulerGevreyCompositionLp |