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.PacketInitialBounds |
| 2 | import Euler.PacketFieldPhysicalSobolev |
| 3 | |
| 4 | /-! The high initial increment retains its small amplitude, while the |
| 5 | mean initial increment is O(k⁻²) without any oscillatory-graph loss. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | |
| 10 | namespace EulerPacketInitial |
| 11 | |
| 12 | open Set EulerSmoothLimit EulerPacketProfileRecursion EulerPacketCylinderField |
| 13 | EulerPacketTimeProfile EulerPacketCoarseMajorant EulerPacketFiniteFrequency |
| 14 | EulerPacketTailBound EulerPhysicalL2Scaling EulerCylinderPhysicalTensor EulerCylinderCoordinates |
| 15 | |
| 16 | def highCost (R H : ℝ) : ℝ := fixedVelocityGradeCost R H 1+fixedVelocityGradeCost R H 2+1 |
| 17 | def meanCost (R H : ℝ) : ℝ := fixedVelocityGradeCost R H 2+2 |
| 18 | |
| 19 | theorem highCost_nonneg (R H : ℝ) (hR : 0 ≤ R) : 0 ≤ highCost R H := by |
| 20 | have h1 := fixedVelocityGradeCost_nonneg R H hR 1 |
| 21 | have h2 := fixedVelocityGradeCost_nonneg R H hR 2 |
| 22 | unfold highCost |
| 23 | positivity |
| 24 | |
| 25 | theorem meanCost_nonneg (R H : ℝ) (hR : 0 ≤ R) : 0 ≤ meanCost R H := by |
| 26 | have h2 := fixedVelocityGradeCost_nonneg R H hR 2 |
| 27 | unfold meanCost |
| 28 | positivity |
| 29 | |
| 30 | variable {P T : ℝ} [Fact (0 < P)] {hT : 0 ≤ T} {N : ℕ} |
| 31 | {a : ℕ → Profile} {support : Set Space} |
| 32 | (G : ∀ i, i ≤ N → ProfileRegularity P T hT support (a i)) |
| 33 | (S : Scales (Icc (0 : ℝ) T)) (R : ℝ) |
| 34 | (hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S R i) |
| 35 | (hR : 1 ≤ R) (ha : a 0=0) (t : Icc (0 : ℝ) T) |
| 36 | (hN : 1 ≤ N) (C k : ℝ) (hC : 1 ≤ C) (hk : 4 ≤ k) |
| 37 | (hbase : tailBase R S.H0 C N ≤ k^(1/100 : ℝ)) |
| 38 | |
| 39 | include hG hR ha hN hC hk hbase |
| 40 | |
| 41 | theorem high_frequency_bound : |
| 42 | (highField G t k⁻¹).WordBound 6 (4*R) (S.growth t*highCost R S.H0) 0 := by |
| 43 | have hk0 : 0 < k := by linarith |
| 44 | have hB0 := tailBase_nonneg R S.H0 C (zero_le_one.trans hC) N |
| 45 | have hsmall : k⁻¹*tailBase R S.H0 C N ≤ 1/2 := by |
| 46 | simpa only [div_eq_mul_inv,mul_comm] using grade_ratio_le_half k (tailBase R S.H0 C N) hk hbase |
| 47 | have h := high_bound G S R hG hR ha t hN C k⁻¹ hC (inv_nonneg.mpr hk0.le) hsmall |
| 48 | have h4 := fourth_power_le_frequency k _ (by linarith) hB0 hbase |
| 49 | have hc1 := fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 1 |
| 50 | have hc2 := fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 2 |
| 51 | have hn := normalized_low_high_le k (tailBase R S.H0 C N) |
| 52 | (fixedVelocityGradeCost R S.H0 1) (fixedVelocityGradeCost R S.H0 2) (by linarith) hc2 h4 |
| 53 | apply h.mono_amplitude (by linarith) |
| 54 | apply mul_le_mul_of_nonneg_left _ (S.growth_pos t).le |
| 55 | apply le_trans _ hn |
| 56 | apply le_mul_of_one_le_left |
| 57 | · positivity |
| 58 | · linarith |
| 59 | |
| 60 | theorem mean_frequency_bound (ha1 : (a 1).mean=0) : |
| 61 | (meanField G t k⁻¹).WordBound 6 (4*R) (meanCost R S.H0/k^2) 0 := by |
| 62 | have hk0 : 0 < k := by linarith |
| 63 | have hB0 := tailBase_nonneg R S.H0 C (zero_le_one.trans hC) N |
| 64 | have hsmall : k⁻¹*tailBase R S.H0 C N ≤ 1/2 := by |
| 65 | simpa only [div_eq_mul_inv,mul_comm] using grade_ratio_le_half k (tailBase R S.H0 C N) hk hbase |
| 66 | have h := mean_bound G S R hG hR ha t hN ha1 C k⁻¹ hC (inv_nonneg.mpr hk0.le) hsmall |
| 67 | have h4 := fourth_power_le_frequency k _ (by linarith) hB0 hbase |
| 68 | exact h.mono_amplitude (by linarith) |
| 69 | (remainder_low_high_le k _ (fixedVelocityGradeCost R S.H0 2) hk0 h4) |
| 70 | |
| 71 | theorem high_physical_bound (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 72 | (m : Space) (s : ℕ) : |
| 73 | derivativeSum s (scale ell (fun x : Space => high N k⁻¹ t a (t,(x,k*inner ℝ m x)))) ≤ |
| 74 | (ell⁻¹)^s*k^s*S.growth t*(highCost R S.H0* |
| 75 | physicalDerivativeCost P (4*R) (‖coordinateEquiv.symm.toContinuousLinearMap‖*(1+‖m‖)) s) := by |
| 76 | have h := high_frequency_bound G S R hG hR ha t hN C k hC hk hbase |
| 77 | have hs := h.scaled_graph_derivativeSum_le (by linarith) |
| 78 | (mul_nonneg (S.growth_pos t).le (highCost_nonneg R S.H0 (zero_le_one.trans hR))) |
| 79 | t ell hell hell1 k m (‖coordinateEquiv.symm.toContinuousLinearMap‖*(1+‖m‖)) k |
| 80 | (by positivity) (by linarith) (frequencyFactor_le_linear k (by linarith) m) s |
| 81 | exact hs.trans_eq (by ring) |
| 82 | |
| 83 | theorem mean_physical_bound (ha1 : (a 1).mean=0) (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 84 | (m : Space) (s : ℕ) : |
| 85 | derivativeSum s (scale ell (fun x : Space => mean N k⁻¹ t a (t,(x,k*inner ℝ m x)))) ≤ |
| 86 | (ell⁻¹)^s/k^2*(meanCost R S.H0* |
| 87 | physicalDerivativeCost P (4*R) ‖coordinateEquiv.symm.toContinuousLinearMap‖ s) := by |
| 88 | have h := mean_frequency_bound G S R hG hR ha t hN C k hC hk hbase ha1 |
| 89 | have hs := h.scaled_graph_derivativeSum_le (by linarith) |
| 90 | (div_nonneg (meanCost_nonneg R S.H0 (zero_le_one.trans hR)) (sq_nonneg k)) |
| 91 | t ell hell hell1 0 m ‖coordinateEquiv.symm.toContinuousLinearMap‖ 1 |
| 92 | (norm_nonneg _) le_rfl (by simp [frequencyFactor]) s |
| 93 | have he : (fun x : Space => mean N k⁻¹ t a (t,(x,k*inner ℝ m x))) = |
| 94 | (fun x : Space => mean N k⁻¹ t a (t,(x,0*inner ℝ m x))) := by |
| 95 | funext x |
| 96 | rw [mean_angle G t k⁻¹ t x (k*inner ℝ m x),zero_mul] |
| 97 | rw [he] |
| 98 | exact hs.trans_eq (by rw [one_pow]; ring) |
| 99 | |
| 100 | end EulerPacketInitial |