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.ComparisonFourierSetup |
| 2 | |
| 3 | /-! |
| 4 | # Fourier pairings and Parseval on Schwartz functions |
| 5 | |
| 6 | These identities concern the ordinary Fourier integral on Euclidean space. |
| 7 | They use Fourier inversion on Schwartz functions, without introducing an |
| 8 | extension of the Fourier transform to all of `L²`. |
| 9 | -/ |
| 10 | |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open MeasureTheory |
| 15 | open scoped FourierTransform ComplexConjugate RealInnerProductSpace |
| 16 | |
| 17 | namespace NavierStokesR3.SchwartzParseval |
| 18 | |
| 19 | open ProblemStatement Comparison |
| 20 | |
| 21 | /-- Fourier duality for two integrable complex functions. -/ |
| 22 | theorem integral_fourier_mul {f g : Space → ℂ} |
| 23 | (hf : Integrable f) (hg : Integrable g) : |
| 24 | (∫ ξ : Space, 𝓕 f ξ * g ξ) = ∫ x : Space, f x * 𝓕 g x := by |
| 25 | simpa only [FourierTransform.fourier, smul_eq_mul, flip_innerₗ] using |
| 26 | (VectorFourier.integral_fourierIntegral_smul_eq_flip |
| 27 | (e := Real.fourierChar) (L := innerₗ Space) |
| 28 | (μ := (volume : Measure Space)) (ν := (volume : Measure Space)) |
| 29 | Real.continuous_fourierChar (innerSL ℝ).continuous₂ hf hg) |
| 30 | |
| 31 | /-- Conjugation changes the sign in the Fourier kernel. -/ |
| 32 | theorem fourier_conj_apply (f : Space → ℂ) (ξ : Space) : |
| 33 | 𝓕 (fun x => conj (f x)) ξ = conj (𝓕⁻ f ξ) := by |
| 34 | rw [Real.fourier_eq, Real.fourierInv_eq, ← integral_conj] |
| 35 | apply integral_congr_ae |
| 36 | filter_upwards [] with x |
| 37 | simp only [Circle.smul_def, smul_eq_mul, map_mul, Circle.starRingEnd_addChar] |
| 38 | |
| 39 | /-- The Hermitian pairing of two Schwartz functions is preserved by Fourier transform. -/ |
| 40 | theorem integral_fourier_mul_conj (f g : ComplexTest) : |
| 41 | (∫ ξ : Space, 𝓕 f ξ * conj (𝓕 g ξ)) = |
| 42 | ∫ x : Space, f x * conj (g x) := by |
| 43 | have hg : Integrable (fun ξ : Space => conj (𝓕 g ξ)) := |
| 44 | (Complex.conjCLE : ℂ →L[ℝ] ℂ).integrable_comp |
| 45 | (FourierTransform.fourierCLE ℂ ComplexTest g).integrable |
| 46 | simp only [SchwartzMap.fourier_coe] at hg ⊢ |
| 47 | rw [integral_fourier_mul f.integrable hg] |
| 48 | apply integral_congr_ae |
| 49 | filter_upwards [] with x |
| 50 | rw [fourier_conj_apply, |
| 51 | g.continuous.fourierInv_fourier_eq g.integrable |
| 52 | (FourierTransform.fourierCLE ℂ ComplexTest g).integrable] |
| 53 | |
| 54 | /-- The convention with conjugation on the first factor, used by complex inner products. -/ |
| 55 | theorem integral_conj_fourier_mul (f g : ComplexTest) : |
| 56 | (∫ ξ : Space, conj (𝓕 f ξ) * 𝓕 g ξ) = |
| 57 | ∫ x : Space, conj (f x) * g x := by |
| 58 | simpa only [mul_comm] using integral_fourier_mul_conj g f |
| 59 | |
| 60 | /-- A Schwartz function has a finite squared `L²` norm. -/ |
| 61 | theorem integrable_norm_sq (f : ComplexTest) : |
| 62 | Integrable (fun x : Space => ‖f x‖ ^ 2) := |
| 63 | (memLp_two_iff_integrable_sq_norm f.continuous.aestronglyMeasurable).mp (f.memLp 2) |
| 64 | |
| 65 | /-- The Fourier transform of a Schwartz function has a finite squared `L²` norm. -/ |
| 66 | theorem integrable_norm_sq_fourier (f : ComplexTest) : |
| 67 | Integrable (fun ξ : Space => ‖𝓕 f ξ‖ ^ 2) := |
| 68 | integrable_norm_sq (FourierTransform.fourierCLE ℂ ComplexTest f) |
| 69 | |
| 70 | /-- Parseval's identity for the real squared `L²` norm of a Schwartz function. -/ |
| 71 | theorem integral_norm_sq_fourier (f : ComplexTest) : |
| 72 | (∫ ξ : Space, ‖𝓕 f ξ‖ ^ 2) = ∫ x : Space, ‖f x‖ ^ 2 := by |
| 73 | have h := integral_fourier_mul_conj f f |
| 74 | simp only [Complex.mul_conj, Complex.normSq_eq_norm_sq, integral_complex_ofReal] at h |
| 75 | exact Complex.ofReal_injective h |
| 76 | |
| 77 | /-- Parseval for the inverse Fourier transform of a Schwartz function. -/ |
| 78 | theorem integral_norm_sq_fourierInv (f : ComplexTest) : |
| 79 | (∫ ξ : Space, ‖𝓕⁻ f ξ‖ ^ 2) = ∫ x : Space, ‖f x‖ ^ 2 := by |
| 80 | have h := integral_norm_sq_fourier (FourierTransform.fourierInv f) |
| 81 | simpa only [FourierTransform.fourier_fourierInv_eq] using h.symm |
| 82 | |
| 83 | |
| 84 | end NavierStokesR3.SchwartzParseval |