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.FourierTestDerivatives |
| 2 | import NavierStokes.R3.FourierSobolevWeights |
| 3 | import Mathlib.Analysis.InnerProductSpace.Dual |
| 4 | import Mathlib.Analysis.Normed.Module.HahnBanach |
| 5 | import NavierStokes.R3.WeakFourierUniqueness |
| 6 | import NavierStokes.R3.SchwartzCompactApproximation |
| 7 | |
| 8 | /-! |
| 9 | # Harmonic functionals bounded in an inhomogeneous Fourier Sobolev norm |
| 10 | |
| 11 | A complex-linear Schwartz functional bounded by the Fourier `H³` norm is |
| 12 | represented in polynomially weighted `L²`. If it annihilates Laplacians, its |
| 13 | representing function vanishes away from the origin. Since volume has no atom |
| 14 | at the origin, the whole functional vanishes. |
| 15 | -/ |
| 16 | |
| 17 | /-! ## From `NavierStokes/R3/HilbertFunctionalExtension.lean` |
| 18 | |
| 19 | The text of `NavierStokes/R3/HilbertFunctionalExtension.lean`, folded into this file, which was its only importer. -/ |
| 20 | |
| 21 | section |
| 22 | |
| 23 | /-! |
| 24 | # Hilbert-space representation of a functional bounded through an embedding |
| 25 | |
| 26 | A linear functional on a complex vector space that is bounded in the norm of an |
| 27 | injective linear map into a Hilbert space is represented by an inner product in |
| 28 | that Hilbert space. No topology on the source vector space is needed. |
| 29 | -/ |
| 30 | |
| 31 | namespace NavierStokesR3.HilbertFunctionalExtension |
| 32 | |
| 33 | universe u v |
| 34 | |
| 35 | variable {E : Type u} [AddCommGroup E] [Module ℂ E] |
| 36 | variable {H : Type v} [NormedAddCommGroup H] [InnerProductSpace ℂ H] |
| 37 | [CompleteSpace H] |
| 38 | |
| 39 | /-- Transfer a functional to the range of an injective linear map, extend it by |
| 40 | Hahn–Banach, and represent the extension by the Hilbert-space inner product. -/ |
| 41 | theorem exists_inner_representation (B : E →ₗ[ℂ] H) |
| 42 | (hB : Function.Injective B) (F : E →ₗ[ℂ] ℂ) {C : ℝ} |
| 43 | (hbound : ∀ x : E, ‖F x‖ ≤ C * ‖B x‖) : |
| 44 | ∃ q : H, ∀ x : E, F x = @inner ℂ H _ q (B x) := by |
| 45 | classical |
| 46 | let e : E ≃ₗ[ℂ] LinearMap.range B := LinearEquiv.ofInjective B hB |
| 47 | let f : LinearMap.range B →ₗ[ℂ] ℂ := F.comp e.symm.toLinearMap |
| 48 | have he (z : LinearMap.range B) : B (e.symm z) = (z : H) := by |
| 49 | change ((e (e.symm z) : LinearMap.range B) : H) = (z : H) |
| 50 | rw [e.apply_symm_apply] |
| 51 | have hf : ∀ z : LinearMap.range B, ‖f z‖ ≤ C * ‖z‖ := by |
| 52 | intro z |
| 53 | change ‖F (e.symm z)‖ ≤ C * ‖(z : H)‖ |
| 54 | simpa only [he] using hbound (e.symm z) |
| 55 | let fc : LinearMap.range B →L[ℂ] ℂ := f.mkContinuous C hf |
| 56 | obtain ⟨G, hG, _⟩ := exists_extension_norm_eq (LinearMap.range B) fc |
| 57 | refine ⟨(InnerProductSpace.toDual ℂ H).symm G, ?_⟩ |
| 58 | intro x |
| 59 | rw [InnerProductSpace.toDual_symm_apply] |
| 60 | calc |
| 61 | F x = fc (e x) := by simp [fc, f] |
| 62 | _ = G ((e x : LinearMap.range B) : H) := (hG (e x)).symm |
| 63 | _ = G (B x) := rfl |
| 64 | |
| 65 | end NavierStokesR3.HilbertFunctionalExtension |
| 66 | |
| 67 | end |
| 68 | |
| 69 | noncomputable section |
| 70 | |
| 71 | open MeasureTheory |
| 72 | |
| 73 | namespace NavierStokesR3.HarmonicTestFunctionals |
| 74 | |
| 75 | open ProblemStatement Comparison |
| 76 | |
| 77 | abbrev FrequencyL2 := Lp ℂ 2 (volume : Measure Space) |
| 78 | |
| 79 | /-- The `H³` bound supplies a Hilbert-space representative after a polynomial |
| 80 | Fourier embedding. No Fourier transform of arbitrary `L²` functions is needed. -/ |
| 81 | theorem exists_inner_representation_of_fourierHNormSq_bound |
| 82 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 83 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) : |
| 84 | ∃ q : FrequencyL2, ∀ ψ : ComplexTest, |
| 85 | F ψ = @inner ℂ FrequencyL2 _ q (FourierSobolevWeights.B ψ) := by |
| 86 | apply HilbertFunctionalExtension.exists_inner_representation |
| 87 | FourierSobolevWeights.B FourierSobolevWeights.B_injective F |
| 88 | intro ψ |
| 89 | exact (hbound ψ).trans (mul_le_mul_of_nonneg_left |
| 90 | (FourierSobolevWeights.sqrt_fourierHNormSq_three_le_norm_B ψ) hC) |
| 91 | |
| 92 | /-- In particular, a functional with the stated Fourier bound is continuous |
| 93 | for the Schwartz topology. -/ |
| 94 | theorem continuous_of_fourierHNormSq_bound |
| 95 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 96 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) : |
| 97 | Continuous F := by |
| 98 | obtain ⟨q, hq⟩ := exists_inner_representation_of_fourierHNormSq_bound F hC hbound |
| 99 | have hc : Continuous (fun ψ : ComplexTest => |
| 100 | @inner ℂ FrequencyL2 _ q (FourierSobolevWeights.B ψ)) := |
| 101 | continuous_const.inner FourierSobolevWeights.continuous_B |
| 102 | exact hc.congr fun ψ => (hq ψ).symm |
| 103 | |
| 104 | /-- A weighted `L²` representative that annihilates ordinary Laplacians is zero. -/ |
| 105 | theorem representative_eq_zero_of_harmonic |
| 106 | (q : FrequencyL2) |
| 107 | (hq : ∀ ψ : ComplexTest, |
| 108 | @inner ℂ FrequencyL2 _ q (FourierSobolevWeights.B (laplacianCLM ψ)) = 0) : |
| 109 | q = 0 := by |
| 110 | apply WeakFourierUniqueness.eq_zero_of_integral_weight_normSq_test_eq_zero q |
| 111 | intro φ |
| 112 | let ψ : ComplexTest := (FourierTransform.fourierCLE ℂ ComplexTest).symm φ |
| 113 | have hzero := hq ψ |
| 114 | rw [FourierSobolevWeights.inner_B_eq_integral] at hzero |
| 115 | let c : ℂ := -(4 * (Real.pi : ℂ) ^ 2) |
| 116 | have hc : c ≠ 0 := by |
| 117 | dsimp [c] |
| 118 | apply neg_ne_zero.mpr |
| 119 | apply mul_ne_zero (by norm_num) |
| 120 | exact pow_ne_zero 2 (by exact_mod_cast Real.pi_ne_zero) |
| 121 | have hi : (fun ξ : Space => star (q ξ) * |
| 122 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * |
| 123 | FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ) ξ) = |
| 124 | (fun ξ : Space => c • (star (q ξ) * |
| 125 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ) * φ ξ)) := by |
| 126 | funext ξ |
| 127 | rw [fourier_laplacianCLM_apply] |
| 128 | simp only [ψ, ContinuousLinearEquiv.apply_symm_apply, smul_eq_mul, c] |
| 129 | ring |
| 130 | rw [hi, integral_smul] at hzero |
| 131 | change c * (∫ ξ : Space, star (q ξ) * |
| 132 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ) * φ ξ) = 0 at hzero |
| 133 | exact (mul_eq_zero.mp hzero).resolve_left hc |
| 134 | |
| 135 | /-- A harmonic Schwartz functional bounded in Fourier `H⁻³` vanishes. -/ |
| 136 | theorem eq_zero_of_harmonic |
| 137 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 138 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) |
| 139 | (hharmonic : ∀ ψ : ComplexTest, F (laplacianCLM ψ) = 0) : F = 0 := by |
| 140 | obtain ⟨q, hq⟩ := exists_inner_representation_of_fourierHNormSq_bound F hC hbound |
| 141 | have hqzero : q = 0 := representative_eq_zero_of_harmonic q (fun ψ => by |
| 142 | rw [← hq] |
| 143 | exact hharmonic ψ) |
| 144 | ext ψ |
| 145 | change F ψ = 0 |
| 146 | rw [hq, hqzero] |
| 147 | simp |
| 148 | |
| 149 | /-- The pressure-recovery form: harmonicity need only be known against compactly |
| 150 | supported tests. The Fourier bound supplies the continuity needed to pass to |
| 151 | all Schwartz tests. No pressure pairing outside compact support is assumed. -/ |
| 152 | theorem eq_zero_of_compact_harmonic |
| 153 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 154 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) |
| 155 | (hharmonic : ∀ ψ : ComplexTest, HasCompactSupport (ψ : Space → ℂ) → |
| 156 | F (laplacianCLM ψ) = 0) : F = 0 := by |
| 157 | apply eq_zero_of_harmonic F hC hbound |
| 158 | intro ψ |
| 159 | exact SchwartzCompactApproximation.continuous_zero_of_compactSupport |
| 160 | (fun φ : ComplexTest => F (laplacianCLM φ)) |
| 161 | ((continuous_of_fourierHNormSq_bound F hC hbound).comp laplacianCLM.continuous) |
| 162 | hharmonic ψ |
| 163 | |
| 164 | end NavierStokesR3.HarmonicTestFunctionals |