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 NavierStokes.ScaledActualParticularControl |
| 2 | |
| 3 | /-! |
| 4 | # Geometric jets for the actual scaled particular inverse |
| 5 | |
| 6 | The normal, its native time derivative, and the action operator are |
| 7 | computed from the selected transported frame. Their native-copy jets |
| 8 | follow from the selected phase construction and the polynomial coordinate |
| 9 | cost, without estimates on a solved velocity or pressure as hypotheses. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ScaledParticularFrameJets |
| 15 | |
| 16 | open Set Function Filter WeightedClasses PhaseJetBounds PrimaryPulseBounds |
| 17 | open CommonCoverSolve TorusInverse ParticularWaveBounds PeriodizedWaveBounds |
| 18 | open ActualParticularControl |
| 19 | open scoped Topology ContDiff BigOperators |
| 20 | |
| 21 | abbrev Slow := PhaseCalculus.Slow |
| 22 | abbrev Space := ProblemStatement.Space |
| 23 | abbrev Plane := TorusInverse.Plane |
| 24 | |
| 25 | |
| 26 | section FrameAlgebra |
| 27 | |
| 28 | variable {ι Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 29 | {U : Domain ι (Q × ℝ)} {d : ι → PrimaryODE.FrameData Q} |
| 30 | |
| 31 | theorem frame_normal_jets (h : FrameJets U d) : |
| 32 | PolynomialJets U (fun i => (d i).normal) := by |
| 33 | exact ((h.beta.mul h.rho).pair (h.beta.smul h.K)).clm MovingFrameODE.packCLM |
| 34 | |
| 35 | theorem frame_motion_jets (h : FrameJets U d) : |
| 36 | PolynomialJets U (fun i => (d i).normalMotion) := by |
| 37 | exact (((h.betaDot.mul h.rho).add (h.beta.mul h.rhoDot)).pair |
| 38 | ((h.betaDot.smul h.K).add ((h.beta.mul h.rotation).smul h.N))).clm MovingFrameODE.packCLM |
| 39 | |
| 40 | theorem frame_action_jets (h : FrameJets U d) : |
| 41 | PolynomialJets U (fun i z => PrimaryCopyBridge.baseOperator ((d i).F z) ((d i).shear z)) := |
| 42 | (h.F.pair h.shear).clm PrimaryCopyBridge.baseOperatorFamily |
| 43 | |
| 44 | end FrameAlgebra |
| 45 | |
| 46 | section UniformAffine |
| 47 | |
| 48 | variable {Label I X Q E : Type} |
| 49 | [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 50 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 51 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 52 | |
| 53 | /-- The translation may depend on the lattice copy; its size never |
| 54 | enters a derivative bound. -/ |
| 55 | theorem polynomial_native_jets (s : StripData X) |
| 56 | {U : Domain (Label × ℕ) Q} {f : (Label × ℕ) → Q → E} |
| 57 | (hf : PolynomialJets U f) (C : Label → ℕ → I → Set X) |
| 58 | (L : Label → ℕ → X →L[ℝ] Q) (b : Label → ℕ → I → Q) |
| 59 | (hscale : ∀ l n, U.scale (l,n) = s.slow n) |
| 60 | {A : ℝ} {a : ℕ} (hA : 1 ≤ A) |
| 61 | (hL : ∀ l n, ‖L l n‖ ≤ A * s.slow n ^ a) |
| 62 | (hmap : ∀ l n k x, x ∈ s.domain → x ∈ C l n k → L l n x + b l n k ∈ U.carrier (l,n)) : |
| 63 | UniformLocalJets s (fun _ _ _ => 1) 0 C |
| 64 | (fun l n k x => f (l,n) (L l n x + b l n k)) := by |
| 65 | let V : PrimaryCopyBounds.JetDomain (Label × ℕ) Q := |
| 66 | { toDomain := U |
| 67 | growth := fun i _ => U.scale i |
| 68 | scale_le_growth := fun _ _ _ => le_rfl } |
| 69 | have hn : PrimaryCopyBounds.NativeJets V (fun _ _ => 1) f := |
| 70 | PrimaryCopyBounds.NativeJets.of_polynomial hf |
| 71 | apply hn.copy_localJets s (fun _ _ _ => 1) 0 (fun l n => (l,n)) |
| 72 | (fun l n _ => L l n) b C (fun _ _ _ _ => zero_le_one) hmap |
| 73 | (A := 1) (B := A) le_rfl hA 1 a |
| 74 | · intro l n k x hx hk |
| 75 | change U.scale (l,n) ≤ 1 * s.growth n x ^ 1 |
| 76 | simpa only [hscale, pow_one, one_mul] using s.slow_le_growth n x |
| 77 | · intro l n k |
| 78 | exact hL l n |
| 79 | · intro l n k x hx hk |
| 80 | simp only [Real.rpow_zero, mul_one, le_refl] |
| 81 | |
| 82 | end UniformAffine |
| 83 | |
| 84 | section NativeCoordinates |
| 85 | |
| 86 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 87 | |
| 88 | noncomputable def argument (χ : P →L[ℝ] Slow) (g : Geometry) (k : Frequency) |
| 89 | (x : P × Plane) : Slow × ℝ := (χ x.1, (g.coordinates k x.2).2) |
| 90 | |
| 91 | noncomputable def argumentLinear (χ : P →L[ℝ] Slow) (g : Geometry) : |
| 92 | (P × Plane) →L[ℝ] (Slow × ℝ) := |
| 93 | (χ.comp (ContinuousLinearMap.fst ℝ P Plane)).prod |
| 94 | ((ContinuousLinearMap.snd ℝ ℝ ℝ).comp (g.coordinateLinear.comp (ContinuousLinearMap.snd ℝ P Plane))) |
| 95 | |
| 96 | theorem argument_affine (χ : P →L[ℝ] Slow) (g : Geometry) (k : Frequency) (x : P × Plane) : |
| 97 | argument χ g k x = argumentLinear χ g x + (0,(g.coordinates k 0).2) := by |
| 98 | change (χ x.1, (g.coordinates k x.2).2) = (χ x.1+0, (g.coordinateLinear x.2).2+(g.coordinates k 0).2) |
| 99 | rw [g.coordinates_eq_affine] |
| 100 | simp only [Prod.snd_add, zero_add, add_comm] |
| 101 | |
| 102 | theorem argumentLinear_norm (χ : P →L[ℝ] Slow) (g : Geometry) : |
| 103 | ‖argumentLinear χ g‖ ≤ ‖χ‖ + CommonCoverClass.argumentCost g := by |
| 104 | have hg : 0 ≤ CommonCoverClass.argumentCost g := zero_le_one.trans (CommonCoverClass.one_le_argumentCost g) |
| 105 | have hc : ‖g.coordinateLinear‖ ≤ CommonCoverClass.argumentCost g := by |
| 106 | unfold CommonCoverClass.argumentCost |
| 107 | have hh : 0 ≤ ‖g.pointLinear‖ * (1+‖g.coordinateLinear‖) := by positivity |
| 108 | linarith |
| 109 | apply ContinuousLinearMap.opNorm_le_bound _ (add_nonneg (norm_nonneg _) hg) |
| 110 | intro x |
| 111 | change ‖(χ x.1, (g.coordinateLinear x.2).2)‖ ≤ _ |
| 112 | rw [Prod.norm_def] |
| 113 | apply max_le |
| 114 | · exact (χ.le_opNorm x.1).trans ((mul_le_mul_of_nonneg_left (norm_fst_le x) (norm_nonneg χ)).trans |
| 115 | (mul_le_mul_of_nonneg_right (le_add_of_nonneg_right hg) (norm_nonneg x))) |
| 116 | · exact (norm_snd_le (g.coordinateLinear x.2)).trans ((g.coordinateLinear.le_opNorm x.2).trans |
| 117 | ((mul_le_mul hc (norm_snd_le x) (norm_nonneg x.2) hg).trans |
| 118 | (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left (norm_nonneg χ)) (norm_nonneg x)))) |
| 119 | |
| 120 | theorem argument_smooth (χ : P →L[ℝ] Slow) (g : Geometry) (k : Frequency) : |
| 121 | ContDiff ℝ ∞ (argument χ g k) := by |
| 122 | have he : argument χ g k = fun x => argumentLinear χ g x+(0,(g.coordinates k 0).2) := |
| 123 | funext (argument_affine χ g k) |
| 124 | rw [he] |
| 125 | exact (argumentLinear χ g).contDiff.add contDiff_const |
| 126 | |
| 127 | end NativeCoordinates |
| 128 | |
| 129 | section ActualJets |
| 130 | |
| 131 | variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 132 | {D : Domain (Label × ℕ) Slow} |
| 133 | (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] Slow) |
| 134 | (φ : (Label × ℕ) → Slow →L[ℝ] Slow) |
| 135 | (clock normal : ActualSignedControl.PositiveScale Label) |
| 136 | (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) |
| 137 | |
| 138 | noncomputable def tangent (source : Label → ℕ → P × Plane → Space) (j : ℤ) |
| 139 | (l : Label) (n : ℕ) : TangentData P Space := |
| 140 | PrimaryCopyBridge.frameTangentData |
| 141 | (nativeFrame (ScaledActualParticularControl.frame F φ clock normal (l,n)) χ) j (source l n) |
| 142 | |
| 143 | theorem argument_mem {l : Label} {n : ℕ} {k : Frequency} {x : P × Plane} |
| 144 | (hx : x ∈ ScaledActualParticularControl.patch s F χ φ clock g r l n k) : |
| 145 | argument χ (g l n) k x ∈ |
| 146 | ((ScaledActualParticularControl.targetDomain (D := D) s φ).slot |
| 147 | (ScaledActualParticularControl.interval F clock) |
| 148 | (ScaledActualParticularControl.interval_open F clock)).carrier (l,n) := |
| 149 | ⟨hx.1.2.1, ScaledActualParticularControl.interval_contains F clock (l,n) |
| 150 | ⟨hx.1.2.2.1.le,hx.1.2.2.2.le⟩⟩ |
| 151 | |
| 152 | theorem frame_field_native_jets {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 153 | {f : (Label × ℕ) → Slow × ℝ → E} |
| 154 | (hf : PolynomialJets |
| 155 | ((ScaledActualParticularControl.targetDomain (D := D) s φ).slot |
| 156 | (ScaledActualParticularControl.interval F clock) |
| 157 | (ScaledActualParticularControl.interval_open F clock)) f) |
| 158 | {C : ℝ} {a : ℕ} (hC : 1 ≤ C) |
| 159 | (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ C*s.slow n^a) : |
| 160 | UniformLocalJets (CommonCoverClass.sourceStrip s) (fun _ _ _ => 1) 0 |
| 161 | (ScaledActualParticularControl.patch s F χ φ clock g r) |
| 162 | (fun l n k x => f (l,n) (argument χ (g l n) k x)) := by |
| 163 | have hL l n : ‖argumentLinear χ (g l n)‖ ≤ (‖χ‖+C)*s.slow n^a := by |
| 164 | apply (argumentLinear_norm χ (g l n)).trans |
| 165 | have hs := one_le_pow₀ (s.one_le_slow n) (n := a) |
| 166 | have hp := mul_le_mul_of_nonneg_left hs (norm_nonneg χ) |
| 167 | nlinarith [hgeometry l n] |
| 168 | have hj := polynomial_native_jets (CommonCoverClass.sourceStrip s) hf |
| 169 | (ScaledActualParticularControl.patch s F χ φ clock g r) |
| 170 | (fun l n => argumentLinear χ (g l n)) (fun l n k => (0,(g l n).coordinates k 0 |>.2)) |
| 171 | (fun _ _ => rfl) (A := ‖χ‖+C) (a := a) (by linarith [norm_nonneg χ]) hL |
| 172 | (fun l n k x hx hk => by |
| 173 | rw [← argument_affine] |
| 174 | exact argument_mem s F χ φ clock g r hk) |
| 175 | simpa only [← argument_affine] using hj |
| 176 | |
| 177 | theorem native_normal_eq (source : Label → ℕ → P × Plane → Space) (j : ℤ) |
| 178 | (l : Label) (n : ℕ) (k : Frequency) (x : P × Plane) : |
| 179 | (tangent F χ φ clock normal source j l n).normal (ParticularWaveBounds.nativePoint (g l n) k x) = |
| 180 | (ScaledActualParticularControl.frame F φ clock normal (l,n)).normal (argument χ (g l n) k x) := rfl |
| 181 | |
| 182 | theorem native_motion_eq (source : Label → ℕ → P × Plane → Space) (j : ℤ) |
| 183 | (l : Label) (n : ℕ) (k : Frequency) (x : P × Plane) : |
| 184 | (tangent F χ φ clock normal source j l n).normalDot (ParticularWaveBounds.nativePoint (g l n) k x) = |
| 185 | (ScaledActualParticularControl.frame F φ clock normal (l,n)).normalMotion (argument χ (g l n) k x) := rfl |
| 186 | |
| 187 | theorem native_action_eq (source : Label → ℕ → P × Plane → Space) (j : ℤ) |
| 188 | (l : Label) (n : ℕ) (k : Frequency) (x : P × Plane) : |
| 189 | (tangent F χ φ clock normal source j l n).action (ParticularWaveBounds.nativePoint (g l n) k x) = |
| 190 | PrimaryCopyBridge.baseOperator |
| 191 | ((ScaledActualParticularControl.frame F φ clock normal (l,n)).F (argument χ (g l n) k x)) |
| 192 | ((ScaledActualParticularControl.frame F φ clock normal (l,n)).shear (argument χ (g l n) k x)) := rfl |
| 193 | |
| 194 | /-- These are the three actual geometric inputs needed by the pressure |
| 195 | estimate in `ParticularCopyBounds.uniform_coefficients_jets`. -/ |
| 196 | theorem native_geometry_jets |
| 197 | (source : Label → ℕ → P × Plane → Space) (j : ℤ) |
| 198 | {A B C : ℝ} {a : ℕ} (hA : 1 ≤ A) (hB : 1 ≤ B) (hC : 1 ≤ C) |
| 199 | (hφ : ∀ i, ‖φ i‖ ≤ A) (hscale : ∀ i, D.scale i ≤ B*s.slow i.2) |
| 200 | (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ C*s.slow n^a) : |
| 201 | UniformLocalJets (CommonCoverClass.sourceStrip s) (fun _ _ _ => 1) 0 |
| 202 | (ScaledActualParticularControl.patch s F χ φ clock g r) |
| 203 | (fun l n k x => (tangent F χ φ clock normal source j l n).normal |
| 204 | (ParticularWaveBounds.nativePoint (g l n) k x)) ∧ |
| 205 | UniformLocalJets (CommonCoverClass.sourceStrip s) (fun _ _ _ => 1) 0 |
| 206 | (ScaledActualParticularControl.patch s F χ φ clock g r) |
| 207 | (fun l n k x => (tangent F χ φ clock normal source j l n).normalDot |
| 208 | (ParticularWaveBounds.nativePoint (g l n) k x)) ∧ |
| 209 | UniformLocalJets (CommonCoverClass.sourceStrip s) (fun _ _ _ => 1) 0 |
| 210 | (ScaledActualParticularControl.patch s F χ φ clock g r) |
| 211 | (fun l n k x => (tangent F χ φ clock normal source j l n).action |
| 212 | (ParticularWaveBounds.nativePoint (g l n) k x)) := by |
| 213 | have hd := ScaledActualParticularControl.frame_jets s F φ clock normal hA hB hφ hscale |
| 214 | exact ⟨frame_field_native_jets s F χ φ clock g r (frame_normal_jets hd) hC hgeometry, |
| 215 | frame_field_native_jets s F χ φ clock g r (frame_motion_jets hd) hC hgeometry, |
| 216 | frame_field_native_jets s F χ φ clock g r (frame_action_jets hd) hC hgeometry⟩ |
| 217 | |
| 218 | end ActualJets |
| 219 | |
| 220 | section NormalRange |
| 221 | |
| 222 | variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 223 | {D : Domain (Label × ℕ) Slow} |
| 224 | (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] Slow) |
| 225 | (φ : (Label × ℕ) → Slow →L[ℝ] Slow) |
| 226 | (clock normal : ActualSignedControl.PositiveScale Label) |
| 227 | (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) |
| 228 | |
| 229 | /-- The frame reconstructed from the selected actual phase has exactly |
| 230 | that phase's normal; the nonzero transverse normal follows from its |
| 231 | proved reference comparison. -/ |
| 232 | theorem selected_frame_normal_eq {i : Label × ℕ} {z : Slow × ℝ} |
| 233 | (hz : z ∈ (D.slot F.V F.openV).carrier i) : |
| 234 | (F.frame i).normal z = F.phase.normal i z := by |
| 235 | have ht := (normal_range_of_reference_close F.B F.K F.slope F.error |
| 236 | F.b_pos F.one_le_M F.B_bound F.K_unit F.slope_bound F.error_small F.normal_close).1 i z hz |
| 237 | have hn : MovingFrameODE.tail (F.phase.normal i z) ≠ 0 := |
| 238 | norm_pos_iff.mp (F.b_pos.trans_le ht) |
| 239 | exact PrimaryODE.FrameData.ofNormalLocal_normal _ _ _ _ _ _ _ _ hn |
| 240 | |
| 241 | theorem native_normal_eq_scaled (source : Label → ℕ → P × Plane → Space) (j : ℤ) |
| 242 | {l : Label} {n : ℕ} {k : Frequency} {x : P × Plane} |
| 243 | (hx : x ∈ ScaledActualParticularControl.patch s F χ φ clock g r l n k) : |
| 244 | (tangent F χ φ clock normal source j l n).normal (ParticularWaveBounds.nativePoint (g l n) k x) = |
| 245 | normal.value l n • F.phase.normal (l,n) |
| 246 | (φ (l,n) (χ x.1), clock.value l n * ((g l n).coordinates k x.2).2) := by |
| 247 | rw [native_normal_eq] |
| 248 | change (transportedFrame (F.frame (l,n)) (φ (l,n)) 0 (clock.value l n) (normal.value l n)).normal |
| 249 | (argument χ (g l n) k x) = _ |
| 250 | rw [transported_normal] |
| 251 | simp only [argument, zero_add] |
| 252 | congr 1 |
| 253 | exact selected_frame_normal_eq F ⟨hx.1.2.1, |
| 254 | F.interval (l,n) (ScaledActualParticularControl.clock_mem F clock ⟨hx.1.2.2.1.le,hx.1.2.2.2.le⟩)⟩ |
| 255 | |
| 256 | theorem normal_lower_pos : 0 < normal.lower * F.b := mul_pos normal.lower_pos F.b_pos |
| 257 | |
| 258 | /-- Both range constants precede every label, band, native copy and |
| 259 | evaluation point. There is no inverse dependence on the clock rate. -/ |
| 260 | theorem native_normal_bounds (source : Label → ℕ → P × Plane → Space) (j : ℤ) |
| 261 | {l : Label} {n : ℕ} {k : Frequency} {x : P × Plane} |
| 262 | (hx : x ∈ ScaledActualParticularControl.patch s F χ φ clock g r l n k) : |
| 263 | normal.lower * F.b ≤ |
| 264 | ‖(tangent F χ φ clock normal source j l n).normal (ParticularWaveBounds.nativePoint (g l n) k x)‖ ∧ |
| 265 | ‖(tangent F χ φ clock normal source j l n).normal (ParticularWaveBounds.nativePoint (g l n) k x)‖ ≤ |
| 266 | normal.upper * (F.M^2 + 3*F.M) := by |
| 267 | rw [native_normal_eq_scaled s F χ φ clock normal g r source j hx, |
| 268 | norm_smul, Real.norm_eq_abs, abs_of_pos (normal.value_pos l n)] |
| 269 | have hz : (φ (l,n) (χ x.1), clock.value l n * ((g l n).coordinates k x.2).2) ∈ |
| 270 | (D.slot F.V F.openV).carrier (l,n) := |
| 271 | ⟨hx.1.2.1, F.interval (l,n) |
| 272 | (ScaledActualParticularControl.clock_mem F clock ⟨hx.1.2.2.1.le,hx.1.2.2.2.le⟩)⟩ |
| 273 | constructor |
| 274 | · exact (mul_le_mul_of_nonneg_right (normal.bounds l n).1 F.b_pos.le).trans |
| 275 | (mul_le_mul_of_nonneg_left (F.normal_range.1 (l,n) _ hz) (normal.value_pos l n).le) |
| 276 | · exact (mul_le_mul_of_nonneg_right (normal.bounds l n).2 (norm_nonneg _)).trans |
| 277 | (mul_le_mul_of_nonneg_left (F.normal_range.2 (l,n) _ hz) (zero_le_one.trans normal.upper_one)) |
| 278 | |
| 279 | end NormalRange |
| 280 | |
| 281 | end NavierStokes.ScaledParticularFrameJets |