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.PacketCylinderBoundTransfer |
| 2 | import Euler.PacketCylinderFieldWeight |
| 3 | import Euler.PacketProfileBudget |
| 4 | import Euler.PacketFiniteProfileFields |
| 5 | import Euler.PacketFiniteAssemblyBounds |
| 6 | |
| 7 | /-! The literal initial packet is the sum of its oscillating high part |
| 8 | and its angle-independent mean part. Every field below is realized by |
| 9 | the already constructed continuous cylinder L² paths. -/ |
| 10 | |
| 11 | /-! ## From `Euler/PacketFieldTimeFreeze.lean` |
| 12 | |
| 13 | The text of `Euler/PacketFieldTimeFreeze.lean`, folded into this file, which was its only importer. -/ |
| 14 | |
| 15 | section |
| 16 | |
| 17 | /-! Time evaluation and constant extension preserve every genuine spatial |
| 18 | word bound. Restoring a time weight uses its value at that time, retaining |
| 19 | the source's initial alpha factor. -/ |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | |
| 24 | open scoped ContDiff |
| 25 | |
| 26 | namespace EulerContinuousTimeFreeze |
| 27 | |
| 28 | variable {K E : Type*} [TopologicalSpace K] [CompactSpace K] |
| 29 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 30 | |
| 31 | def freezePath (t : K) : C(K,E) →L[ℝ] C(K,E) := |
| 32 | (ContinuousLinearMap.const ℝ K).comp (ContinuousMap.evalCLM ℝ t) |
| 33 | |
| 34 | omit [CompactSpace K] in |
| 35 | @[simp] theorem freezePath_apply (t s : K) (p : C(K,E)) : freezePath t p s = p t := rfl |
| 36 | |
| 37 | theorem freezePath_norm (t : K) : ‖freezePath (E := E) t‖ ≤ 1 := by |
| 38 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 39 | intro p |
| 40 | rw [one_mul] |
| 41 | apply (ContinuousMap.norm_le _ (norm_nonneg p)).2 |
| 42 | intro s |
| 43 | exact p.norm_coe_le_norm t |
| 44 | |
| 45 | end EulerContinuousTimeFreeze |
| 46 | |
| 47 | namespace EulerPacketCylinderField.Field |
| 48 | |
| 49 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation |
| 50 | EulerCylinderSmoothOrbit EulerCylinderSobolev EulerContinuousTimeFreeze EulerParameterWordGevrey |
| 51 | EulerPacketProfileRecursion EulerContinuousTimeWeight |
| 52 | |
| 53 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} |
| 54 | |
| 55 | theorem freezePath_translate (t : Icc (0 : ℝ) T) (p : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 56 | (a : LiftTangent) : |
| 57 | pathTranslate P a (freezePath t p) = freezePath t (pathTranslate P a p) := by |
| 58 | apply ContinuousMap.ext |
| 59 | intro s |
| 60 | rfl |
| 61 | |
| 62 | def freeze (G : Field P T raw) (t : Icc (0 : ℝ) T) : |
| 63 | Field P T (fun z => raw (t,z.2)) := |
| 64 | ofLifted (freezePath t G.path) |
| 65 | (by |
| 66 | have he : (fun a : LiftTangent => pathTranslate P a (freezePath t G.path)) = |
| 67 | freezePath t ∘ (fun a : LiftTangent => pathTranslate P a G.path) := |
| 68 | funext (freezePath_translate t G.path) |
| 69 | rw [he] |
| 70 | exact (freezePath t).contDiff.comp G.orbit) |
| 71 | (fun _ => pointField P G.path G.orbit t) |
| 72 | (fun _ => EulerMetricTransport.smoothField_continuous P _ (pointField_smooth P G.path G.orbit t)) |
| 73 | (fun _ => pointField_ae P G.path G.orbit t) |
| 74 | (fun _ x θ => G.raw_eq t x θ) |
| 75 | |
| 76 | @[simp] theorem freeze_path (G : Field P T raw) (t : Icc (0 : ℝ) T) : |
| 77 | (G.freeze t).path = freezePath t G.path := rfl |
| 78 | |
| 79 | theorem WordBound.freeze {G : Field P T raw} {q d : ℕ} {R A : ℝ} |
| 80 | (hG : G.WordBound q R A d) (t : Icc (0 : ℝ) T) : |
| 81 | (G.freeze t).WordBound q R A d := by |
| 82 | intro n |
| 83 | have he : (fun a : LiftTangent => pathTranslate P a (G.freeze t).path) = |
| 84 | freezePath t ∘ (fun a : LiftTangent => pathTranslate P a G.path) := |
| 85 | funext (freezePath_translate t G.path) |
| 86 | rw [he] |
| 87 | have hb := block_comp_clm_le standardDirection q |
| 88 | (freezePath (E := LiftL2 P) t) |
| 89 | (fun a : LiftTangent => pathTranslate P a G.path) G.orbit n 0 |
| 90 | have hp : 0 ≤ block standardDirection q |
| 91 | (fun a : LiftTangent => pathTranslate P a G.path) n 0 := |
| 92 | block_nonneg standardDirection q (fun a : LiftTangent => pathTranslate P a G.path) n 0 |
| 93 | have hn : ‖freezePath (E := LiftL2 P) t‖ ≤ 1 := freezePath_norm t |
| 94 | have hm := mul_le_mul_of_nonneg_right hn hp |
| 95 | rw [one_mul] at hm |
| 96 | exact hb.trans (hm.trans (hG n)) |
| 97 | |
| 98 | theorem freeze_normalized_restore (G : Field P T raw) (hT : 0 ≤ T) |
| 99 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) (t : Icc (0 : ℝ) T) : |
| 100 | (G.freeze t).path = (((G.normalized hT g hg).freeze t).smul (g t)).path := by |
| 101 | apply ContinuousMap.ext |
| 102 | intro s |
| 103 | change G.path t = g t • ((g t)⁻¹ • G.path t) |
| 104 | rw [smul_smul, mul_inv_cancel₀ (ne_of_gt (hg t)), one_smul] |
| 105 | |
| 106 | theorem WordBound.freeze_normalized {G : Field P T raw} {q d : ℕ} {R A : ℝ} |
| 107 | (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 108 | (hG : (G.normalized hT g hg).WordBound q R A d) (t : Icc (0 : ℝ) T) : |
| 109 | (G.freeze t).WordBound q R (g t*A) d := by |
| 110 | have h := (hG.freeze t).smul (g t) |
| 111 | rw [abs_of_pos (hg t)] at h |
| 112 | exact h.of_path_eq (G.freeze t) (G.freeze_normalized_restore hT g hg t) |
| 113 | |
| 114 | end EulerPacketCylinderField.Field |
| 115 | |
| 116 | namespace EulerPacketCylinderField.ProfileBudget |
| 117 | |
| 118 | open Set EulerPacketProfileRecursion EulerPacketTimeProfile EulerPacketShiftArithmetic |
| 119 | |
| 120 | variable {P T : ℝ} [Fact (0 < P)] {hT : 0 ≤ T} {support : Set EulerSmoothLimit.Space} |
| 121 | {a : Profile} {G : ProfileRegularity P T hT support a} |
| 122 | {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} {p : ℕ} |
| 123 | |
| 124 | theorem high_freeze (hG : ProfileBudget G S R p) (t : Icc (0 : ℝ) T) : |
| 125 | (G.high.freeze t).WordBound 6 R (S.high p t) (highShift p) := by |
| 126 | simpa only [mul_one] using hG.high.freeze_normalized hT (S.high p) (S.high_pos p) t |
| 127 | |
| 128 | theorem corrector_freeze (hG : ProfileBudget G S R p) (t : Icc (0 : ℝ) T) : |
| 129 | (G.corrector.freeze t).WordBound 6 R (S.high p t) (highShift p) := by |
| 130 | simpa only [mul_one] using hG.corrector.freeze_normalized hT (S.high p) (S.high_pos p) t |
| 131 | |
| 132 | theorem mean_freeze (hG : ProfileBudget G S R p) (t : Icc (0 : ℝ) T) : |
| 133 | (G.mean.freeze t).WordBound 6 R (S.mean p t) (meanShift p) := by |
| 134 | simpa only [mul_one] using hG.mean.freeze_normalized hT (S.mean p) (S.mean_pos p) t |
| 135 | |
| 136 | end EulerPacketCylinderField.ProfileBudget |
| 137 | end |
| 138 | |
| 139 | end |
| 140 | |
| 141 | noncomputable section |
| 142 | |
| 143 | |
| 144 | namespace EulerPacketInitial |
| 145 | |
| 146 | open Set Finset EulerSmoothLimit EulerPacketProfileRecursion EulerPacketPointJets |
| 147 | EulerPacketCylinderField EulerFiniteGrades |
| 148 | |
| 149 | def timeSlice (t : ℝ) (f : VectorField) : VectorField := fun z => f (t,z.2) |
| 150 | |
| 151 | def highGrade (N : ℕ) (t : ℝ) (a : ℕ → Profile) : ℕ → VectorField := |
| 152 | assemble N (fun i => timeSlice t (a i).high) (fun i => timeSlice t (a i).corrector) |
| 153 | |
| 154 | def meanGrade (N : ℕ) (t : ℝ) (a : ℕ → Profile) : ℕ → VectorField := |
| 155 | truncate N (fun i => timeSlice t (a i).mean) |
| 156 | |
| 157 | def high (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : VectorField := |
| 158 | fieldSum (N+1) κ (highGrade N t a) |
| 159 | |
| 160 | def mean (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : VectorField := |
| 161 | fieldSum (N+1) κ (meanGrade N t a) |
| 162 | |
| 163 | theorem high_eq (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : |
| 164 | high N κ t a = fieldSum N κ (fun i => timeSlice t (a i).high) + |
| 165 | κ • fieldSum N κ (fun i => timeSlice t (a i).corrector) := by |
| 166 | funext z |
| 167 | have h := congrFun (evaluate_assemble N κ (fun i => timeSlice t (a i).high) |
| 168 | (fun i => timeSlice t (a i).corrector)) z |
| 169 | simpa only [high,highGrade,fieldSum,evaluate,Finset.sum_apply,Pi.smul_apply,Pi.add_apply] using h |
| 170 | |
| 171 | theorem mean_eq (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : |
| 172 | mean N κ t a = fieldSum N κ (fun i => timeSlice t (a i).mean) := by |
| 173 | funext z |
| 174 | have h := congrFun (evaluate_truncate_extend N (N+1) (by omega) κ |
| 175 | (fun i => timeSlice t (a i).mean)) z |
| 176 | simpa only [mean,meanGrade,fieldSum,evaluate,Finset.sum_apply,Pi.smul_apply] using h |
| 177 | |
| 178 | theorem packet_split (N : ℕ) (κ t : ℝ) (a : ℕ → Profile) : |
| 179 | timeSlice t (fieldSum (N+1) κ (assembledVelocity N a)) = |
| 180 | high N κ t a + mean N κ t a := by |
| 181 | rw [high_eq,mean_eq] |
| 182 | funext z |
| 183 | have he := congrFun (evaluate_assemble N κ (fun i => (a i).high+(a i).mean) |
| 184 | (fun i => (a i).corrector)) (t,z.2) |
| 185 | simpa only [timeSlice,fieldSum,evaluate,assembledVelocity,Finset.sum_apply,Pi.add_apply, |
| 186 | Pi.smul_apply,smul_add,sum_add_distrib,add_assoc,add_comm,add_left_comm] using he |
| 187 | |
| 188 | variable {P T : ℝ} [Fact (0 < P)] {hT : 0 ≤ T} {N : ℕ} |
| 189 | {a : ℕ → Profile} {support : Set Space} |
| 190 | |
| 191 | def highGradeField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 192 | (t : Icc (0 : ℝ) T) (n : ℕ) : Field P T (highGrade N t a n) := |
| 193 | Field.assembleFamily N _ _ (fun i hi => (G i hi).high.freeze t) |
| 194 | (fun i hi => (G i hi).corrector.freeze t) n |
| 195 | |
| 196 | def meanGradeField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 197 | (t : Icc (0 : ℝ) T) (n : ℕ) : Field P T (meanGrade N t a n) := |
| 198 | Field.truncateFamily N _ (fun i hi => (G i hi).mean.freeze t) n |
| 199 | |
| 200 | def highField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 201 | (t : Icc (0 : ℝ) T) (κ : ℝ) : Field P T (high N κ t a) := |
| 202 | Field.evaluateFamily (N+1) κ _ (highGradeField G t) |
| 203 | |
| 204 | def meanField (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 205 | (t : Icc (0 : ℝ) T) (κ : ℝ) : Field P T (mean N κ t a) := |
| 206 | Field.evaluateFamily (N+1) κ _ (meanGradeField G t) |
| 207 | |
| 208 | theorem high_zero_outside (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 209 | (t : Icc (0 : ℝ) T) (κ s : ℝ) (x : Space) (hx : x ∉ support) (θ : ℝ) : |
| 210 | high N κ t a (s,(x,θ)) = 0 := by |
| 211 | rw [high_eq] |
| 212 | change (∑ i ∈ range (N+1), κ^i • (a i).high (t,(x,θ))) + |
| 213 | κ • (∑ i ∈ range (N+1), κ^i • (a i).corrector (t,(x,θ))) = 0 |
| 214 | have hh : (∑ i ∈ range (N+1), κ^i • (a i).high (t,(x,θ))) = 0 := by |
| 215 | apply sum_eq_zero |
| 216 | intro i hi |
| 217 | rw [(G i (by have := mem_range.mp hi; omega)).high_zero t x hx θ,smul_zero] |
| 218 | have hc : (∑ i ∈ range (N+1), κ^i • (a i).corrector (t,(x,θ))) = 0 := by |
| 219 | apply sum_eq_zero |
| 220 | intro i hi |
| 221 | rw [(G i (by have := mem_range.mp hi; omega)).corrector_zero t x hx θ,smul_zero] |
| 222 | rw [hh,hc,smul_zero,add_zero] |
| 223 | |
| 224 | theorem mean_angle (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 225 | (t : Icc (0 : ℝ) T) (κ s : ℝ) (x : Space) (θ : ℝ) : |
| 226 | mean N κ t a (s,(x,θ)) = mean N κ t a (s,(x,0)) := by |
| 227 | rw [mean_eq] |
| 228 | change (∑ i ∈ range (N+1), κ^i • (a i).mean (t,(x,θ))) = |
| 229 | ∑ i ∈ range (N+1), κ^i • (a i).mean (t,(x,0)) |
| 230 | apply sum_congr rfl |
| 231 | intro i hi |
| 232 | rw [(G i (by have := mem_range.mp hi; omega)).mean_angle t x θ] |
| 233 | |
| 234 | theorem mean_zero_outside (t : ℝ) (κ s : ℝ) (a : ℕ → Profile) |
| 235 | (K : Set Space) |
| 236 | (hmean : ∀ i, i ≤ N → ∀ x, x ∉ K → ∀ θ, (a i).mean (t,(x,θ)) = 0) |
| 237 | (x : Space) (hx : x ∉ K) (θ : ℝ) : |
| 238 | mean N κ t a (s,(x,θ)) = 0 := by |
| 239 | rw [mean_eq] |
| 240 | change (∑ i ∈ range (N+1), κ^i • (a i).mean (t,(x,θ))) = 0 |
| 241 | apply sum_eq_zero |
| 242 | intro i hi |
| 243 | rw [hmean i (by have := mem_range.mp hi; omega) x hx θ,smul_zero] |
| 244 | |
| 245 | end EulerPacketInitial |