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.MeanCoefficientSpatial |
| 2 | |
| 3 | /-! All-order parameter regularity of actual bounded smooth coefficient translations. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanCoefficients |
| 8 | |
| 9 | open EulerSmoothLimit MeasureTheory InnerProductSpace |
| 10 | open scoped ContDiff BoundedContinuousFunction |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {V : Type u} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 15 | |
| 16 | theorem fieldDerivativeMap_norm_le (DA : Space →ᵇ (Space →L[ℝ] V)) : |
| 17 | ‖fieldDerivativeMap DA‖ ≤ ‖DA‖ := |
| 18 | (fieldDerivativeMap DA).opNorm_le_bound (norm_nonneg DA) (fieldDirection_norm_le DA) |
| 19 | |
| 20 | def derivativeBundlingLinear : (Space →ᵇ (Space →L[ℝ] V)) →ₗ[ℝ] |
| 21 | (Space →L[ℝ] (Space →ᵇ V)) where |
| 22 | toFun := fieldDerivativeMap |
| 23 | map_add' A B := by |
| 24 | apply ContinuousLinearMap.ext |
| 25 | intro v |
| 26 | apply BoundedContinuousFunction.ext |
| 27 | intro x |
| 28 | rfl |
| 29 | map_smul' c A := by |
| 30 | apply ContinuousLinearMap.ext |
| 31 | intro v |
| 32 | apply BoundedContinuousFunction.ext |
| 33 | intro x |
| 34 | rfl |
| 35 | |
| 36 | /-- Currying a bounded field of linear maps is itself a bounded linear operation. -/ |
| 37 | def derivativeBundling : (Space →ᵇ (Space →L[ℝ] V)) →L[ℝ] |
| 38 | (Space →L[ℝ] (Space →ᵇ V)) where |
| 39 | toLinearMap := derivativeBundlingLinear |
| 40 | cont := AddMonoidHomClass.continuous_of_bound derivativeBundlingLinear 1 (fun A => by |
| 41 | change ‖fieldDerivativeMap A‖ ≤ 1 * ‖A‖ |
| 42 | simpa only [one_mul] using fieldDerivativeMap_norm_le A) |
| 43 | |
| 44 | @[simp] theorem derivativeBundling_apply (A : Space →ᵇ (Space →L[ℝ] V)) : |
| 45 | derivativeBundling A = fieldDerivativeMap A := rfl |
| 46 | |
| 47 | /-- A concrete smooth coefficient with globally bounded actual derivatives of every order. -/ |
| 48 | structure BoundedSmoothField (V : Type u) [NormedAddCommGroup V] [NormedSpace ℝ V] where |
| 49 | field : Space →ᵇ V |
| 50 | smooth : ContDiff ℝ ∞ (field : Space → V) |
| 51 | bounded : ∀ n : ℕ, ∃ C : ℝ, ∀ x, ‖iteratedFDeriv ℝ n (field : Space → V) x‖ ≤ C |
| 52 | |
| 53 | namespace BoundedSmoothField |
| 54 | |
| 55 | def derivative (A : BoundedSmoothField V) : BoundedSmoothField (Space →L[ℝ] V) where |
| 56 | field := boundedDerivative A.field A.smooth (Classical.choose (A.bounded 1)) (fun x => by |
| 57 | rw [← norm_iteratedFDeriv_one] |
| 58 | exact Classical.choose_spec (A.bounded 1) x) |
| 59 | smooth := A.smooth.fderiv_right (m := ∞) (by simp) |
| 60 | bounded n := by |
| 61 | change ∃ C : ℝ, ∀ x, ‖iteratedFDeriv ℝ n (fderiv ℝ (A.field : Space → V)) x‖ ≤ C |
| 62 | simpa only [norm_iteratedFDeriv_fderiv] using A.bounded (n+1) |
| 63 | |
| 64 | @[simp] theorem derivative_field_apply (A : BoundedSmoothField V) (x : Space) : |
| 65 | A.derivative.field x = fderiv ℝ (A.field : Space → V) x := rfl |
| 66 | |
| 67 | theorem translation_hasFDerivAt (A : BoundedSmoothField V) (a : Space) : |
| 68 | HasFDerivAt (translated A.field) (fieldDerivativeMap (translated A.derivative.field a)) a := by |
| 69 | obtain ⟨M, hM⟩ := A.bounded 2 |
| 70 | have hM0 : 0 ≤ M := (norm_nonneg _).trans (hM 0) |
| 71 | apply translated_hasFDerivAt A.field A.derivative.field A.smooth (fun _ => rfl) M hM0 |
| 72 | intro x |
| 73 | rw [← norm_iteratedFDeriv_one, norm_iteratedFDeriv_fderiv] |
| 74 | exact hM x |
| 75 | |
| 76 | theorem translation_fderiv (A : BoundedSmoothField V) : |
| 77 | fderiv ℝ (translated A.field) = fun a => derivativeBundling (translated A.derivative.field a) := |
| 78 | funext (fun a => (A.translation_hasFDerivAt a).fderiv) |
| 79 | |
| 80 | private theorem translation_contDiff_nat_aux (n : ℕ) : |
| 81 | ∀ (V : Type u) [NormedAddCommGroup V] [NormedSpace ℝ V] (A : BoundedSmoothField V), |
| 82 | ContDiff ℝ n (translated A.field) := by |
| 83 | induction n with |
| 84 | | zero => |
| 85 | intro V _ _ A |
| 86 | apply contDiff_zero.mpr |
| 87 | exact continuous_iff_continuousAt.mpr (fun a => (A.translation_hasFDerivAt a).continuousAt) |
| 88 | | succ n ih => |
| 89 | intro V _ _ A |
| 90 | rw [Nat.cast_add, Nat.cast_one, contDiff_succ_iff_fderiv] |
| 91 | refine ⟨fun a => (A.translation_hasFDerivAt a).differentiableAt, by simp, ?_⟩ |
| 92 | rw [A.translation_fderiv] |
| 93 | exact (derivativeBundling (V := V)).contDiff.comp (ih (Space →L[ℝ] V) A.derivative) |
| 94 | |
| 95 | /-- Every spatial translation of an actual globally bounded smooth coefficient depends smoothly on its parameter. -/ |
| 96 | theorem translation_contDiff (A : BoundedSmoothField V) : ContDiff ℝ ∞ (translated A.field) := |
| 97 | contDiff_infty.mpr (fun n => translation_contDiff_nat_aux n V A) |
| 98 | |
| 99 | end BoundedSmoothField |
| 100 | |
| 101 | end EulerMeanCoefficients |