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 NavierStokes.R3.HilbertFunctionalExtension |
| 4 | import NavierStokes.R3.WeakFourierUniqueness |
| 5 | import NavierStokes.R3.SchwartzCompactApproximation |
| 6 | |
| 7 | /-! |
| 8 | # Harmonic functionals bounded in an inhomogeneous Fourier Sobolev norm |
| 9 | |
| 10 | A complex-linear Schwartz functional bounded by the Fourier `H³` norm is |
| 11 | represented in polynomially weighted `L²`. If it annihilates Laplacians, its |
| 12 | representing function vanishes away from the origin. Since volume has no atom |
| 13 | at the origin, the whole functional vanishes. |
| 14 | -/ |
| 15 | |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | open MeasureTheory |
| 20 | |
| 21 | namespace NavierStokesR3.HarmonicTestFunctionals |
| 22 | |
| 23 | open ProblemStatement Comparison |
| 24 | |
| 25 | abbrev FrequencyL2 := Lp ℂ 2 (volume : Measure Space) |
| 26 | |
| 27 | /-- The `H³` bound supplies a Hilbert-space representative after a polynomial |
| 28 | Fourier embedding. No Fourier transform of arbitrary `L²` functions is needed. -/ |
| 29 | theorem exists_inner_representation_of_fourierHNormSq_bound |
| 30 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 31 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) : |
| 32 | ∃ q : FrequencyL2, ∀ ψ : ComplexTest, |
| 33 | F ψ = @inner ℂ FrequencyL2 _ q (FourierSobolevWeights.B ψ) := by |
| 34 | apply HilbertFunctionalExtension.exists_inner_representation |
| 35 | FourierSobolevWeights.B FourierSobolevWeights.B_injective F |
| 36 | intro ψ |
| 37 | exact (hbound ψ).trans (mul_le_mul_of_nonneg_left |
| 38 | (FourierSobolevWeights.sqrt_fourierHNormSq_three_le_norm_B ψ) hC) |
| 39 | |
| 40 | /-- In particular, a functional with the stated Fourier bound is continuous |
| 41 | for the Schwartz topology. -/ |
| 42 | theorem continuous_of_fourierHNormSq_bound |
| 43 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 44 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) : |
| 45 | Continuous F := by |
| 46 | obtain ⟨q, hq⟩ := exists_inner_representation_of_fourierHNormSq_bound F hC hbound |
| 47 | have hc : Continuous (fun ψ : ComplexTest => |
| 48 | @inner ℂ FrequencyL2 _ q (FourierSobolevWeights.B ψ)) := |
| 49 | continuous_const.inner FourierSobolevWeights.continuous_B |
| 50 | exact hc.congr fun ψ => (hq ψ).symm |
| 51 | |
| 52 | /-- A weighted `L²` representative that annihilates ordinary Laplacians is zero. -/ |
| 53 | theorem representative_eq_zero_of_harmonic |
| 54 | (q : FrequencyL2) |
| 55 | (hq : ∀ ψ : ComplexTest, |
| 56 | @inner ℂ FrequencyL2 _ q (FourierSobolevWeights.B (laplacianCLM ψ)) = 0) : |
| 57 | q = 0 := by |
| 58 | apply WeakFourierUniqueness.eq_zero_of_integral_weight_normSq_test_eq_zero q |
| 59 | intro φ |
| 60 | let ψ : ComplexTest := (FourierTransform.fourierCLE ℂ ComplexTest).symm φ |
| 61 | have hzero := hq ψ |
| 62 | rw [FourierSobolevWeights.inner_B_eq_integral] at hzero |
| 63 | let c : ℂ := -(4 * (Real.pi : ℂ) ^ 2) |
| 64 | have hc : c ≠ 0 := by |
| 65 | dsimp [c] |
| 66 | apply neg_ne_zero.mpr |
| 67 | apply mul_ne_zero (by norm_num) |
| 68 | exact pow_ne_zero 2 (by exact_mod_cast Real.pi_ne_zero) |
| 69 | have hi : (fun ξ : Space => star (q ξ) * |
| 70 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * |
| 71 | FourierTransform.fourierCLE ℂ ComplexTest (laplacianCLM ψ) ξ) = |
| 72 | (fun ξ : Space => c • (star (q ξ) * |
| 73 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ) * φ ξ)) := by |
| 74 | funext ξ |
| 75 | rw [fourier_laplacianCLM_apply] |
| 76 | simp only [ψ, ContinuousLinearEquiv.apply_symm_apply, smul_eq_mul, c] |
| 77 | ring |
| 78 | rw [hi, integral_smul] at hzero |
| 79 | change c * (∫ ξ : Space, star (q ξ) * |
| 80 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * ((‖ξ‖ ^ 2 : ℝ) : ℂ) * φ ξ) = 0 at hzero |
| 81 | exact (mul_eq_zero.mp hzero).resolve_left hc |
| 82 | |
| 83 | /-- A harmonic Schwartz functional bounded in Fourier `H⁻³` vanishes. -/ |
| 84 | theorem eq_zero_of_harmonic |
| 85 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 86 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) |
| 87 | (hharmonic : ∀ ψ : ComplexTest, F (laplacianCLM ψ) = 0) : F = 0 := by |
| 88 | obtain ⟨q, hq⟩ := exists_inner_representation_of_fourierHNormSq_bound F hC hbound |
| 89 | have hqzero : q = 0 := representative_eq_zero_of_harmonic q (fun ψ => by |
| 90 | rw [← hq] |
| 91 | exact hharmonic ψ) |
| 92 | ext ψ |
| 93 | change F ψ = 0 |
| 94 | rw [hq, hqzero] |
| 95 | simp |
| 96 | |
| 97 | /-- The pressure-recovery form: harmonicity need only be known against compactly |
| 98 | supported tests. The Fourier bound supplies the continuity needed to pass to |
| 99 | all Schwartz tests. No pressure pairing outside compact support is assumed. -/ |
| 100 | theorem eq_zero_of_compact_harmonic |
| 101 | (F : ComplexTest →ₗ[ℂ] ℂ) {C : ℝ} (hC : 0 ≤ C) |
| 102 | (hbound : ∀ ψ : ComplexTest, ‖F ψ‖ ≤ C * Real.sqrt (fourierHNormSq 3 ψ)) |
| 103 | (hharmonic : ∀ ψ : ComplexTest, HasCompactSupport (ψ : Space → ℂ) → |
| 104 | F (laplacianCLM ψ) = 0) : F = 0 := by |
| 105 | apply eq_zero_of_harmonic F hC hbound |
| 106 | intro ψ |
| 107 | exact SchwartzCompactApproximation.continuous_zero_of_compactSupport |
| 108 | (fun φ : ComplexTest => F (laplacianCLM φ)) |
| 109 | ((continuous_of_fourierHNormSq_bound F hC hbound).comp laplacianCLM.continuous) |
| 110 | hharmonic ψ |
| 111 | |
| 112 | end NavierStokesR3.HarmonicTestFunctionals |