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.PacketLiftedFlowData |
| 2 | import Euler.PacketWeightedPhysicalErrors |
| 3 | import Euler.PacketGraphFlowFieldBounds |
| 4 | import Euler.PacketGraphFlowSupBounds |
| 5 | import Euler.PacketForwardInitializedCorrectionEstimates |
| 6 | import Euler.PacketForwardInitializedTimeBounds |
| 7 | import Euler.PacketLiftedSmallness |
| 8 | |
| 9 | /-! The zero-history packet constructs one correction and its actual physical |
| 10 | flow. All five flow estimates and the small physical correction errors hold |
| 11 | for that same correction, with constants obtained from the source budgets. -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | |
| 16 | namespace EulerPacketTerminalDatum |
| 17 | |
| 18 | open Set Filter InnerProductSpace EulerSmoothLimit EulerSpatialCutoffs |
| 19 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 20 | EulerPacketTimeProfile EulerPacketCoarseMajorant EulerPacketCorrectionConstants |
| 21 | EulerPacketCorrectionScalar EulerPacketSourceFrequency EulerAllOrderDriftCorrection |
| 22 | EulerLiftedGradientSpace EulerGraphInvariantFlow EulerPhysicalGraphFlowBounds |
| 23 | EulerPacketGraphFlowFrequency EulerPacketInverseFlowGevrey |
| 24 | EulerGevrey EulerGraphPressurePotential EulerPeriodicProfile EulerSobolevGevreyOperators |
| 25 | EulerLpTranslation.SmoothL2Field |
| 26 | open scoped ContDiff |
| 27 | |
| 28 | variable (M : EulerMeanPacketProvider.Data) |
| 29 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 30 | (D : EulerTransversePacketProvider.Data U) (hTime : M.T=D.T) |
| 31 | (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) |
| 32 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) (hα : 0 < α) |
| 33 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 34 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 35 | {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 36 | (Cagree : SourceCoefficientAgreement M D) |
| 37 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 38 | (hX : ∀ t, ContDiff ℝ ∞ (X t)) |
| 39 | (hF : ∀ t x, fderiv ℝ (X t) x = D.F.field t x) |
| 40 | (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) |
| 41 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 42 | |
| 43 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 44 | |
| 45 | theorem forwardInitialized_flow_and_correction_eventually (ε : ℝ) (hε : 0 < ε) : |
| 46 | ∃ ρ0 γ Cw : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ |
| 47 | ∀ᶠ k : ℝ in atTop, |
| 48 | ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) |
| 49 | (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos |
| 50 | (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree |
| 51 | (truncation k) hn k hk)) |
| 52 | (G : EulerPhysicalGraphFlowBounds.Data period D.T), |
| 53 | Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ |
| 54 | G.A = Q.liftedPacketCoefficient period |
| 55 | (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ |
| 56 | G.A₁ = Q.liftedPacketDerivativeCoefficient period |
| 57 | (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ |
| 58 | (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ |
| 59 | (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, |
| 60 | weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ |
| 61 | weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ |
| 62 | weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ |
| 63 | (∀ (t : Icc (0 : ℝ) D.T) (x : Space), |
| 64 | ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) |
| 65 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ ∧ |
| 66 | ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹) ∧ |
| 67 | (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, |
| 68 | (G.displacementField k D.m₀ ell hell t).HasJetBound |
| 69 | (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ |
| 70 | (G.velocityField k D.m₀ ell hell t).HasJetBound |
| 71 | (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ |
| 72 | (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound |
| 73 | (k^ε) (ell⁻¹*k^(1+ε)) ∧ |
| 74 | HasSupBound (G.displacementField k D.m₀ ell hell t).field |
| 75 | (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ |
| 76 | HasSupBound (G.velocityField k D.m₀ ell hell t).field |
| 77 | (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by |
| 78 | classical |
| 79 | let BC := forwardCoefficientBudget period M D hTime NB |
| 80 | have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := |
| 81 | mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) |
| 82 | obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := |
| 83 | EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC |
| 84 | (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC |
| 85 | let L' := L.enlargeRadius R' hL |
| 86 | let N' := NB.enlargeRadius R' hL |
| 87 | let M' := LM.enlargeRadius R' hM |
| 88 | let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα |
| 89 | have hgrowth : timeProfileChange S.growth hTime=α • L'.g := |
| 90 | Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα |
| 91 | obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hQ⟩ := forwardInitialized_correction_estimates_eventually |
| 92 | M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X hX hF hdet |
| 93 | let C0 := velocity L'.R S.H0 BC.multiplierCost |
| 94 | let Cn := normal L'.R S.H0 BC.multiplierCost |
| 95 | let Ch := 6*N'.blockAmplitude* |
| 96 | (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) |
| 97 | let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) |
| 98 | let Av := liftedInputConstant period*(C0+Cn) |
| 99 | let Ev := 2*liftedInputConstant period*Cw |
| 100 | let At := 2*liftedInputConstant period*(Ch+Cw) |
| 101 | let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw |
| 102 | have hRv : 0 ≤ 4*L'.R := by have := L'.radius_one; linarith |
| 103 | have hρ' : 0 < ρ0/4 := by positivity |
| 104 | have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) |
| 105 | have hK : 0 ≤ liftedInputConstant period := zero_le_one.trans (liftedInputConstant_one_le period) |
| 106 | have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost |
| 107 | (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg |
| 108 | have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost |
| 109 | (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg |
| 110 | have hCh : 0 ≤ Ch := by |
| 111 | have hN := N'.blockAmplitude_nonneg |
| 112 | have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 1 |
| 113 | have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 2 |
| 114 | dsimp [Ch] |
| 115 | positivity |
| 116 | have hAv : 0 ≤ Av := mul_nonneg hK (add_nonneg hC0 hCn) |
| 117 | have hEv : 0 ≤ Ev := by dsimp [Ev]; positivity |
| 118 | have hEta := inputExponent_pos ε hε |
| 119 | have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by |
| 120 | intro t x |
| 121 | rw [← hF t x] |
| 122 | exact ((hX t).differentiable (by simp) x).hasFDerivAt |
| 123 | refine ⟨ρ0,γ,Cw,hρ,hγ,hCw,?_⟩ |
| 124 | filter_upwards [hQ, |
| 125 | fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ), |
| 126 | liftedAmplitude_small_eventually Av Ev Rf D.T hAv hEv hRf.le D.T_pos.le, |
| 127 | (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop Rf, |
| 128 | (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop At, |
| 129 | (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop D.T, |
| 130 | correction_with_power_loss_eventually Kerr 1 1, |
| 131 | data_field_bounds_eventually period D.T ε hε, |
| 132 | data_sup_bounds_eventually period D.T ε hε] |
| 133 | with k hQ hscalar hsmall hRf_k hAt_k hT_k hdecay hLp hSup |
| 134 | obtain ⟨hk,hn,Q,hδQ,hρQ,hγQ,hweighted⟩ := hQ |
| 135 | have hk0 : 0 < k := by linarith |
| 136 | have hk1 : 1 ≤ k := by linarith |
| 137 | have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := |
| 138 | tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) |
| 139 | let V := forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k |
| 140 | let Vt := forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k |
| 141 | have hv := forwardInitializedNormalizedField_bound M D hTime δ hδ ξ hs α |
| 142 | L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase |
| 143 | have hnrm := forwardInitializedNormalizedField_normal_bound M D hTime δ hδ ξ hs α |
| 144 | L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase |
| 145 | have hvt := forwardInitializedNormalizedDerivativeField_bound M D hTime δ hδ ξ hs α |
| 146 | L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase |
| 147 | have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) |
| 148 | ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := |
| 149 | (hweighted (n+6) n le_rfl t).1 |
| 150 | have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) |
| 151 | ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := |
| 152 | (hweighted (n+6) n le_rfl t).2.1 |
| 153 | have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) |
| 154 | ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := |
| 155 | ((hweighted (n+6) n le_rfl t).2.2).trans |
| 156 | ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) |
| 157 | have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by |
| 158 | dsimp [physicalInputSize,liftedAmplitude,Av,Ev] |
| 159 | ring |
| 160 | let G := Q.physicalFlowData period V Vt rfl |
| 161 | (forwardInitializedNormalizedField_time M D hTime δ hδ ξ hs α (truncation k) k) |
| 162 | k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw |
| 163 | hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh |
| 164 | (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het |
| 165 | (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 |
| 166 | rw [hsize] |
| 167 | exact hsmall.2.2.2) |
| 168 | have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by |
| 169 | change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ |
| 170 | rw [hsize] |
| 171 | exact hsmall.2.2.1 |
| 172 | have hflow := hLp G rfl rfl rfl hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit |
| 173 | have hsup := hSup G hGB hRf_k hT_k D.m₀ D.m₀_unit |
| 174 | have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := |
| 175 | Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet |
| 176 | L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) |
| 177 | hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x |
| 178 | have hdecay' : Kerr*k*delta (expansion k) < k⁻¹ := by |
| 179 | simpa only [Real.rpow_one,Real.rpow_neg_one] using hdecay |
| 180 | refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,rfl,rfl,?_,hweighted,?_,?_⟩ |
| 181 | · intro t z |
| 182 | change graphConstraint k D.m₀ |
| 183 | (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z)) = 0 |
| 184 | exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ |
| 185 | · intro t x |
| 186 | exact ⟨((hcorrection t x).1).trans_lt hdecay',((hcorrection t x).2).trans_lt hdecay'⟩ |
| 187 | · intro ell hell hell1 t |
| 188 | exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, |
| 189 | (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ |
| 190 | |
| 191 | end EulerPacketTerminalDatum |