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.PacketSourceRadiusPolynomial |
| 2 | import Euler.PacketForwardCommonRadius |
| 3 | import Euler.PacketParentForwardBudget |
| 4 | |
| 5 | /-! The direct-forward source radius and its literal common-radius |
| 6 | enlargement obey the same fixed polynomial envelope as the joined branch. |
| 7 | The homogeneous growth constant is arbitrary and remains an input. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketForwardRadius |
| 12 | |
| 13 | open EulerParameterWordGevrey EulerPacketRadiusPolynomial EulerPacketSourceRadius |
| 14 | EulerPacketTerminalDatum EulerPacketCylinderField EulerPacketProfileRecursion |
| 15 | EulerTransversePacketProvider |
| 16 | |
| 17 | theorem source_radius_le (T R C C1 Cp W : ℝ) (hW : 1 ≤ W) |
| 18 | (hT0 : 0 ≤ T) (hT1 : T ≤ 1) (hR0 : 0 ≤ R) (hR : R ≤ W) |
| 19 | (hC0 : 0 ≤ C) (hC : C ≤ W) (hC10 : 0 ≤ C1) (hC1 : C1 ≤ W) |
| 20 | (hCp0 : 0 ≤ Cp) (hCp : Cp ≤ W) |
| 21 | (hRi : EulerPacketParentTransverseCosts.inverseRadius R C ≤ W) : |
| 22 | EulerPacketParentForwardBudget.radius 6 T R C C1 Cp ≤ sourceRadiusEnvelope W := by |
| 23 | let V := primitiveLift W |
| 24 | let Ri := EulerPacketParentTransverseCosts.inverseRadius R C |
| 25 | have hW0 := zero_le_one.trans hW |
| 26 | have hb := primitiveLift_bounds W hW0 |
| 27 | have hV : 1 ≤ V := hb.1 |
| 28 | have hV0 := zero_le_one.trans hV |
| 29 | have hWV : W ≤ V := (by linarith : W ≤ W+2).trans hb.2.1 |
| 30 | have hCV : C ≤ V := hC.trans hWV |
| 31 | have hC1V : C1 ≤ V := hC1.trans hWV |
| 32 | have hRV : R ≤ V := hR.trans hWV |
| 33 | have hi0 : 0 ≤ Ri := EulerPacketParentTransverseCosts.inverseRadius_nonneg R C hR0 |
| 34 | have hiv : Ri ≤ V := hRi.trans hWV |
| 35 | have hpf := (projected_scalar_le Ri C W hi0 hC0 hW0 hRi hC).trans hb.2.2.2.2.2.2.2 |
| 36 | have hpf0 : 0 ≤ EulerSourceCylinderForwardSobolev.forcingCost (Fin 4) 6 Ri C := by |
| 37 | have hc := coeff_nonneg (4*Ri) (3*Ri*C) (by positivity) (by positivity) |
| 38 | unfold EulerSourceCylinderForwardSobolev.forcingCost |
| 39 | positivity |
| 40 | have hforward : EulerPacketParentTransverseCosts.forwardCost 6 T 0 R C C1 Cp ≤ forwardEnvelope V := by |
| 41 | apply forward_scalar_le T Cp (0+2) _ (18*Ri*C*C1) (4*Ri) V |
| 42 | hT0 hT1 hCp0 (by norm_num) hpf0 (by positivity) (by positivity) hV0 |
| 43 | (hCp.trans hWV) ((by linarith : 0+2 ≤ W+2).trans hb.2.1) hpf |
| 44 | · calc |
| 45 | 18*Ri*C*C1 ≤ 18*V*V*V := by gcongr |
| 46 | _ = _ := by ring |
| 47 | · gcongr |
| 48 | have hwi := weakEnvelope_lower_inputs V hV |
| 49 | have hw1 : 1 ≤ weakEnvelope V := inverseBlockCost_one_le 6 |
| 50 | (hV0.trans hwi.1) hV0 (hV0.trans hwi.2.1) (hV0.trans hwi.2.2) |
| 51 | have hfw := forwardEnvelope_nonneg V hV0 |
| 52 | unfold EulerPacketParentForwardBudget.radius |
| 53 | simp only [coefficientRadius_eq] |
| 54 | calc |
| 55 | _ ≤ 1+16*V+16*(4*V)+2*forwardEnvelope V*(16*(4*V)+1) := by gcongr |
| 56 | _ ≤ sourceRadiusEnvelope W := by |
| 57 | change _ ≤ 1+V+6*weakEnvelope V*(16*V+1)+64*V+2*forwardEnvelope V*(64*V+1) |
| 58 | nlinarith only [hV0,mul_nonneg (sub_nonneg.mpr hw1) (by positivity : 0 ≤ 16*V+1)] |
| 59 | |
| 60 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 61 | {D : Data U} (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 62 | |
| 63 | theorem inverse_nonneg : 0 ≤ L.Ri := |
| 64 | (EulerTransverseForwardCoefficientGevrey.inverseRadius_bounds D.frameLower L.C₀ L.Rc L.Ri |
| 65 | D.frameLower_pos L.Rc_nonneg L.forward_inverse).1 |
| 66 | |
| 67 | theorem common_le (W : ℝ) (hW : 0 ≤ W) (hR : L.Rc ≤ W) |
| 68 | (hC : L.C₀ ≤ W) (hC1 : L.C₁ ≤ W) (hI : L.Ri ≤ W) : |
| 69 | L.commonCost ≤ commonEnvelope W := by |
| 70 | have ha := coeff_nonneg W W hW hW |
| 71 | have hc : coeff L.Rc L.C₀ ≤ coeff W W := |
| 72 | sobolevCoefficientAmplitude_mono_all 6 L.Rc_nonneg L.C₀_nonneg hR hC |
| 73 | have hp := physicalCost_le L.Ri L.C₀ L.C₁ 1 1 W (inverse_nonneg L) |
| 74 | L.C₀_nonneg L.C₁_nonneg zero_le_one zero_le_one hW hI hC hC1 le_rfl le_rfl |
| 75 | unfold EulerTransversePacketForward.Budget.commonCost EulerTransversePacketForward.Budget.velocityCost |
| 76 | EulerTransversePacketForward.Budget.derivativeCost |
| 77 | calc |
| 78 | _ ≤ 3*coeff W W+physicalEnvelope W := add_le_add (by gcongr) hp |
| 79 | _ ≤ commonEnvelope W := by |
| 80 | unfold commonEnvelope |
| 81 | nlinarith only [ha,mul_nonneg ha (by positivity : 0 ≤ 2*W+2)] |
| 82 | |
| 83 | theorem grade_sum_le (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 84 | (W : ℝ) (hW : 0 ≤ W) (hNR : N.Rc ≤ W) (hNC : N.C ≤ W) (hNI : N.Ri ≤ W) |
| 85 | (hcommon : L.commonCost ≤ commonEnvelope W) : |
| 86 | L.commonCost+L.correctorAmplitude (P := period) N+L.correctorTimeAmplitude (P := period) N+ |
| 87 | 3*L.pressureAmplitude (P := period) N ≤ gradeEnvelope W := by |
| 88 | have hn := normal_block_le N W hW hNR hNC hNI |
| 89 | have hp := pressureCost_le N.Ri N.C 1 L.commonCost W N.Ri_nonneg N.C_nonneg zero_le_one |
| 90 | L.commonCost_nonneg hW hNI hNC le_rfl hcommon |
| 91 | have hN0 := N.blockAmplitude_nonneg |
| 92 | have hN := normalEnvelope_nonneg W hW |
| 93 | have hC0 := L.commonCost_nonneg |
| 94 | have hC := commonEnvelope_nonneg W hW |
| 95 | have hP := (Fact.out : 0 < period).le |
| 96 | unfold EulerTransversePacketForward.Budget.correctorAmplitude |
| 97 | EulerTransversePacketForward.Budget.correctorTimeAmplitude |
| 98 | EulerTransversePacketForward.Budget.pressureAmplitude |
| 99 | calc |
| 100 | _ ≤ commonEnvelope W+27*(normalEnvelope W)^2*(period*commonEnvelope W)+ |
| 101 | 108*(normalEnvelope W)^2*(period*commonEnvelope W)+3*(period*pressureEnvelope W) := by gcongr |
| 102 | _ = _ := by unfold gradeEnvelope; ring |
| 103 | |
| 104 | variable {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} |
| 105 | {C : CoefficientData period Tc O} |
| 106 | (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 107 | (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) (BC : CoefficientBudget C) |
| 108 | (δ : ℝ) (ξ : U) |
| 109 | |
| 110 | def canonicalRadius : ℝ := |
| 111 | EulerPacketForwardCommonRadius.commonRadius LM L N BC |
| 112 | (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) |
| 113 | |
| 114 | structure RadiusPrimitives (W : ℝ) : Prop where |
| 115 | one : 1 ≤ W |
| 116 | total_time : D.T ≤ 1 |
| 117 | mean_time : M.T ≤ 1 |
| 118 | mean_inverse_time : M.T⁻¹ ≤ W |
| 119 | original_forward : L.R ≤ W |
| 120 | original_mean : Rm ≤ W |
| 121 | forward_radius : L.Rc ≤ W |
| 122 | forward_frame : L.C₀ ≤ W |
| 123 | forward_first : L.C₁ ≤ W |
| 124 | forward_inverse : L.Ri ≤ W |
| 125 | normal_radius : N.Rc ≤ W |
| 126 | normal_amplitude : N.C ≤ W |
| 127 | normal_inverse : N.Ri ≤ W |
| 128 | mean_radius : LM.Rc ≤ W |
| 129 | mean_frame : LM.CF ≤ W |
| 130 | mean_first : LM.CF₁ ≤ W |
| 131 | mean_forcing : LM.Cf ≤ W |
| 132 | coefficient_radius : BC.Rc ≤ W |
| 133 | coefficient_cost : BC.termCost ≤ W |
| 134 | delta_inverse : δ⁻¹ ≤ W |
| 135 | terminal : ‖ξ‖ ≤ W |
| 136 | |
| 137 | theorem canonicalRadius_le_envelope (W : ℝ) (hδ : 0 < δ) |
| 138 | (H : RadiusPrimitives L LM N BC δ ξ W) : |
| 139 | canonicalRadius L LM N BC δ ξ ≤ radiusEnvelope W := by |
| 140 | have hW0 := zero_le_one.trans H.one |
| 141 | have hc := common_le L W hW0 H.forward_radius H.forward_frame H.forward_first H.forward_inverse |
| 142 | have hg := grade_sum_le L N W hW0 H.normal_radius H.normal_amplitude H.normal_inverse hc |
| 143 | have hm := mean_costs_le LM W hW0 H.mean_time H.mean_inverse_time H.mean_radius |
| 144 | H.mean_frame H.mean_first H.mean_forcing |
| 145 | have ht := terminal_cost_le δ W ξ hδ H.delta_inverse H.terminal |
| 146 | have ht0 : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) |
| 147 | have hg0 := gradeEnvelope_nonneg W hW0 |
| 148 | have htW0 := terminalEnvelope_nonneg W hW0 |
| 149 | have h0 := L.commonCost_nonneg |
| 150 | have h1 := L.correctorAmplitude_nonneg (P := period) N |
| 151 | have h2 := L.correctorTimeAmplitude_nonneg (P := period) N |
| 152 | have h3 := L.pressureAmplitude_nonneg (P := period) N |
| 153 | have hb0 : L.commonCost ≤ gradeEnvelope W := by linarith only [hg,h1,h2,h3] |
| 154 | have hb1 : L.correctorAmplitude (P := period) N ≤ gradeEnvelope W := by linarith only [hg,h0,h2,h3] |
| 155 | have hb2 : L.correctorTimeAmplitude (P := period) N ≤ gradeEnvelope W := by linarith only [hg,h0,h1,h3] |
| 156 | have hb3 : 3*L.pressureAmplitude (P := period) N ≤ gradeEnvelope W := by linarith only [hg,h0,h1,h2] |
| 157 | have hgrade (c t : ℝ) (hc0 : 0 ≤ c) (hct : c ≤ t) : |
| 158 | L.gradeRadius (P := period) N c ≤ W+gradeEnvelope W*t := by |
| 159 | have ht0 := hc0.trans hct |
| 160 | have hmul {a : ℝ} (ha : a ≤ gradeEnvelope W) : a*c ≤ W+gradeEnvelope W*t := |
| 161 | (mul_le_mul ha hct hc0 hg0).trans (le_add_of_nonneg_left hW0) |
| 162 | unfold EulerTransversePacketForward.Budget.gradeRadius |
| 163 | exact max_le (H.original_forward.trans (le_add_of_nonneg_right (mul_nonneg hg0 ht0))) |
| 164 | (max_le (hmul hb0) (max_le (hmul hb1) (max_le (hmul hb2) (hmul hb3)))) |
| 165 | have hg1 := hgrade 1 1 zero_le_one le_rfl |
| 166 | have hgT := hgrade (wordCost (Fin 4) 6 δ*‖ξ‖) (terminalEnvelope W) ht0 ht |
| 167 | have hj : wordRadius (Fin 4) δ ≤ 16*jetEnvelope W := by |
| 168 | rw [wordRadius,coefficientRadius_eq] |
| 169 | exact mul_le_mul_of_nonneg_left (jetRadius_le δ W hδ H.delta_inverse) (by norm_num) |
| 170 | have hj0 : 0 ≤ 16*jetEnvelope W := by unfold jetEnvelope; positivity |
| 171 | have hextra := max_le hj0 hj |
| 172 | have hweak := weakEnvelope_nonneg W hW0 |
| 173 | have hstrong := strongEnvelope_nonneg W hW0 |
| 174 | have hforward := forwardEnvelope_nonneg W hW0 |
| 175 | have hreq : W+16*jetEnvelope W ≤ requiredEnvelope W := by |
| 176 | unfold requiredEnvelope |
| 177 | nlinarith only [mul_nonneg (add_nonneg hweak hstrong) (by positivity : 0 ≤ 16*W+1), |
| 178 | mul_nonneg hforward (by positivity : 0 ≤ 64*W+1)] |
| 179 | have hjW : W ≤ 16*jetEnvelope W := by |
| 180 | unfold jetEnvelope |
| 181 | nlinarith only [sq_nonneg (W-1)] |
| 182 | unfold canonicalRadius EulerPacketForwardCommonRadius.commonRadius |
| 183 | rw [coefficientRadius_eq] |
| 184 | have hb : 16*BC.Rc ≤ 16*W := by gcongr; exact H.coefficient_radius |
| 185 | unfold radiusEnvelope |
| 186 | nlinarith only [H.original_mean,H.original_forward,H.coefficient_cost,hb,hm,hg1,hgT,hextra,hreq,hjW] |
| 187 | |
| 188 | theorem canonicalRadius_power (W : ℝ) (hδ : 0 < δ) |
| 189 | (H : RadiusPrimitives L LM N BC δ ξ W) : |
| 190 | canonicalRadius L LM N BC δ ξ ≤ radiusConstant*W^radiusPower := |
| 191 | (canonicalRadius_le_envelope L LM N BC δ ξ W hδ H).trans (radiusEnvelope_power W H.one) |
| 192 | |
| 193 | end EulerPacketForwardRadius |