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 Euler.MeanBoundaryOperator |
| 2 | |
| 3 | /-! Genuine mixed cutoff Newtonian operators and their quantitative dependence on both cutoffs. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanBoundary |
| 8 | |
| 9 | open MeasureTheory InnerProductSpace EulerSmoothLimit EulerVectorCalculus |
| 10 | EulerMeanSolenoidal EulerMeanCutoffCurl EulerMeanGradientTest |
| 11 | open scoped ContDiff |
| 12 | |
| 13 | @[ext] theorem Cutoff.ext {χ ψ : Cutoff} (h : χ.field = ψ.field) : χ = ψ := by |
| 14 | cases χ |
| 15 | cases ψ |
| 16 | cases h |
| 17 | rfl |
| 18 | |
| 19 | def Cutoff.add (χ ψ : Cutoff) : Cutoff := |
| 20 | ⟨χ.field + ψ.field, χ.smooth.add ψ.smooth, χ.compact.add ψ.compact⟩ |
| 21 | |
| 22 | def Cutoff.scale (χ : Cutoff) (c : ℝ) : Cutoff := |
| 23 | ⟨c • χ.field, χ.smooth.const_smul c, |
| 24 | χ.compact.comp_left (g := fun t : ℝ => c • t) (smul_zero c)⟩ |
| 25 | |
| 26 | def Cutoff.sub (χ ψ : Cutoff) : Cutoff := |
| 27 | ⟨χ.field - ψ.field, χ.smooth.sub ψ.smooth, χ.compact.sub ψ.compact⟩ |
| 28 | |
| 29 | def Cutoff.translate (χ : Cutoff) (a : Space) : Cutoff := |
| 30 | ⟨fun x => χ.field (x+a), χ.smooth.comp (contDiff_id.add contDiff_const), |
| 31 | χ.compact.comp_homeomorph (Homeomorph.addRight a)⟩ |
| 32 | |
| 33 | def Cutoff.derivative (χ : Cutoff) (i : Fin 3) : Cutoff := |
| 34 | ⟨partialDerivative χ.field i, contDiff_partialDerivative χ.field χ.smooth i, |
| 35 | χ.compact.fderiv_apply ℝ (EuclideanSpace.single i 1)⟩ |
| 36 | |
| 37 | theorem testCurl_cutoff_add (χ ψ : Cutoff) (f : Test) : |
| 38 | testCurl (χ.add ψ) f = testCurl χ f + testCurl ψ f := by |
| 39 | apply Lp.ext |
| 40 | filter_upwards [testCurl_ae (χ.add ψ) f, testCurl_ae χ f, testCurl_ae ψ f, |
| 41 | Lp.coeFn_add (testCurl χ f) (testCurl ψ f)] with x hsum hχ hψ ha |
| 42 | rw [hsum, ha] |
| 43 | simp only [Pi.add_apply] |
| 44 | rw [hχ, hψ] |
| 45 | have heq : (fun y => (χ.add ψ).field y • (f : Space → Space) y) = |
| 46 | (fun y => χ.field y • (f : Space → Space) y) + |
| 47 | (fun y => ψ.field y • (f : Space → Space) y) := by |
| 48 | funext y |
| 49 | exact add_smul _ _ _ |
| 50 | rw [heq] |
| 51 | exact congrFun (vectorCurl_add (fun y => χ.field y • (f : Space → Space) y) |
| 52 | (fun y => ψ.field y • (f : Space → Space) y) |
| 53 | ((χ.smooth.smul f.smooth).differentiable (by simp)) |
| 54 | ((ψ.smooth.smul f.smooth).differentiable (by simp))) x |
| 55 | |
| 56 | theorem testCurl_cutoff_scale (χ : Cutoff) (c : ℝ) (f : Test) : |
| 57 | testCurl (χ.scale c) f = c • testCurl χ f := by |
| 58 | apply Lp.ext |
| 59 | filter_upwards [testCurl_ae (χ.scale c) f, testCurl_ae χ f, |
| 60 | Lp.coeFn_smul c (testCurl χ f)] with x hscale hχ hs |
| 61 | rw [hscale, hs] |
| 62 | simp only [Pi.smul_apply] |
| 63 | rw [hχ] |
| 64 | have heq : (fun y => (χ.scale c).field y • (f : Space → Space) y) = |
| 65 | c • (fun y => χ.field y • (f : Space → Space) y) := by |
| 66 | funext y |
| 67 | exact smul_assoc c (χ.field y) ((f : Space → Space) y) |
| 68 | rw [heq] |
| 69 | exact congrFun (vectorCurl_smul c (fun y => χ.field y • (f : Space → Space) y) |
| 70 | ((χ.smooth.smul f.smooth).differentiable (by simp))) x |
| 71 | |
| 72 | theorem cutoffCurl_add (χ ψ : Cutoff) : |
| 73 | cutoffCurl (χ.add ψ) = cutoffCurl χ + cutoffCurl ψ := by |
| 74 | apply ContinuousLinearMap.ext |
| 75 | intro u |
| 76 | refine homogeneousGradient_dense.induction_on u ?_ ?_ |
| 77 | · exact isClosed_eq (cutoffCurl (χ.add ψ)).continuous |
| 78 | ((cutoffCurl χ).continuous.add (cutoffCurl ψ).continuous) |
| 79 | · intro f |
| 80 | change cutoffCurl (χ.add ψ) (homogeneousGradient f) = |
| 81 | cutoffCurl χ (homogeneousGradient f) + cutoffCurl ψ (homogeneousGradient f) |
| 82 | rw [cutoffCurl_on_test, cutoffCurl_on_test, cutoffCurl_on_test] |
| 83 | exact testCurl_cutoff_add χ ψ f |
| 84 | |
| 85 | theorem cutoffCurl_scale (χ : Cutoff) (c : ℝ) : |
| 86 | cutoffCurl (χ.scale c) = c • cutoffCurl χ := by |
| 87 | apply ContinuousLinearMap.ext |
| 88 | intro u |
| 89 | refine homogeneousGradient_dense.induction_on u ?_ ?_ |
| 90 | · exact isClosed_eq (cutoffCurl (χ.scale c)).continuous |
| 91 | ((cutoffCurl χ).continuous.const_smul c) |
| 92 | · intro f |
| 93 | change cutoffCurl (χ.scale c) (homogeneousGradient f) = |
| 94 | c • cutoffCurl χ (homogeneousGradient f) |
| 95 | rw [cutoffCurl_on_test, cutoffCurl_on_test] |
| 96 | exact testCurl_cutoff_scale χ c f |
| 97 | |
| 98 | theorem cutoffCurl_sub (χ ψ : Cutoff) : |
| 99 | cutoffCurl (χ.sub ψ) = cutoffCurl χ - cutoffCurl ψ := by |
| 100 | have heq : χ.sub ψ = χ.add (ψ.scale (-1)) := by |
| 101 | apply Cutoff.ext |
| 102 | ext x |
| 103 | simp [Cutoff.sub, Cutoff.add, Cutoff.scale, sub_eq_add_neg] |
| 104 | rw [heq, cutoffCurl_add, cutoffCurl_scale] |
| 105 | apply ContinuousLinearMap.ext |
| 106 | intro u |
| 107 | change cutoffCurl χ u + (-1 : ℝ) • cutoffCurl ψ u = cutoffCurl χ u - cutoffCurl ψ u |
| 108 | rw [neg_one_smul ℝ, sub_eq_add_neg] |
| 109 | |
| 110 | theorem weakPotential_add (χ ψ : Cutoff) : |
| 111 | weakPotential (χ.add ψ) = weakPotential χ + weakPotential ψ := by |
| 112 | simp only [weakPotential, cutoffCurl_add, map_add] |
| 113 | |
| 114 | theorem weakPotential_scale (χ : Cutoff) (c : ℝ) : |
| 115 | weakPotential (χ.scale c) = c • weakPotential χ := by |
| 116 | simp only [weakPotential, cutoffCurl_scale, map_smul] |
| 117 | |
| 118 | theorem weakPotential_sub (χ ψ : Cutoff) : |
| 119 | weakPotential (χ.sub ψ) = weakPotential χ - weakPotential ψ := by |
| 120 | have heq : χ.sub ψ = χ.add (ψ.scale (-1)) := by |
| 121 | apply Cutoff.ext |
| 122 | ext x |
| 123 | simp [Cutoff.sub, Cutoff.add, Cutoff.scale, sub_eq_add_neg] |
| 124 | rw [heq, weakPotential_add, weakPotential_scale] |
| 125 | apply ContinuousLinearMap.ext |
| 126 | intro z |
| 127 | change weakPotential χ z + (-1 : ℝ) • weakPotential ψ z = weakPotential χ z - weakPotential ψ z |
| 128 | rw [neg_one_smul ℝ, sub_eq_add_neg] |
| 129 | |
| 130 | /-- The literal weak `curl χ (-Δ)⁻¹ ψ curl` operator. -/ |
| 131 | def mixedBoundaryOperator (χ ψ : Cutoff) : L2 →L[ℝ] L2 := |
| 132 | (cutoffCurl χ).comp (weakPotential ψ) |
| 133 | |
| 134 | theorem mixedBoundaryOperator_diagonal (χ : Cutoff) : |
| 135 | mixedBoundaryOperator χ χ = boundaryOperator χ := rfl |
| 136 | |
| 137 | theorem mixedBoundaryOperator_norm_le (χ ψ : Cutoff) : |
| 138 | ‖mixedBoundaryOperator χ ψ‖ ≤ cutoffBound χ * cutoffBound ψ := by |
| 139 | refine (ContinuousLinearMap.opNorm_comp_le _ _).trans ?_ |
| 140 | change ‖cutoffCurl χ‖ * ‖(cutoffCurl ψ).adjoint‖ ≤ _ |
| 141 | rw [LinearIsometryEquiv.norm_map] |
| 142 | exact mul_le_mul (cutoffCurl_norm_le χ) (cutoffCurl_norm_le ψ) |
| 143 | (norm_nonneg (cutoffCurl ψ)) (cutoffBound_nonneg χ) |
| 144 | |
| 145 | theorem mixedBoundaryOperator_pairing (χ ψ : Cutoff) (u v : L2) : |
| 146 | ⟪mixedBoundaryOperator χ ψ u, v⟫_ℝ = ⟪weakPotential ψ u, weakPotential χ v⟫_ℝ := |
| 147 | (ContinuousLinearMap.adjoint_inner_right (cutoffCurl χ) (weakPotential ψ u) v).symm |
| 148 | |
| 149 | theorem mixedBoundaryOperator_adjoint (χ ψ : Cutoff) : |
| 150 | (mixedBoundaryOperator χ ψ).adjoint = mixedBoundaryOperator ψ χ := by |
| 151 | simp only [mixedBoundaryOperator, weakPotential, ContinuousLinearMap.adjoint_comp, |
| 152 | ContinuousLinearMap.adjoint_adjoint] |
| 153 | |
| 154 | theorem mixedBoundaryOperator_solenoidal (χ ψ : Cutoff) (u : L2) : |
| 155 | mixedBoundaryOperator χ ψ u ∈ solenoidalSpace := cutoffCurl_solenoidal χ (weakPotential ψ u) |
| 156 | |
| 157 | theorem mixedBoundaryOperator_supported (χ ψ : Cutoff) (u : L2) : |
| 158 | mixedBoundaryOperator χ ψ u ∈ supportedSpace χ := cutoffCurl_supported χ (weakPotential ψ u) |
| 159 | |
| 160 | theorem mixedBoundaryOperator_add_left (χ ψ ρ : Cutoff) : |
| 161 | mixedBoundaryOperator (χ.add ψ) ρ = mixedBoundaryOperator χ ρ + mixedBoundaryOperator ψ ρ := by |
| 162 | simp only [mixedBoundaryOperator, cutoffCurl_add, ContinuousLinearMap.add_comp] |
| 163 | |
| 164 | theorem mixedBoundaryOperator_add_right (χ ψ ρ : Cutoff) : |
| 165 | mixedBoundaryOperator χ (ψ.add ρ) = mixedBoundaryOperator χ ψ + mixedBoundaryOperator χ ρ := by |
| 166 | simp only [mixedBoundaryOperator, weakPotential_add, ContinuousLinearMap.comp_add] |
| 167 | |
| 168 | theorem mixedBoundaryOperator_scale_left (χ ψ : Cutoff) (c : ℝ) : |
| 169 | mixedBoundaryOperator (χ.scale c) ψ = c • mixedBoundaryOperator χ ψ := by |
| 170 | simp only [mixedBoundaryOperator, cutoffCurl_scale, ContinuousLinearMap.smul_comp] |
| 171 | |
| 172 | theorem mixedBoundaryOperator_scale_right (χ ψ : Cutoff) (c : ℝ) : |
| 173 | mixedBoundaryOperator χ (ψ.scale c) = c • mixedBoundaryOperator χ ψ := by |
| 174 | simp only [mixedBoundaryOperator, weakPotential_scale, ContinuousLinearMap.comp_smul] |
| 175 | |
| 176 | theorem mixedBoundaryOperator_sub_left (χ ψ ρ : Cutoff) : |
| 177 | mixedBoundaryOperator (χ.sub ψ) ρ = mixedBoundaryOperator χ ρ - mixedBoundaryOperator ψ ρ := by |
| 178 | simp only [mixedBoundaryOperator, cutoffCurl_sub, ContinuousLinearMap.sub_comp] |
| 179 | |
| 180 | theorem mixedBoundaryOperator_sub_right (χ ψ ρ : Cutoff) : |
| 181 | mixedBoundaryOperator χ (ψ.sub ρ) = mixedBoundaryOperator χ ψ - mixedBoundaryOperator χ ρ := by |
| 182 | simp only [mixedBoundaryOperator, weakPotential_sub, ContinuousLinearMap.comp_sub] |
| 183 | |
| 184 | /-- The two actual coefficient differences are split between the two cutoff positions. -/ |
| 185 | theorem mixedBoundaryOperator_difference (χ₁ χ₀ ψ₁ ψ₀ : Cutoff) : |
| 186 | mixedBoundaryOperator χ₁ ψ₁ - mixedBoundaryOperator χ₀ ψ₀ = |
| 187 | mixedBoundaryOperator (χ₁.sub χ₀) ψ₁ + mixedBoundaryOperator χ₀ (ψ₁.sub ψ₀) := by |
| 188 | rw [mixedBoundaryOperator_sub_left, mixedBoundaryOperator_sub_right] |
| 189 | abel |
| 190 | |
| 191 | theorem mixedBoundaryOperator_difference_norm_le (χ₁ χ₀ ψ₁ ψ₀ : Cutoff) : |
| 192 | ‖mixedBoundaryOperator χ₁ ψ₁ - mixedBoundaryOperator χ₀ ψ₀‖ ≤ |
| 193 | cutoffBound (χ₁.sub χ₀) * cutoffBound ψ₁ + cutoffBound χ₀ * cutoffBound (ψ₁.sub ψ₀) := by |
| 194 | rw [mixedBoundaryOperator_difference] |
| 195 | exact (norm_add_le _ _).trans (add_le_add (mixedBoundaryOperator_norm_le _ _) |
| 196 | (mixedBoundaryOperator_norm_le _ _)) |
| 197 | |
| 198 | end EulerMeanBoundary |