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.PacketHorizonSize |
| 2 | import Euler.PacketTargetAmplification |
| 3 | |
| 4 | /-! Bounds for the actual source choice of the packet amplitude. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | |
| 9 | namespace EulerPacketMovingFrame |
| 10 | |
| 11 | open Set Real EulerSmoothLimit EulerPacketGrowth |
| 12 | |
| 13 | def primaryAmplitude (δ hchild : ℝ) (r w : ℝ → Space) (t : ℝ) : ℝ := |
| 14 | δ*hchild/(‖r t‖*‖w t‖) |
| 15 | |
| 16 | theorem primaryAmplitude_nonneg (δ hchild : ℝ) (r w : ℝ → Space) (t : ℝ) |
| 17 | (hδ : 0 ≤ δ) (hh : 0 ≤ hchild) : 0 ≤ primaryAmplitude δ hchild r w t := by |
| 18 | unfold primaryAmplitude |
| 19 | positivity |
| 20 | |
| 21 | theorem primaryAmplitude_target_identity (δ hchild : ℝ) (r w : ℝ → Space) (t : ℝ) |
| 22 | (ht : 0 < ‖r t‖*‖w t‖) : |
| 23 | primaryAmplitude δ hchild r w t*(‖r t‖*‖w t‖) = δ*hchild := by |
| 24 | unfold primaryAmplitude |
| 25 | exact div_mul_cancel₀ _ (ne_of_gt ht) |
| 26 | |
| 27 | theorem primaryAmplitude_exponential_bound (r w : ℝ → Space) |
| 28 | {δ hchild s₀ Θ x t : ℝ} (hδ : 0 ≤ δ) (hh : 0 ≤ hchild) (hs₀ : 0 < s₀) (hΘ : 0 < Θ) |
| 29 | (hgrowth : s₀*exp x ≤ 4*Θ*(‖r t‖*‖w t‖)) : |
| 30 | primaryAmplitude δ hchild r w t ≤ (4*Θ*δ*hchild/s₀)*exp (-x) := by |
| 31 | have hb := (ratio_bound_from_target_growth hs₀ hΘ (mul_nonneg hδ hh) le_rfl hgrowth).2 |
| 32 | simpa only [primaryAmplitude, mul_assoc] using hb |
| 33 | |
| 34 | /-- The profile-weighted amplitude is bounded uniformly on the full |
| 35 | forward horizon, including before scaled time one. -/ |
| 36 | theorem primaryAmplitude_profile_bound (r w : ℝ → Space) |
| 37 | {δ hchild s₀ σ T H targetTime : ℝ} {Z Z₁ : ℝ → ℝ} |
| 38 | (hδ : 0 ≤ δ) (hh : 0 ≤ hchild) (hs₀ : 0 < s₀) |
| 39 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hT : 1 ≤ T) (hshort : H-T ≤ 1) |
| 40 | (hZ : ∀ t, 0 ≤ t → HasDerivAt Z (Z₁ t) t) |
| 41 | (hfluxZ : ∀ t, 0 ≤ t → HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 42 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) |
| 43 | (hZ0 : Z 0 = 1) (hZ₁0 : 0 ≤ Z₁ 0) |
| 44 | (hlower : s₀*idealPrimarySize σ Z T/4 ≤ ‖r targetTime‖*‖w targetTime‖) : |
| 45 | ∀ τ ∈ Icc 0 H, primaryAmplitude δ hchild r w targetTime*Z τ ≤ 8*exp 6*δ*hchild/s₀ := by |
| 46 | let A := primaryAmplitude δ hchild r w targetTime |
| 47 | have hA : 0 ≤ A := primaryAmplitude_nonneg δ hchild r w targetTime hδ hh |
| 48 | have hZpos := equation30_global_positive hσ hσsmall hZ hfluxZ hZ0 hZ₁0 |
| 49 | have hT0 : 0 ≤ T := by linarith only [hT] |
| 50 | have hIpos : 0 < idealPrimarySize σ Z T := |
| 51 | mul_pos (sqrt_pos.mpr (by positivity)) (hZpos T hT0) |
| 52 | have htarget : 0 < ‖r targetTime‖*‖w targetTime‖ := |
| 53 | lt_of_lt_of_le (div_pos (mul_pos hs₀ hIpos) (by norm_num)) hlower |
| 54 | have hid : A*(‖r targetTime‖*‖w targetTime‖) = δ*hchild := |
| 55 | primaryAmplitude_target_identity δ hchild r w targetTime htarget |
| 56 | have hl : s₀*A*idealPrimarySize σ Z T ≤ 4*δ*hchild := by |
| 57 | have hb := mul_le_mul_of_nonneg_left hlower hA |
| 58 | rw [hid] at hb |
| 59 | nlinarith only [hb] |
| 60 | intro τ hτ |
| 61 | have hroot : 1 ≤ sqrt (1+(σ^2*τ^2)^2) := one_le_sqrt.mpr (by nlinarith [sq_nonneg (σ^2*τ^2)]) |
| 62 | have hz : Z τ ≤ idealPrimarySize σ Z τ := by |
| 63 | have hb := mul_le_mul_of_nonneg_right hroot (hZpos τ hτ.1).le |
| 64 | simpa only [one_mul, idealPrimarySize] using hb |
| 65 | have hi := equation30_horizon_size_comparison hσ hσsmall hZ hfluxZ hZ0 hZ₁0 hT hshort hτ.1 hτ.2 |
| 66 | have hz' := hz.trans hi |
| 67 | have h1 := mul_le_mul_of_nonneg_left hz' (mul_nonneg hs₀.le hA) |
| 68 | have h2 := mul_le_mul_of_nonneg_left hl (show 0 ≤ 2*exp (6:ℝ) by positivity) |
| 69 | apply (le_div_iff₀ hs₀).mpr |
| 70 | change A*Z τ*s₀ ≤ 8*exp 6*δ*hchild |
| 71 | nlinarith only [h1, h2] |
| 72 | |
| 73 | end EulerPacketMovingFrame |