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.PacketForwardUniformBudget |
| 2 | import Euler.PacketInitializedOutputCosts |
| 3 | import Euler.PacketForwardGlobalShear |
| 4 | import Euler.PacketForwardHessianError |
| 5 | |
| 6 | /-! The direct-forward physical output costs obey the same fixed |
| 7 | polynomial envelope, with no bound on extrema of the growth profile. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketInitializedOutputCost |
| 12 | |
| 13 | open EulerPacketTerminalDatum EulerPacketProfileRecursion EulerPacketCylinderField |
| 14 | EulerPacketCorrectionConstants EulerPacketCorrectionScalar EulerPacketCorrectionCoefficients |
| 15 | EulerPacketPhysicalCost EulerPacketFiveCost EulerAllOrderDriftCorrection EulerPacketCorrectionOutput |
| 16 | |
| 17 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 18 | {D : EulerTransversePacketProvider.Data U} |
| 19 | {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} |
| 20 | {C : CoefficientData period Tc O} |
| 21 | (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 22 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 23 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 24 | (BC : CoefficientBudget C) (δ : ℝ) (ξ : U) |
| 25 | |
| 26 | theorem forward_output_costs (W H0 : ℝ) (hδ : 0 < δ) |
| 27 | (H : EulerPacketForwardRadius.RadiusPrimitives L LM NB BC δ ξ W) |
| 28 | (hH0 : 0 ≤ H0) (hHW : H0 ≤ W) : |
| 29 | let R := forwardInitializedRadius LM L NB BC δ ξ |
| 30 | let Kc := L.correctionCoefficients NB period |
| 31 | let ρ := initialRadius R Kc.M Kc.Rc/4 |
| 32 | let Z := EulerPacketInitializedCost.envelope W |
| 33 | EulerPacketInitializedCost.weightSize W ≤ extraEnvelope Z ∧ |
| 34 | physicalInputRadius (4*R) (4*R) ρ ≤ extraEnvelope Z ∧ |
| 35 | liftedInputConstant period*(velocity R H0 BC.multiplierCost+normal R H0 BC.multiplierCost) ≤ extraEnvelope Z ∧ |
| 36 | 2*liftedInputConstant period*EulerPacketInitializedCost.weightSize W ≤ extraEnvelope Z ∧ |
| 37 | 2*liftedInputConstant period*(6*NB.blockAmplitude* |
| 38 | (fixedVelocityGradeCost R H0 1+fixedVelocityGradeCost R H0 2+1)+ |
| 39 | EulerPacketInitializedCost.weightSize W) ≤ extraEnvelope Z ∧ |
| 40 | weightedPhysicalGradientCost D period L.Rc L.C₀ ρ (EulerPacketInitializedCost.weightSize W) ≤ extraEnvelope Z ∧ |
| 41 | forwardInitializedGlobalShearCost R H0 NB.C ≤ extraEnvelope Z ∧ |
| 42 | forwardInitializedPressureHessianCost NB R H0 L.Rc L.C₀ ≤ extraEnvelope Z := by |
| 43 | let R := forwardInitializedRadius LM L NB BC δ ξ |
| 44 | let Kc := L.correctionCoefficients NB period |
| 45 | let ρ := initialRadius R Kc.M Kc.Rc/4 |
| 46 | let Z := EulerPacketInitializedCost.envelope W |
| 47 | obtain ⟨hZ1,hRZ,hHZ,hCZ,hK⟩ := EulerPacketInitializedCost.forward_actual_parameters |
| 48 | LM L NB BC δ ξ W H0 hδ H hHW |
| 49 | change R ≤ Z at hRZ |
| 50 | change H0 ≤ Z at hHZ |
| 51 | change BC.multiplierCost ≤ Z at hCZ |
| 52 | have hZ : 0 ≤ Z := zero_le_one.trans hZ1 |
| 53 | have hWZ := (EulerPacketInitializedCost.envelope_bounds W (zero_le_one.trans H.one)).2.1 |
| 54 | have hR0 : 0 ≤ R := zero_le_one.trans (forwardInitializedLinearBudget LM L NB BC δ ξ).radius_one |
| 55 | have hC0 := BC.multiplierCost_nonneg |
| 56 | have hLR := H.forward_radius.trans hWZ |
| 57 | have hLC := H.forward_frame.trans hWZ |
| 58 | have hNR := H.normal_radius.trans hWZ |
| 59 | have hNC := H.normal_amplitude.trans hWZ |
| 60 | have hNI := H.normal_inverse.trans hWZ |
| 61 | have hρ0 : 0 < ρ := div_pos (initialRadius_bounds R Kc.M Kc.Rc hR0 |
| 62 | (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 (by norm_num) |
| 63 | have hiR : (initialRadius R Kc.M Kc.Rc)⁻¹ ≤ inverseRadiusEnvelope Z := by |
| 64 | simp only [initialRadius,one_div,inv_inv] |
| 65 | unfold inverseRadiusEnvelope |
| 66 | have hm : Kc.M ≤ Z := hK.pressure |
| 67 | have hr : Kc.Rc ≤ Z := hK.radius |
| 68 | have hp := mul_le_mul hm hr Kc.Rc_nonneg hZ |
| 69 | nlinarith only [hp,hRZ,hr] |
| 70 | have hρinv : ρ⁻¹ ≤ 4*inverseRadiusEnvelope Z := by |
| 71 | change (initialRadius R Kc.M Kc.Rc/4)⁻¹ ≤ _ |
| 72 | rw [inv_div,div_eq_mul_inv] |
| 73 | gcongr |
| 74 | have hiZ : 0 ≤ inverseRadiusEnvelope Z := by unfold inverseRadiusEnvelope; positivity |
| 75 | have hrf : physicalInputRadius (4*R) (4*R) ρ ≤ radiusEnvelope Z := by |
| 76 | simp only [physicalInputRadius,max_self,liftedInputRadius] |
| 77 | change 1+coordinateCost*(4*R+ρ⁻¹) ≤ 1+coordinateCost*(4*Z+4*inverseRadiusEnvelope Z) |
| 78 | have hc : 0 ≤ coordinateCost := norm_nonneg _ |
| 79 | gcongr |
| 80 | have hv := velocity_mono hR0 hH0 hC0 hRZ hHZ hCZ |
| 81 | have ha1 := gradeCost_mono R H0 Z hR0 hH0 hRZ hHZ 1 |
| 82 | have ha2 := gradeCost_mono R H0 Z hR0 hH0 hRZ hHZ 2 |
| 83 | have hg1 := fixedVelocityGradeCost_nonneg R H0 hR0 1 |
| 84 | have hg2 := fixedVelocityGradeCost_nonneg R H0 hR0 2 |
| 85 | have hg1Z := hg1.trans ha1 |
| 86 | have hg2Z := hg2.trans ha2 |
| 87 | have hn : normal R H0 BC.multiplierCost ≤ normal Z Z Z := by unfold normal; gcongr |
| 88 | have hl := zero_le_one.trans (liftedInputConstant_one_le period) |
| 89 | have hav : liftedInputConstant period*(velocity R H0 BC.multiplierCost+normal R H0 BC.multiplierCost) ≤ |
| 90 | velocityInputEnvelope Z := by unfold velocityInputEnvelope; gcongr |
| 91 | have hb := EulerPacketRadiusPolynomial.normal_block_le NB Z hZ hNR hNC hNI |
| 92 | have hb0 := NB.blockAmplitude_nonneg |
| 93 | have hbZ := hb0.trans hb |
| 94 | have ht : 6*NB.blockAmplitude*(fixedVelocityGradeCost R H0 1+fixedVelocityGradeCost R H0 2+1) ≤ |
| 95 | timeEnvelope Z := by unfold timeEnvelope; gcongr |
| 96 | have hat : 2*liftedInputConstant period*(6*NB.blockAmplitude* |
| 97 | (fixedVelocityGradeCost R H0 1+fixedVelocityGradeCost R H0 2+1)+ |
| 98 | EulerPacketInitializedCost.weightSize W) ≤ timeInputEnvelope Z := by |
| 99 | unfold timeInputEnvelope EulerPacketInitializedCost.weightSize |
| 100 | gcongr |
| 101 | have hphys := physicalFixedCost_one_le D L.Rc L.C₀ ρ⁻¹ Z (4*inverseRadiusEnvelope Z) |
| 102 | L.Rc_nonneg L.C₀_nonneg (inv_nonneg.mpr hρ0.le) hLR hLC hρinv |
| 103 | have hphys0 := EulerPacketPhysicalGevrey.physicalFixedCost_nonneg D L.Rc L.C₀ ρ⁻¹ 1 |
| 104 | L.Rc_nonneg L.C₀_nonneg (inv_nonneg.mpr hρ0.le) |
| 105 | have hphysZ := hphys0.trans hphys |
| 106 | have he := EulerCylinderSobolevSpace.sobolevEmbeddingConstant_nonneg period 3 |
| 107 | have ho := zero_le_one.trans (output_components period Z hZ).1 |
| 108 | have herr : weightedPhysicalGradientCost D period L.Rc L.C₀ ρ (EulerPacketInitializedCost.weightSize W) ≤ |
| 109 | weightedErrorEnvelope Z := by |
| 110 | calc |
| 111 | _ = ((1+9*L.C₀)*EulerPacketPhysicalGevrey.physicalFixedCost D L.Rc L.C₀ ρ⁻¹ 1* |
| 112 | EulerCylinderSobolevSpace.sobolevEmbeddingConstant period 3)*outputEnvelope period Z := by |
| 113 | unfold weightedPhysicalGradientCost EulerPacketInitializedCost.weightSize |
| 114 | ring |
| 115 | _ ≤ ((1+9*Z)*physicalEnvelope Z (4*inverseRadiusEnvelope Z)* |
| 116 | EulerCylinderSobolevSpace.sobolevEmbeddingConstant period 3)*outputEnvelope period Z := by gcongr |
| 117 | _ = _ := rfl |
| 118 | have hshear := shearCost_le R H0 NB.C Z hR0 hH0 NB.C_nonneg hRZ hHZ hNC |
| 119 | have hhess := hessianCost_le D NB R H0 L.Rc L.C₀ Z hR0 hH0 L.Rc_nonneg L.C₀_nonneg |
| 120 | hRZ hHZ hLR hLC hNR hNC |
| 121 | obtain ⟨hwe,hr,ha,hb,ht',he',hs,hp⟩ := extra_components Z hZ |
| 122 | exact ⟨hwe,hrf.trans hr,hav.trans ha,hb,hat.trans ht',herr.trans he',hshear.trans hs,hhess.trans hp⟩ |
| 123 | |
| 124 | |
| 125 | end EulerPacketInitializedOutputCost |