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 NavierStokes.R3.H3Comparison |
| 2 | |
| 3 | /-! # L² product limits used in Sobolev energy comparison -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | open Set Filter MeasureTheory |
| 8 | open scoped Topology ContDiff |
| 9 | |
| 10 | namespace NavierStokesR3.H3Comparison |
| 11 | |
| 12 | open NavierStokes.ProblemStatement |
| 13 | |
| 14 | variable {E F G : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 15 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 16 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 17 | |
| 18 | theorem bilinear_norm_le (B : E →L[ℝ] F →L[ℝ] G) (x : E) (y : F) : |
| 19 | ‖B x y‖ ≤ ‖B‖ * ‖x‖ * ‖y‖ := |
| 20 | ((B x).le_opNorm y).trans |
| 21 | (mul_le_mul_of_nonneg_right (B.le_opNorm x) (norm_nonneg y)) |
| 22 | |
| 23 | /-- A bounded factor times an L² factor remains in L². -/ |
| 24 | theorem memLp_bilinear_bounded (B : E →L[ℝ] F →L[ℝ] G) |
| 25 | {f : Space → E} {g : Space → F} (hf : AEStronglyMeasurable f volume) |
| 26 | (hg : MemLp g 2 volume) {C : ℝ} (hC : ∀ x, ‖f x‖ ≤ C) : |
| 27 | MemLp (fun x => B (f x) (g x)) 2 volume := by |
| 28 | have hmeas : AEStronglyMeasurable (fun x => B (f x) (g x)) volume := |
| 29 | ((B.continuous.comp continuous_fst).clm_apply continuous_snd).comp_aestronglyMeasurable |
| 30 | (hf.prodMk hg.1) |
| 31 | apply hg.of_le_mul hmeas |
| 32 | exact Filter.Eventually.of_forall (fun x => |
| 33 | (bilinear_norm_le B (f x) (g x)).trans |
| 34 | (mul_le_mul_of_nonneg_right |
| 35 | (mul_le_mul_of_nonneg_left (hC x) (norm_nonneg B)) (norm_nonneg (g x)))) |
| 36 | |
| 37 | theorem norm_toLp_bilinear_le (B : E →L[ℝ] F →L[ℝ] G) |
| 38 | {f : Space → E} {g : Space → F} (hf : AEStronglyMeasurable f volume) |
| 39 | (hg : MemLp g 2 volume) {C : ℝ} (hC : ∀ x, ‖f x‖ ≤ C) : |
| 40 | ‖(memLp_bilinear_bounded B hf hg hC).toLp (fun x => B (f x) (g x))‖ ≤ |
| 41 | (‖B‖ * C) * ‖hg.toLp g‖ := by |
| 42 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 43 | filter_upwards [(memLp_bilinear_bounded B hf hg hC).coeFn_toLp, hg.coeFn_toLp] with x hx hy |
| 44 | rw [hx, hy] |
| 45 | exact (bilinear_norm_le B (f x) (g x)).trans |
| 46 | (mul_le_mul_of_nonneg_right |
| 47 | (mul_le_mul_of_nonneg_left (hC x) (norm_nonneg B)) (norm_nonneg (g x))) |
| 48 | |
| 49 | /-- Uniform convergence in one factor and L² convergence in the other give |
| 50 | L² convergence of the product. The uniform error is an actual pointwise |
| 51 | bound tending to zero, not a derivative or energy identity assumption. -/ |
| 52 | theorem tendsto_toLp_bilinear (B : E →L[ℝ] F →L[ℝ] G) |
| 53 | {f : ℕ → Space → E} {g : ℕ → Space → F} {f₀ : Space → E} {g₀ : Space → F} |
| 54 | (hf : ∀ n, AEStronglyMeasurable (f n) volume) (hf₀ : AEStronglyMeasurable f₀ volume) |
| 55 | (hg : ∀ n, MemLp (g n) 2 volume) (hg₀ : MemLp g₀ 2 volume) |
| 56 | {a : ℕ → ℝ} (ha : Tendsto a atTop (𝓝 0)) |
| 57 | (hfa : ∀ n x, ‖f n x - f₀ x‖ ≤ a n) {C : ℝ} (hC : ∀ x, ‖f₀ x‖ ≤ C) |
| 58 | (hglim : Tendsto (fun n => (hg n).toLp (g n)) atTop (𝓝 (hg₀.toLp g₀))) : |
| 59 | ∃ hp : ∀ n, MemLp (fun x => B (f n x) (g n x)) 2 volume, |
| 60 | Tendsto (fun n => (hp n).toLp (fun x => B (f n x) (g n x))) atTop |
| 61 | (𝓝 ((memLp_bilinear_bounded B hf₀ hg₀ hC).toLp (fun x => B (f₀ x) (g₀ x)))) := by |
| 62 | have hfn (n : ℕ) (x : Space) : ‖f n x‖ ≤ C + a n := by |
| 63 | calc |
| 64 | ‖f n x‖ ≤ ‖f n x - f₀ x‖ + ‖f₀ x‖ := norm_le_norm_sub_add _ _ |
| 65 | _ ≤ a n + C := add_le_add (hfa n x) (hC x) |
| 66 | _ = C + a n := add_comm _ _ |
| 67 | let hp (n : ℕ) := memLp_bilinear_bounded B (hf n) (hg n) (hfn n) |
| 68 | let hp₀ := memLp_bilinear_bounded B hf₀ hg₀ hC |
| 69 | let hA (n : ℕ) : MemLp (fun x => B (f n x - f₀ x) (g n x)) 2 volume := |
| 70 | memLp_bilinear_bounded B ((hf n).sub hf₀) (hg n) (hfa n) |
| 71 | let hD (n : ℕ) : MemLp (fun x => B (f₀ x) (g n x - g₀ x)) 2 volume := |
| 72 | memLp_bilinear_bounded B hf₀ ((hg n).sub hg₀) hC |
| 73 | refine ⟨hp, ?_⟩ |
| 74 | have hsplit (n : ℕ) : (hp n).toLp (fun x => B (f n x) (g n x)) - |
| 75 | hp₀.toLp (fun x => B (f₀ x) (g₀ x)) = |
| 76 | (hA n).toLp (fun x => B (f n x - f₀ x) (g n x)) + |
| 77 | (hD n).toLp (fun x => B (f₀ x) (g n x - g₀ x)) := by |
| 78 | apply Lp.ext |
| 79 | filter_upwards [Lp.coeFn_sub ((hp n).toLp _) (hp₀.toLp _), |
| 80 | Lp.coeFn_add ((hA n).toLp _) ((hD n).toLp _), |
| 81 | (hp n).coeFn_toLp, hp₀.coeFn_toLp, (hA n).coeFn_toLp, (hD n).coeFn_toLp] |
| 82 | with x hsub hadd hx hy hz ht |
| 83 | simp only [Pi.sub_apply, Pi.add_apply] at hsub hadd hx hy hz ht |
| 84 | rw [hsub, hadd, hx, hy, hz, ht] |
| 85 | simp only [map_sub, _root_.sub_apply] |
| 86 | abel |
| 87 | have hbound (n : ℕ) : |
| 88 | ‖(hp n).toLp (fun x => B (f n x) (g n x)) - hp₀.toLp (fun x => B (f₀ x) (g₀ x))‖ ≤ |
| 89 | (‖B‖ * a n) * ‖(hg n).toLp (g n)‖ + (‖B‖ * C) * ‖(hg n).toLp (g n) - hg₀.toLp g₀‖ := by |
| 90 | rw [hsplit] |
| 91 | apply (norm_add_le _ _).trans |
| 92 | apply add_le_add (norm_toLp_bilinear_le B ((hf n).sub hf₀) (hg n) (hfa n)) |
| 93 | simpa only [MemLp.toLp_sub] using! norm_toLp_bilinear_le B hf₀ ((hg n).sub hg₀) hC |
| 94 | have hz : Tendsto (fun n => (‖B‖ * a n) * ‖(hg n).toLp (g n)‖ + |
| 95 | (‖B‖ * C) * ‖(hg n).toLp (g n) - hg₀.toLp g₀‖) atTop (𝓝 0) := by |
| 96 | have h1 := (ha.const_mul ‖B‖).mul hglim.norm |
| 97 | have h2 := (hglim.sub (tendsto_const_nhds (x := hg₀.toLp g₀))).norm.const_mul (‖B‖ * C) |
| 98 | simpa only [mul_zero, zero_mul, sub_self, norm_zero, add_zero] using h1.add h2 |
| 99 | exact tendsto_iff_norm_sub_tendsto_zero.mpr |
| 100 | (squeeze_zero (fun _ => norm_nonneg _) hbound hz) |
| 101 | |
| 102 | end NavierStokesR3.H3Comparison |