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.PacketGraphFlowFieldBounds |
| 2 | import Euler.PacketGraphFlowSupBounds |
| 3 | import Euler.PacketUniformFrequencyMargin |
| 4 | |
| 5 | /-! The quarter-power physical-flow bounds follow from the same tiny-power |
| 6 | source comparison and one parent-independent numerical margin. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketGraphFlowFrequency |
| 11 | |
| 12 | open Real EulerSmoothFlowGevrey EulerPacketSourceFrequency |
| 13 | |
| 14 | theorem physical_bounds_of_costs (K B R T C1 k ell : ℝ) |
| 15 | (hK : 0 ≤ K) (hB : 0 ≤ B) (hR : 0 ≤ R) (hT : 0 ≤ T) (hC1 : 0 ≤ C1) |
| 16 | (hk : 1 ≤ k) (hell : 0 < ell) |
| 17 | (hw : max 71 K ≤ k^(1/24 : ℝ)) (hroot : 16 ≤ k^(1/4 : ℝ)) |
| 18 | (hRk : R ≤ smallPower k) (hTk : T ≤ smallPower k) (hCk : C1 ≤ smallPower k) |
| 19 | (hsmall : B ≤ 2*k^(-(1/2 : ℝ))) : |
| 20 | K*(T*B)*(1+flowRadius B R T R) ≤ k^(-(1/4 : ℝ)) ∧ |
| 21 | K*B*(1+flowRadius B R T R) ≤ k^(-(1/4 : ℝ)) ∧ |
| 22 | K*(C1+3*B^2*R)*(1+flowRadius B R T (6*R)) ≤ k^(1/4 : ℝ) ∧ |
| 23 | ell⁻¹*(4*flowRadius B R T R*(1+k)) ≤ ell⁻¹*k^(5/4 : ℝ) ∧ |
| 24 | ell⁻¹*(4*flowRadius B R T (6*R)*(1+k)) ≤ ell⁻¹*k^(5/4 : ℝ) := by |
| 25 | have hs := smallPower_le_power k (1/24) hk (by norm_num [theta]) |
| 26 | have hr : 2 ≤ k^(1/2-(1/24 : ℝ)) := |
| 27 | (show 2 ≤ k^(1/4 : ℝ) by linarith).trans |
| 28 | (Real.rpow_le_rpow_of_exponent_le hk (by norm_num)) |
| 29 | simpa only [show -(1/2 : ℝ)+1/4=-(1/4) by norm_num, |
| 30 | show (1 : ℝ)+1/4=5/4 by norm_num] using |
| 31 | physical_bounds_of_power (1/4) (1/24) K k B R T C1 ell |
| 32 | (by norm_num) (by norm_num) (by norm_num) hK hB hR hT hC1 hk hell |
| 33 | ((le_max_left _ _).trans hw) ((le_max_right _ _).trans hw) |
| 34 | (hRk.trans hs) (hTk.trans hs) (hCk.trans hs) hr hsmall |
| 35 | |
| 36 | end EulerPacketGraphFlowFrequency |
| 37 | |
| 38 | namespace EulerPhysicalGraphFlowBounds |
| 39 | |
| 40 | open Set Real EulerLiftedGradientSpace EulerSmoothFlowGevrey |
| 41 | EulerPacketGraphFlowFrequency EulerPacketSourceFrequency EulerCylinderGraphGevrey |
| 42 | EulerLpTranslation.SmoothL2Field EulerGevrey |
| 43 | |
| 44 | variable (P T : ℝ) [Fact (0 < P)] |
| 45 | |
| 46 | theorem data_field_bounds_explicit (G : Data P T) (k : ℝ) |
| 47 | (hC : G.C=G.B) (hS : G.S=G.R) (hS1 : G.S₁=G.R) |
| 48 | (hk : 1 ≤ k) (hw : max 71 (Real.sqrt (2/P+2*P)) ≤ k^(1/24 : ℝ)) |
| 49 | (hroot : 16 ≤ k^(1/4 : ℝ)) (hB : G.B ≤ 2*k^(-(1/2 : ℝ))) |
| 50 | (hR : G.R ≤ smallPower k) (hC1 : G.C₁ ≤ smallPower k) (hT : T ≤ smallPower k) |
| 51 | (m : Vector3) (hm : ‖m‖=1) (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 52 | (t : Icc (0 : ℝ) T) : |
| 53 | (G.displacementField k m ell hell t).HasJetBound (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ)) ∧ |
| 54 | (G.velocityField k m ell hell t).HasJetBound (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ)) ∧ |
| 55 | (G.accelerationFieldL2 k m ell hell t).HasJetBound (k^(1/4 : ℝ)) (ell⁻¹*k^(5/4 : ℝ)) := by |
| 56 | have hn := physical_bounds_of_costs (Real.sqrt (2/P+2*P)) G.B G.R T G.C₁ k ell |
| 57 | (Real.sqrt_nonneg _) G.B_nonneg G.R_pos.le G.time_nonneg G.C₁_nonneg hk hell |
| 58 | hw hroot hR hT hC1 hB |
| 59 | have hvr : G.velocityRadius=flowRadius G.B G.R T G.R := by rw [Data.velocityRadius,hS] |
| 60 | have har : G.accelerationRadius=flowRadius G.B G.R T (6*G.R) := by |
| 61 | rw [Data.accelerationRadius,hS,hS1] |
| 62 | congr 1 |
| 63 | ring |
| 64 | have haa : G.accelerationAmplitude=G.C₁+3*G.B^2*G.R := by rw [Data.accelerationAmplitude,hC]; ring |
| 65 | have hgf : graphFactor k m=1+k := by |
| 66 | rw [graphFactor,hm,abs_of_nonneg (zero_le_one.trans hk),mul_one] |
| 67 | have hv0 := G.velocityRadius_nonneg |
| 68 | have ha0 := G.accelerationRadius_nonneg |
| 69 | have hc0 := G.C_nonneg |
| 70 | have ht0 := G.time_nonneg |
| 71 | have hac0 := G.accelerationAmplitude_nonneg |
| 72 | have hg0 := graphFactor_nonneg k m |
| 73 | refine ⟨?_,?_,?_⟩ |
| 74 | · apply (G.displacementField_bound k m ell hell hell1 t).mono |
| 75 | · positivity |
| 76 | · positivity |
| 77 | · simpa only [hC,hvr] using hn.1 |
| 78 | · simpa only [hvr,hgf] using hn.2.2.2.1 |
| 79 | · apply (G.velocityField_bound k m ell hell hell1 t).mono |
| 80 | · positivity |
| 81 | · positivity |
| 82 | · simpa only [hC,hvr] using hn.2.1 |
| 83 | · simpa only [hvr,hgf] using hn.2.2.2.1 |
| 84 | · apply (G.accelerationField_bound k m ell hell hell1 t).mono |
| 85 | · positivity |
| 86 | · positivity |
| 87 | · simpa only [haa,har] using hn.2.2.1 |
| 88 | · simpa only [har,hgf] using hn.2.2.2.2 |
| 89 | |
| 90 | theorem data_sup_bounds_explicit (G : Data P T) (k : ℝ) |
| 91 | (hk : 1 ≤ k) (hw : 71 ≤ k^(1/24 : ℝ)) (hroot : 16 ≤ k^(1/4 : ℝ)) |
| 92 | (hB : G.B ≤ 2*k^(-(1/2 : ℝ))) (hR : G.R ≤ smallPower k) (hT : T ≤ smallPower k) |
| 93 | (m : Vector3) (hm : ‖m‖=1) (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 94 | (t : Icc (0 : ℝ) T) : |
| 95 | HasSupBound (G.displacementField k m ell hell t).field (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ)) ∧ |
| 96 | HasSupBound (G.velocityField k m ell hell t).field (k^(-(1/4 : ℝ))) (ell⁻¹*k^(5/4 : ℝ)) := by |
| 97 | have hk0 := zero_le_one.trans hk |
| 98 | have hn := physical_bounds_of_costs 1 G.B G.R T 0 k ell zero_le_one |
| 99 | G.B_nonneg G.R_pos.le G.time_nonneg le_rfl hk hell |
| 100 | (by simpa only [max_eq_left (by norm_num : (1 : ℝ) ≤ 71)] using hw) |
| 101 | hroot hR hT (Real.rpow_nonneg hk0 _) hB |
| 102 | have hgf : graphFactor k m=1+k := by rw [graphFactor,hm,abs_of_nonneg hk0,mul_one] |
| 103 | have hB0 := G.B_nonneg |
| 104 | have hT0 := G.time_nonneg |
| 105 | have hR0 := G.R_pos.le |
| 106 | have hf0 : 0 ≤ flowRadius G.B G.R T G.R := by unfold flowRadius; positivity |
| 107 | have hrad := hn.2.2.2.1 |
| 108 | have hg0 := graphFactor_nonneg k m |
| 109 | have hdisp : G.B*T ≤ k^(-(1/4 : ℝ)) := by |
| 110 | apply (show G.B*T ≤ T*G.B*(1+flowRadius G.B G.R T G.R) by |
| 111 | nlinarith [mul_nonneg (mul_nonneg hB0 hT0) hf0]).trans |
| 112 | simpa only [one_mul] using hn.1 |
| 113 | have hvel : G.B ≤ k^(-(1/4 : ℝ)) := by |
| 114 | apply (show G.B ≤ G.B*(1+flowRadius G.B G.R T G.R) by nlinarith [mul_nonneg hB0 hf0]).trans |
| 115 | simpa only [one_mul] using hn.2.1 |
| 116 | have hRflow : G.R ≤ flowRadius G.B G.R T G.R := by |
| 117 | have hleft : (1 : ℝ) ≤ 4*G.R+1 := by linarith |
| 118 | have hright : G.R ≤ (1+G.B*T)*G.R+2 := by nlinarith [mul_nonneg (mul_nonneg hB0 hT0) hR0] |
| 119 | have h := mul_le_mul hleft hright hR0 (by positivity : 0 ≤ 4*G.R+1) |
| 120 | simpa only [one_mul,flowRadius] using h |
| 121 | constructor |
| 122 | · apply (G.displacement_sup_bound k m ell hell hell1 t).mono (mul_nonneg hB0 hT0) (by positivity) hdisp |
| 123 | rw [hgf] |
| 124 | apply le_trans _ hrad |
| 125 | gcongr |
| 126 | · apply (G.velocity_sup_bound k m ell hell hell1 t).mono hB0 (by positivity) hvel |
| 127 | rw [hgf] |
| 128 | apply le_trans _ hrad |
| 129 | gcongr |
| 130 | nlinarith |
| 131 | |
| 132 | end EulerPhysicalGraphFlowBounds |