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.PacketInitializedResidualEquation |
| 2 | import Euler.PacketRemainderBounds |
| 3 | import Euler.PacketPrimaryScaling |
| 4 | import Euler.PacketFieldGraphBounds |
| 5 | import Euler.FieldTowerPhysicalL2 |
| 6 | |
| 7 | /-! The literal initialized finite packet is its actual primary plus a |
| 8 | remainder with a proved physical C1 bound. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketTerminalDatum |
| 13 | |
| 14 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 15 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 16 | EulerPacketPointJets EulerPacketTimeProfile EulerParameterWordGevrey |
| 17 | EulerPacketCoarseMajorant EulerCylinderPhysicalTensor EulerCylinderSobolevSpace |
| 18 | EulerPacketPrimaryShear EulerPacketPrimaryFactorization EulerTransversePacketPrimary |
| 19 | EulerCylinderCoordinates |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable (M : EulerMeanPacketProvider.Data) |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 25 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 26 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 27 | |
| 28 | theorem initializedProfiles_zero : initializedProfiles M D τ hτ hτT B δ hδ ξ hs α 0 = 0 := |
| 29 | profiles_zero _ _ |
| 30 | |
| 31 | theorem initializedProfiles_one_high : |
| 32 | (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α 1).high = |
| 33 | vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) := by |
| 34 | simp only [initializedProfiles,joinedSourceProfiles,profiles_one] |
| 35 | rfl |
| 36 | |
| 37 | theorem initializedProfiles_one_mean : |
| 38 | (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α 1).mean = 0 := by |
| 39 | simp only [initializedProfiles,joinedSourceProfiles,profiles_one] |
| 40 | rfl |
| 41 | |
| 42 | def initializedPrimaryRemainder (N : ℕ) (κ : ℝ) : VectorField := |
| 43 | initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N κ - |
| 44 | κ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) |
| 45 | |
| 46 | def initializedPrimaryRemainderField (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) : |
| 47 | Field period D.T (initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N κ) := |
| 48 | ((ProfileRegularity.primaryRemainderField M.T_pos |
| 49 | (fun i (_ : i ≤ N) => initializedProfileWitness M D hTime τ hτ hτT B δ hδ ξ hs α i) |
| 50 | hN (initializedProfiles_zero M D τ hτ hτT B δ hδ ξ hs α) |
| 51 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) κ).changeTime hTime).congr |
| 52 | (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 53 | |
| 54 | include hTime in |
| 55 | /-- The exact derivative split, with the primary's genuine canonical |
| 56 | velocity and transported normal. -/ |
| 57 | theorem initializedVelocity_gradient_split (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : k ≠ 0) |
| 58 | (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) |
| 59 | (hX : HasFDerivAt X (D.F.field t 0) 0) |
| 60 | (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : |
| 61 | fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 62 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) = |
| 63 | (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) + |
| 64 | fderiv ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 65 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by |
| 66 | let V := vectorField τ hτ hτT B (initialData D δ hδ (α • ξ) hs) |
| 67 | have hp := ((V.smul k⁻¹).raw_graph_contDiff t k D.m₀).differentiable (by simp) |
| 68 | have hr := ((initializedPrimaryRemainderField M D hTime τ hτ hτT B δ hδ ξ hs α N hN k⁻¹).raw_graph_contDiff |
| 69 | t k D.m₀).differentiable (by simp) |
| 70 | have hp' : DifferentiableAt ℝ (fun y => k⁻¹ • vector τ hτ hτT B |
| 71 | (initialData D δ hδ (α • ξ) hs) (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by |
| 72 | simpa only [Function.comp_def,Pi.smul_apply] using (hp (Y (X 0))).comp (X 0) hY |
| 73 | have hr' : DifferentiableAt ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 74 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by |
| 75 | simpa only [Function.comp_def] using (hr (Y (X 0))).comp (X 0) hY |
| 76 | have he : (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 77 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) = |
| 78 | (fun y => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) |
| 79 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) + |
| 80 | (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 81 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) := by |
| 82 | funext y |
| 83 | dsimp only [initializedPrimaryRemainder,Pi.add_apply,Pi.sub_apply,Pi.smul_apply] |
| 84 | abel |
| 85 | rw [he,fderiv_add hp' hr', |
| 86 | scaled_terminal_physical_gradient τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft] |
| 87 | |
| 88 | variable |
| 89 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 90 | (H : EulerTransversePacketPrimary.Budget L) |
| 91 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 92 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) |
| 93 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 94 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 95 | (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) |
| 96 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 97 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 98 | (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 99 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 100 | (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) |
| 101 | |
| 102 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 103 | |
| 104 | theorem initializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 105 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 106 | (initializedPrimaryRemainderField M D hTime τ hτ hτT B δ hδ ξ hs α N hN k⁻¹).WordBound |
| 107 | 6 (4*L.R) ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) 0 := by |
| 108 | let G := fun i (_ : i ≤ N) => initializedProfileWitness M D hTime τ hτ hτT B δ hδ ξ hs α i |
| 109 | have hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S L.R i := |
| 110 | fun i _ hi => initialized_profile_budgets M D hTime τ hτ hτT B δ hδ ξ hs α |
| 111 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i hi |
| 112 | have h := ProfileRegularity.primaryRemainder_bound M.T_pos G hG L.radius_bounds.1 |
| 113 | (initializedProfiles_zero M D τ hτ hτT B δ hδ ξ hs α) |
| 114 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) hN BC k hk hbase |
| 115 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 116 | |
| 117 | theorem initializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 118 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 119 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : |
| 120 | ‖initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 121 | (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ |
| 122 | sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := |
| 123 | (initializedPrimaryRemainder_bound M D hTime τ hτ hτT B δ hδ ξ hs α |
| 124 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le |
| 125 | (by norm_num) t k D.m₀ (Y x) |
| 126 | |
| 127 | theorem initializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 128 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 129 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 130 | (hY : DifferentiableAt ℝ Y x) : |
| 131 | ‖fderiv ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 132 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x‖ ≤ |
| 133 | (frequencyFactor k D.m₀*(sobolevEmbeddingConstant period 3* |
| 134 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R)))*‖fderiv ℝ Y x‖ := |
| 135 | (initializedPrimaryRemainder_bound M D hTime τ hτ hτT B δ hδ ξ hs α |
| 136 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_physical_fderiv_le |
| 137 | (by norm_num) t k D.m₀ Y x hY |
| 138 | |
| 139 | omit H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth in |
| 140 | /-- The constant contains no packet frequency or derivative of the inverse flow. -/ |
| 141 | def initializedRemainderDerivativeCost (R H0 : ℝ) : ℝ := |
| 142 | 8*‖coordinateEquiv.symm.toContinuousLinearMap‖*sobolevEmbeddingConstant period 3* |
| 143 | R*(fixedVelocityGradeCost R H0 2+2) |
| 144 | |
| 145 | theorem initializedPrimaryRemainder_physical_fderiv_inv (N : ℕ) (hN : 1 ≤ N) |
| 146 | (k : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 147 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 148 | (hY : DifferentiableAt ℝ Y x) : |
| 149 | ‖fderiv ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 150 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x‖ ≤ |
| 151 | (initializedRemainderDerivativeCost L.R S.H0/k)*‖fderiv ℝ Y x‖ := by |
| 152 | have hk0 : k ≠ 0 := by linarith |
| 153 | have hc := fixedVelocityGradeCost_nonneg L.R S.H0 (zero_le_one.trans L.radius_bounds.1) 2 |
| 154 | have he := sobolevEmbeddingConstant_nonneg period 3 |
| 155 | have hr : 0 ≤ L.R := zero_le_one.trans L.radius_bounds.1 |
| 156 | have hb : 0 ≤ sobolevEmbeddingConstant period 3* |
| 157 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R) := by positivity |
| 158 | have hf := frequencyFactor_le_linear k (by linarith) D.m₀ |
| 159 | rw [D.m₀_unit] at hf |
| 160 | norm_num only at hf |
| 161 | have h := initializedPrimaryRemainder_physical_fderiv M D hTime τ hτ hτT B δ hδ ξ hs α |
| 162 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y x hY |
| 163 | calc |
| 164 | _ ≤ (frequencyFactor k D.m₀*(sobolevEmbeddingConstant period 3* |
| 165 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R)))*‖fderiv ℝ Y x‖ := h |
| 166 | _ ≤ ((‖coordinateEquiv.symm.toContinuousLinearMap‖*2*k)*(sobolevEmbeddingConstant period 3* |
| 167 | ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2)*(4*L.R)))*‖fderiv ℝ Y x‖ := |
| 168 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hf hb) (norm_nonneg _) |
| 169 | _ = _ := by unfold initializedRemainderDerivativeCost; field_simp; ring |
| 170 | |
| 171 | /-- The finite packet's actual center gradient differs from its exact |
| 172 | primary shear by O(1/k), with the genuine inverse frame norm. -/ |
| 173 | theorem initializedVelocity_gradient_error (N : ℕ) (hN : 1 ≤ N) |
| 174 | (k : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 175 | (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) |
| 176 | (hX : HasFDerivAt X (D.F.field t 0) 0) |
| 177 | (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : |
| 178 | ‖fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ |
| 179 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) - |
| 180 | (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ |
| 181 | (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ := by |
| 182 | have hk0 : k ≠ 0 := by linarith |
| 183 | rw [initializedVelocity_gradient_split M D hTime τ hτ hτT B δ hδ ξ hs α |
| 184 | N hN k hk0 t X Y hX hY hleft,add_sub_cancel_left] |
| 185 | have he : Y ∘ X = id := funext hleft |
| 186 | have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv t 0) 0 hX hY |
| 187 | rw [he,fderiv_id,id_comp] at hdY |
| 188 | have h := initializedPrimaryRemainder_physical_fderiv_inv M D hTime τ hτ hτT B δ hδ ξ hs α |
| 189 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y (X 0) hY |
| 190 | rw [hdY] at h |
| 191 | exact h |
| 192 | |
| 193 | end EulerPacketTerminalDatum |