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.PacketCorrectionRapidDecay |
| 2 | |
| 3 | /-! The literal correction target and a fixed inverse-frequency packet |
| 4 | amplitude give the small lifted velocity required by the finite flow |
| 5 | bootstrap. All source constants remain fixed as frequency increases. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketSourceFrequency |
| 10 | |
| 11 | open Real Filter EulerPacketCorrectionScalar |
| 12 | open scoped Topology |
| 13 | |
| 14 | def liftedAmplitude (C E k : ℝ) : ℝ := C/k + E*delta (expansion k) |
| 15 | |
| 16 | theorem fixed_div_eventually_le_inverse_half (C : ℝ) : |
| 17 | ∀ᶠ k : ℝ in atTop, C/k ≤ k^(-(1/2 : ℝ)) := by |
| 18 | filter_upwards [(_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop C, |
| 19 | eventually_gt_atTop (0 : ℝ)] with k hC hk |
| 20 | apply (div_le_iff₀ hk).mpr |
| 21 | have he : k^(-(1/2 : ℝ))*k = k^(1/2 : ℝ) := by |
| 22 | calc |
| 23 | _ = k^(-(1/2 : ℝ))*k^(1 : ℝ) := by rw [Real.rpow_one] |
| 24 | _ = k^(-(1/2 : ℝ)+1) := (Real.rpow_add hk _ _).symm |
| 25 | _ = _ := by norm_num |
| 26 | rwa [he] |
| 27 | |
| 28 | theorem liftedAmplitude_nonneg (C E k : ℝ) (hC : 0 ≤ C) (hE : 0 ≤ E) (hk : 0 ≤ k) : |
| 29 | 0 ≤ liftedAmplitude C E k := by |
| 30 | unfold liftedAmplitude |
| 31 | exact add_nonneg (div_nonneg hC hk) (mul_nonneg hE (delta_pos (expansion k)).le) |
| 32 | |
| 33 | theorem liftedAmplitude_eventually_le_inverse_half (C E : ℝ) : |
| 34 | ∀ᶠ k : ℝ in atTop, liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) := by |
| 35 | filter_upwards [fixed_div_eventually_le_inverse_half C, |
| 36 | correction_eventually_lt_inverse_power E (1/2)] with k hC hE |
| 37 | have h := add_le_add hC hE.le |
| 38 | simpa only [liftedAmplitude, two_mul] using h |
| 39 | |
| 40 | theorem liftedAmplitude_small_eventually (C E R T : ℝ) |
| 41 | (hC : 0 ≤ C) (hE : 0 ≤ E) (hR : 0 ≤ R) (hT : 0 ≤ T) : |
| 42 | ∀ᶠ k : ℝ in atTop, 4 ≤ k ∧ 0 ≤ liftedAmplitude C E k ∧ |
| 43 | liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) ∧ |
| 44 | liftedAmplitude C E k*R*T ≤ 1/8 := by |
| 45 | filter_upwards [eventually_ge_atTop (4 : ℝ), |
| 46 | liftedAmplitude_eventually_le_inverse_half C E, |
| 47 | (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop (16*R*T)] |
| 48 | with k hk hb hroot |
| 49 | have hk0 : 0 < k := by linarith |
| 50 | have hp : 0 < k^(1/2 : ℝ) := Real.rpow_pos_of_pos hk0 _ |
| 51 | refine ⟨hk, liftedAmplitude_nonneg C E k hC hE hk0.le, hb, ?_⟩ |
| 52 | calc |
| 53 | _ ≤ (2*k^(-(1/2 : ℝ)))*R*T := |
| 54 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hb hR) hT |
| 55 | _ = (2*R*T)/k^(1/2 : ℝ) := by rw [Real.rpow_neg hk0.le]; ring |
| 56 | _ ≤ 1/8 := by |
| 57 | apply (div_le_iff₀ hp).mpr |
| 58 | nlinarith |
| 59 | |
| 60 | end EulerPacketSourceFrequency |