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.OrdinaryRegularizationError |
| 2 | |
| 3 | /-! Actual L² stability of projected Euler with a small additive |
| 4 | defect. The reference gradient is the only solution coefficient. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerOrdinarySobolev |
| 9 | |
| 10 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 11 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 12 | EulerMeanClassical EulerVolterraConvolution Finset |
| 13 | open scoped ContDiff Topology |
| 14 | |
| 15 | theorem projected_difference_energy (A B : SmoothL2Field Space) |
| 16 | (hA : A.toLp ∈ solenoidalSpace) (hB : B.toLp ∈ solenoidalSpace) |
| 17 | (K : ℝ) (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) : |
| 18 | 2*⟪B.toLp-A.toLp,(projectedRhs B).toLp-(projectedRhs A).toLp⟫_ℝ ≤ |
| 19 | 2*K*‖B.toLp-A.toLp‖^2 := by |
| 20 | let W := fieldSub B A |
| 21 | let P := fieldSub (pressureField B) (pressureField A) |
| 22 | have he : fieldSub (projectedRhs B) (projectedRhs A)=differenceRhs A W P := by |
| 23 | apply field_ext |
| 24 | funext x |
| 25 | have hw : W.field=B.field-A.field := funext (fieldSub_field B A) |
| 26 | simp only [fieldSub_field,projectedRhs_field,differenceRhs_field,hw,P] |
| 27 | rw [fderiv_sub (B.smooth.differentiable (by simp) x) (A.smooth.differentiable (by simp) x)] |
| 28 | simp only [Pi.sub_apply,sub_apply,map_sub] |
| 29 | abel_nf |
| 30 | have hd : ∀ x, divergence (addField A W).field x=0 := by |
| 31 | have hw : (addField A W).field=B.field := by |
| 32 | funext x |
| 33 | simp only [addField_field,W,fieldSub_field] |
| 34 | abel |
| 35 | rw [hw] |
| 36 | exact solenoidal_representative_divergence _ hB _ B.smooth B.toLp_ae |
| 37 | have hs : W.toLp ∈ solenoidalSpace := by |
| 38 | rw [toLp_fieldSub] |
| 39 | exact solenoidalSpace.sub_mem hB hA |
| 40 | have hp : P.toLp ∈ gradientSpace := by |
| 41 | rw [toLp_fieldSub] |
| 42 | exact gradientSpace.sub_mem (pressureField_mem_gradient B) (pressureField_mem_gradient A) |
| 43 | have h := differenceRhs_l2_bound A W P K hK hd hs hp |
| 44 | rw [← he] at h |
| 45 | simpa only [toLp_fieldSub,W] using h |
| 46 | |
| 47 | theorem perturbed_difference_energy (A B : SmoothL2Field Space) |
| 48 | (hA : A.toLp ∈ solenoidalSpace) (hB : B.toLp ∈ solenoidalSpace) |
| 49 | (RA RB : L2) (K ea eb : ℝ) (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) |
| 50 | (ha : ‖RA-(projectedRhs A).toLp‖ ≤ ea) |
| 51 | (hb : ‖RB-(projectedRhs B).toLp‖ ≤ eb) : |
| 52 | 2*⟪B.toLp-A.toLp,RB-RA⟫_ℝ ≤ (2*K+1)*‖B.toLp-A.toLp‖^2+(ea+eb)^2 := by |
| 53 | let W := B.toLp-A.toLp |
| 54 | let e := (RB-(projectedRhs B).toLp)-(RA-(projectedRhs A).toLp) |
| 55 | have he : RB-RA=((projectedRhs B).toLp-(projectedRhs A).toLp)+e := by dsimp [e]; abel |
| 56 | have hn : ‖e‖ ≤ ea+eb := by |
| 57 | exact (norm_sub_le _ _).trans ((add_le_add hb ha).trans_eq (add_comm eb ea)) |
| 58 | have he0 : 0 ≤ ea+eb := (norm_nonneg e).trans hn |
| 59 | have hpair : 2*⟪W,e⟫_ℝ ≤ ‖W‖^2+(ea+eb)^2 := by |
| 60 | have hi : ⟪W,e⟫_ℝ ≤ ‖W‖*(ea+eb) := |
| 61 | (real_inner_le_norm _ _).trans (mul_le_mul_of_nonneg_left hn (norm_nonneg W)) |
| 62 | nlinarith [sq_nonneg (‖W‖-(ea+eb))] |
| 63 | rw [he,inner_add_right,mul_add] |
| 64 | exact (add_le_add (projected_difference_energy A B hA hB K hK) hpair).trans_eq (by dsimp [W]; ring) |
| 65 | |
| 66 | theorem forced_linear_zero_bound (T C E : ℝ) (hC : 1 ≤ C) |
| 67 | (X X' : ℝ → ℝ) (hX : ContinuousOn X (Icc 0 T)) (hX0 : X 0=0) |
| 68 | (hd : ∀ t ∈ Icc 0 T, HasDerivWithinAt X (X' t) (Icc 0 T) t) |
| 69 | (hb : ∀ t ∈ Icc 0 T, X' t ≤ C*X t+E^2) |
| 70 | (t : ℝ) (ht : t ∈ Icc 0 T) : X t ≤ E^2*Real.exp (C*T) := by |
| 71 | have hh := linear_stability_within (fun r => X r+E^2) X' C T |
| 72 | (hX.add continuousOn_const) |
| 73 | (fun r hr => (hd r ⟨hr.1,hr.2.le⟩).add_const _) |
| 74 | (fun r hr => (hb r ⟨hr.1,hr.2.le⟩).trans (by nlinarith [sq_nonneg E])) t ht |
| 75 | rw [hX0,zero_add] at hh |
| 76 | have he : E^2*Real.exp (C*t) ≤ E^2*Real.exp (C*T) := by |
| 77 | apply mul_le_mul_of_nonneg_left _ (sq_nonneg E) |
| 78 | exact Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_left ht.2 (by linarith)) |
| 79 | linarith [sq_nonneg E] |
| 80 | |
| 81 | end EulerOrdinarySobolev |