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.LpDominatedConvergence |
| 2 | |
| 3 | /-! Bounded pointwise operator fields act on actual L² classes. Joint |
| 4 | continuity of the coefficients, with a uniform bound, gives strong |
| 5 | continuity even when uniform convergence of coefficients is unavailable. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerLpPointwiseMultiplier |
| 10 | |
| 11 | open MeasureTheory Filter |
| 12 | open scoped Topology |
| 13 | |
| 14 | variable {X E F : Type*} [MeasurableSpace X] |
| 15 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 17 | (μ : Measure X) (A : X → E →L[ℝ] F) |
| 18 | (hA : AEStronglyMeasurable A μ) (C : ℝ) (hC : ∀ x, ‖A x‖ ≤ C) |
| 19 | |
| 20 | include hA hC in |
| 21 | theorem apply_memLp (u : Lp E 2 μ) : MemLp (fun x => A x (u x)) 2 μ := by |
| 22 | apply (Lp.memLp u).of_le_mul (c := C) |
| 23 | · exact (continuous_fst.clm_apply continuous_snd).comp_aestronglyMeasurable |
| 24 | (hA.prodMk (Lp.aestronglyMeasurable u)) |
| 25 | · exact Eventually.of_forall (fun x => ((A x).le_opNorm (u x)).trans |
| 26 | (mul_le_mul_of_nonneg_right (hC x) (norm_nonneg (u x)))) |
| 27 | |
| 28 | def applyLp (u : Lp E 2 μ) : Lp F 2 μ := |
| 29 | (apply_memLp μ A hA C hC u).toLp (fun x => A x (u x)) |
| 30 | |
| 31 | theorem applyLp_ae (u : Lp E 2 μ) : |
| 32 | (applyLp μ A hA C hC u : X → F) =ᵐ[μ] fun x => A x (u x) := |
| 33 | (apply_memLp μ A hA C hC u).coeFn_toLp |
| 34 | |
| 35 | theorem applyLp_norm_le (u : Lp E 2 μ) : |
| 36 | ‖applyLp μ A hA C hC u‖ ≤ C*‖u‖ := by |
| 37 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 38 | filter_upwards [applyLp_ae μ A hA C hC u] with x hx |
| 39 | rw [hx] |
| 40 | exact ((A x).le_opNorm (u x)).trans |
| 41 | (mul_le_mul_of_nonneg_right (hC x) (norm_nonneg (u x))) |
| 42 | |
| 43 | def linear : Lp E 2 μ →ₗ[ℝ] Lp F 2 μ where |
| 44 | toFun := applyLp μ A hA C hC |
| 45 | map_add' u v := by |
| 46 | apply Lp.ext |
| 47 | filter_upwards [applyLp_ae μ A hA C hC (u+v), applyLp_ae μ A hA C hC u, |
| 48 | applyLp_ae μ A hA C hC v, Lp.coeFn_add u v, |
| 49 | Lp.coeFn_add (applyLp μ A hA C hC u) (applyLp μ A hA C hC v)] |
| 50 | with x h1 h2 h3 h4 h5 |
| 51 | simp only [Pi.add_apply] at h4 h5 |
| 52 | rw [h1,h5,h4,h2,h3,map_add] |
| 53 | map_smul' r u := by |
| 54 | simp only [RingHom.id_apply] |
| 55 | apply Lp.ext |
| 56 | filter_upwards [applyLp_ae μ A hA C hC (r • u), applyLp_ae μ A hA C hC u, |
| 57 | Lp.coeFn_smul r u,Lp.coeFn_smul r (applyLp μ A hA C hC u)] with x h1 h2 h3 h4 |
| 58 | simp only [Pi.smul_apply] at h3 h4 |
| 59 | rw [h1,h4,h3,h2,map_smul] |
| 60 | |
| 61 | def operator : Lp E 2 μ →L[ℝ] Lp F 2 μ := |
| 62 | (linear μ A hA C hC).mkContinuous C (applyLp_norm_le μ A hA C hC) |
| 63 | |
| 64 | theorem operator_ae (u : Lp E 2 μ) : |
| 65 | (operator μ A hA C hC u : X → F) =ᵐ[μ] fun x => A x (u x) := |
| 66 | applyLp_ae μ A hA C hC u |
| 67 | |
| 68 | theorem operator_bound (u : Lp E 2 μ) : ‖operator μ A hA C hC u‖ ≤ C*‖u‖ := |
| 69 | applyLp_norm_le μ A hA C hC u |
| 70 | |
| 71 | variable {K : Type*} [TopologicalSpace K] [FirstCountableTopology K] |
| 72 | (B : K → X → E →L[ℝ] F) (hB : ∀ t, AEStronglyMeasurable (B t) μ) |
| 73 | (hBt : ∀ x, Continuous (fun t => B t x)) (hBC : ∀ t x, ‖B t x‖ ≤ C) |
| 74 | |
| 75 | include hBt in |
| 76 | theorem operator_strongly_continuous (u : Lp E 2 μ) : |
| 77 | Continuous (fun t => operator μ (B t) (hB t) C (hBC t) u) := by |
| 78 | apply continuous_iff_continuousAt.mpr |
| 79 | intro t₀ |
| 80 | apply EulerLpConvergence.tendsto_of_dominated μ |
| 81 | (fun t => operator μ (B t) (hB t) C (hBC t) u) |
| 82 | (operator μ (B t₀) (hB t₀) C (hBC t₀) u) |
| 83 | (fun t x => B t x (u x)) (fun x => B t₀ x (u x)) |
| 84 | (fun t => operator_ae μ (B t) (hB t) C (hBC t) u) |
| 85 | (operator_ae μ (B t₀) (hB t₀) C (hBC t₀) u) |
| 86 | (fun x => (2*C)*‖u x‖) ((Lp.memLp u).norm.const_mul (2*C)) |
| 87 | · apply Eventually.of_forall |
| 88 | intro t |
| 89 | apply Eventually.of_forall |
| 90 | intro x |
| 91 | calc |
| 92 | _ ≤ ‖B t x (u x)‖ + ‖B t₀ x (u x)‖ := norm_sub_le _ _ |
| 93 | _ ≤ C*‖u x‖ + C*‖u x‖ := add_le_add |
| 94 | (((B t x).le_opNorm _).trans (mul_le_mul_of_nonneg_right (hBC t x) (norm_nonneg _))) |
| 95 | (((B t₀ x).le_opNorm _).trans (mul_le_mul_of_nonneg_right (hBC t₀ x) (norm_nonneg _))) |
| 96 | _ = _ := by ring |
| 97 | · exact Eventually.of_forall (fun x => ((hBt x).clm_apply continuous_const).tendsto t₀) |
| 98 | |
| 99 | include hBt in |
| 100 | theorem operator_path_continuous (u : K → Lp E 2 μ) (hu : Continuous u) : |
| 101 | Continuous (fun t => operator μ (B t) (hB t) C (hBC t) (u t)) := by |
| 102 | apply continuous_iff_continuousAt.mpr |
| 103 | intro t₀ |
| 104 | apply tendsto_iff_norm_sub_tendsto_zero.mpr |
| 105 | have h₁ : Tendsto (fun t => C*‖u t-u t₀‖) (𝓝 t₀) (𝓝 (0 : ℝ)) := by |
| 106 | simpa only [sub_self,norm_zero,mul_zero] using ((hu.tendsto t₀).sub_const (u t₀)).norm.const_mul C |
| 107 | have h₂ : Tendsto (fun t => ‖operator μ (B t) (hB t) C (hBC t) (u t₀) - |
| 108 | operator μ (B t₀) (hB t₀) C (hBC t₀) (u t₀)‖) (𝓝 t₀) (𝓝 (0 : ℝ)) := by |
| 109 | simpa only [sub_self,norm_zero] using |
| 110 | (((operator_strongly_continuous μ C B hB hBt hBC (u t₀)).tendsto t₀).sub_const |
| 111 | (operator μ (B t₀) (hB t₀) C (hBC t₀) (u t₀))).norm |
| 112 | apply squeeze_zero (fun _ => norm_nonneg _) _ (by simpa only [add_zero] using h₁.add h₂) |
| 113 | intro t |
| 114 | calc |
| 115 | _ ≤ ‖operator μ (B t) (hB t) C (hBC t) (u t) - |
| 116 | operator μ (B t) (hB t) C (hBC t) (u t₀)‖ + |
| 117 | ‖operator μ (B t) (hB t) C (hBC t) (u t₀) - |
| 118 | operator μ (B t₀) (hB t₀) C (hBC t₀) (u t₀)‖ := norm_sub_le_norm_sub_add_norm_sub _ _ _ |
| 119 | _ ≤ C*‖u t-u t₀‖ + |
| 120 | ‖operator μ (B t) (hB t) C (hBC t) (u t₀) - |
| 121 | operator μ (B t₀) (hB t₀) C (hBC t₀) (u t₀)‖ := add_le_add (by |
| 122 | rw [← map_sub] |
| 123 | exact operator_bound μ (B t) (hB t) C (hBC t) (u t-u t₀)) le_rfl |
| 124 | |
| 125 | end EulerLpPointwiseMultiplier |