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.PacketPressureRemainder |
| 2 | import Euler.PacketInitializedRemainder |
| 3 | import Euler.PacketJoinedPressureAssembly |
| 4 | import Euler.PacketPressureFastHessian |
| 5 | |
| 6 | /-! The initialized finite pressure has its actual leading angular force |
| 7 | and a uniformly small covector remainder. -/ |
| 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 EulerPacketPressure EulerPacketGraphHessian |
| 17 | EulerGraphPullback EulerTransversePacketPrimary |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable (M : EulerMeanPacketProvider.Data) |
| 21 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 22 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 23 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 24 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 25 | |
| 26 | theorem initializedProfiles_one_highPressure : |
| 27 | (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α 1).highPressure = |
| 28 | scalar τ hτ hτT B (initialData D δ hδ (α • ξ) hs) := by |
| 29 | simp only [initializedProfiles,joinedSourceProfiles,profiles_one] |
| 30 | rfl |
| 31 | |
| 32 | theorem initializedProfiles_one_meanPressure : |
| 33 | (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α 1).meanPressure = 0 := by |
| 34 | simp only [initializedProfiles,joinedSourceProfiles,profiles_one] |
| 35 | rfl |
| 36 | |
| 37 | def initializedAngularPressure : ScalarField := fun z => |
| 38 | (pressureJet (scalar τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) z).2 angleDirection |
| 39 | |
| 40 | def initializedCovectorRemainder (N : ℕ) (κ : ℝ) : VectorField := |
| 41 | covectorRemainder (N := N) (a := initializedProfiles M D τ hτ hτT B δ hδ ξ hs α) D.m₀ κ |
| 42 | |
| 43 | include hTime in |
| 44 | theorem initializedPressure_gradient_decomposition (N : ℕ) (k : ℝ) (hk : k ≠ 0) |
| 45 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 46 | (hY : HasFDerivAt Y (D.FInv.field t (Y x)) x) : |
| 47 | gradient (fun y => initializedPressure M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 48 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x = |
| 49 | fastForce (fun z => initializedAngularPressure D τ hτ hτT B δ hδ ξ hs α (t,z)) |
| 50 | k D.m₀ Y (fun y => D.FInv.field t (Y y)) x + |
| 51 | (D.FInv.field t (Y x)).adjoint |
| 52 | (initializedCovectorRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 53 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ))) := by |
| 54 | let tm : Icc (0 : ℝ) M.T := ⟨t.val,by simpa only [hTime] using t.property⟩ |
| 55 | let a := initializedProfiles M D τ hτ hτT B δ hδ ξ hs α |
| 56 | let primary := joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs) |
| 57 | let hprimary := joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B |
| 58 | (initialData D δ hδ (α • ξ) hs) |
| 59 | have hm (i : ℕ) : ContDiff ℝ ∞ (fun z => (a i).meanPressure (t,z)) := |
| 60 | joinedSource_meanPressure_smooth_all period M D hTime τ hτ hτT B primary hprimary rfl i tm |
| 61 | have hh (i : ℕ) : ContDiff ℝ ∞ (fun z => (a i).highPressure (t,z)) := |
| 62 | joinedSource_highPressure_smooth_all period M D hTime τ hτ hτT B primary hprimary |
| 63 | (fun s => joinedTerminalPrimary_pressure_smooth period M D τ hτ hτT B _ s.val) i tm |
| 64 | have ha (i : ℕ) : (pressureJet (a i).meanPressure (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ))).2 angleDirection=0 := |
| 65 | joinedSource_meanPressure_angle_all period M D hTime τ hτ hτT B primary hprimary rfl i tm _ _ |
| 66 | have hp : DifferentiableAt ℝ |
| 67 | (fun z => initializedPressure M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ (t,z)) |
| 68 | (graphMap k D.m₀ (Y x)) := |
| 69 | ((initializedPressureWitness M D hTime τ hτ hτT B δ hδ ξ hs α N k⁻¹).smooth tm).differentiable |
| 70 | (by simp) _ |
| 71 | rw [gradient_physical_covector k D.m₀ _ t Y _ x hY hp] |
| 72 | have he := covector_finite N k⁻¹ (inv_ne_zero hk) D.m₀ a |
| 73 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) |
| 74 | (fun i _ => (hm i).differentiable (by simp) _) (fun i _ => (hh i).differentiable (by simp) _) |
| 75 | (fun i _ => ha i) |
| 76 | rw [inv_inv] at he |
| 77 | change covector k D.m₀ (initializedPressure M D τ hτ hτT B δ hδ ξ hs α N k⁻¹) |
| 78 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) = _ at he |
| 79 | rw [he] |
| 80 | have h1 : (a 1).highPressure=scalar τ hτ hτT B (initialData D δ hδ (α • ξ) hs) := |
| 81 | initializedProfiles_one_highPressure M D τ hτ hτT B δ hδ ξ hs α |
| 82 | have hv : fieldSum (N+1) k⁻¹ (covectorGrades N D.m₀ a) (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) = |
| 83 | k⁻¹ • angularPressure D.m₀ (a 1).highPressure (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) + |
| 84 | initializedCovectorRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 85 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) := by |
| 86 | dsimp only [initializedCovectorRemainder,covectorRemainder,Pi.sub_apply,Pi.smul_apply] |
| 87 | abel |
| 88 | rw [hv,map_add,map_smul] |
| 89 | simp only [fastForce,transportedNormal,graphMap_apply,angularPressure, |
| 90 | initializedAngularPressure,map_smul,h1] |
| 91 | |
| 92 | variable |
| 93 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 94 | (H : EulerTransversePacketPrimary.Budget L) |
| 95 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 96 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) |
| 97 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 98 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 99 | (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) |
| 100 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 101 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 102 | (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 103 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 104 | (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) |
| 105 | |
| 106 | def initializedPressureBudget (p : ℕ) := |
| 107 | Classical.choice (initializedPressureBudget_exists M D hTime τ hτ hτT B δ hδ ξ hs α |
| 108 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth p) |
| 109 | |
| 110 | def initializedAngularPressureField : |
| 111 | Field period D.T (fun z => initializedAngularPressure D τ hτ hτT B δ hδ ξ hs α z • D.m₀) := |
| 112 | (((initializedPressureBudget M D hTime τ hτ hτT B δ hδ ξ hs α |
| 113 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth 1).angular).changeTime hTime).congr |
| 114 | (fun _ _ _ => by rw [initializedProfiles_one_highPressure]; rfl) |
| 115 | |
| 116 | theorem initializedAngularPressure_bound : |
| 117 | (initializedAngularPressureField M D hTime τ hτ hτT B δ hδ ξ hs α |
| 118 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth).WordBound |
| 119 | 6 (4*L.R) (fixedVelocityGradeCost L.R S.H0 1) 0 := by |
| 120 | let K := initializedPressureBudget M D hTime τ hτ hτT B δ hδ ξ hs α |
| 121 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth 1 |
| 122 | have hb := K.angular_bound.remove_profile M.T_pos.le (S.high 1) (S.high_pos 1) |
| 123 | (S.H0^(2*1)) (pow_nonneg S.H0_pos.le _) (S.high_le_coarse 1 le_rfl) |
| 124 | simp only [mul_one] at hb |
| 125 | have ha : S.H0^2 ≤ 3*S.H0^(2*1) := by |
| 126 | norm_num only [Nat.mul_one] |
| 127 | nlinarith [sq_nonneg S.H0] |
| 128 | have hc := (hb.mono_amplitude (zero_le_one.trans L.radius_bounds.1) ha).fixed_velocity_grade |
| 129 | (n := 1) (zero_le_one.trans L.radius_bounds.1) S.H0_pos.le |
| 130 | exact (hc.changeTime hTime).of_raw_eq _ |
| 131 | (fun _ _ _ => by rw [initializedProfiles_one_highPressure]; rfl) |
| 132 | |
| 133 | def initializedCovectorRemainderField (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) : |
| 134 | Field period D.T (initializedCovectorRemainder M D τ hτ hτT B δ hδ ξ hs α N κ) := |
| 135 | (covectorRemainderField M.T_pos D.m₀ |
| 136 | (fun i (_ : i ≤ N) => initializedProfileWitness M D hTime τ hτ hτT B δ hδ ξ hs α i) |
| 137 | (fun i (_ : i ≤ N) => initializedPressureBudget M D hTime τ hτ hτT B δ hδ ξ hs α |
| 138 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i) |
| 139 | (initializedProfiles_zero M D τ hτ hτT B δ hδ ξ hs α) hN |
| 140 | (initializedProfiles_one_meanPressure M D τ hτ hτT B δ hδ ξ hs α) κ).changeTime hTime |
| 141 | |
| 142 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 143 | theorem initializedCovectorRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 144 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 145 | (initializedCovectorRemainderField M D hTime τ hτ hτT B δ hδ ξ hs α |
| 146 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k⁻¹).WordBound |
| 147 | 6 (4*L.R) ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) 0 := by |
| 148 | exact (covectorRemainder_bound M.T_pos D.m₀ |
| 149 | (fun i (_ : i ≤ N) => initializedProfileWitness M D hTime τ hτ hτT B δ hδ ξ hs α i) |
| 150 | (fun i (_ : i ≤ N) => initializedPressureBudget M D hTime τ hτ hτT B δ hδ ξ hs α |
| 151 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i) |
| 152 | (fun i _ hi => initialized_profile_budgets M D hTime τ hτ hτT B δ hδ ξ hs α |
| 153 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i hi) |
| 154 | L.radius_bounds.1 (initializedProfiles_zero M D τ hτ hτT B δ hδ ξ hs α) hN |
| 155 | (initializedProfiles_one_meanPressure M D τ hτ hτT B δ hδ ξ hs α) BC k hk hbase).changeTime hTime |
| 156 | |
| 157 | end EulerPacketTerminalDatum |