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.MeanBoundaryTranslation |
| 2 | |
| 3 | /-! Exact spatial difference-quotient commutators with the actual mixed boundary operator. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanBoundary |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal EulerMeanGradientTest |
| 10 | EulerMeanCutoffCurl |
| 11 | open scoped ENNReal |
| 12 | |
| 13 | theorem lpNorm_translated {E : Type*} [NormedAddCommGroup E] |
| 14 | (f : Space → E) (hf : Continuous f) (a : Space) (p : ℝ≥0∞) : |
| 15 | lpNorm (fun x => f (x+a)) p volume = lpNorm f p volume := by |
| 16 | have hm := measurePreserving_add_right (volume : Measure Space) a |
| 17 | have hfc : AEStronglyMeasurable (fun x => f (x+a)) volume := |
| 18 | hf.aestronglyMeasurable.comp_measurePreserving hm |
| 19 | rw [← toReal_eLpNorm hfc, ← toReal_eLpNorm hf.aestronglyMeasurable] |
| 20 | exact congrArg ENNReal.toReal (eLpNorm_comp_measurePreserving hf.aestronglyMeasurable hm) |
| 21 | |
| 22 | theorem cutoffBound_translate (χ : Cutoff) (a : Space) : |
| 23 | cutoffBound (χ.translate a) = cutoffBound χ := by |
| 24 | have hgrad : gradient (χ.translate a).field = fun x => gradient χ.field (x+a) := |
| 25 | funext fun x => gradient_translated a χ.field x |
| 26 | unfold cutoffBound |
| 27 | rw [hgrad] |
| 28 | change 3 * cutoffCurlConstant * |
| 29 | (lpNorm (fun x => χ.field (x+a)) ∞ volume + lpNorm (fun x => gradient χ.field (x+a)) 3 volume) = _ |
| 30 | rw [lpNorm_translated χ.field χ.smooth.continuous, |
| 31 | lpNorm_translated (gradient χ.field) (contDiff_gradient χ.smooth).continuous] |
| 32 | |
| 33 | /-- The genuine directional spatial difference quotient, defined also at h = 0. -/ |
| 34 | def spatialDifference (a : Space) (h : ℝ) : L2 →L[ℝ] L2 := |
| 35 | h⁻¹ • ((translation (h • a)).toContinuousLinearMap - ContinuousLinearMap.id ℝ L2) |
| 36 | |
| 37 | theorem spatialDifference_apply (a : Space) (h : ℝ) (z : L2) : |
| 38 | spatialDifference a h z = h⁻¹ • (translation (h • a) z - z) := rfl |
| 39 | |
| 40 | def Cutoff.differenceQuotient (χ : Cutoff) (a : Space) (h : ℝ) : Cutoff := |
| 41 | ((χ.translate (h • a)).sub χ).scale h⁻¹ |
| 42 | |
| 43 | theorem Cutoff.differenceQuotient_field (χ : Cutoff) (a : Space) (h : ℝ) (x : Space) : |
| 44 | (χ.differenceQuotient a h).field x = h⁻¹ * (χ.field (x + h • a) - χ.field x) := rfl |
| 45 | |
| 46 | theorem spatialDifference_commutator (a : Space) (h : ℝ) (A : L2 →L[ℝ] L2) : |
| 47 | (spatialDifference a h).comp A - A.comp (spatialDifference a h) = |
| 48 | h⁻¹ • translationCommutator (h • a) A := by |
| 49 | unfold spatialDifference translationCommutator |
| 50 | simp only [ContinuousLinearMap.smul_comp, ContinuousLinearMap.comp_smul, |
| 51 | ContinuousLinearMap.sub_comp, ContinuousLinearMap.comp_sub, ContinuousLinearMap.id_comp, |
| 52 | ContinuousLinearMap.comp_id, smul_sub] |
| 53 | abel |
| 54 | |
| 55 | /-- Exact two-position derivative splitting for an actual spatial difference quotient. -/ |
| 56 | theorem mixedBoundaryOperator_differenceCommutator (a : Space) (h : ℝ) (χ ψ : Cutoff) : |
| 57 | (spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - |
| 58 | (mixedBoundaryOperator χ ψ).comp (spatialDifference a h) = |
| 59 | (mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) + |
| 60 | mixedBoundaryOperator χ (ψ.differenceQuotient a h)).comp |
| 61 | (translation (h • a)).toContinuousLinearMap := by |
| 62 | rw [spatialDifference_commutator, mixedBoundaryOperator_translationCommutator] |
| 63 | unfold Cutoff.differenceQuotient |
| 64 | rw [mixedBoundaryOperator_scale_left, mixedBoundaryOperator_scale_right] |
| 65 | simp only [ContinuousLinearMap.add_comp, ContinuousLinearMap.smul_comp, smul_add] |
| 66 | |
| 67 | /-- The commutator is bounded by the actual two cutoff difference quotients. -/ |
| 68 | theorem mixedBoundaryOperator_differenceCommutator_norm_le |
| 69 | (a : Space) (h : ℝ) (χ ψ : Cutoff) : |
| 70 | ‖(spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - |
| 71 | (mixedBoundaryOperator χ ψ).comp (spatialDifference a h)‖ ≤ |
| 72 | cutoffBound (χ.differenceQuotient a h) * cutoffBound (ψ.translate (h • a)) + |
| 73 | cutoffBound χ * cutoffBound (ψ.differenceQuotient a h) := by |
| 74 | rw [mixedBoundaryOperator_differenceCommutator] |
| 75 | apply ContinuousLinearMap.opNorm_le_bound _ |
| 76 | (add_nonneg (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _)) |
| 77 | (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _))) |
| 78 | intro z |
| 79 | change ‖mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) |
| 80 | (translation (h • a) z) + mixedBoundaryOperator χ (ψ.differenceQuotient a h) |
| 81 | (translation (h • a) z)‖ ≤ _ |
| 82 | calc |
| 83 | _ ≤ ‖mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) |
| 84 | (translation (h • a) z)‖ + |
| 85 | ‖mixedBoundaryOperator χ (ψ.differenceQuotient a h) (translation (h • a) z)‖ := |
| 86 | norm_add_le _ _ |
| 87 | _ ≤ (cutoffBound (χ.differenceQuotient a h) * cutoffBound (ψ.translate (h • a))) * |
| 88 | ‖translation (h • a) z‖ + |
| 89 | (cutoffBound χ * cutoffBound (ψ.differenceQuotient a h)) * ‖translation (h • a) z‖ := by |
| 90 | apply add_le_add |
| 91 | · exact ((mixedBoundaryOperator _ _).le_opNorm _).trans |
| 92 | (mul_le_mul_of_nonneg_right (mixedBoundaryOperator_norm_le _ _) (norm_nonneg _)) |
| 93 | · exact ((mixedBoundaryOperator _ _).le_opNorm _).trans |
| 94 | (mul_le_mul_of_nonneg_right (mixedBoundaryOperator_norm_le _ _) (norm_nonneg _)) |
| 95 | _ = _ := by |
| 96 | rw [(translation (h • a)).norm_map] |
| 97 | ring |
| 98 | |
| 99 | theorem mixedBoundaryOperator_differenceCommutator_norm_le_invariant |
| 100 | (a : Space) (h : ℝ) (χ ψ : Cutoff) : |
| 101 | ‖(spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - |
| 102 | (mixedBoundaryOperator χ ψ).comp (spatialDifference a h)‖ ≤ |
| 103 | cutoffBound (χ.differenceQuotient a h) * cutoffBound ψ + |
| 104 | cutoffBound χ * cutoffBound (ψ.differenceQuotient a h) := by |
| 105 | simpa only [cutoffBound_translate] using mixedBoundaryOperator_differenceCommutator_norm_le a h χ ψ |
| 106 | |
| 107 | end EulerMeanBoundary |