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.MeanCoefficientMultipliers |
| 2 | import Euler.MeanSolenoidalTranslation |
| 3 | import Euler.MeanCutoffTaylor |
| 4 | |
| 5 | /-! Spatial translations and their genuine uniform-norm derivatives for matrix coefficients. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerMeanCoefficients |
| 10 | |
| 11 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal Filter |
| 12 | open scoped ContDiff BoundedContinuousFunction Topology |
| 13 | |
| 14 | section BoundedFields |
| 15 | |
| 16 | variable {V : Type*} [NormedAddCommGroup V] |
| 17 | |
| 18 | def translated (A : Space →ᵇ V) (a : Space) : Space →ᵇ V := |
| 19 | A.compContinuous ⟨fun x => x+a, continuous_id.add continuous_const⟩ |
| 20 | |
| 21 | @[simp] theorem translated_apply (A : Space →ᵇ V) (a x : Space) : |
| 22 | translated A a x = A (x+a) := rfl |
| 23 | |
| 24 | @[simp] theorem translated_zero (A : Space →ᵇ V) : translated A 0 = A := by |
| 25 | ext x |
| 26 | exact congrArg A (add_zero x) |
| 27 | |
| 28 | theorem translated_add (A : Space →ᵇ V) (a b : Space) : |
| 29 | translated (translated A a) b = translated A (b+a) := by |
| 30 | ext x |
| 31 | exact congrArg A (add_assoc x b a) |
| 32 | |
| 33 | theorem translated_norm_le (A : Space →ᵇ V) (a : Space) : ‖translated A a‖ ≤ ‖A‖ := |
| 34 | BoundedContinuousFunction.norm_compContinuous_le _ _ |
| 35 | |
| 36 | variable [NormedSpace ℝ V] |
| 37 | |
| 38 | def boundedDerivative (A : Space →ᵇ V) (hA : ContDiff ℝ ∞ (A : Space → V)) |
| 39 | (C : ℝ) (hC : ∀ x, ‖fderiv ℝ (A : Space → V) x‖ ≤ C) : |
| 40 | Space →ᵇ (Space →L[ℝ] V) := |
| 41 | BoundedContinuousFunction.ofNormedAddCommGroup (fderiv ℝ (A : Space → V)) |
| 42 | (hA.fderiv_right (m := ∞) (by simp)).continuous C hC |
| 43 | |
| 44 | def fieldDirection (DA : Space →ᵇ (Space →L[ℝ] V)) (a : Space) : Space →ᵇ V := |
| 45 | BoundedContinuousFunction.ofNormedAddCommGroup (fun x => DA x a) |
| 46 | (DA.continuous.clm_apply continuous_const) (‖DA‖ * ‖a‖) |
| 47 | (fun x => (DA x).le_opNorm a |>.trans |
| 48 | (mul_le_mul_of_nonneg_right (DA.norm_coe_le_norm x) (norm_nonneg a))) |
| 49 | |
| 50 | @[simp] theorem fieldDirection_apply (DA : Space →ᵇ (Space →L[ℝ] V)) (a x : Space) : |
| 51 | fieldDirection DA a x = DA x a := rfl |
| 52 | |
| 53 | theorem fieldDirection_norm_le (DA : Space →ᵇ (Space →L[ℝ] V)) (a : Space) : |
| 54 | ‖fieldDirection DA a‖ ≤ ‖DA‖ * ‖a‖ := |
| 55 | (BoundedContinuousFunction.norm_le (f := fieldDirection DA a) |
| 56 | (mul_nonneg (norm_nonneg DA) (norm_nonneg a))).2 |
| 57 | (fun x => (DA x).le_opNorm a |>.trans |
| 58 | (mul_le_mul_of_nonneg_right (DA.norm_coe_le_norm x) (norm_nonneg a))) |
| 59 | |
| 60 | def fieldDerivativeLinear (DA : Space →ᵇ (Space →L[ℝ] V)) : Space →ₗ[ℝ] (Space →ᵇ V) where |
| 61 | toFun := fieldDirection DA |
| 62 | map_add' a b := by ext x; exact (DA x).map_add a b |
| 63 | map_smul' c a := by ext x; exact (DA x).map_smul c a |
| 64 | |
| 65 | def fieldDerivativeMap (DA : Space →ᵇ (Space →L[ℝ] V)) : Space →L[ℝ] (Space →ᵇ V) where |
| 66 | toLinearMap := fieldDerivativeLinear DA |
| 67 | cont := AddMonoidHomClass.continuous_of_bound (fieldDerivativeLinear DA) ‖DA‖ |
| 68 | (fieldDirection_norm_le DA) |
| 69 | |
| 70 | @[simp] theorem fieldDerivativeMap_apply (DA : Space →ᵇ (Space →L[ℝ] V)) (a x : Space) : |
| 71 | fieldDerivativeMap DA a x = DA x a := rfl |
| 72 | |
| 73 | theorem translated_taylor_bound (A : Space →ᵇ V) (DA : Space →ᵇ (Space →L[ℝ] V)) |
| 74 | (hA : ContDiff ℝ ∞ (A : Space → V)) |
| 75 | (hDA : ∀ x, DA x = fderiv ℝ (A : Space → V) x) |
| 76 | (M : ℝ) (hM : 0 ≤ M) |
| 77 | (h₂ : ∀ x, ‖fderiv ℝ (fderiv ℝ (A : Space → V)) x‖ ≤ M) (a b : Space) : |
| 78 | ‖translated A b - translated A a - fieldDerivativeMap (translated DA a) (b-a)‖ ≤ |
| 79 | M * ‖b-a‖^2 := by |
| 80 | apply (BoundedContinuousFunction.norm_le (mul_nonneg hM (sq_nonneg _))).2 |
| 81 | intro x |
| 82 | change ‖A (x+b) - A (x+a) - DA (x+a) (b-a)‖ ≤ _ |
| 83 | rw [hDA] |
| 84 | have h := EulerMeanBoundary.norm_linearization_remainder_le |
| 85 | (A : Space → V) hA M hM h₂ (x+a) (b-a) |
| 86 | have he : x+a+(b-a) = x+b := by abel |
| 87 | rwa [he] at h |
| 88 | |
| 89 | /-- Bounded actual second derivatives yield the true Fréchet derivative of translation in sup norm. -/ |
| 90 | theorem translated_hasFDerivAt (A : Space →ᵇ V) (DA : Space →ᵇ (Space →L[ℝ] V)) |
| 91 | (hA : ContDiff ℝ ∞ (A : Space → V)) |
| 92 | (hDA : ∀ x, DA x = fderiv ℝ (A : Space → V) x) |
| 93 | (M : ℝ) (hM : 0 ≤ M) |
| 94 | (h₂ : ∀ x, ‖fderiv ℝ (fderiv ℝ (A : Space → V)) x‖ ≤ M) (a : Space) : |
| 95 | HasFDerivAt (translated A) (fieldDerivativeMap (translated DA a)) a := by |
| 96 | apply hasFDerivAt_iff_tendsto.mpr |
| 97 | apply squeeze_zero (fun b => mul_nonneg (inv_nonneg.mpr (norm_nonneg _)) (norm_nonneg _)) |
| 98 | (g := fun b : Space => M * ‖b-a‖) |
| 99 | · intro b |
| 100 | calc |
| 101 | _ ≤ ‖b-a‖⁻¹ * (M * ‖b-a‖^2) := mul_le_mul_of_nonneg_left |
| 102 | (translated_taylor_bound A DA hA hDA M hM h₂ a b) (inv_nonneg.mpr (norm_nonneg _)) |
| 103 | _ = M * ‖b-a‖ := by |
| 104 | by_cases h : ‖b-a‖ = 0 |
| 105 | · simp only [h, inv_zero, zero_mul, mul_zero] |
| 106 | · field_simp |
| 107 | · have hc : Continuous (fun b : Space => M * ‖b-a‖) := by fun_prop |
| 108 | simpa only [sub_self, norm_zero, mul_zero] using hc.tendsto a |
| 109 | |
| 110 | end BoundedFields |
| 111 | |
| 112 | /-- Multiplication by an actual translated coefficient intertwines the ordinary L² translations. -/ |
| 113 | theorem multiplier_translation (A : Field) (a : Space) (u : L2) : |
| 114 | translation a (multiplier A u) = multiplier (translated A a) (translation a u) := by |
| 115 | apply Lp.ext |
| 116 | filter_upwards [translation_ae a (multiplier A u), |
| 117 | (measurePreserving_add_right (volume : Measure Space) a).quasiMeasurePreserving.ae |
| 118 | (multiplier_ae A u), multiplier_ae (translated A a) (translation a u), |
| 119 | translation_ae a u] with x hl hm hr hu |
| 120 | rw [hl, hm, hr, hu, translated_apply] |
| 121 | |
| 122 | end EulerMeanCoefficients |