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.PacketForwardPrimaryShear |
| 2 | import Euler.PacketForwardRemainder |
| 3 | import Euler.PacketForwardExactFields |
| 4 | |
| 5 | /-! The actual finite and exact packets have the source shear at every |
| 6 | physical point. The slow primary derivative and finite tail contribute |
| 7 | only a fixed source constant divided by the frequency. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketTerminalDatum |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 14 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 15 | EulerPacketPointJets EulerPacketTimeProfile EulerParameterWordGevrey |
| 16 | EulerPacketCoarseMajorant EulerCylinderSobolevSpace EulerCylinderCoordinates |
| 17 | EulerPacketPrimaryShear EulerPacketForwardFactorization EulerPacketForwardPrimary |
| 18 | EulerLiftedGradientSpace EulerGraphPressurePotential EulerAllOrderDriftCorrection |
| 19 | EulerPeriodicProfile EulerGevrey |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | def forwardInitializedGlobalShearCost (R H0 C : ℝ) : ℝ := |
| 23 | ‖coordinateEquiv.symm.toContinuousLinearMap‖* |
| 24 | (sobolevEmbeddingConstant period 3*fixedVelocityGradeCost R H0 1*(4*R))*C + |
| 25 | |forwardInitializedRemainderDerivativeCost R H0| *C |
| 26 | |
| 27 | variable (M : EulerMeanPacketProvider.Data) |
| 28 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 29 | (D : Data U) (hTime : M.T = D.T) |
| 30 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 31 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 32 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 33 | (W : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB 1) |
| 34 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 35 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 36 | (BC : CoefficientBudget (sourceCoefficientData period M D (InitialData.zero period D) hTime)) |
| 37 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 38 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 39 | (WP : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 40 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 41 | (hgrowth : timeProfileChange S.growth hTime=α • L.g) |
| 42 | |
| 43 | include NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 44 | |
| 45 | theorem forwardInitializedPrimary_global_bound : |
| 46 | ((forcing D).vectorField (initialData D δ hδ (α • ξ) hs)).WordBound |
| 47 | 6 (4*L.R) (fixedVelocityGradeCost L.R S.H0 1) 0 := by |
| 48 | have hG := forwardInitialized_profile_budgets M D hTime δ hδ ξ hs α |
| 49 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth 1 le_rfl |
| 50 | have hb := hG.high.remove_profile M.T_pos.le (S.high 1) (S.high_pos 1) |
| 51 | (S.H0^(2*1)) (pow_nonneg S.H0_pos.le _) (S.high_le_coarse 1 le_rfl) |
| 52 | simp only [mul_one] at hb |
| 53 | have ha : S.H0^2 ≤ 3*S.H0^(2*1) := by |
| 54 | norm_num only [Nat.mul_one] |
| 55 | nlinarith [sq_nonneg S.H0] |
| 56 | have hc := (hb.mono_amplitude (zero_le_one.trans L.radius_one) ha).fixed_velocity_grade |
| 57 | (n := 1) (zero_le_one.trans L.radius_one) S.H0_pos.le |
| 58 | exact (hc.changeTime hTime).of_raw_eq _ |
| 59 | (fun _ _ _ => by rw [forwardInitializedProfiles_one_high]) |
| 60 | |
| 61 | theorem forwardInitializedVelocity_global_gradient_error (N : ℕ) (hN : 1 ≤ N) |
| 62 | (k : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 63 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 64 | (hY : HasFDerivAt Y (D.FInv.field t (Y x)) x) : |
| 65 | ‖fderiv ℝ (fun y => forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹ |
| 66 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x - |
| 67 | (α*deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • |
| 68 | rankOne ℝ (canonicalVelocity D ξ t (Y x)) (D.normal.field t (Y x))‖ ≤ |
| 69 | forwardInitializedGlobalShearCost L.R S.H0 NB.C/k := by |
| 70 | have hk0 : 0 < k := by linarith |
| 71 | have hr0 : 0 ≤ L.R := zero_le_one.trans L.radius_one |
| 72 | have hc0 := fixedVelocityGradeCost_nonneg L.R S.H0 hr0 1 |
| 73 | have hinv : ‖D.FInv.field t (Y x)‖ ≤ NB.C := by |
| 74 | simpa [majorant] using NB.inverse_bound 0 t (Y x) |
| 75 | have hprimary := EulerPacketForwardShear.global_gradient_bound D δ hδ ξ hs α k hk0 |
| 76 | (4*L.R) (fixedVelocityGradeCost L.R S.H0 1) NB.C (by positivity) hc0 NB.C_nonneg |
| 77 | (forwardInitializedPrimary_global_bound M D hTime δ hδ ξ hs α |
| 78 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth) t Y x hY hinv |
| 79 | have htail := forwardInitializedPrimaryRemainder_physical_fderiv_inv M D hTime δ hδ ξ hs α |
| 80 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y x hY.differentiableAt |
| 81 | rw [hY.fderiv] at htail |
| 82 | have htail' : ‖fderiv ℝ (fun y => forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ |
| 83 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x‖ ≤ |forwardInitializedRemainderDerivativeCost L.R S.H0| *NB.C/k := by |
| 84 | apply htail.trans |
| 85 | calc |
| 86 | _ ≤ (|forwardInitializedRemainderDerivativeCost L.R S.H0|/k)*‖D.FInv.field t (Y x)‖ := |
| 87 | mul_le_mul_of_nonneg_right (div_le_div_of_nonneg_right (le_abs_self _) hk0.le) (norm_nonneg _) |
| 88 | _ ≤ (|forwardInitializedRemainderDerivativeCost L.R S.H0|/k)*NB.C := |
| 89 | mul_le_mul_of_nonneg_left hinv (by positivity) |
| 90 | _ = _ := by ring |
| 91 | have hp := ((((forcing D).vectorField (initialData D δ hδ (α • ξ) hs)).smul k⁻¹).raw_graph_contDiff |
| 92 | t k D.m₀).differentiable (by simp) (Y x) |
| 93 | have hpd : DifferentiableAt ℝ (fun y => k⁻¹ • vector D (initialData D δ hδ (α • ξ) hs) |
| 94 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x := by |
| 95 | simpa only [Function.comp_def,Pi.smul_apply] using hp.comp x hY.differentiableAt |
| 96 | have hr := ((forwardInitializedPrimaryRemainderField M D hTime δ hδ ξ hs α N hN k⁻¹).raw_graph_contDiff |
| 97 | t k D.m₀).differentiable (by simp) (Y x) |
| 98 | have hrd : DifferentiableAt ℝ (fun y => forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ |
| 99 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x := by |
| 100 | simpa only [Function.comp_def] using hr.comp x hY.differentiableAt |
| 101 | have he : (fun y => forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹ |
| 102 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) = |
| 103 | (fun y => k⁻¹ • vector D (initialData D δ hδ (α • ξ) hs) |
| 104 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) + |
| 105 | (fun y => forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ |
| 106 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) := by |
| 107 | funext y |
| 108 | dsimp only [forwardInitializedPrimaryRemainder,Pi.add_apply,Pi.sub_apply,Pi.smul_apply] |
| 109 | abel |
| 110 | rw [he,fderiv_add hpd hrd] |
| 111 | have ha : ∀ A E R : Space →L[ℝ] Space, A+E-R=(A-R)+E := by intros; abel |
| 112 | rw [ha] |
| 113 | exact (norm_add_le _ _).trans ((add_le_add hprimary htail').trans_eq (by |
| 114 | unfold forwardInitializedGlobalShearCost |
| 115 | ring)) |
| 116 | |
| 117 | theorem forwardInitializedExactPhysicalVelocity_global_gradient_error |
| 118 | (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 119 | (Q : Budget period D.T_pos |
| 120 | (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk)) |
| 121 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 122 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 123 | (hY : HasFDerivAt Y (D.FInv.field t (Y x)) x) : |
| 124 | ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α |
| 125 | Cagree N hN k hk Q t Y) x - |
| 126 | (α*deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • |
| 127 | rankOne ℝ (canonicalVelocity D ξ t (Y x)) (D.normal.field t (Y x))‖ ≤ |
| 128 | forwardInitializedGlobalShearCost L.R S.H0 NB.C/k + |
| 129 | ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y y) |
| 130 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) x‖ := by |
| 131 | rw [forwardInitializedExactPhysicalVelocity_fderiv M D hTime δ hδ ξ hs α |
| 132 | Cagree N hN k hk Q t Y x hY.differentiableAt] |
| 133 | have ha : ∀ A E R : Space →L[ℝ] Space, A+E-R=(A-R)+E := by intros; abel |
| 134 | rw [ha] |
| 135 | exact (norm_add_le _ _).trans (add_le_add |
| 136 | (forwardInitializedVelocity_global_gradient_error M D hTime δ hδ ξ hs α |
| 137 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y x hY) le_rfl) |
| 138 | |
| 139 | end EulerPacketTerminalDatum |