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.EulerProof |
| 2 | |
| 3 | /-! Local boundedness, continuity, and differentiation derived from an exact operator resolvent identity. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerResolventCalculus |
| 8 | |
| 9 | open scoped Topology |
| 10 | |
| 11 | variable {R : Type*} [NormedRing R] |
| 12 | |
| 13 | /-- An exact resolvent identity gives a local inverse bound without assuming a uniform inverse estimate. -/ |
| 14 | theorem local_norm_bound (P Q M N : R) (hres : Q - P = Q * ((M - N) * P)) |
| 15 | (hsmall : ‖M - N‖ * ‖P‖ ≤ 1 / 2) : ‖Q‖ ≤ 2 * ‖P‖ := by |
| 16 | have hresnorm : ‖Q - P‖ ≤ ‖Q‖ * (‖M - N‖ * ‖P‖) := by |
| 17 | rw [hres] |
| 18 | exact (norm_mul_le _ _).trans (mul_le_mul_of_nonneg_left (norm_mul_le _ _) (norm_nonneg Q)) |
| 19 | have hhalf : ‖Q - P‖ ≤ ‖Q‖ / 2 := |
| 20 | hresnorm.trans ((mul_le_mul_of_nonneg_left hsmall (norm_nonneg Q)).trans_eq (by ring)) |
| 21 | have htri : ‖Q‖ ≤ ‖Q - P‖ + ‖P‖ := by |
| 22 | calc |
| 23 | ‖Q‖ = ‖Q - P + P‖ := by rw [sub_add_cancel] |
| 24 | _ ≤ _ := norm_add_le _ _ |
| 25 | linarith |
| 26 | |
| 27 | /-- The exact resolvent identity yields a local Lipschitz estimate using only the reference inverse norm. -/ |
| 28 | theorem local_difference_bound (P Q M N : R) (hres : Q - P = Q * ((M - N) * P)) |
| 29 | (hsmall : ‖M - N‖ * ‖P‖ ≤ 1 / 2) : |
| 30 | ‖Q - P‖ ≤ (2 * ‖P‖ ^ 2) * ‖M - N‖ := by |
| 31 | have hQ := local_norm_bound P Q M N hres hsmall |
| 32 | rw [hres] |
| 33 | calc |
| 34 | ‖Q * ((M - N) * P)‖ ≤ ‖Q‖ * (‖M - N‖ * ‖P‖) := |
| 35 | (norm_mul_le _ _).trans (mul_le_mul_of_nonneg_left (norm_mul_le _ _) (norm_nonneg Q)) |
| 36 | _ ≤ (2 * ‖P‖) * (‖M - N‖ * ‖P‖) := |
| 37 | mul_le_mul_of_nonneg_right hQ (mul_nonneg (norm_nonneg _) (norm_nonneg P)) |
| 38 | _ = _ := by ring |
| 39 | |
| 40 | /-- Continuity of the coefficient operator implies continuity of actual resolvents, with no separate inverse-continuity assumption. -/ |
| 41 | theorem continuousAt_of_resolvent {α : Type*} [TopologicalSpace α] (P M : α → R) |
| 42 | (hres : ∀ s t, P s - P t = P s * ((M t - M s) * P t)) (t : α) |
| 43 | (hM : ContinuousAt M t) : ContinuousAt P t := by |
| 44 | have hdelta : Filter.Tendsto (fun s => ‖M t - M s‖) (𝓝 t) (𝓝 0) := by |
| 45 | simpa only [sub_self, norm_zero] using (hM.const_sub (M t)).norm |
| 46 | have hsmall : ∀ᶠ s in 𝓝 t, ‖M t - M s‖ * ‖P t‖ ≤ 1 / 2 := by |
| 47 | have hlim : Filter.Tendsto (fun s => ‖M t - M s‖ * ‖P t‖) (𝓝 t) (𝓝 0) := by |
| 48 | simpa only [zero_mul] using hdelta.mul_const ‖P t‖ |
| 49 | exact (hlim.eventually (Iio_mem_nhds (by norm_num : (0 : ℝ) < 1 / 2))).mono fun _ h => h.le |
| 50 | have hbound : ∀ᶠ s in 𝓝 t, ‖P s - P t‖ ≤ (2 * ‖P t‖ ^ 2) * ‖M t - M s‖ := |
| 51 | hsmall.mono fun s hs => local_difference_bound (P t) (P s) (M t) (M s) (hres s t) hs |
| 52 | have hlim : Filter.Tendsto (fun s => (2 * ‖P t‖ ^ 2) * ‖M t - M s‖) (𝓝 t) (𝓝 0) := by |
| 53 | simpa only [mul_zero] using hdelta.const_mul (2 * ‖P t‖ ^ 2) |
| 54 | rw [ContinuousAt, tendsto_iff_norm_sub_tendsto_zero] |
| 55 | exact squeeze_zero' (Filter.Eventually.of_forall fun _ => norm_nonneg _) hbound hlim |
| 56 | |
| 57 | variable [NormedAlgebra ℝ R] |
| 58 | |
| 59 | end EulerResolventCalculus |