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.MeanCutoffTaylor |
| 2 | import Mathlib.Analysis.Calculus.Deriv.Slope |
| 3 | |
| 4 | /-! Genuine directional derivatives of the localized Newtonian operator family in operator norm. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerMeanBoundary |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal EulerMeanGradientTest |
| 11 | Filter |
| 12 | open scoped ContDiff Topology |
| 13 | |
| 14 | private local instance : NormedAddCommGroup (Space →L[ℝ] ℝ) := inferInstance |
| 15 | private local instance : NormedSpace ℝ (Space →L[ℝ] ℝ) := inferInstance |
| 16 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space →L[ℝ] ℝ) := inferInstance |
| 17 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space →L[ℝ] ℝ) := inferInstance |
| 18 | |
| 19 | @[simp] theorem Cutoff.translate_zero (χ : Cutoff) : χ.translate 0 = χ := by |
| 20 | apply Cutoff.ext |
| 21 | exact funext fun x => congrArg χ.field (add_zero x) |
| 22 | |
| 23 | theorem cutoffCurl_differenceError (χ : Cutoff) (a : Space) (h : ℝ) : |
| 24 | cutoffCurl (χ.differenceError a h) = |
| 25 | h⁻¹ • (cutoffCurl (χ.translate (h • a)) - cutoffCurl χ) - cutoffCurl (χ.directional a) := by |
| 26 | rw [Cutoff.differenceError, cutoffCurl_sub, Cutoff.differenceQuotient, |
| 27 | cutoffCurl_scale, cutoffCurl_sub] |
| 28 | |
| 29 | theorem Cutoff.exists_taylor_controls (χ : Cutoff) : |
| 30 | ∃ R M₂ M₃ : ℝ, 0 ≤ M₂ ∧ 0 ≤ M₃ ∧ |
| 31 | tsupport χ.field ⊆ Metric.closedBall (0 : Space) R ∧ |
| 32 | (∀ x, ‖fderiv ℝ (fderiv ℝ χ.field) x‖ ≤ M₂) ∧ |
| 33 | (∀ x, ‖fderiv ℝ (fderiv ℝ (fderiv ℝ χ.field)) x‖ ≤ M₃) := by |
| 34 | obtain ⟨R, hR⟩ := χ.compact.isBounded.subset_closedBall (0 : Space) |
| 35 | have hs₂ : ContDiff ℝ ∞ (fderiv ℝ (fderiv ℝ χ.field)) := |
| 36 | (χ.smooth.fderiv_right (m := ∞) (by simp)).fderiv_right (m := ∞) (by simp) |
| 37 | have hs₃ : ContDiff ℝ ∞ (fderiv ℝ (fderiv ℝ (fderiv ℝ χ.field))) := |
| 38 | hs₂.fderiv_right (m := ∞) (by simp) |
| 39 | obtain ⟨M₂, h₂⟩ := ((χ.compact.fderiv ℝ).fderiv ℝ).exists_bound_of_continuous hs₂.continuous |
| 40 | obtain ⟨M₃, h₃⟩ := (((χ.compact.fderiv ℝ).fderiv ℝ).fderiv ℝ).exists_bound_of_continuous hs₃.continuous |
| 41 | exact ⟨R, M₂, M₃, (norm_nonneg _).trans (h₂ 0), (norm_nonneg _).trans (h₃ 0), hR, h₂, h₃⟩ |
| 42 | |
| 43 | /-- Translating the actual cutoff differentiates the bounded cutoff-curl map in operator norm. -/ |
| 44 | theorem cutoffCurl_hasDerivAt_zero (χ : Cutoff) (a : Space) : |
| 45 | HasDerivAt (fun t : ℝ => cutoffCurl (χ.translate (t • a))) |
| 46 | (cutoffCurl (χ.directional a)) 0 := by |
| 47 | obtain ⟨R, M₂, M₃, hM₂, hM₃, hs, h₂, h₃⟩ := χ.exists_taylor_controls |
| 48 | have hstep : ∀ᶠ h : ℝ in 𝓝 0, ‖h • a‖ ≤ 1 := by |
| 49 | have hc : ContinuousAt (fun h : ℝ => ‖h • a‖) 0 := by fun_prop |
| 50 | exact (hc.eventually (gt_mem_nhds (by simp : ‖(0 : ℝ) • a‖ < 1))).mono (fun _ hh => hh.le) |
| 51 | apply (hasDerivAt_iff_tendsto_slope_zero |
| 52 | (f := fun t : ℝ => cutoffCurl (χ.translate (t • a))) |
| 53 | (f' := cutoffCurl (χ.directional a)) (x := 0)).mpr |
| 54 | simp only [zero_add, zero_smul, Cutoff.translate_zero] |
| 55 | apply tendsto_sub_nhds_zero_iff.mp |
| 56 | apply squeeze_zero_norm' |
| 57 | (f := fun h : ℝ => h⁻¹ • (cutoffCurl (χ.translate (h • a)) - cutoffCurl χ) - |
| 58 | cutoffCurl (χ.directional a)) |
| 59 | (t₀ := 𝓝[≠] (0 : ℝ)) |
| 60 | (a := fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) |
| 61 | · filter_upwards [self_mem_nhdsWithin, hstep.filter_mono nhdsWithin_le_nhds] with h hh hsmall |
| 62 | have hne : h ≠ 0 := by simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hh |
| 63 | rw [← cutoffCurl_differenceError] |
| 64 | exact (cutoffCurl_norm_le _).trans (cutoffBound_differenceError χ R M₂ M₃ hM₂ hM₃ hs h₂ h₃ a h hne hsmall) |
| 65 | · have hc : Continuous (fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) := by fun_prop |
| 66 | simpa only [abs_zero, mul_zero, zero_mul] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds |
| 67 | |
| 68 | theorem weakPotential_differenceError (χ : Cutoff) (a : Space) (h : ℝ) : |
| 69 | weakPotential (χ.differenceError a h) = |
| 70 | h⁻¹ • (weakPotential (χ.translate (h • a)) - weakPotential χ) - weakPotential (χ.directional a) := by |
| 71 | calc |
| 72 | _ = weakPotential (χ.differenceQuotient a h) - weakPotential (χ.directional a) := |
| 73 | weakPotential_sub _ _ |
| 74 | _ = h⁻¹ • weakPotential ((χ.translate (h • a)).sub χ) - weakPotential (χ.directional a) := |
| 75 | congrArg (fun B : L2 →L[ℝ] homogeneousSpace => B - weakPotential (χ.directional a)) |
| 76 | (weakPotential_scale ((χ.translate (h • a)).sub χ) h⁻¹) |
| 77 | _ = _ := congrArg (fun B : L2 →L[ℝ] homogeneousSpace => h⁻¹ • B - weakPotential (χ.directional a)) |
| 78 | (weakPotential_sub (χ.translate (h • a)) χ) |
| 79 | |
| 80 | theorem weakPotential_operatorNorm_le (χ : Cutoff) : ‖weakPotential χ‖ ≤ cutoffBound χ := by |
| 81 | change ‖(cutoffCurl χ).adjoint‖ ≤ _ |
| 82 | rw [LinearIsometryEquiv.norm_map] |
| 83 | exact cutoffCurl_norm_le χ |
| 84 | |
| 85 | /-- The represented weak potential differentiates with the same actual cutoff derivative. -/ |
| 86 | theorem weakPotential_hasDerivAt_zero (χ : Cutoff) (a : Space) : |
| 87 | HasDerivAt (fun t : ℝ => weakPotential (χ.translate (t • a))) |
| 88 | (weakPotential (χ.directional a)) 0 := by |
| 89 | obtain ⟨R, M₂, M₃, hM₂, hM₃, hs, h₂, h₃⟩ := χ.exists_taylor_controls |
| 90 | have hstep : ∀ᶠ h : ℝ in 𝓝 0, ‖h • a‖ ≤ 1 := by |
| 91 | have hc : ContinuousAt (fun h : ℝ => ‖h • a‖) 0 := by fun_prop |
| 92 | exact (hc.eventually (gt_mem_nhds (by simp : ‖(0 : ℝ) • a‖ < 1))).mono (fun _ hh => hh.le) |
| 93 | apply (hasDerivAt_iff_tendsto_slope_zero |
| 94 | (f := fun t : ℝ => weakPotential (χ.translate (t • a))) |
| 95 | (f' := weakPotential (χ.directional a)) (x := 0)).mpr |
| 96 | simp only [zero_add, zero_smul, Cutoff.translate_zero] |
| 97 | apply tendsto_sub_nhds_zero_iff.mp |
| 98 | apply squeeze_zero_norm' |
| 99 | (f := fun h : ℝ => h⁻¹ • (weakPotential (χ.translate (h • a)) - weakPotential χ) - |
| 100 | weakPotential (χ.directional a)) |
| 101 | (t₀ := 𝓝[≠] (0 : ℝ)) |
| 102 | (a := fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) |
| 103 | · filter_upwards [self_mem_nhdsWithin, hstep.filter_mono nhdsWithin_le_nhds] with h hh hsmall |
| 104 | have hne : h ≠ 0 := by simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hh |
| 105 | rw [← weakPotential_differenceError] |
| 106 | exact (weakPotential_operatorNorm_le _).trans (cutoffBound_differenceError χ R M₂ M₃ hM₂ hM₃ hs h₂ h₃ a h hne hsmall) |
| 107 | · have hc : Continuous (fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) := by fun_prop |
| 108 | simpa only [abs_zero, mul_zero, zero_mul] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds |
| 109 | |
| 110 | /-- Both cutoff positions contribute to the actual operator-norm derivative. -/ |
| 111 | theorem mixedBoundaryOperator_hasDerivAt_zero (χ ψ : Cutoff) (a : Space) : |
| 112 | HasDerivAt (fun t : ℝ => mixedBoundaryOperator (χ.translate (t • a)) (ψ.translate (t • a))) |
| 113 | (mixedBoundaryOperator (χ.directional a) ψ + mixedBoundaryOperator χ (ψ.directional a)) 0 := by |
| 114 | have h := (cutoffCurl_hasDerivAt_zero χ a).clm_comp (weakPotential_hasDerivAt_zero ψ a) |
| 115 | simpa only [zero_smul, Cutoff.translate_zero, mixedBoundaryOperator] using h |
| 116 | |
| 117 | /-- The corresponding differential commutator has the source's duality bound. -/ |
| 118 | theorem mixedBoundaryOperator_derivative_norm_le (χ ψ : Cutoff) (a : Space) : |
| 119 | ‖mixedBoundaryOperator (χ.directional a) ψ + mixedBoundaryOperator χ (ψ.directional a)‖ ≤ |
| 120 | cutoffBound (χ.directional a) * cutoffBound ψ + cutoffBound χ * cutoffBound (ψ.directional a) := |
| 121 | (norm_add_le _ _).trans (add_le_add (mixedBoundaryOperator_norm_le _ _) (mixedBoundaryOperator_norm_le _ _)) |
| 122 | |
| 123 | end EulerMeanBoundary |