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.R3SpaceTime |
| 2 | import NavierStokes.R3RieszApproximation |
| 3 | |
| 4 | /-! |
| 5 | # Spatial convolution of integrable space-time functions |
| 6 | |
| 7 | The spatial kernel is a measure on the zero-time slice. Fubini and translation |
| 8 | invariance give its space-time Fourier multiplier without differentiating |
| 9 | in time or requiring pointwise temperedness of the physical pressure. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | namespace NavierStokes.R3SpatialConvolution |
| 14 | |
| 15 | open Set Filter MeasureTheory FourierTransform R3SpaceTime ProblemStatement |
| 16 | open scoped SchwartzMap Topology FourierTransform |
| 17 | |
| 18 | def spaceInj (x : Space) : Domain := pack 0 x |
| 19 | |
| 20 | theorem spaceInj_isometry : Isometry spaceInj := |
| 21 | isometry_iff_dist_eq.mpr fun x y => WithLp.dist_toLp_snd 2 ℝ Space x y |
| 22 | |
| 23 | theorem spaceInj_measurableEmbedding : MeasurableEmbedding spaceInj := |
| 24 | spaceInj_isometry.isClosedEmbedding.measurableEmbedding |
| 25 | |
| 26 | def spatialMeasure : Measure Domain := volume.map spaceInj |
| 27 | |
| 28 | instance : SFinite spatialMeasure := inferInstanceAs (SFinite (volume.map spaceInj)) |
| 29 | |
| 30 | theorem integral_spatialMeasure {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 31 | (f : Domain → F) : ∫ z, f z ∂spatialMeasure = ∫ x : Space, f (spaceInj x) := |
| 32 | spaceInj_measurableEmbedding.integral_map f |
| 33 | |
| 34 | theorem integrable_spatialMeasure_iff {F : Type*} [NormedAddCommGroup F] |
| 35 | (f : Domain → F) : Integrable f spatialMeasure ↔ Integrable (fun x : Space => f (spaceInj x)) := |
| 36 | spaceInj_measurableEmbedding.integrable_map_iff |
| 37 | |
| 38 | theorem inner_spaceInj (x : Space) (z : Domain) : |
| 39 | inner ℝ (spaceInj x) z = inner ℝ x (spaceProj z) := by |
| 40 | simp [spaceInj, pack, WithLp.prod_inner_apply, spaceProj, WithLp.sndL] |
| 41 | |
| 42 | /-- A convolution with an arbitrary sigma-finite kernel measure and an |
| 43 | integrable Lebesgue function has the expected Fourier transform. -/ |
| 44 | theorem fourier_convolution_measure {μ : Measure Domain} [SFinite μ] |
| 45 | {K g : Domain → ℂ} (hK : Integrable K μ) (hg : Integrable g) (ξ : Domain) : |
| 46 | 𝓕 (fun z : Domain => ∫ y, K y * g (z - y) ∂μ) ξ = |
| 47 | (∫ y, Real.fourierChar (-inner ℝ y ξ) • K y ∂μ) * 𝓕 g ξ := by |
| 48 | have hi := hK.convolution_integrand (ContinuousLinearMap.mul ℂ ℂ) hg |
| 49 | have hchar : Integrable (fun zy : Domain × Domain => |
| 50 | Real.fourierChar (-inner ℝ zy.1 ξ) • (K zy.2 * g (zy.1 - zy.2))) (volume.prod μ) := by |
| 51 | apply hi.mono |
| 52 | · exact (Real.continuous_fourierChar.comp (by fun_prop)).aestronglyMeasurable.smul |
| 53 | hi.aestronglyMeasurable |
| 54 | · filter_upwards with zy |
| 55 | simp |
| 56 | calc |
| 57 | _ = ∫ z : Domain, ∫ y, Real.fourierChar (-inner ℝ z ξ) • (K y * g (z - y)) ∂μ := by |
| 58 | rw [Real.fourier_eq] |
| 59 | apply integral_congr_ae |
| 60 | filter_upwards with z |
| 61 | simp only [Circle.smul_def, integral_const_mul, smul_eq_mul] |
| 62 | _ = ∫ y, (∫ z : Domain, Real.fourierChar (-inner ℝ z ξ) • (K y * g (z - y))) ∂μ := |
| 63 | integral_integral_swap hchar |
| 64 | _ = ∫ y, (∫ z : Domain, Real.fourierChar (-inner ℝ (z + y) ξ) • (K y * g z)) ∂μ := by |
| 65 | apply integral_congr_ae |
| 66 | filter_upwards with y |
| 67 | have he := integral_add_right_eq_self |
| 68 | (fun z : Domain => Real.fourierChar (-inner ℝ z ξ) • (K y * g (z - y))) y |
| 69 | (μ := volume) |
| 70 | simpa only [add_sub_cancel_right] using he.symm |
| 71 | _ = ∫ y, (Real.fourierChar (-inner ℝ y ξ) • K y) * 𝓕 g ξ ∂μ := by |
| 72 | apply integral_congr_ae |
| 73 | filter_upwards with y |
| 74 | rw [Real.fourier_eq, ← integral_const_mul] |
| 75 | apply integral_congr_ae |
| 76 | filter_upwards with z |
| 77 | simp only [inner_add_left, neg_add, AddChar.map_add_eq_mul, Circle.smul_def, |
| 78 | Circle.coe_mul, smul_eq_mul] |
| 79 | ring |
| 80 | _ = _ := integral_mul_const _ _ |
| 81 | |
| 82 | def regularized (n : ℕ) (i j : Fin 3) (g : Domain → ℂ) (z : Domain) : ℂ := |
| 83 | ∫ y : Space, R3RieszKernel.truncatedKernel n i j y * g (pack (timeProj z) (spaceProj z - y)) |
| 84 | |
| 85 | theorem regularized_eq_convolution (n : ℕ) (i j : Fin 3) (g : Domain → ℂ) (z : Domain) : |
| 86 | regularized n i j g z = ∫ y, R3RieszKernel.truncatedKernel n i j (spaceProj y) * |
| 87 | g (z - y) ∂spatialMeasure := by |
| 88 | rw [integral_spatialMeasure] |
| 89 | unfold regularized |
| 90 | apply integral_congr_ae |
| 91 | filter_upwards with y |
| 92 | congr 2 |
| 93 | change WithLp.toLp 2 (timeProj z, spaceProj z - y) = |
| 94 | WithLp.toLp 2 (timeProj z - 0, spaceProj z - y) |
| 95 | simp only [sub_zero] |
| 96 | |
| 97 | theorem liftedKernel_integrable (n : ℕ) (i j : Fin 3) : |
| 98 | Integrable (fun z : Domain => R3RieszKernel.truncatedKernel n i j (spaceProj z)) spatialMeasure := |
| 99 | (integrable_spatialMeasure_iff _).mpr (R3RieszKernel.truncatedKernel_integrable n i j) |
| 100 | |
| 101 | theorem regularized_integrable (n : ℕ) (i j : Fin 3) {g : Domain → ℂ} (hg : Integrable g) : |
| 102 | Integrable (regularized n i j g) := by |
| 103 | simp only [funext (regularized_eq_convolution n i j g)] |
| 104 | exact ((liftedKernel_integrable n i j).convolution_integrand |
| 105 | (ContinuousLinearMap.mul ℂ ℂ) hg).integral_prod_left |
| 106 | |
| 107 | theorem regularized_fourier (n : ℕ) (i j : Fin 3) {g : Domain → ℂ} |
| 108 | (hg : Integrable g) (ξ : Domain) : |
| 109 | 𝓕 (regularized n i j g) ξ = |
| 110 | 𝓕 (R3RieszKernel.truncatedKernel n i j) (spaceProj ξ) * 𝓕 g ξ := by |
| 111 | rw [funext (regularized_eq_convolution n i j g), |
| 112 | fourier_convolution_measure (liftedKernel_integrable n i j) hg, integral_spatialMeasure] |
| 113 | congr 1 |
| 114 | simp only [inner_spaceInj] |
| 115 | rfl |
| 116 | |
| 117 | end NavierStokes.R3SpatialConvolution |