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.PacketNeighborStability |
| 2 | |
| 3 | /-! Relative propagator estimates on arbitrary subintervals for actual velocity states. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | |
| 8 | namespace EulerPacketMovingFrame |
| 9 | |
| 10 | open Set EulerPacketBridge EulerPacketPerturbation EulerClosedIntervalDerivativeExtension |
| 11 | |
| 12 | theorem velocity_propagator_bound |
| 13 | {σ Θ s t δ : ℝ} {F F₁ G G₁ U U₁ V V₁ : ℝ → ℝ} |
| 14 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hΘ : 1 ≤ Θ) |
| 15 | (hs : 0 ≤ s) (hst : s ≤ t) (ht : t ≤ Θ) (hδ : 0 ≤ δ) |
| 16 | (hsmall : 20*Θ^8*δ*(t-s) ≤ 1/2) |
| 17 | (hF : ∀ x, 0 ≤ x → HasDerivAt F (F₁ x) x) |
| 18 | (hG : ∀ x, 0 ≤ x → HasDerivAt G (G₁ x) x) |
| 19 | (hfluxF : ∀ x, 0 ≤ x → HasDerivAt (fun u => (1+(σ^2*u^2)^2)*F₁ u) |
| 20 | (2*(1-σ^2*(σ^2*x^2))*F x) x) |
| 21 | (hfluxG : ∀ x, 0 ≤ x → HasDerivAt (fun u => (1+(σ^2*u^2)^2)*G₁ u) |
| 22 | (2*(1-σ^2*(σ^2*x^2))*G x) x) |
| 23 | (hF0 : F 0 = 1) (hF₁0 : F₁ 0 = 0) (hG₁0 : G₁ 0 = 1) |
| 24 | (hU : ∀ x ∈ Icc s t, HasDerivAt U (U₁ x) x) |
| 25 | (hV : ∀ x ∈ Icc s t, HasDerivAt V (V₁ x) x) |
| 26 | (hU₁c : ContinuousOn U₁ (Icc s t)) (hV₁c : ContinuousOn V₁ (Icc s t)) |
| 27 | (herror : ∀ x ∈ Icc s t, |
| 28 | |U₁ x-idealVelocityFirst (σ^2) x (U x) (V x)|+|V₁ x+U x| ≤ δ*(|U x|+|V x|)) : |
| 29 | |U t|+|V t| ≤ 40*Θ^8*(F t/F s)*(|U s|+|V s|) := by |
| 30 | let f : ℝ → ℝ := fun x => V₁ x+U x |
| 31 | let g : ℝ → ℝ := fun x => -U₁ x+idealVelocityFirst (σ^2) x (U x) (V x) |
| 32 | have hUc : ContinuousOn U (Icc s t) := fun x hx => (hU x hx).continuousAt.continuousWithinAt |
| 33 | have hVc : ContinuousOn V (Icc s t) := fun x hx => (hV x hx).continuousAt.continuousWithinAt |
| 34 | have hfc : ContinuousOn f (Icc s t) := hV₁c.add hUc |
| 35 | have hgc : ContinuousOn g (Icc s t) := hU₁c.neg.add (continuousOn_idealVelocityFirst hUc hVc) |
| 36 | have hY : ∀ x ∈ Icc s t, HasDerivAt V (-U x+f x) x := by |
| 37 | intro x hx |
| 38 | exact (velocity_scalar_flux (β := σ^2) (hU x hx) (hV x hx)).1 |
| 39 | have hfluxY : ∀ x ∈ Icc s t, HasDerivAt (fun u => (1+(σ^2*u^2)^2)*(-U u)) |
| 40 | (2*(1-σ^2*(σ^2*x^2))*V x+(1+(σ^2*x^2)^2)*g x) x := by |
| 41 | intro x hx |
| 42 | exact (velocity_scalar_flux (β := σ^2) (hU x hx) (hV x hx)).2 |
| 43 | have hforcing : ∀ x ∈ Icc s t, |f x|+|g x| ≤ δ*(|V x|+|-U x|) := by |
| 44 | intro x hx |
| 45 | have hg : |g x| = |U₁ x-idealVelocityFirst (σ^2) x (U x) (V x)| := by |
| 46 | dsimp [g] |
| 47 | rw [neg_add_eq_sub, abs_sub_comm] |
| 48 | rw [hg, abs_neg] |
| 49 | dsimp [f] |
| 50 | linarith only [herror x hx] |
| 51 | have hb := equation30_perturbed_bound hσ hσsmall hΘ hs hst ht hδ hsmall |
| 52 | hF hG hfluxF hfluxG hF0 hF₁0 hG₁0 hY hfluxY hfc hgc hforcing t ⟨hst, le_rfl⟩ |
| 53 | simpa only [abs_neg, add_comm] using hb |
| 54 | |
| 55 | theorem velocity_propagator_bound_within |
| 56 | {σ Θ T e : ℝ} {F F₁ G G₁ U U₁ V V₁ : ℝ → ℝ} |
| 57 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hΘ : 1 ≤ Θ) |
| 58 | (hT0 : 0 < T) (hT : T ≤ Θ) (he : 0 ≤ e) (hsmall : 40*e*Θ^21 ≤ 1) |
| 59 | (hF : ∀ x, 0 ≤ x → HasDerivAt F (F₁ x) x) |
| 60 | (hG : ∀ x, 0 ≤ x → HasDerivAt G (G₁ x) x) |
| 61 | (hfluxF : ∀ x, 0 ≤ x → HasDerivAt (fun u => (1+(σ^2*u^2)^2)*F₁ u) |
| 62 | (2*(1-σ^2*(σ^2*x^2))*F x) x) |
| 63 | (hfluxG : ∀ x, 0 ≤ x → HasDerivAt (fun u => (1+(σ^2*u^2)^2)*G₁ u) |
| 64 | (2*(1-σ^2*(σ^2*x^2))*G x) x) |
| 65 | (hF0 : F 0 = 1) (hF₁0 : F₁ 0 = 0) (hG₁0 : G₁ 0 = 1) |
| 66 | (hU : ∀ x ∈ Icc 0 T, HasDerivWithinAt U (U₁ x) (Icc 0 T) x) |
| 67 | (hV : ∀ x ∈ Icc 0 T, HasDerivWithinAt V (V₁ x) (Icc 0 T) x) |
| 68 | (hU₁c : ContinuousOn U₁ (Icc 0 T)) (hV₁c : ContinuousOn V₁ (Icc 0 T)) |
| 69 | (herror : ∀ x ∈ Icc 0 T, |
| 70 | |U₁ x-idealVelocityFirst (σ^2) x (U x) (V x)|+|V₁ x+U x| ≤ (e*Θ^12)*(|U x|+|V x|)) : |
| 71 | ∀ s t, 0 ≤ s → s ≤ t → t ≤ T → |
| 72 | |U t|+|V t| ≤ 40*Θ^8*(F t/F s)*(|U s|+|V s|) := by |
| 73 | obtain ⟨U', hUeq, hU'⟩ := exists_extension hT0 hU |
| 74 | obtain ⟨V', hVeq, hV'⟩ := exists_extension hT0 hV |
| 75 | intro s t hs hst ht |
| 76 | have hsub : Icc s t ⊆ Icc 0 T := fun x hx => ⟨hs.trans hx.1, hx.2.trans ht⟩ |
| 77 | have hδ : 0 ≤ e*Θ^12 := by positivity |
| 78 | have hspan : t-s ≤ Θ := by linarith only [ht, hT, hs] |
| 79 | have hsmall' : 20*Θ^8*(e*Θ^12)*(t-s) ≤ 1/2 := by |
| 80 | have hh := mul_le_mul_of_nonneg_left hspan (show 0 ≤ 20*e*Θ^20 by positivity) |
| 81 | nlinarith only [hh, hsmall] |
| 82 | have he' : ∀ x ∈ Icc s t, |
| 83 | |U₁ x-idealVelocityFirst (σ^2) x (U' x) (V' x)|+|V₁ x+U' x| ≤ |
| 84 | (e*Θ^12)*(|U' x|+|V' x|) := by |
| 85 | intro x hx |
| 86 | simpa only [hUeq (hsub hx), hVeq (hsub hx)] using herror x (hsub hx) |
| 87 | have hb := velocity_propagator_bound hσ hσsmall hΘ hs hst (ht.trans hT) hδ hsmall' |
| 88 | hF hG hfluxF hfluxG hF0 hF₁0 hG₁0 (fun x hx => hU' x (hsub hx)) |
| 89 | (fun x hx => hV' x (hsub hx)) (hU₁c.mono hsub) (hV₁c.mono hsub) he' |
| 90 | have hsT : s ∈ Icc 0 T := ⟨hs, hst.trans ht⟩ |
| 91 | have htT : t ∈ Icc 0 T := ⟨hs.trans hst, ht⟩ |
| 92 | simpa only [hUeq htT, hVeq htT, hUeq hsT, hVeq hsT] using hb |
| 93 | |
| 94 | end EulerPacketMovingFrame |