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.MeanCoefficientPathJets |
| 2 | import Euler.TransverseSourceFrame |
| 3 | import Euler.OperatorGevreyCalculus |
| 4 | |
| 5 | /-! |
| 6 | # Actual source coefficient paths for the transverse inverse |
| 7 | |
| 8 | Evaluation of the uniformly smooth spatial coefficient path gives a genuine |
| 9 | smooth map from position to time paths. Restriction to the fixed orthonormal |
| 10 | reference plane is a linear contraction. The pointwise source derivative |
| 11 | bounds therefore imply exactly the time-path coefficient bounds required by |
| 12 | the constructed transverse inverse. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open scoped ContDiff BoundedContinuousFunction |
| 18 | |
| 19 | |
| 20 | namespace EulerTransverseSourceCoefficientPath |
| 21 | |
| 22 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 23 | EulerTransverseFrameCoordinates EulerTransverseSourceFrame |
| 24 | EulerOperatorGevreyCalculus EulerGevrey |
| 25 | |
| 26 | section Evaluation |
| 27 | |
| 28 | variable {K V : Type*} [TopologicalSpace K] [CompactSpace K] |
| 29 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 30 | |
| 31 | private local instance : NormedAddCommGroup (Space →ᵇ V) := inferInstance |
| 32 | private local instance : NormedSpace ℝ (Space →ᵇ V) := inferInstance |
| 33 | |
| 34 | /-- Actual spatial evaluation, performed uniformly along the time path. -/ |
| 35 | def pathEvaluation (x : Space) : C(K,Space →ᵇ V) →L[ℝ] C(K,V) := |
| 36 | (BoundedContinuousFunction.evalCLM ℝ x).compLeftContinuous ℝ K |
| 37 | |
| 38 | /-- Evaluation is a contraction in the genuine uniform path norm. -/ |
| 39 | theorem pathEvaluation_norm (x : Space) : ‖pathEvaluation (K := K) (V := V) x‖ ≤ 1 := by |
| 40 | apply opNorm_le_bound _ zero_le_one |
| 41 | intro A |
| 42 | rw [one_mul] |
| 43 | apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 |
| 44 | intro t |
| 45 | exact ((A t).norm_coe_le_norm x).trans (A.norm_coe_le_norm t) |
| 46 | |
| 47 | /-- The source coefficient viewed as a time path at a spatial position. -/ |
| 48 | def pointPath (A : SmoothCoefficientPath K V) (x : Space) : C(K,V) := |
| 49 | pathEvaluation 0 (translateCoefficientPath A.field x) |
| 50 | |
| 51 | /-- The coefficient path has the literal prescribed pointwise values. -/ |
| 52 | theorem pointPath_apply (A : SmoothCoefficientPath K V) (x : Space) (t : K) : |
| 53 | pointPath A x t = A.field t x := by |
| 54 | change A.field t (0+x) = A.field t x |
| 55 | rw [zero_add] |
| 56 | |
| 57 | /-- Genuine smooth position dependence, in the uniform time-path norm. -/ |
| 58 | theorem pointPath_contDiff (A : SmoothCoefficientPath K V) : ContDiff ℝ ∞ (pointPath A) := by |
| 59 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) |
| 60 | (E := C(K,Space →ᵇ V)) (F := C(K,V)) (pathEvaluation 0)).comp A.translation_contDiff |
| 61 | |
| 62 | /-- Source pointwise derivative bounds give actual operator-norm derivatives of the time path. -/ |
| 63 | theorem pointPath_derivative_bound (A : SmoothCoefficientPath K V) |
| 64 | (n : ℕ) (C : ℝ) (hC : 0 ≤ C) |
| 65 | (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) (x : Space) : |
| 66 | ‖iteratedFDeriv ℝ n (pointPath A) x‖ ≤ C := by |
| 67 | have h := (pathEvaluation (K := K) (V := V) 0).norm_iteratedFDeriv_comp_left |
| 68 | (A.translation_contDiff.contDiffAt (x := x)) (n := n) (by simp) |
| 69 | exact h.trans ((mul_le_mul_of_nonneg_right (pathEvaluation_norm (K := K) (V := V) 0) |
| 70 | (norm_nonneg _)).trans (by simpa only [one_mul] using A.norm_iteratedFDeriv_translation_le n C hC hb x)) |
| 71 | |
| 72 | /-- Every prescribed factorial coefficient bound survives the time-path construction. -/ |
| 73 | theorem pointPath_gevrey (A : SmoothCoefficientPath K V) |
| 74 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) |
| 75 | (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C*majorant Rc d n) |
| 76 | (n : ℕ) (x : Space) : |
| 77 | ‖iteratedFDeriv ℝ n (pointPath A) x‖ ≤ C*majorant Rc d n := |
| 78 | pointPath_derivative_bound A n _ (mul_nonneg hC (majorant_nonneg Rc hRc d n)) (hb n) x |
| 79 | |
| 80 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 81 | |
| 82 | /-- Independent angle variables can be added by a fixed spatial projection. -/ |
| 83 | theorem pointPath_pullback_contDiff (L : P →L[ℝ] Space) (A : SmoothCoefficientPath K V) : |
| 84 | ContDiff ℝ ∞ (fun x => pointPath A (L x)) := |
| 85 | (pointPath_contDiff A).comp L.contDiff |
| 86 | |
| 87 | /-- A spatial projection of norm at most one preserves the literal source derivative bounds. -/ |
| 88 | theorem pointPath_pullback_derivative_bound (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) |
| 89 | (A : SmoothCoefficientPath K V) (n : ℕ) (C : ℝ) (hC : 0 ≤ C) |
| 90 | (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) (x : P) : |
| 91 | ‖iteratedFDeriv ℝ n (fun y => pointPath A (L y)) x‖ ≤ C := by |
| 92 | change ‖iteratedFDeriv ℝ n ((pointPath A) ∘ L) x‖ ≤ C |
| 93 | rw [L.iteratedFDeriv_comp_right (pointPath_contDiff A) x (by simp)] |
| 94 | have h := (iteratedFDeriv ℝ n (pointPath A) (L x)).norm_compContinuousLinearMap_le (fun _ => L) |
| 95 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at h |
| 96 | exact h.trans ((mul_le_mul (pointPath_derivative_bound A n C hC hb (L x)) |
| 97 | (pow_le_one₀ (norm_nonneg L) hL) (pow_nonneg (norm_nonneg L) n) hC).trans_eq (mul_one C)) |
| 98 | |
| 99 | /-- Joint spatial/angle coefficient bounds follow from the source spatial bounds. -/ |
| 100 | theorem pointPath_pullback_gevrey (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) |
| 101 | (A : SmoothCoefficientPath K V) |
| 102 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) |
| 103 | (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C*majorant Rc d n) |
| 104 | (n : ℕ) (x : P) : |
| 105 | ‖iteratedFDeriv ℝ n (fun y => pointPath A (L y)) x‖ ≤ C*majorant Rc d n := |
| 106 | pointPath_pullback_derivative_bound L hL A n _ |
| 107 | (mul_nonneg hC (majorant_nonneg Rc hRc d n)) (hb n) x |
| 108 | |
| 109 | end Evaluation |
| 110 | |
| 111 | section Frame |
| 112 | |
| 113 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 114 | |
| 115 | private local instance : NormedAddCommGroup (U →L[ℝ] Space) := inferInstance |
| 116 | private local instance : NormedSpace ℝ (U →L[ℝ] Space) := inferInstance |
| 117 | private local instance (T : ℝ) : NormedAddCommGroup C(Icc (0 : ℝ) T,U →L[ℝ] Space) := inferInstance |
| 118 | private local instance (T : ℝ) : NormedSpace ℝ C(Icc (0 : ℝ) T,U →L[ℝ] Space) := inferInstance |
| 119 | private local instance (T : ℝ) : NormedAddCommGroup C(Icc (0 : ℝ) T,Space →L[ℝ] Space) := inferInstance |
| 120 | private local instance (T : ℝ) : NormedSpace ℝ C(Icc (0 : ℝ) T,Space →L[ℝ] Space) := inferInstance |
| 121 | |
| 122 | variable (m₀ : Space) (Rperp : U ≃ₗᵢ[ℝ] referencePlane m₀) |
| 123 | |
| 124 | /-- The fixed orthonormal reference embedding is a contraction, including a trivial plane. -/ |
| 125 | theorem referenceEmbedding_norm : ‖referenceEmbedding m₀ Rperp‖ ≤ 1 := by |
| 126 | apply opNorm_le_bound _ zero_le_one |
| 127 | intro v |
| 128 | change ‖Rperp v‖ ≤ 1*‖v‖ |
| 129 | rw [one_mul, Rperp.norm_map] |
| 130 | |
| 131 | /-- Restrict an actual coefficient operator to the reference plane. -/ |
| 132 | def referenceRestriction : (Space →L[ℝ] Space) →L[ℝ] (U →L[ℝ] Space) := |
| 133 | (compL ℝ U Space Space).flip (referenceEmbedding m₀ Rperp) |
| 134 | |
| 135 | /-- The time-path reference restriction is a genuine bounded linear map. -/ |
| 136 | def framePathMap (T : ℝ) : C(Icc (0 : ℝ) T,Space →L[ℝ] Space) →L[ℝ] |
| 137 | C(Icc (0 : ℝ) T,U →L[ℝ] Space) := |
| 138 | (referenceRestriction m₀ Rperp).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 139 | |
| 140 | /-- This restriction is exactly the source frame path `F Rperp`. -/ |
| 141 | theorem framePathMap_apply (T : ℝ) (A : C(Icc (0 : ℝ) T,Space →L[ℝ] Space)) : |
| 142 | framePathMap m₀ Rperp T A = framePath m₀ Rperp T A := rfl |
| 143 | |
| 144 | /-- Orthogonal reference restriction does not enlarge the coefficient path norm. -/ |
| 145 | theorem framePathMap_norm (T : ℝ) : ‖framePathMap m₀ Rperp T‖ ≤ 1 := by |
| 146 | apply opNorm_le_bound _ zero_le_one |
| 147 | intro A |
| 148 | rw [one_mul] |
| 149 | apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 |
| 150 | intro t |
| 151 | calc |
| 152 | ‖framePathMap m₀ Rperp T A t‖ ≤ ‖A t‖ * ‖referenceEmbedding m₀ Rperp‖ := opNorm_comp_le _ _ |
| 153 | _ ≤ ‖A t‖ * 1 := mul_le_mul_of_nonneg_left (referenceEmbedding_norm m₀ Rperp) (norm_nonneg _) |
| 154 | _ ≤ ‖A‖ := by simpa only [mul_one] using A.norm_coe_le_norm t |
| 155 | |
| 156 | /-- The actual source frame depends smoothly on position in time-path operator norm. -/ |
| 157 | theorem sourceFrame_contDiff (T : ℝ) |
| 158 | (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) : |
| 159 | ContDiff ℝ ∞ (fun x => framePath m₀ Rperp T (pointPath A x)) := by |
| 160 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) |
| 161 | (E := C(Icc (0 : ℝ) T,Space →L[ℝ] Space)) |
| 162 | (F := C(Icc (0 : ℝ) T,U →L[ℝ] Space)) (framePathMap m₀ Rperp T)).comp (pointPath_contDiff A) |
| 163 | |
| 164 | /-- Source spatial factorial bounds give the exact frame-path bounds used by the inverse. -/ |
| 165 | theorem sourceFrame_gevrey (T : ℝ) |
| 166 | (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 167 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) |
| 168 | (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → Space →L[ℝ] Space) x‖ ≤ |
| 169 | C*majorant Rc d n) (n : ℕ) (x : Space) : |
| 170 | ‖iteratedFDeriv ℝ n (fun y => framePath m₀ Rperp T (pointPath A y)) x‖ ≤ C*majorant Rc d n := by |
| 171 | exact contraction_bound (framePathMap m₀ Rperp T) (framePathMap_norm m₀ Rperp T) |
| 172 | (pointPath A) (pointPath_contDiff A) Rc C hRc hC d (pointPath_gevrey A Rc C hRc hC d hb) n x |
| 173 | |
| 174 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 175 | |
| 176 | /-- The literal frame remains smooth after adjoining independent angle coordinates. -/ |
| 177 | theorem sourceFrame_pullback_contDiff (T : ℝ) (L : P →L[ℝ] Space) |
| 178 | (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) : |
| 179 | ContDiff ℝ ∞ (fun x => framePath m₀ Rperp T (pointPath A (L x))) := |
| 180 | (sourceFrame_contDiff m₀ Rperp T A).comp L.contDiff |
| 181 | |
| 182 | /-- The actual source `F Rperp` coefficients satisfy the full joint parameter factorial bounds. -/ |
| 183 | theorem sourceFrame_pullback_gevrey (T : ℝ) (L : P →L[ℝ] Space) (hL : ‖L‖ ≤ 1) |
| 184 | (A : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 185 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (d : ℕ) |
| 186 | (hb : ∀ n t x, ‖iteratedFDeriv ℝ n (A.field t : Space → Space →L[ℝ] Space) x‖ ≤ |
| 187 | C*majorant Rc d n) (n : ℕ) (x : P) : |
| 188 | ‖iteratedFDeriv ℝ n (fun y => framePath m₀ Rperp T (pointPath A (L y))) x‖ ≤ |
| 189 | C*majorant Rc d n := by |
| 190 | exact contraction_bound (framePathMap m₀ Rperp T) (framePathMap_norm m₀ Rperp T) |
| 191 | (fun y => pointPath A (L y)) (pointPath_pullback_contDiff L A) Rc C hRc hC d |
| 192 | (pointPath_pullback_gevrey L hL A Rc C hRc hC d hb) n x |
| 193 | |
| 194 | end Frame |
| 195 | |
| 196 | end EulerTransverseSourceCoefficientPath |