Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

| 1 | /- |
| 2 | Adapted from AxelWorkspace revision f1cdb30cabdc8781d2d3dec86d3d99ab1820f30e. |
| 3 | Source and SHA-256: references/analysis/axel-workspace/weak-parabolic-regularity-sources.json. |
| 4 | Apache-2.0; see the license in that source directory. |
| 5 | -/ |
| 6 | import PoincareLib.Analysis.Parabolic.WeakRegularity.Interior.Producer |
| 7 | import PoincareLib.Analysis.Convolution.RescaledKernel |
| 8 | |
| 9 | open MeasureTheory Set |
| 10 | open scoped Topology Convolution ContDiff NNReal |
| 11 | open Poincare.Analysis.Convolution |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace Poincare.Analysis.Parabolic.WeakRegularity.Canonical |
| 16 | |
| 17 | variable {n : ℕ} |
| 18 | |
| 19 | local instance : (volume : Measure (Spacetime n)).IsAddHaarMeasure := by |
| 20 | change ((volume : Measure (Euclid n)).prod (volume : Measure ℝ)).IsAddHaarMeasure |
| 21 | infer_instance |
| 22 | |
| 23 | theorem lebesgueConvolution_flux_commutator_eq_integral |
| 24 | {q u ρ : Spacetime n → ℝ} {r : ℝ} (hr : 0 < r) (v x : Spacetime n) |
| 25 | (hD : Integrable |
| 26 | (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) v * u y)) |
| 27 | (hDq : Integrable |
| 28 | (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) v * (q y * u y))) |
| 29 | (hKq : Integrable |
| 30 | (fun y => rescaledKernel ρ r (x - y) * (fderiv ℝ q y v * u y))) : |
| 31 | q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y v) u x - |
| 32 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y v) |
| 33 | (fun y => q y * u y) x + |
| 34 | lebesgueConvolution (rescaledKernel ρ r) |
| 35 | (fun y => fderiv ℝ q y v * u y) x = |
| 36 | ∫ y, (fderiv ℝ (rescaledKernel ρ r) (x - y) v * |
| 37 | (q x - q y) + rescaledKernel ρ r (x - y) * fderiv ℝ q y v) * u y := by |
| 38 | have hsum : Integrable |
| 39 | (fun y => (fderiv ℝ (rescaledKernel ρ r) (x - y) v * |
| 40 | (q x - q y) + rescaledKernel ρ r (x - y) * fderiv ℝ q y v) * u y) := by |
| 41 | have h0 := ((hD.const_mul (q x)).sub hDq).add hKq |
| 42 | apply h0.congr |
| 43 | filter_upwards [] with y |
| 44 | simp only [Pi.add_apply, Pi.sub_apply] |
| 45 | ring |
| 46 | simp only [lebesgueConvolution] |
| 47 | rw [← integral_const_mul, ← integral_sub (hD.const_mul (q x)) hDq, ← integral_add] |
| 48 | · exact integral_congr_ae (Filter.Eventually.of_forall (fun y => by ring)) |
| 49 | · exact ((hD.const_mul (q x)).sub hDq) |
| 50 | · exact hKq |
| 51 | |
| 52 | theorem abs_lebesgueConvolution_flux_commutator_le |
| 53 | {q u ρ : Spacetime n → ℝ} {L : ℝ≥0} {r : ℝ} |
| 54 | (hq : LipschitzWith L q) (hqreg : ContDiff ℝ 1 q) (hr : 0 < r) |
| 55 | (v x : Spacetime n) |
| 56 | (hD : Integrable |
| 57 | (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) v * u y)) |
| 58 | (hDq : Integrable |
| 59 | (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) v * (q y * u y))) |
| 60 | (hKq : Integrable |
| 61 | (fun y => rescaledKernel ρ r (x - y) * (fderiv ℝ q y v * u y))) |
| 62 | (hmajor : Integrable |
| 63 | (fun y => ((L : ℝ) * (‖x - y‖ * |
| 64 | |fderiv ℝ (rescaledKernel ρ r) (x - y) v|) + |
| 65 | (L : ℝ) * ‖v‖ * |rescaledKernel ρ r (x - y)|) * |u y|)) : |
| 66 | |q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y v) u x - |
| 67 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y v) |
| 68 | (fun y => q y * u y) x + |
| 69 | lebesgueConvolution (rescaledKernel ρ r) |
| 70 | (fun y => fderiv ℝ q y v * u y) x| ≤ |
| 71 | ∫ y, ((L : ℝ) * (‖x - y‖ * |
| 72 | |fderiv ℝ (rescaledKernel ρ r) (x - y) v|) + |
| 73 | (L : ℝ) * ‖v‖ * |rescaledKernel ρ r (x - y)|) * |u y| := by |
| 74 | rw [lebesgueConvolution_flux_commutator_eq_integral hr v x hD hDq hKq] |
| 75 | have hleft : Integrable |
| 76 | (fun y => (fderiv ℝ (rescaledKernel ρ r) (x - y) v * |
| 77 | (q x - q y) + rescaledKernel ρ r (x - y) * fderiv ℝ q y v) * u y) := by |
| 78 | have h0 := ((hD.const_mul (q x)).sub hDq).add hKq |
| 79 | apply h0.congr |
| 80 | filter_upwards [] with y |
| 81 | simp only [Pi.add_apply, Pi.sub_apply] |
| 82 | ring |
| 83 | calc |
| 84 | |∫ y, (fderiv ℝ (rescaledKernel ρ r) (x - y) v * |
| 85 | (q x - q y) + rescaledKernel ρ r (x - y) * fderiv ℝ q y v) * u y| ≤ |
| 86 | ∫ y, |(fderiv ℝ (rescaledKernel ρ r) (x - y) v * |
| 87 | (q x - q y) + rescaledKernel ρ r (x - y) * fderiv ℝ q y v) * u y| := by |
| 88 | simpa only [Real.norm_eq_abs] using |
| 89 | (norm_integral_le_integral_norm (f := fun y => |
| 90 | (fderiv ℝ (rescaledKernel ρ r) (x - y) v * |
| 91 | (q x - q y) + rescaledKernel ρ r (x - y) * fderiv ℝ q y v) * u y)) |
| 92 | _ ≤ ∫ y, ((L : ℝ) * (‖x - y‖ * |
| 93 | |fderiv ℝ (rescaledKernel ρ r) (x - y) v|) + |
| 94 | (L : ℝ) * ‖v‖ * |rescaledKernel ρ r (x - y)|) * |u y| := by |
| 95 | apply integral_mono_ae hleft.norm hmajor |
| 96 | filter_upwards [] with y |
| 97 | have hqd : |q x - q y| ≤ (L : ℝ) * ‖x - y‖ := by |
| 98 | simpa only [dist_eq_norm, Real.norm_eq_abs] using hq.dist_le_mul x y |
| 99 | have hqv : |fderiv ℝ q y v| ≤ (L : ℝ) * ‖v‖ := by |
| 100 | simpa only [Real.norm_eq_abs] using ((fderiv ℝ q y).le_opNorm v).trans |
| 101 | (mul_le_mul_of_nonneg_right (norm_fderiv_le_of_lipschitz ℝ hq) |
| 102 | (norm_nonneg v)) |
| 103 | simp only [norm_mul, Real.norm_eq_abs] |
| 104 | calc |
| 105 | |(fderiv ℝ (rescaledKernel ρ r) (x - y) v * (q x - q y) + |
| 106 | rescaledKernel ρ r (x - y) * fderiv ℝ q y v)| * |u y| ≤ |
| 107 | (|fderiv ℝ (rescaledKernel ρ r) (x - y) v * (q x - q y)| + |
| 108 | |rescaledKernel ρ r (x - y) * fderiv ℝ q y v|) * |u y| := |
| 109 | mul_le_mul_of_nonneg_right (abs_add_le _ _) (abs_nonneg _) |
| 110 | _ ≤ (|fderiv ℝ (rescaledKernel ρ r) (x - y) v| * |
| 111 | ((L : ℝ) * ‖x - y‖) + |rescaledKernel ρ r (x - y)| * |
| 112 | ((L : ℝ) * ‖v‖)) * |u y| := by |
| 113 | apply mul_le_mul_of_nonneg_right (add_le_add ?_ ?_) (abs_nonneg _) |
| 114 | · rw [abs_mul] |
| 115 | exact mul_le_mul_of_nonneg_left hqd (abs_nonneg _) |
| 116 | · rw [abs_mul] |
| 117 | exact mul_le_mul_of_nonneg_left hqv (abs_nonneg _) |
| 118 | _ = ((L : ℝ) * (‖x - y‖ * |
| 119 | |fderiv ℝ (rescaledKernel ρ r) (x - y) v|) + |
| 120 | (L : ℝ) * ‖v‖ * |rescaledKernel ρ r (x - y)|) * |u y| := by ring |
| 121 | |
| 122 | end Poincare.Analysis.Parabolic.WeakRegularity.Canonical |
| 123 | |
| 124 | namespace Poincare.Analysis.Parabolic.WeakRegularity.Canonical |
| 125 | |
| 126 | /-! |
| 127 | ## Informal proof |
| 128 | |
| 129 | The pointwise commutator estimate is an order estimate. If its nonnegative |
| 130 | majorant belongs to (L^2), then monotonicity of the (L^2) seminorm transfers |
| 131 | that membership to the actual commutator. This consumer keeps every |
| 132 | convolution in the expression explicit; the independent (L^1*L^2\to L^2) |
| 133 | Young estimate supplies the majorant hypothesis in the parabolic induction. |
| 134 | |
| 135 | ## Proposed formal statements |
| 136 | |
| 137 | ```lean |
| 138 | theorem memLp_of_abs_le_of_memLp |
| 139 | {α : Type*} [MeasurableSpace α] {μ : Measure α} |
| 140 | {c g : α → ℝ} (hc : AEStronglyMeasurable c μ) |
| 141 | (hcg : ∀ᵐ x ∂μ, |c x| ≤ g x) (hg : MemLp g 2 μ) : |
| 142 | MemLp c 2 μ := by |
| 143 | exact hg.mono' hc hcg |
| 144 | |
| 145 | theorem memLp_lebesgueConvolution_flux_commutator |
| 146 | {n : ℕ} {q u ρ : Spacetime n → ℝ} {L : ℝ≥0} {r : ℝ} |
| 147 | (hr : 0 < r) (hq : LipschitzWith L q) (hqreg : ContDiff ℝ 1 q) |
| 148 | (hρ : ContDiff ℝ 1 ρ) (hρc : HasCompactSupport ρ) |
| 149 | (hC : AEStronglyMeasurable (fun x => |
| 150 | q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 151 | (0 : Spacetime n)) u x - |
| 152 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 153 | (0 : Spacetime n)) (fun y => q y * u y) x + |
| 154 | lebesgueConvolution (rescaledKernel ρ r) |
| 155 | (fun y => fderiv ℝ q y (0 : Spacetime n) * u y) x) volume) |
| 156 | (hg : MemLp (fun x => |
| 157 | ∫ y, ((L : ℝ) * (‖x - y‖ * |
| 158 | |fderiv ℝ (rescaledKernel ρ r) (x - y) (0 : Spacetime n)|) + |
| 159 | (L : ℝ) * ‖(0 : Spacetime n)‖ * |
| 160 | |rescaledKernel ρ r (x - y)|) * |u y|) 2 volume) |
| 161 | (hint : ∀ x, |
| 162 | Integrable (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) |
| 163 | (0 : Spacetime n) * u y)) |
| 164 | (hintq : ∀ x, |
| 165 | Integrable (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) |
| 166 | (0 : Spacetime n) * (q y * u y))) |
| 167 | (hintρ : ∀ x, |
| 168 | Integrable (fun y => rescaledKernel ρ r (x - y) * |
| 169 | (fderiv ℝ q y (0 : Spacetime n) * u y))) : |
| 170 | MemLp (fun x => |
| 171 | q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 172 | (0 : Spacetime n)) u x - |
| 173 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 174 | (0 : Spacetime n)) (fun y => q y * u y) x + |
| 175 | lebesgueConvolution (rescaledKernel ρ r) |
| 176 | (fun y => fderiv ℝ q y (0 : Spacetime n) * u y) x) 2 volume := by |
| 177 | exact memLp_of_abs_le_of_memLp hC hpoint hg |
| 178 | ``` |
| 179 | |
| 180 | ## Informal translation |
| 181 | |
| 182 | **Proposition.** An almost-everywhere strongly measurable function dominated |
| 183 | in absolute value by an (L^2) function is itself in (L^2). In particular, |
| 184 | the explicit differentiated coefficient-mollifier flux commutator is in |
| 185 | (L^2) whenever its published pointwise majorant is in (L^2), with the |
| 186 | convolutions defined by the displayed integrability hypotheses. |
| 187 | |
| 188 | ## Alignment review |
| 189 | |
| 190 | - [x] The translation matches the order-theoretic (L^2) consumer and keeps the actual convolution expression and hypotheses explicit. |
| 191 | |
| 192 | ## Formal proof |
| 193 | -/ |
| 194 | |
| 195 | theorem memLp_of_abs_le_of_memLp |
| 196 | {α : Type*} [MeasurableSpace α] {μ : Measure α} |
| 197 | {c g : α → ℝ} (hc : AEStronglyMeasurable c μ) |
| 198 | (hcg : ∀ᵐ x ∂μ, |c x| ≤ g x) (hg : MemLp g 2 μ) : |
| 199 | MemLp c 2 μ := by |
| 200 | exact hg.mono' hc hcg |
| 201 | |
| 202 | theorem memLp_lebesgueConvolution_flux_commutator |
| 203 | {n : ℕ} {q u ρ : Spacetime n → ℝ} {L : ℝ≥0} {r : ℝ} |
| 204 | (hr : 0 < r) (hq : LipschitzWith L q) (hqreg : ContDiff ℝ 1 q) |
| 205 | (hρ : ContDiff ℝ 1 ρ) (hρc : HasCompactSupport ρ) |
| 206 | (hC : AEStronglyMeasurable (fun x => |
| 207 | q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 208 | (0 : Spacetime n)) u x - |
| 209 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 210 | (0 : Spacetime n)) (fun y => q y * u y) x + |
| 211 | lebesgueConvolution (rescaledKernel ρ r) |
| 212 | (fun y => fderiv ℝ q y (0 : Spacetime n) * u y) x) volume) |
| 213 | (hg : MemLp (fun x => |
| 214 | ∫ y, ((L : ℝ) * (‖x - y‖ * |
| 215 | |fderiv ℝ (rescaledKernel ρ r) (x - y) (0 : Spacetime n)|) + |
| 216 | (L : ℝ) * ‖(0 : Spacetime n)‖ * |
| 217 | |rescaledKernel ρ r (x - y)|) * |u y|) 2 volume) |
| 218 | (hint : ∀ x, |
| 219 | Integrable (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) |
| 220 | (0 : Spacetime n) * u y)) |
| 221 | (hintq : ∀ x, |
| 222 | Integrable (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) |
| 223 | (0 : Spacetime n) * (q y * u y))) |
| 224 | (hintρ : ∀ x, |
| 225 | Integrable (fun y => rescaledKernel ρ r (x - y) * |
| 226 | (fderiv ℝ q y (0 : Spacetime n) * u y))) |
| 227 | (hpoint : ∀ᵐ x ∂volume, |(q x * lebesgueConvolution |
| 228 | (fun y => fderiv ℝ (rescaledKernel ρ r) y (0 : Spacetime n)) u x - |
| 229 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 230 | (0 : Spacetime n)) (fun y => q y * u y) x + |
| 231 | lebesgueConvolution (rescaledKernel ρ r) |
| 232 | (fun y => fderiv ℝ q y (0 : Spacetime n) * u y) x)| ≤ |
| 233 | ∫ y, ((L : ℝ) * (‖x - y‖ * |
| 234 | |fderiv ℝ (rescaledKernel ρ r) (x - y) (0 : Spacetime n)|) + |
| 235 | (L : ℝ) * ‖(0 : Spacetime n)‖ * |
| 236 | |rescaledKernel ρ r (x - y)|) * |u y|) : |
| 237 | MemLp (fun x => |
| 238 | q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 239 | (0 : Spacetime n)) u x - |
| 240 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 241 | (0 : Spacetime n)) (fun y => q y * u y) x + |
| 242 | lebesgueConvolution (rescaledKernel ρ r) |
| 243 | (fun y => fderiv ℝ q y (0 : Spacetime n) * u y) x) 2 volume := by |
| 244 | exact memLp_of_abs_le_of_memLp hC hpoint hg |
| 245 | |
| 246 | /-! The pointwise estimate itself supplies the domination used by the |
| 247 | `MemLp` consumer; callers need only prove integrability of the displayed |
| 248 | convolution majorant, rather than pass a duplicate a.e. inequality. -/ |
| 249 | theorem memLp_lebesgueConvolution_flux_commutator_of_integrable_majorant |
| 250 | {n : ℕ} {q u ρ : Spacetime n → ℝ} {L : ℝ≥0} {r : ℝ} |
| 251 | (hr : 0 < r) (hq : LipschitzWith L q) (hqreg : ContDiff ℝ 1 q) |
| 252 | (hρ : ContDiff ℝ 1 ρ) (hρc : HasCompactSupport ρ) |
| 253 | (hC : AEStronglyMeasurable (fun x => |
| 254 | q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 255 | (0 : Spacetime n)) u x - |
| 256 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 257 | (0 : Spacetime n)) (fun y => q y * u y) x + |
| 258 | lebesgueConvolution (rescaledKernel ρ r) |
| 259 | (fun y => fderiv ℝ q y (0 : Spacetime n) * u y) x) volume) |
| 260 | (hg : MemLp (fun x => |
| 261 | ∫ y, ((L : ℝ) * (‖x - y‖ * |
| 262 | |fderiv ℝ (rescaledKernel ρ r) (x - y) (0 : Spacetime n)|) + |
| 263 | (L : ℝ) * ‖(0 : Spacetime n)‖ * |
| 264 | |rescaledKernel ρ r (x - y)|) * |u y|) 2 volume) |
| 265 | (hint : ∀ x, Integrable (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) |
| 266 | (0 : Spacetime n) * u y)) |
| 267 | (hintq : ∀ x, Integrable (fun y => fderiv ℝ (rescaledKernel ρ r) (x - y) |
| 268 | (0 : Spacetime n) * (q y * u y))) |
| 269 | (hintρ : ∀ x, Integrable (fun y => rescaledKernel ρ r (x - y) * |
| 270 | (fderiv ℝ q y (0 : Spacetime n) * u y))) |
| 271 | (hmajor : ∀ x, Integrable (fun y => ((L : ℝ) * (‖x - y‖ * |
| 272 | |fderiv ℝ (rescaledKernel ρ r) (x - y) (0 : Spacetime n)|) + |
| 273 | (L : ℝ) * ‖(0 : Spacetime n)‖ * |
| 274 | |rescaledKernel ρ r (x - y)|) * |u y|)) : |
| 275 | MemLp (fun x => |
| 276 | q x * lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 277 | (0 : Spacetime n)) u x - |
| 278 | lebesgueConvolution (fun y => fderiv ℝ (rescaledKernel ρ r) y |
| 279 | (0 : Spacetime n)) (fun y => q y * u y) x + |
| 280 | lebesgueConvolution (rescaledKernel ρ r) |
| 281 | (fun y => fderiv ℝ q y (0 : Spacetime n) * u y) x) 2 volume := by |
| 282 | apply memLp_lebesgueConvolution_flux_commutator hr hq hqreg hρ hρc hC hg |
| 283 | hint hintq hintρ |
| 284 | filter_upwards [] with x |
| 285 | exact abs_lebesgueConvolution_flux_commutator_le hq hqreg hr (0 : Spacetime n) x |
| 286 | (hint x) (hintq x) (hintρ x) (hmajor x) |
| 287 | |
| 288 | end Poincare.Analysis.Parabolic.WeakRegularity.Canonical |
| 289 |