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.SmoothL2ClassicalBounds |
| 2 | import Euler.SmoothL2GevreyCalculus |
| 3 | |
| 4 | /-! The actual three fields in the chain rule for X(t,Y(t,a)) have |
| 5 | Gevrey L² bounds. The parent is controlled by its physical-label H⁶ |
| 6 | norm, and Y preserves volume. The new radius is linear in the inner |
| 7 | radius, with only polynomial dependence on the parent and amplitudes. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerChildParticleFieldBounds |
| 12 | |
| 13 | open MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 14 | EulerLpTranslation.SmoothL2Field EulerPacketParentLabelBounds EulerGevrey |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | structure Data where |
| 18 | parentDisplacement : SmoothL2Field Space |
| 19 | parentVelocity : SmoothL2Field Space |
| 20 | parentAcceleration : SmoothL2Field Space |
| 21 | K : ℝ |
| 22 | K_one : 1 ≤ K |
| 23 | parentDisplacement_bound : HasLabelBound K parentDisplacement |
| 24 | parentVelocity_bound : HasLabelBound K parentVelocity |
| 25 | parentAcceleration_bound : HasLabelBound K parentAcceleration |
| 26 | displacement : SmoothL2Field Space |
| 27 | velocity : SmoothL2Field Space |
| 28 | acceleration : SmoothL2Field Space |
| 29 | amp : ℝ |
| 30 | rad : ℝ |
| 31 | amp_one : 1 ≤ amp |
| 32 | rad_one : 1 ≤ rad |
| 33 | displacement_bound : displacement.HasJetBound amp rad |
| 34 | velocity_bound : velocity.HasJetBound amp rad |
| 35 | acceleration_bound : acceleration.HasJetBound amp rad |
| 36 | displacement_sup : HasSupBound displacement.field amp rad |
| 37 | velocity_sup : HasSupBound velocity.field amp rad |
| 38 | volume_preserving : MeasurePreserving (fun x => x+displacement.field x) volume volume |
| 39 | |
| 40 | namespace Data |
| 41 | |
| 42 | variable (G : Data) |
| 43 | |
| 44 | def inner (x : Space) : Space := x+G.displacement.field x |
| 45 | def compositionRadius (s : ℝ) : ℝ := (1+G.rad)*((1+G.amp)*s+2) |
| 46 | def radius : ℝ := G.compositionRadius (16*G.K)+G.rad |
| 47 | def firstAmplitude : ℝ := (embeddingCost*G.K)*G.K |
| 48 | def secondAmplitude : ℝ := G.firstAmplitude*(4*G.K) |
| 49 | def amplitude : ℝ := G.K+G.amp+9*G.firstAmplitude*G.amp+9*G.secondAmplitude*G.amp^2 |
| 50 | |
| 51 | theorem K_nonneg : 0 ≤ G.K := le_trans zero_le_one G.K_one |
| 52 | theorem amp_nonneg : 0 ≤ G.amp := le_trans zero_le_one G.amp_one |
| 53 | theorem rad_nonneg : 0 ≤ G.rad := le_trans zero_le_one G.rad_one |
| 54 | theorem compositionRadius_nonneg (s : ℝ) (hs : 0 ≤ s) : 0 ≤ G.compositionRadius s := by |
| 55 | have := G.amp_nonneg |
| 56 | have := G.rad_nonneg |
| 57 | unfold compositionRadius |
| 58 | positivity |
| 59 | theorem radius_nonneg : 0 ≤ G.radius := |
| 60 | add_nonneg (G.compositionRadius_nonneg _ (mul_nonneg (by norm_num) G.K_nonneg)) G.rad_nonneg |
| 61 | theorem rad_le_radius : G.rad ≤ G.radius := |
| 62 | le_add_of_nonneg_left (G.compositionRadius_nonneg _ (mul_nonneg (by norm_num) G.K_nonneg)) |
| 63 | theorem firstAmplitude_nonneg : 0 ≤ G.firstAmplitude := |
| 64 | mul_nonneg (mul_nonneg embeddingCost_nonneg G.K_nonneg) G.K_nonneg |
| 65 | theorem secondAmplitude_nonneg : 0 ≤ G.secondAmplitude := |
| 66 | mul_nonneg G.firstAmplitude_nonneg (mul_nonneg (by norm_num) G.K_nonneg) |
| 67 | theorem amplitude_nonneg : 0 ≤ G.amplitude := by |
| 68 | have := G.K_nonneg |
| 69 | have := G.amp_nonneg |
| 70 | have := G.firstAmplitude_nonneg |
| 71 | have := G.secondAmplitude_nonneg |
| 72 | unfold amplitude |
| 73 | positivity |
| 74 | |
| 75 | theorem compositionRadius_le_radius (s : ℝ) (hs : s ≤ 16*G.K) : G.compositionRadius s ≤ G.radius := by |
| 76 | calc |
| 77 | G.compositionRadius s ≤ G.compositionRadius (16*G.K) := by |
| 78 | unfold compositionRadius |
| 79 | exact mul_le_mul_of_nonneg_left |
| 80 | (add_le_add (mul_le_mul_of_nonneg_left hs (add_nonneg zero_le_one G.amp_nonneg)) (le_refl (2 : ℝ))) |
| 81 | (add_nonneg zero_le_one G.rad_nonneg) |
| 82 | _ ≤ G.radius := le_add_of_nonneg_right G.rad_nonneg |
| 83 | |
| 84 | theorem inner_smooth : ContDiff ℝ ∞ G.inner := contDiff_id.add G.displacement.smooth |
| 85 | theorem inner_positive (n : ℕ) (hn : 0 < n) (x : Space) : |
| 86 | ‖iteratedFDeriv ℝ n G.inner x‖ ≤ (1+G.amp)*(1+G.rad)^n*(n.factorial : ℝ)^2 := |
| 87 | positive_id_add_bound G.displacement.field G.displacement.smooth G.amp G.rad |
| 88 | G.amp_nonneg G.rad_nonneg G.displacement_sup n hn x |
| 89 | |
| 90 | def parentComposed (U : SmoothL2Field Space) (hU : HasLabelBound G.K U) : SmoothL2Field Space := |
| 91 | composeField G.inner G.inner_smooth G.volume_preserving (1+G.amp) (1+G.rad) |
| 92 | (by linarith [G.amp_nonneg]) (by linarith [G.rad_nonneg]) G.inner_positive |
| 93 | U G.K G.K G.K_nonneg G.K_nonneg (hasJetBound_of_labelBound U G.K hU) |
| 94 | |
| 95 | theorem parentComposed_bound (U : SmoothL2Field Space) (hU : HasLabelBound G.K U) : |
| 96 | (G.parentComposed U hU).HasJetBound G.K G.radius := by |
| 97 | have h := composeField_bound G.inner G.inner_smooth G.volume_preserving (1+G.amp) (1+G.rad) |
| 98 | (by linarith [G.amp_nonneg]) (by linarith [G.rad_nonneg]) G.inner_positive |
| 99 | U G.K G.K G.K_nonneg G.K_nonneg (hasJetBound_of_labelBound U G.K hU) |
| 100 | exact h.mono G.K_nonneg (G.compositionRadius_nonneg G.K G.K_nonneg) le_rfl |
| 101 | (G.compositionRadius_le_radius G.K (by nlinarith [G.K_nonneg])) |
| 102 | |
| 103 | def firstCoefficient (U : SmoothL2Field Space) (x : Space) : Space →L[ℝ] Space := |
| 104 | fderiv ℝ U.field (G.inner x) |
| 105 | def secondCoefficient (U : SmoothL2Field Space) (x : Space) : Space →L[ℝ] Space →L[ℝ] Space := |
| 106 | fderiv ℝ (fderiv ℝ U.field) (G.inner x) |
| 107 | |
| 108 | theorem firstCoefficient_smooth (U : SmoothL2Field Space) : ContDiff ℝ ∞ (G.firstCoefficient U) := |
| 109 | (U.smooth.fderiv_right (m := ∞) (by simp)).comp G.inner_smooth |
| 110 | theorem secondCoefficient_smooth (U : SmoothL2Field Space) : ContDiff ℝ ∞ (G.secondCoefficient U) := |
| 111 | ((U.smooth.fderiv_right (m := ∞) (by simp)).fderiv_right (m := ∞) (by simp)).comp G.inner_smooth |
| 112 | |
| 113 | theorem firstCoefficient_bound (U : SmoothL2Field Space) (hU : HasLabelBound G.K U) : |
| 114 | HasSupBound (G.firstCoefficient U) G.firstAmplitude G.radius := by |
| 115 | have hu : HasSupBound U.field (embeddingCost*G.K) G.K := sup_bound_of_labelBound U G.K hU |
| 116 | have hd := hu.derivative (mul_nonneg embeddingCost_nonneg G.K_nonneg) G.K_nonneg |
| 117 | have hc := hd.comp G.inner_smooth (U.smooth.fderiv_right (m := ∞) (by simp)) |
| 118 | G.firstAmplitude_nonneg (by linarith [G.amp_nonneg]) (by linarith [G.rad_nonneg]) |
| 119 | (mul_nonneg (by norm_num) G.K_nonneg) G.inner_positive |
| 120 | exact hc.mono G.firstAmplitude_nonneg (G.compositionRadius_nonneg _ (by nlinarith [G.K_nonneg])) |
| 121 | le_rfl (G.compositionRadius_le_radius (4*G.K) (by nlinarith [G.K_nonneg])) |
| 122 | |
| 123 | theorem secondCoefficient_bound (U : SmoothL2Field Space) (hU : HasLabelBound G.K U) : |
| 124 | HasSupBound (G.secondCoefficient U) G.secondAmplitude G.radius := by |
| 125 | have hu : HasSupBound U.field (embeddingCost*G.K) G.K := sup_bound_of_labelBound U G.K hU |
| 126 | have hd := (hu.derivative (mul_nonneg embeddingCost_nonneg G.K_nonneg) G.K_nonneg).derivative |
| 127 | G.firstAmplitude_nonneg (mul_nonneg (by norm_num) G.K_nonneg) |
| 128 | have hc := hd.comp G.inner_smooth |
| 129 | ((U.smooth.fderiv_right (m := ∞) (by simp)).fderiv_right (m := ∞) (by simp)) |
| 130 | G.secondAmplitude_nonneg (by linarith [G.amp_nonneg]) (by linarith [G.rad_nonneg]) |
| 131 | (by nlinarith [G.K_nonneg]) G.inner_positive |
| 132 | have he : (4 : ℝ)*(4*G.K)=16*G.K := by ring |
| 133 | rw [he] at hc |
| 134 | exact hc.mono G.secondAmplitude_nonneg (G.compositionRadius_nonneg _ (by nlinarith [G.K_nonneg])) |
| 135 | le_rfl (G.compositionRadius_le_radius (16*G.K) le_rfl) |
| 136 | |
| 137 | theorem velocity_bound_radius : G.velocity.HasJetBound G.amp G.radius := |
| 138 | G.velocity_bound.mono G.amp_nonneg G.rad_nonneg le_rfl G.rad_le_radius |
| 139 | theorem acceleration_bound_radius : G.acceleration.HasJetBound G.amp G.radius := |
| 140 | G.acceleration_bound.mono G.amp_nonneg G.rad_nonneg le_rfl G.rad_le_radius |
| 141 | theorem displacement_bound_radius : G.displacement.HasJetBound G.amp G.radius := |
| 142 | G.displacement_bound.mono G.amp_nonneg G.rad_nonneg le_rfl G.rad_le_radius |
| 143 | theorem velocity_sup_radius : HasSupBound G.velocity.field G.amp G.radius := |
| 144 | G.velocity_sup.mono G.amp_nonneg G.rad_nonneg le_rfl G.rad_le_radius |
| 145 | |
| 146 | def firstTerm (U : SmoothL2Field Space) (hU : HasLabelBound G.K U) : SmoothL2Field Space := |
| 147 | productField (G.firstCoefficient U) (G.firstCoefficient_smooth U) G.velocity |
| 148 | G.firstAmplitude G.amp G.radius G.firstAmplitude_nonneg G.amp_nonneg G.radius_nonneg |
| 149 | (G.firstCoefficient_bound U hU) G.velocity_bound_radius |
| 150 | |
| 151 | theorem firstTerm_bound (U : SmoothL2Field Space) (hU : HasLabelBound G.K U) : |
| 152 | (G.firstTerm U hU).HasJetBound (3*G.firstAmplitude*G.amp) G.radius := |
| 153 | productField_bound (G.firstCoefficient U) (G.firstCoefficient_smooth U) G.velocity |
| 154 | G.firstAmplitude G.amp G.radius G.firstAmplitude_nonneg G.amp_nonneg G.radius_nonneg |
| 155 | (G.firstCoefficient_bound U hU) G.velocity_bound_radius |
| 156 | |
| 157 | def quadraticCoefficient (x : Space) : Space →L[ℝ] Space := |
| 158 | G.secondCoefficient G.parentDisplacement x (G.velocity.field x) |
| 159 | |
| 160 | theorem quadraticCoefficient_smooth : ContDiff ℝ ∞ G.quadraticCoefficient := |
| 161 | (G.secondCoefficient_smooth G.parentDisplacement).clm_apply G.velocity.smooth |
| 162 | |
| 163 | theorem quadraticCoefficient_bound : |
| 164 | HasSupBound G.quadraticCoefficient (3*G.secondAmplitude*G.amp) G.radius := |
| 165 | (G.secondCoefficient_bound G.parentDisplacement G.parentDisplacement_bound).apply G.velocity_sup_radius |
| 166 | (G.secondCoefficient_smooth G.parentDisplacement) G.velocity.smooth G.secondAmplitude_nonneg |
| 167 | G.amp_nonneg G.radius_nonneg |
| 168 | |
| 169 | def quadraticTerm : SmoothL2Field Space := |
| 170 | productField G.quadraticCoefficient G.quadraticCoefficient_smooth G.velocity |
| 171 | (3*G.secondAmplitude*G.amp) G.amp G.radius |
| 172 | (mul_nonneg (mul_nonneg (by norm_num) G.secondAmplitude_nonneg) G.amp_nonneg) G.amp_nonneg G.radius_nonneg |
| 173 | G.quadraticCoefficient_bound G.velocity_bound_radius |
| 174 | |
| 175 | theorem quadraticTerm_bound : |
| 176 | G.quadraticTerm.HasJetBound (9*G.secondAmplitude*G.amp^2) G.radius := by |
| 177 | have h := productField_bound G.quadraticCoefficient G.quadraticCoefficient_smooth G.velocity |
| 178 | (3*G.secondAmplitude*G.amp) G.amp G.radius |
| 179 | (mul_nonneg (mul_nonneg (by norm_num) G.secondAmplitude_nonneg) G.amp_nonneg) G.amp_nonneg G.radius_nonneg |
| 180 | G.quadraticCoefficient_bound G.velocity_bound_radius |
| 181 | have he : 3*(3*G.secondAmplitude*G.amp)*G.amp = 9*G.secondAmplitude*G.amp^2 := by ring |
| 182 | rw [he] at h |
| 183 | exact h |
| 184 | |
| 185 | def accelerationTerm : SmoothL2Field Space := |
| 186 | productField (G.firstCoefficient G.parentDisplacement) (G.firstCoefficient_smooth G.parentDisplacement) |
| 187 | G.acceleration G.firstAmplitude G.amp G.radius G.firstAmplitude_nonneg G.amp_nonneg G.radius_nonneg |
| 188 | (G.firstCoefficient_bound G.parentDisplacement G.parentDisplacement_bound) G.acceleration_bound_radius |
| 189 | |
| 190 | theorem accelerationTerm_bound : |
| 191 | G.accelerationTerm.HasJetBound (3*G.firstAmplitude*G.amp) G.radius := |
| 192 | productField_bound (G.firstCoefficient G.parentDisplacement) (G.firstCoefficient_smooth G.parentDisplacement) |
| 193 | G.acceleration G.firstAmplitude G.amp G.radius G.firstAmplitude_nonneg G.amp_nonneg G.radius_nonneg |
| 194 | (G.firstCoefficient_bound G.parentDisplacement G.parentDisplacement_bound) G.acceleration_bound_radius |
| 195 | |
| 196 | def childDisplacement : SmoothL2Field Space := |
| 197 | addField (G.parentComposed G.parentDisplacement G.parentDisplacement_bound) G.displacement |
| 198 | def childVelocity : SmoothL2Field Space := |
| 199 | addField (addField (G.parentComposed G.parentVelocity G.parentVelocity_bound) G.velocity) |
| 200 | (G.firstTerm G.parentDisplacement G.parentDisplacement_bound) |
| 201 | def childAcceleration : SmoothL2Field Space := |
| 202 | addField (addField (addField (addField (addField |
| 203 | (G.parentComposed G.parentAcceleration G.parentAcceleration_bound) |
| 204 | (G.firstTerm G.parentVelocity G.parentVelocity_bound)) |
| 205 | (G.firstTerm G.parentVelocity G.parentVelocity_bound)) G.quadraticTerm) G.acceleration) G.accelerationTerm |
| 206 | |
| 207 | theorem childDisplacement_bound : G.childDisplacement.HasJetBound G.amplitude G.radius := by |
| 208 | have h := (G.parentComposed_bound G.parentDisplacement G.parentDisplacement_bound).add G.displacement_bound_radius |
| 209 | apply h.mono (add_nonneg G.K_nonneg G.amp_nonneg) G.radius_nonneg _ le_rfl |
| 210 | have h₁ := mul_nonneg G.firstAmplitude_nonneg G.amp_nonneg |
| 211 | have h₂ := mul_nonneg G.secondAmplitude_nonneg (sq_nonneg G.amp) |
| 212 | unfold amplitude |
| 213 | nlinarith |
| 214 | |
| 215 | theorem childVelocity_bound : G.childVelocity.HasJetBound G.amplitude G.radius := by |
| 216 | have h := ((G.parentComposed_bound G.parentVelocity G.parentVelocity_bound).add G.velocity_bound_radius).add |
| 217 | (G.firstTerm_bound G.parentDisplacement G.parentDisplacement_bound) |
| 218 | have h₁ := mul_nonneg G.firstAmplitude_nonneg G.amp_nonneg |
| 219 | have h₂ := mul_nonneg G.secondAmplitude_nonneg (sq_nonneg G.amp) |
| 220 | apply h.mono (by nlinarith [G.K_nonneg,G.amp_nonneg]) G.radius_nonneg _ le_rfl |
| 221 | unfold amplitude |
| 222 | nlinarith |
| 223 | |
| 224 | theorem childAcceleration_bound : G.childAcceleration.HasJetBound G.amplitude G.radius := by |
| 225 | have h := (((((G.parentComposed_bound G.parentAcceleration G.parentAcceleration_bound).add |
| 226 | (G.firstTerm_bound G.parentVelocity G.parentVelocity_bound)).add |
| 227 | (G.firstTerm_bound G.parentVelocity G.parentVelocity_bound)).add G.quadraticTerm_bound).add |
| 228 | G.acceleration_bound_radius).add G.accelerationTerm_bound |
| 229 | have he : G.K+3*G.firstAmplitude*G.amp+3*G.firstAmplitude*G.amp+ |
| 230 | 9*G.secondAmplitude*G.amp^2+G.amp+3*G.firstAmplitude*G.amp = G.amplitude := by |
| 231 | unfold amplitude |
| 232 | ring |
| 233 | rw [he] at h |
| 234 | exact h |
| 235 | |
| 236 | theorem childDisplacement_apply (x : Space) : |
| 237 | G.childDisplacement.field x = G.parentDisplacement.field (G.inner x)+G.displacement.field x := rfl |
| 238 | |
| 239 | theorem childVelocity_apply (x : Space) : |
| 240 | G.childVelocity.field x = G.parentVelocity.field (G.inner x)+G.velocity.field x+ |
| 241 | fderiv ℝ G.parentDisplacement.field (G.inner x) (G.velocity.field x) := rfl |
| 242 | |
| 243 | theorem childAcceleration_apply (x : Space) : |
| 244 | G.childAcceleration.field x = G.parentAcceleration.field (G.inner x)+ |
| 245 | fderiv ℝ G.parentVelocity.field (G.inner x) (G.velocity.field x)+ |
| 246 | fderiv ℝ G.parentVelocity.field (G.inner x) (G.velocity.field x)+ |
| 247 | fderiv ℝ (fderiv ℝ G.parentDisplacement.field) (G.inner x) (G.velocity.field x) (G.velocity.field x)+ |
| 248 | G.acceleration.field x+fderiv ℝ G.parentDisplacement.field (G.inner x) (G.acceleration.field x) := rfl |
| 249 | |
| 250 | theorem child_label_bounds (K : ℝ) |
| 251 | (ha : EulerParameterWordGevrey.sobolevCoefficientAmplitude (Fin 3) 6 G.radius G.amplitude ≤ K) |
| 252 | (hr : EulerParameterWordGevrey.sobolevCoefficientRadius (Fin 3) G.radius ≤ K) : |
| 253 | HasLabelBound K G.childDisplacement ∧ HasLabelBound K G.childVelocity ∧ HasLabelBound K G.childAcceleration := |
| 254 | ⟨hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childDisplacement_bound ha hr, |
| 255 | hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childVelocity_bound ha hr, |
| 256 | hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childAcceleration_bound ha hr⟩ |
| 257 | |
| 258 | end Data |
| 259 | end EulerChildParticleFieldBounds |