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.PacketNeighborControlled |
| 2 | import Euler.PacketReferenceRatio |
| 3 | import Euler.PacketVelocityPropagator |
| 4 | |
| 5 | /-! The actual controlled velocity system has polynomial relative propagation. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | |
| 10 | namespace EulerPacketMovingFrame |
| 11 | |
| 12 | open Set EulerPacketRay EulerPacketBridge EulerPacketExistence |
| 13 | |
| 14 | /-- No initial velocity restriction is imposed. The reference can have |
| 15 | any nonnegative initial slope, and the bound retains its ratio. -/ |
| 16 | theorem controlled_velocity_propagator_within |
| 17 | {σ Θ T e ε : ℝ} {Z Z₁ U V P Q N : ℝ → ℝ} |
| 18 | {R A C : ℝ → Fin 3 → Fin 3 → ℝ} |
| 19 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hΘ : 1 ≤ Θ) |
| 20 | (hT0 : 0 < T) (hT : T ≤ Θ) (he : 0 ≤ e) (hε : 0 ≤ ε) (hεe : ε ≤ e) |
| 21 | (hsmall : 8000000*e*Θ^21 ≤ 1) |
| 22 | (hRc : ∀ i j, ContinuousOn (fun t => R t i j) (Icc 0 T)) |
| 23 | (hAc : ∀ i j, ContinuousOn (fun t => A t i j) (Icc 0 T)) |
| 24 | (hCc : ∀ i j, ContinuousOn (fun t => C t i j) (Icc 0 T)) |
| 25 | (hP : ∀ t ∈ Icc 0 T, HasDerivWithinAt P |
| 26 | (R t 0 0*P t+R t 0 1*Q t+R t 0 2*N t) (Icc 0 T) t) |
| 27 | (hQ : ∀ t ∈ Icc 0 T, HasDerivWithinAt Q |
| 28 | (R t 1 0*P t+R t 1 1*Q t+R t 1 2*N t) (Icc 0 T) t) |
| 29 | (hN : ∀ t ∈ Icc 0 T, HasDerivWithinAt N |
| 30 | (R t 2 0*P t+R t 2 1*Q t+R t 2 2*N t) (Icc 0 T) t) |
| 31 | (hU : ∀ t ∈ Icc 0 T, HasDerivWithinAt U |
| 32 | (velocityFirstRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) |
| 33 | (hV : ∀ t ∈ Icc 0 T, HasDerivWithinAt V |
| 34 | (velocitySecondRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) |
| 35 | (hRclose : ∀ t ∈ Icc 0 T, ∀ i j, |R t i j-idealRayEntry (σ^2) i j| ≤ 4*e) |
| 36 | (hAclose : ∀ t ∈ Icc 0 T, ∀ i j, |A t i j-idealVelocityEntry (σ^2) i j| ≤ 3*e) |
| 37 | (hCclose : ∀ t ∈ Icc 0 T, ∀ j, |
| 38 | |C t 0 j-idealUnprojectedEntry 0 j| ≤ 5*e ∧ |
| 39 | |C t 1 j-idealUnprojectedEntry 1 j| ≤ 5*e) |
| 40 | (hrayInitial : norm3 (P 0) (Q 0) (N 0-1) ≤ e) |
| 41 | (hZ : ∀ t, 0 ≤ t → HasDerivAt Z (Z₁ t) t) |
| 42 | (hfluxZ : ∀ t, 0 ≤ t → HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 43 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) |
| 44 | (hZ0 : Z 0 = 1) (hZ₁0 : 0 ≤ Z₁ 0) : |
| 45 | ∀ s t, 0 ≤ s → s ≤ t → t ≤ T → |
| 46 | |U t|+|V t| ≤ 40*Θ^8*(Z t/Z s)*(|U s|+|V s|) := by |
| 47 | have hσ2 : σ^2 ≤ 1 := by nlinarith only [hσ, hσsmall] |
| 48 | obtain ⟨F, F₁, G, G₁, hF0, hF₁0, _, hG₁0, hF, hG, hfluxF, hfluxG⟩ := |
| 49 | equation30_exists_fundamental_system (sq_nonneg σ) hσ2 |
| 50 | have hΘ0 : 0 ≤ Θ := by linarith only [hΘ] |
| 51 | have hgeom : 10000*e*Θ^5 ≤ 1 := by |
| 52 | have hh := mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hΘ (by decide : 5 ≤ 21)) he |
| 53 | nlinarith only [hsmall, hh, mul_nonneg he (pow_nonneg hΘ0 21)] |
| 54 | have hcontrol := ray_controlled_velocity_error_within (sq_nonneg σ) hσ2 hΘ hT0 hT |
| 55 | he hε hεe hgeom hRc hP hQ hN hRclose hAclose hCclose hrayInitial |
| 56 | have hPc : ContinuousOn P (Icc 0 T) := fun t ht => (hP t ht).continuousWithinAt |
| 57 | have hQc : ContinuousOn Q (Icc 0 T) := fun t ht => (hQ t ht).continuousWithinAt |
| 58 | have hNc : ContinuousOn N (Icc 0 T) := fun t ht => (hN t ht).continuousWithinAt |
| 59 | have hUc : ContinuousOn U (Icc 0 T) := fun t ht => (hU t ht).continuousWithinAt |
| 60 | have hVc : ContinuousOn V (Icc 0 T) := fun t ht => (hV t ht).continuousWithinAt |
| 61 | have hNne : ∀ t ∈ Icc 0 T, N t ≠ 0 := by |
| 62 | intro t ht |
| 63 | linarith only [(hcontrol t ht).1.2] |
| 64 | obtain ⟨hU₁c, hV₁c⟩ := continuousOn_velocity_rhs (ε := ε) hAc hCc hPc hQc hNc hUc hVc hNne |
| 65 | have hs : 40*(200000*e)*Θ^21 ≤ 1 := by nlinarith only [hsmall] |
| 66 | have hprop := velocity_propagator_bound_within hσ hσsmall hΘ hT0 hT |
| 67 | (show 0 ≤ 200000*e by positivity) hs (fun t _ => hF t) (fun t _ => hG t) |
| 68 | (fun t _ => hfluxF t) (fun t _ => hfluxG t) hF0 hF₁0 hG₁0 hU hV hU₁c hV₁c |
| 69 | (fun t ht => (hcontrol t ht).2 (U t) (V t)) |
| 70 | intro s t hstart hst ht |
| 71 | have hratio := equation30_slope_ratio_dominates hσ hσsmall hZ₁0 |
| 72 | (fun x _ => hF x) hZ (fun x _ => hfluxF x) hfluxZ hF0 hF₁0 hZ0 rfl hstart hst |
| 73 | have hcompare := mul_le_mul_of_nonneg_right |
| 74 | (mul_le_mul_of_nonneg_left hratio (show 0 ≤ 40*Θ^8 by positivity)) |
| 75 | (add_nonneg (abs_nonneg (U s)) (abs_nonneg (V s))) |
| 76 | exact (hprop s t hstart hst ht).trans hcompare |
| 77 | |
| 78 | end EulerPacketMovingFrame |