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.PacketInductionStage |
| 2 | |
| 3 | /-! The summable scalar budgets propagate the genuine low source |
| 4 | guards and absorb the absolute geometric errors. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketInduction.Stage |
| 9 | |
| 10 | open Set Finset Real EulerSmoothLimit EulerParentPacketFrames |
| 11 | EulerBaseDatum EulerPacketInductionScales EulerPacketLowConstants |
| 12 | EulerPacketSourceScaleChoice EulerPacketSourceScaleSequence EulerPacketSourceScaleActual |
| 13 | EulerPacketBaseGuardScales EulerPacketPressureScale EulerPacketGeometryLowBounds |
| 14 | EulerParentRenewalScale EulerParentRenewalPrefix EulerMeanHarmonic |
| 15 | |
| 16 | variable {c B : ℝ} {S : Scales c B} {n : ℕ} (P : Stage S n) |
| 17 | |
| 18 | theorem initial_step_bound (e : ℝ) (he : e ≤ initialIncrement S.J S.X n) : |
| 19 | P.low.Be+e ≤ initialCoefficientCost+∑ i ∈ range (n+1), initialIncrement S.J S.X i ∧ |
| 20 | P.low.Bc+e ≤ gradientConstant*S.X^1000+∑ i ∈ range (n+1), initialIncrement S.J S.X i := by |
| 21 | rw [sum_range_succ] |
| 22 | constructor <;> linarith only [P.exterior_bound,P.core_bound,he] |
| 23 | |
| 24 | theorem pressure_step_bound (e : ℝ) (he : e ≤ pressureIncrement S.J S.X n) : |
| 25 | P.low.K+e ≤ initialCoefficientCost+literalInitialPressureCost S.D S.X+ |
| 26 | ∑ i ∈ range (n+1), pressureIncrement S.J S.X i := by |
| 27 | rw [sum_range_succ] |
| 28 | linarith only [P.pressure_bound,he] |
| 29 | |
| 30 | theorem next_localized (T ei ep : ℝ) (hT : 0 ≤ T) (hTcap : T ≤ baseHorizon S.J S.X) |
| 31 | (hi0 : 0 ≤ ei) (hp0 : 0 ≤ ep) |
| 32 | (hi : ei ≤ initialIncrement S.J S.X n) (hp : ep ≤ pressureIncrement S.J S.X n) : |
| 33 | (P.low.K+ep)*(T^2/2)+(P.low.Be+ei)*T+ |
| 34 | boundaryLocalizationC2*(P.low.Bc+ei)*P.low.r^3*T ≤ 1/2 := by |
| 35 | have hib := P.initial_step_bound ei hi |
| 36 | have hpb := P.pressure_step_bound ep hp |
| 37 | have his := S.initial_partial_sum (n+1) |
| 38 | have hps := S.pressure_partial_sum (n+1) |
| 39 | have hd := S.delta_small |
| 40 | have hb := S.first.pressure_small |
| 41 | rw [P.radius_eq] |
| 42 | apply S.localized_guard T (P.low.K+ep) (P.low.Be+ei) (P.low.Bc+ei) hT |
| 43 | (add_nonneg P.low.K_nonneg hp0) (add_nonneg P.low.Be_nonneg hi0) |
| 44 | (add_nonneg P.low.Bc_nonneg hi0) |
| 45 | · linarith only [hpb,hps,hd,hb] |
| 46 | · linarith only [hib.1,his,hd] |
| 47 | · linarith only [hib.2,his,hd] |
| 48 | · exact hTcap |
| 49 | |
| 50 | theorem ratio_absorption (r : ℝ) (hr : 0 ≤ r) |
| 51 | (hbad : 2*gradientConstant*previousShear S.J S.X n*shear S.J S.X n*r ≤ |
| 52 | badCost S.J 4 gradientConstant gradientConstant hessianConstant 80 (scaleSequence S.J S.X) n) : |
| 53 | gradientConstant*previousShear S.J S.X n+shear S.J S.X n*(goodRatio+r)+ |
| 54 | (frequency S.J S.X n)^(-(1/4 : ℝ)) ≤ gradientConstant*shear S.J S.X n ∧ |
| 55 | hessianConstant*previousShear S.J S.X n*olderShear S.J S.X n+ |
| 56 | 2*gradientConstant*previousShear S.J S.X n*shear S.J S.X n*(goodRatio+r)+ |
| 57 | (frequency S.J S.X n)^(-(1/4 : ℝ)) ≤ |
| 58 | hessianConstant*shear S.J S.X n*previousShear S.J S.X n := by |
| 59 | have hsum : badCost S.J 4 gradientConstant gradientConstant hessianConstant 80 |
| 60 | (scaleSequence S.J S.X) n+(frequency S.J S.X n)^(-(1/4 : ℝ)) ≤ 1 := by |
| 61 | have h := S.initial_series.term_le n |
| 62 | change initialIncrement S.J S.X n ≤ _ |
| 63 | exact h.trans (by linarith only [S.delta_small]) |
| 64 | have hM : 1 ≤ 2*gradientConstant*previousShear S.J S.X n := by |
| 65 | have h := mul_le_mul_of_nonneg_left (S.previousShear_one n) gradient_nonneg |
| 66 | nlinarith only [gradient_properties.1,h] |
| 67 | have hgrad : shear S.J S.X n*r ≤ |
| 68 | 2*gradientConstant*previousShear S.J S.X n*shear S.J S.X n*r := by |
| 69 | have h := mul_le_mul_of_nonneg_right hM (mul_nonneg (zero_le_one.trans (S.shear_one n)) hr) |
| 70 | nlinarith only [h] |
| 71 | have hg : shear S.J S.X n*r+(frequency S.J S.X n)^(-(1/4 : ℝ)) ≤ 1 := by |
| 72 | linarith only [hgrad,hbad,hsum] |
| 73 | have hh : 2*gradientConstant*previousShear S.J S.X n*shear S.J S.X n*r+ |
| 74 | (frequency S.J S.X n)^(-(1/4 : ℝ)) ≤ 1 := by linarith only [hbad,hsum] |
| 75 | exact ⟨EulerPacketLowBoundPropagation.gradient_bound _ _ _ _ _ _ gradient_properties.1 |
| 76 | (S.previousShear_one n) (S.shear_one n) (S.shear_separation n) gradient_properties.2.2 hg, |
| 77 | EulerPacketLowBoundPropagation.hessian_bound _ _ _ _ _ _ _ _ hessian_properties.1 |
| 78 | (S.previousShear_one n) (S.shear_one n) (S.olderShear_le n) (S.shear_separation n) |
| 79 | hessian_properties.2.2 hh⟩ |
| 80 | |
| 81 | theorem next_frame_bounds : |
| 82 | 1 ≤ frameConstant*(1+previousShear S.J S.X n) ∧ |
| 83 | gradientConstant*previousShear S.J S.X n ≤ frameConstant*(1+previousShear S.J S.X n) ∧ |
| 84 | (gradientConstant*previousShear S.J S.X n)^2+ |
| 85 | hessianConstant*previousShear S.J S.X n*olderShear S.J S.X n ≤ |
| 86 | (frameConstant*(1+previousShear S.J S.X n))^2 := by |
| 87 | have hp := S.previousShear_one n |
| 88 | have hp0 := zero_le_one.trans hp |
| 89 | have hf0 := zero_le_one.trans frame_properties.1 |
| 90 | have hold := S.olderShear_le n |
| 91 | have hcf := frame_properties.2.1 |
| 92 | have hCH := frame_properties.2.2 |
| 93 | refine ⟨one_le_mul_of_one_le_of_one_le frame_properties.1 (by linarith only [hp]),?_,?_⟩ |
| 94 | · exact (mul_le_mul_of_nonneg_right hcf hp0).trans |
| 95 | (mul_le_mul_of_nonneg_left (le_add_of_nonneg_left zero_le_one) hf0) |
| 96 | · have h1 := mul_le_mul_of_nonneg_left hold (mul_nonneg hessian_nonneg hp0) |
| 97 | have h2 := mul_le_mul_of_nonneg_right hCH (sq_nonneg (previousShear S.J S.X n)) |
| 98 | have h3 := mul_nonneg (sq_nonneg frameConstant) |
| 99 | (show 0 ≤ 1+2*previousShear S.J S.X n by positivity) |
| 100 | nlinarith only [h1,h2,h3] |
| 101 | |
| 102 | theorem coupling_step (a : ℝ) |
| 103 | (h : |a/P.frame.a-1| ≤ renewalCost S.J S.D 4 c frameConstant S.X n) : |
| 104 | |a-1| ≤ 2*∑ i ∈ range (n+1), renewalCost S.J S.D 4 c frameConstant S.X i := by |
| 105 | have he := S.renewal_series.nonneg n |
| 106 | have hd := relative_step_error P.coupling_pos P.coupling_bounds.2 he h |
| 107 | have ht := abs_add_le (a-P.frame.a) (P.frame.a-1) |
| 108 | rw [show a-P.frame.a+(P.frame.a-1)=a-1 by ring] at ht |
| 109 | rw [sum_range_succ] |
| 110 | linarith only [hd,ht,P.coupling_error] |
| 111 | |
| 112 | theorem tilt_step (σ : ℝ) |
| 113 | (h : |(scaleSequence S.J S.X (n+1))^2*σ^2-1| ≤ |
| 114 | renewalCost S.J S.D 4 c frameConstant S.X n) : |
| 115 | 1/2 ≤ σ^2*(scaleSequence S.J S.X (n+1))^2 ∧ |
| 116 | σ^2*(scaleSequence S.J S.X (n+1))^2 ≤ 2 := by |
| 117 | have hh := abs_le.mp h |
| 118 | have he := S.renewal_series.term_le n |
| 119 | constructor <;> nlinarith only [hh.1,hh.2,he] |
| 120 | |
| 121 | end EulerPacketInduction.Stage |
| 122 | |
| 123 | namespace EulerParentPacketFrames.RenewalAtTarget |
| 124 | |
| 125 | open InnerProductSpace EulerPacketMovingFrame EulerPacketSourceGeometry EulerPacketNormalizedPrimary |
| 126 | |
| 127 | theorem background_compression_of_error_le_one |
| 128 | {ι V : Type} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 129 | {D : EulerTransversePacketProvider.Data V} {G : PhysicalGeometryData ι} |
| 130 | {P : ParentFrame D G.targetTime} (J : RenewalAtTarget G P) (e : ℝ) (he : e ≤ 1) : |
| 131 | ⟪P.B G.targetTime (unit (P.m G.targetTime)),unit (P.m G.targetTime)⟫_ℝ+e < 0 := by |
| 132 | rw [J.background_compression_eq] |
| 133 | have hm := G.compression_margin he |
| 134 | have hc := G.nextCompression_le |
| 135 | linarith only [hm,hc] |
| 136 | |
| 137 | end EulerParentPacketFrames.RenewalAtTarget |