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 | # A polynomially weighted Fourier embedding |
| 5 | |
| 6 | The weight is constructed by coordinate multiplication on Schwartz space. |
| 7 | Consequently the resulting Fourier expressions belong to ordinary `L²`. |
| 8 | -/ |
| 9 | |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open MeasureTheory |
| 14 | open scoped BigOperators ComplexConjugate ENNReal |
| 15 | |
| 16 | namespace NavierStokesR3.FourierSobolevWeights |
| 17 | |
| 18 | open ProblemStatement Comparison |
| 19 | |
| 20 | /-- Multiplication by a real coordinate, acting complex linearly on tests. -/ |
| 21 | def coordinateMul (i : Fin 3) : ComplexTest →L[ℂ] ComplexTest := |
| 22 | SchwartzMap.bilinLeftCLM (ContinuousLinearMap.mul ℂ ℂ) |
| 23 | ((Complex.ofRealCLM.comp (EuclideanSpace.proj i)).hasTemperateGrowth) |
| 24 | |
| 25 | @[simp] theorem coordinateMul_apply (i : Fin 3) (ψ : ComplexTest) (ξ : Space) : |
| 26 | coordinateMul i ψ ξ = (ξ i : ℂ) * ψ ξ := by |
| 27 | change ψ ξ * (ξ i : ℂ) = (ξ i : ℂ) * ψ ξ |
| 28 | exact mul_comm _ _ |
| 29 | |
| 30 | /-- Multiplication by `1 + ‖ξ‖²`, preserving Schwartz space. -/ |
| 31 | def oneAddNormSqMul : ComplexTest →L[ℂ] ComplexTest := |
| 32 | ContinuousLinearMap.id ℂ ComplexTest + |
| 33 | (coordinateMul 0).comp (coordinateMul 0) + |
| 34 | (coordinateMul 1).comp (coordinateMul 1) + |
| 35 | (coordinateMul 2).comp (coordinateMul 2) |
| 36 | |
| 37 | @[simp] theorem oneAddNormSqMul_apply (ψ : ComplexTest) (ξ : Space) : |
| 38 | oneAddNormSqMul ψ ξ = ((1 + ‖ξ‖ ^ 2 : ℝ) : ℂ) * ψ ξ := by |
| 39 | have hnorm : ‖ξ‖ ^ 2 = (ξ 0) ^ 2 + (ξ 1) ^ 2 + (ξ 2) ^ 2 := by |
| 40 | simp [PiLp.norm_sq_eq_of_L2, Fin.sum_univ_succ, Real.norm_eq_abs, sq_abs, add_assoc] |
| 41 | simp only [oneAddNormSqMul, _root_.add_apply, |
| 42 | ContinuousLinearMap.id_apply, ContinuousLinearMap.comp_apply, coordinateMul_apply] |
| 43 | rw [hnorm] |
| 44 | push_cast |
| 45 | ring |
| 46 | |
| 47 | /-- Multiplication by the fourth-order Sobolev weight on Schwartz space. -/ |
| 48 | def weightedSchwartz : ComplexTest →L[ℂ] ComplexTest := |
| 49 | oneAddNormSqMul.comp oneAddNormSqMul |
| 50 | |
| 51 | @[simp] theorem weightedSchwartz_apply (ψ : ComplexTest) (ξ : Space) : |
| 52 | weightedSchwartz ψ ξ = (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * ψ ξ := by |
| 53 | simp only [weightedSchwartz, ContinuousLinearMap.comp_apply, oneAddNormSqMul_apply] |
| 54 | push_cast |
| 55 | ring |
| 56 | |
| 57 | theorem weightedSchwartz_injective : Function.Injective weightedSchwartz := by |
| 58 | intro ψ φ h |
| 59 | apply SchwartzMap.ext |
| 60 | intro ξ |
| 61 | have hξ := congrArg (fun f : ComplexTest => f ξ) h |
| 62 | simp only [weightedSchwartz_apply] at hξ |
| 63 | exact mul_left_cancel₀ (by |
| 64 | exact_mod_cast (sq_pos_of_pos (show (0 : ℝ) < 1 + ‖ξ‖ ^ 2 by positivity)).ne') hξ |
| 65 | |
| 66 | /-- Weighted Fourier embedding of tests into ordinary complex `L²`. -/ |
| 67 | def BCLM : ComplexTest →L[ℂ] Lp ℂ 2 (volume : Measure Space) := |
| 68 | (SchwartzMap.toLpCLM ℂ ℂ 2 volume).comp |
| 69 | (weightedSchwartz.comp (FourierTransform.fourierCLE ℂ ComplexTest).toContinuousLinearMap) |
| 70 | |
| 71 | /-- The linear map underlying the continuous weighted Fourier embedding. -/ |
| 72 | def B : ComplexTest →ₗ[ℂ] Lp ℂ 2 (volume : Measure Space) := |
| 73 | BCLM.toLinearMap |
| 74 | |
| 75 | theorem continuous_B : Continuous B := BCLM.continuous |
| 76 | |
| 77 | theorem B_ae_eq (ψ : ComplexTest) : |
| 78 | B ψ =ᵐ[volume] fun ξ : Space => |
| 79 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ := by |
| 80 | exact (SchwartzMap.coeFn_toLp (weightedSchwartz |
| 81 | (FourierTransform.fourierCLE ℂ ComplexTest ψ)) 2 volume).trans |
| 82 | (Filter.Eventually.of_forall (weightedSchwartz_apply _)) |
| 83 | |
| 84 | theorem B_injective : Function.Injective B := by |
| 85 | intro ψ φ h |
| 86 | apply (FourierTransform.fourierCLE ℂ ComplexTest).injective |
| 87 | apply weightedSchwartz_injective |
| 88 | exact SchwartzMap.injective_toLp 2 volume h |
| 89 | |
| 90 | theorem norm_weightedSchwartz_apply_sq (ψ : ComplexTest) (ξ : Space) : |
| 91 | ‖weightedSchwartz ψ ξ‖ ^ 2 = (1 + ‖ξ‖ ^ 2) ^ 4 * ‖ψ ξ‖ ^ 2 := by |
| 92 | rw [weightedSchwartz_apply, norm_mul, Complex.norm_real] |
| 93 | rw [Real.norm_of_nonneg (sq_nonneg _)] |
| 94 | ring |
| 95 | |
| 96 | theorem integrable_fourierHNormSq_four (ψ : ComplexTest) : |
| 97 | Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 4 * |
| 98 | ‖(FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ‖ ^ 2) volume := by |
| 99 | simpa only [norm_weightedSchwartz_apply_sq] using |
| 100 | ((weightedSchwartz (FourierTransform.fourierCLE ℂ ComplexTest ψ)).memLp 2 volume).integrable_norm_pow |
| 101 | (by norm_num : (2 : ℕ) ≠ 0) |
| 102 | |
| 103 | theorem fourierHNormSq_three_integrand_le_four (ψ : ComplexTest) (ξ : Space) : |
| 104 | (1 + ‖ξ‖ ^ 2) ^ 3 * ‖(FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ‖ ^ 2 ≤ |
| 105 | (1 + ‖ξ‖ ^ 2) ^ 4 * ‖(FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ‖ ^ 2 := by |
| 106 | apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) |
| 107 | exact pow_le_pow_right₀ (le_add_of_nonneg_right (sq_nonneg ‖ξ‖)) (by decide) |
| 108 | |
| 109 | theorem integrable_fourierHNormSq_three (ψ : ComplexTest) : |
| 110 | Integrable (fun ξ : Space => (1 + ‖ξ‖ ^ 2) ^ 3 * |
| 111 | ‖(FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ‖ ^ 2) volume := by |
| 112 | apply (integrable_fourierHNormSq_four ψ).mono' |
| 113 | · exact ((continuous_const.add (continuous_norm.pow 2)).pow 3 |>.mul |
| 114 | ((FourierTransform.fourierCLE ℂ ComplexTest ψ).continuous.norm.pow 2)).aestronglyMeasurable |
| 115 | · exact Filter.Eventually.of_forall fun ξ => by |
| 116 | rw [Real.norm_of_nonneg (by positivity)] |
| 117 | exact fourierHNormSq_three_integrand_le_four ψ ξ |
| 118 | |
| 119 | theorem norm_B_eq_sqrt (ψ : ComplexTest) : |
| 120 | ‖B ψ‖ = Real.sqrt (fourierHNormSq 4 ψ) := by |
| 121 | change ‖(weightedSchwartz (FourierTransform.fourierCLE ℂ ComplexTest ψ)).toLp 2 volume‖ = _ |
| 122 | rw [SchwartzMap.norm_toLp, MemLp.eLpNorm_eq_integral_rpow_norm |
| 123 | (by norm_num : (2 : ℝ≥0∞) ≠ 0) (by norm_num : (2 : ℝ≥0∞) ≠ ⊤) |
| 124 | ((weightedSchwartz (FourierTransform.fourierCLE ℂ ComplexTest ψ)).memLp 2 volume)] |
| 125 | simp only [ENNReal.toReal_ofNat, Real.rpow_two, norm_weightedSchwartz_apply_sq] |
| 126 | have hi : 0 ≤ ∫ ξ : Space, (1 + ‖ξ‖ ^ 2) ^ 4 * |
| 127 | ‖(FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ‖ ^ 2 := |
| 128 | integral_nonneg fun ξ => by positivity |
| 129 | rw [ENNReal.toReal_ofReal (Real.rpow_nonneg hi _), Real.sqrt_eq_rpow] |
| 130 | simp only [fourierHNormSq, one_div] |
| 131 | |
| 132 | theorem norm_B_sq (ψ : ComplexTest) : |
| 133 | ‖B ψ‖ ^ 2 = fourierHNormSq 4 ψ := by |
| 134 | rw [norm_B_eq_sqrt] |
| 135 | apply Real.sq_sqrt |
| 136 | exact integral_nonneg fun ξ => by positivity |
| 137 | |
| 138 | theorem fourierHNormSq_three_le_norm_B_sq (ψ : ComplexTest) : |
| 139 | fourierHNormSq 3 ψ ≤ ‖B ψ‖ ^ 2 := by |
| 140 | rw [norm_B_sq] |
| 141 | exact integral_mono (integrable_fourierHNormSq_three ψ) |
| 142 | (integrable_fourierHNormSq_four ψ) (fourierHNormSq_three_integrand_le_four ψ) |
| 143 | |
| 144 | theorem sqrt_fourierHNormSq_three_le_norm_B (ψ : ComplexTest) : |
| 145 | Real.sqrt (fourierHNormSq 3 ψ) ≤ ‖B ψ‖ := by |
| 146 | rw [norm_B_eq_sqrt] |
| 147 | apply Real.sqrt_le_sqrt |
| 148 | exact integral_mono (integrable_fourierHNormSq_three ψ) |
| 149 | (integrable_fourierHNormSq_four ψ) (fourierHNormSq_three_integrand_le_four ψ) |
| 150 | |
| 151 | theorem inner_B_eq_integral (q : Lp ℂ 2 (volume : Measure Space)) (ψ : ComplexTest) : |
| 152 | @inner ℂ _ _ q (B ψ) = ∫ ξ : Space, star (q ξ) * |
| 153 | (((1 + ‖ξ‖ ^ 2) ^ 2 : ℝ) : ℂ) * (FourierTransform.fourierCLE ℂ ComplexTest ψ) ξ := by |
| 154 | rw [L2.inner_def] |
| 155 | apply integral_congr_ae |
| 156 | filter_upwards [B_ae_eq ψ] with ξ hξ |
| 157 | rw [hξ] |
| 158 | simp only [RCLike.inner_apply', mul_assoc] |
| 159 | rfl |
| 160 | |
| 161 | end NavierStokesR3.FourierSobolevWeights |