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.LpCylinderTranslation |
| 2 | import Euler.LpDominatedDerivative |
| 3 | import Euler.IsometricActionCalculus |
| 4 | import Mathlib.Analysis.Calculus.MeanValue |
| 5 | |
| 6 | /-! |
| 7 | # Compact smooth fields have actual smooth mixed L² translation orbits |
| 8 | |
| 9 | This is a full Fréchet derivative in the four-dimensional covering space. |
| 10 | The compact support argument controls every small covering translation, |
| 11 | including its angular component, before dominated L² differentiation. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerCylinderCompact |
| 17 | |
| 18 | open Set MeasureTheory ContinuousLinearMap Filter EulerSmoothLimit |
| 19 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerMetricTransport |
| 20 | EulerLiftedWeakDerivative EulerPressureSpatialRegularity EulerLpDerivative |
| 21 | EulerTransportDerivatives |
| 22 | open scoped ContDiff Topology |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable (P : ℝ) [Fact (0 < P)] |
| 27 | |
| 28 | structure CompactField (V : Type u) [NormedAddCommGroup V] [NormedSpace ℝ V] where |
| 29 | field : LiftDomain P → V |
| 30 | compact : HasCompactSupport field |
| 31 | smooth : ∀ x, ContDiff ℝ ∞ (localFieldLift P field x) |
| 32 | |
| 33 | namespace CompactField |
| 34 | |
| 35 | variable {P} {V : Type u} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 36 | |
| 37 | omit [Fact (0 < P)] in |
| 38 | theorem continuous (A : CompactField P V) : Continuous A.field := |
| 39 | smoothField_continuous P A.field A.smooth |
| 40 | |
| 41 | def toLp (A : CompactField P V) : CylinderL2 P V := |
| 42 | (A.continuous.memLp_of_hasCompactSupport A.compact).toLp A.field |
| 43 | |
| 44 | theorem toLp_ae (A : CompactField P V) : A.toLp =ᵐ[liftMeasure P] A.field := |
| 45 | (A.continuous.memLp_of_hasCompactSupport A.compact).coeFn_toLp |
| 46 | |
| 47 | def derivative (A : CompactField P V) : CompactField P (LiftTangent →L[ℝ] V) where |
| 48 | field := fieldFDeriv P A.field |
| 49 | compact := fieldFDeriv_compact P A.field A.compact |
| 50 | smooth := fieldFDeriv_smooth P A.field A.smooth |
| 51 | |
| 52 | omit [Fact (0 < P)] in |
| 53 | theorem derivative_bound (A : CompactField P V) : |
| 54 | ∃ C : ℝ, 0 ≤ C ∧ ∀ x a, ‖fderiv ℝ (localFieldLift P A.field x) a‖ ≤ C := by |
| 55 | obtain ⟨C,hC,hb⟩ := (A.derivative.compact.isCompact_range A.derivative.continuous).isBounded.exists_pos_norm_le |
| 56 | refine ⟨C,hC.le,fun x a => ?_⟩ |
| 57 | have hx := hb (A.derivative.field (x.1+a.1,x.2+(a.2 : AddCircle P))) (mem_range_self _) |
| 58 | change ‖fieldFDeriv P A.field (x.1+a.1,x.2+(a.2 : AddCircle P))‖ ≤ C at hx |
| 59 | rw [fieldFDeriv,fderiv_localFieldLift_shift] at hx |
| 60 | exact hx |
| 61 | |
| 62 | omit [Fact (0 < P)] in |
| 63 | /-- One compact set contains every translate by a covering vector of norm at most one. -/ |
| 64 | theorem translation_support (A : CompactField P V) : |
| 65 | ∃ K : Set (LiftDomain P), IsCompact K ∧ tsupport A.field ⊆ K ∧ |
| 66 | ∀ a : LiftTangent, ‖a‖ ≤ 1 → ∀ x ∉ K, A.field (x+coveringMap P a) = 0 := by |
| 67 | let K := (fun p : LiftDomain P × LiftTangent => p.1-coveringMap P p.2) '' |
| 68 | (tsupport A.field ×ˢ Metric.closedBall (0 : LiftTangent) 1) |
| 69 | have hK : IsCompact K := (A.compact.isCompact.prod (isCompact_closedBall _ _)).image |
| 70 | (continuous_fst.sub ((coveringMap_isOpenQuotient P).continuous.comp continuous_snd)) |
| 71 | refine ⟨K,hK,?_,?_⟩ |
| 72 | · intro x hx |
| 73 | refine ⟨(x,0),⟨hx,by simp⟩,?_⟩ |
| 74 | simp [coveringMap] |
| 75 | · intro a ha x hx |
| 76 | by_contra hn |
| 77 | apply hx |
| 78 | refine ⟨(x+coveringMap P a,a),⟨subset_tsupport A.field hn,?_⟩,?_⟩ |
| 79 | · simpa only [Metric.mem_closedBall,dist_zero_right] using ha |
| 80 | · exact add_sub_cancel_right x (coveringMap P a) |
| 81 | |
| 82 | theorem increment_bound (A : CompactField P V) : |
| 83 | ∃ M : LiftDomain P → ℝ, MemLp M 2 (liftMeasure P) ∧ (∀ x, 0 ≤ M x) ∧ |
| 84 | ∀ a : LiftTangent, ‖a‖ ≤ 1 → ∀ x, |
| 85 | ‖A.field (x+coveringMap P a)-A.field x‖ ≤ M x*‖a‖ := by |
| 86 | obtain ⟨C,hC,hb⟩ := A.derivative_bound |
| 87 | obtain ⟨K,hK,hsub,hshift⟩ := A.translation_support |
| 88 | refine ⟨K.indicator (fun _ => C),memLp_indicator_const 2 hK.isClosed.measurableSet C |
| 89 | (Or.inr hK.measure_ne_top),fun x => Set.indicator_nonneg (fun _ _ => hC) x,?_⟩ |
| 90 | intro a ha x |
| 91 | by_cases hx : x ∈ K |
| 92 | · rw [Set.indicator_of_mem hx] |
| 93 | have hh := Convex.norm_image_sub_le_of_norm_fderiv_le |
| 94 | (𝕜 := ℝ) (f := localFieldLift P A.field x) (s := Set.univ) |
| 95 | (fun b _ => (A.smooth x).differentiable (by simp) b) (fun b _ => hb x b) |
| 96 | (convex_univ : Convex ℝ (Set.univ : Set LiftTangent)) (Set.mem_univ 0) (Set.mem_univ a) |
| 97 | change ‖A.field (x.1+a.1,x.2+(a.2 : AddCircle P))-A.field x‖ ≤ C*‖a‖ |
| 98 | simpa only [localFieldLift,Prod.fst_zero,Prod.snd_zero,AddCircle.coe_zero, |
| 99 | add_zero,sub_zero] using hh |
| 100 | · have hzero : A.field x = 0 := image_eq_zero_of_notMem_tsupport (fun hs => hx (hsub hs)) |
| 101 | simp only [hshift a ha x hx,hzero,sub_zero,norm_zero,Set.indicator_of_notMem hx,zero_mul,le_refl] |
| 102 | |
| 103 | theorem hasFDerivAt_zero (A : CompactField P V) : |
| 104 | HasFDerivAt (fun a : LiftTangent => translate P a A.toLp) |
| 105 | (derivativeMap (liftMeasure P) A.derivative.toLp) 0 := by |
| 106 | obtain ⟨M,hM,hM0,hb⟩ := A.increment_bound |
| 107 | refine hasFDerivAt_of_dominated (liftMeasure P) |
| 108 | (fun a : LiftTangent => translate P a A.toLp) |
| 109 | (fun a x => A.field (x+coveringMap P a)) ?_ A.derivative.toLp ?_ M hM (Eventually.of_forall hM0) ?_ |
| 110 | · intro a |
| 111 | filter_upwards [translate_ae P a A.toLp, |
| 112 | (measurePreserving_translation P (coveringMap P a)).quasiMeasurePreserving.ae A.toLp_ae] |
| 113 | with x ht hx |
| 114 | exact ht.trans hx |
| 115 | · filter_upwards [A.derivative.toLp_ae] with x hx |
| 116 | rw [hx] |
| 117 | exact ((A.smooth x).differentiable (by simp) 0).hasFDerivAt |
| 118 | · filter_upwards [Metric.ball_mem_nhds (0 : LiftTangent) zero_lt_one] with a ha |
| 119 | apply Eventually.of_forall |
| 120 | intro x |
| 121 | simpa only [coveringMap,Prod.fst_zero,Prod.snd_zero,AddCircle.coe_zero,Prod.mk_zero_zero,add_zero] using |
| 122 | hb a ((by simpa only [Metric.mem_ball,dist_zero_right] using ha : ‖a‖ < 1).le) x |
| 123 | |
| 124 | theorem derivativeMap_translation (D : CylinderL2 P (LiftTangent →L[ℝ] V)) (a : LiftTangent) : |
| 125 | derivativeMap (liftMeasure P) (translate P a D) = |
| 126 | (translate P a).toContinuousLinearMap.comp (derivativeMap (liftMeasure P) D) := by |
| 127 | apply ContinuousLinearMap.ext |
| 128 | intro v |
| 129 | apply Lp.ext |
| 130 | filter_upwards [derivativeMap_ae (liftMeasure P) (translate P a D) v,translate_ae P a D, |
| 131 | translate_ae P a (derivativeMap (liftMeasure P) D v), |
| 132 | (measurePreserving_translation P (coveringMap P a)).quasiMeasurePreserving.ae |
| 133 | (derivativeMap_ae (liftMeasure P) D v)] with x hm ht hv hd |
| 134 | change derivativeMap (liftMeasure P) (translate P a D) v x = translate P a (derivativeMap (liftMeasure P) D v) x |
| 135 | rw [hm,ht,hv,hd] |
| 136 | |
| 137 | theorem translation_hasFDerivAt (A : CompactField P V) (a : LiftTangent) : |
| 138 | HasFDerivAt (fun b : LiftTangent => translate P b A.toLp) |
| 139 | (derivativeMap (liftMeasure P) (translate P a A.derivative.toLp)) a := by |
| 140 | rw [derivativeMap_translation] |
| 141 | exact EulerIsometricAction.hasFDerivAt_all (translate P) (translate_add P) |
| 142 | A.toLp _ A.hasFDerivAt_zero a |
| 143 | |
| 144 | theorem translation_fderiv (A : CompactField P V) : |
| 145 | fderiv ℝ (fun a : LiftTangent => translate P a A.toLp) = |
| 146 | fun a => derivativeBundling (liftMeasure P) (translate P a A.derivative.toLp) := |
| 147 | funext (fun a => (A.translation_hasFDerivAt a).fderiv) |
| 148 | |
| 149 | private theorem translation_contDiff_aux (n : ℕ) : |
| 150 | ∀ (V : Type u) [NormedAddCommGroup V] [NormedSpace ℝ V] (A : CompactField P V), |
| 151 | ContDiff ℝ n (fun a : LiftTangent => translate P a A.toLp) := by |
| 152 | induction n with |
| 153 | | zero => |
| 154 | intro V _ _ A |
| 155 | exact contDiff_zero.mpr (translate_continuous P A.toLp) |
| 156 | | succ n ih => |
| 157 | intro V _ _ A |
| 158 | rw [Nat.cast_add,Nat.cast_one,contDiff_succ_iff_fderiv] |
| 159 | refine ⟨fun a => (A.translation_hasFDerivAt a).differentiableAt,by simp,?_⟩ |
| 160 | rw [A.translation_fderiv] |
| 161 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := (n : ℕ∞ω)) |
| 162 | (E := CylinderL2 P (LiftTangent →L[ℝ] V)) (F := LiftTangent →L[ℝ] CylinderL2 P V) |
| 163 | (derivativeBundling (liftMeasure P))).comp (ih (LiftTangent →L[ℝ] V) A.derivative) |
| 164 | |
| 165 | /-- All four covering directions are differentiated in the actual L² norm. -/ |
| 166 | theorem translation_contDiff (A : CompactField P V) : |
| 167 | ContDiff ℝ ∞ (fun a : LiftTangent => translate P a A.toLp) := |
| 168 | contDiff_infty.mpr (fun n => translation_contDiff_aux n V A) |
| 169 | |
| 170 | end CompactField |
| 171 | end EulerCylinderCompact |