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 | Provenance and modification notice (recorded 2026-09-29). |
| 3 | Source: https://github.com/qinz1yang/differential-geometry |
| 4 | DifferentialGeometry/Analysis/Parabolic/Euclidean/HeatKernelApprox.lean |
| 5 | Comparison revision: 1b535dd102b94cc42b107cca27059687888f08b3. |
| 6 | Changes: Imports, module paths, and namespaces were adapted to the subject-organized PoincareLib library. |
| 7 | License: Apache-2.0. Source licenses and notices are retained under |
| 8 | PoincareConjecture/provenance/2026-09-29/licenses/. |
| 9 | See PoincareConjecture/MODIFICATIONS.md for the reviewed source mapping. |
| 10 | -/ |
| 11 | |
| 12 | import PoincareLib.Analysis.Parabolic.Interior.Kernel.Bounded |
| 13 | import Mathlib.Topology.MetricSpace.HolderNorm |
| 14 | |
| 15 | /-! |
| 16 | # Interior heat kernel: Approximation |
| 17 | |
| 18 | Adapted from Chow--Liao--Qin, HeatKernelApprox.lean, revision |
| 19 | 1b535dd102b94cc42b107cca27059687888f08b3. |
| 20 | Copyright 2026 The DifferentialGeometry contributors. Apache-2.0. |
| 21 | See references/ricci-flow/chow-liao-qin-2026/interior-hessian-reuse.md. |
| 22 | The adaptation changes import paths and namespaces. |
| 23 | -/ |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | open Filter MeasureTheory Real |
| 28 | open scoped Interval RealInnerProductSpace NNReal Topology |
| 29 | |
| 30 | namespace Poincare.Parabolic.Interior.Kernel |
| 31 | |
| 32 | section HalfMoment |
| 33 | |
| 34 | variable {V : Type*} |
| 35 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] |
| 36 | [MeasurableSpace V] [BorelSpace V] |
| 37 | [Nontrivial V] |
| 38 | |
| 39 | def baseHeatHalf (x : V) : ℝ := |
| 40 | Real.sqrt ‖x‖ * baseHeat x |
| 41 | |
| 42 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] in |
| 43 | omit [FiniteDimensional ℝ V] in |
| 44 | theorem baseHeatHalf_nonneg (x : V) : 0 ≤ baseHeatHalf x := by |
| 45 | unfold baseHeatHalf |
| 46 | exact mul_nonneg (Real.sqrt_nonneg _) (baseHeat_nonneg x) |
| 47 | |
| 48 | private theorem baseHeatFirst_int : |
| 49 | Integrable (fun x : V => ‖x‖ * baseHeat x) := by |
| 50 | have h := (gaussMoment_int (V := V) 1 |
| 51 | (by positivity : (0 : ℝ) < (4 : ℝ)⁻¹)).const_mul (baseHeatMass V)⁻¹ |
| 52 | have heq : (fun x : V => ‖x‖ * baseHeat x) = fun x : V => |
| 53 | (baseHeatMass V)⁻¹ * |
| 54 | (‖x‖ ^ 1 * Real.exp (-(4 : ℝ)⁻¹ * ‖x‖ ^ 2)) := by |
| 55 | funext x |
| 56 | unfold baseHeat |
| 57 | ring |
| 58 | rw [heq] |
| 59 | exact h |
| 60 | |
| 61 | theorem baseHeatHalf_int : Integrable (baseHeatHalf : V → ℝ) := by |
| 62 | have hmajor : Integrable (fun x : V => (1 + ‖x‖) * baseHeat x) := by |
| 63 | have h := (baseHeat_int (V := V)).add (baseHeatFirst_int (V := V)) |
| 64 | have heq : (fun x : V => (1 + ‖x‖) * baseHeat x) = |
| 65 | fun x : V => baseHeat x + ‖x‖ * baseHeat x := by |
| 66 | funext x |
| 67 | ring |
| 68 | rw [heq] |
| 69 | exact h |
| 70 | refine hmajor.mono' ?_ ?_ |
| 71 | · apply Continuous.aestronglyMeasurable |
| 72 | unfold baseHeatHalf baseHeat baseHeatMass |
| 73 | fun_prop |
| 74 | filter_upwards with x |
| 75 | rw [Real.norm_eq_abs, abs_of_nonneg (baseHeatHalf_nonneg x)] |
| 76 | have hsqrt : Real.sqrt ‖x‖ ≤ 1 + ‖x‖ := by |
| 77 | rw [Real.sqrt_le_iff] |
| 78 | exact ⟨by positivity, by nlinarith [norm_nonneg x]⟩ |
| 79 | exact mul_le_mul_of_nonneg_right hsqrt (baseHeat_nonneg x) |
| 80 | |
| 81 | def heatC0Half (V : Type*) [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 82 | [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] : ℝ := |
| 83 | ∫ x : V, baseHeatHalf x |
| 84 | |
| 85 | omit [Nontrivial V] in |
| 86 | theorem heatC0Half_nonneg : 0 ≤ heatC0Half V := |
| 87 | integral_nonneg baseHeatHalf_nonneg |
| 88 | |
| 89 | def heatHalf (t : ℝ) (x : V) : ℝ := |
| 90 | ((heatScale t) ^ Module.finrank ℝ V)⁻¹ * Real.sqrt (heatScale t) * |
| 91 | baseHeatHalf ((heatScale t)⁻¹ • x) |
| 92 | |
| 93 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] in |
| 94 | omit [FiniteDimensional ℝ V] in |
| 95 | theorem heatHalf_nonneg {t : ℝ} (ht : 0 < t) (x : V) : |
| 96 | 0 ≤ heatHalf t x := by |
| 97 | unfold heatHalf |
| 98 | exact mul_nonneg |
| 99 | (mul_nonneg (inv_nonneg.mpr (pow_nonneg (heatScale_pos ht).le _)) |
| 100 | (Real.sqrt_nonneg _)) |
| 101 | (baseHeatHalf_nonneg _) |
| 102 | |
| 103 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] in |
| 104 | omit [FiniteDimensional ℝ V] in |
| 105 | theorem heatHalf_eq {t : ℝ} (ht : 0 < t) (x : V) : |
| 106 | heatHalf t x = Real.sqrt ‖x‖ * heatKernel t x := by |
| 107 | have hr : 0 < heatScale t := heatScale_pos ht |
| 108 | have hx : x = heatScale t • ((heatScale t)⁻¹ • x) := by |
| 109 | simp [hr.ne'] |
| 110 | have hsqrt : Real.sqrt ‖x‖ = |
| 111 | Real.sqrt (heatScale t) * Real.sqrt ‖(heatScale t)⁻¹ • x‖ := by |
| 112 | calc |
| 113 | Real.sqrt ‖x‖ = Real.sqrt ‖heatScale t • ((heatScale t)⁻¹ • x)‖ := |
| 114 | congrArg (fun z : V => Real.sqrt ‖z‖) hx |
| 115 | _ = Real.sqrt (heatScale t * ‖(heatScale t)⁻¹ • x‖) := by |
| 116 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos hr] |
| 117 | _ = Real.sqrt (heatScale t) * Real.sqrt ‖(heatScale t)⁻¹ • x‖ := |
| 118 | Real.sqrt_mul hr.le _ |
| 119 | unfold heatHalf heatKernel baseHeatHalf |
| 120 | rw [hsqrt] |
| 121 | ring |
| 122 | |
| 123 | theorem heatHalf_int {t : ℝ} (ht : 0 < t) : |
| 124 | Integrable (heatHalf t : V → ℝ) := by |
| 125 | unfold heatHalf |
| 126 | exact (baseHeatHalf_int (V := V)).comp_smul |
| 127 | (inv_ne_zero (heatScale_pos ht).ne') |>.const_mul _ |
| 128 | |
| 129 | omit [Nontrivial V] in |
| 130 | theorem integral_heatHalf {t : ℝ} (ht : 0 < t) : |
| 131 | ∫ x : V, heatHalf t x = Real.sqrt (heatScale t) * heatC0Half V := by |
| 132 | have hr : 0 < heatScale t := heatScale_pos ht |
| 133 | unfold heatHalf heatC0Half |
| 134 | rw [integral_const_mul, |
| 135 | Measure.integral_comp_inv_smul_of_nonneg (volume : Measure V) baseHeatHalf hr.le] |
| 136 | simp only [smul_eq_mul] |
| 137 | field_simp [hr.ne'] |
| 138 | |
| 139 | end HalfMoment |
| 140 | |
| 141 | section ApproxIdentity |
| 142 | |
| 143 | variable {V F : Type*} |
| 144 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] |
| 145 | [MeasurableSpace V] [BorelSpace V] |
| 146 | [Nontrivial V] |
| 147 | [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] |
| 148 | |
| 149 | omit [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] |
| 150 | [BorelSpace V] [Nontrivial V] [NormedSpace ℝ F] [CompleteSpace F] in |
| 151 | private theorem holder_half {K : ℝ≥0} {u : V → F} |
| 152 | (hu : HolderWith K (1 / 2 : ℝ≥0) u) (x y : V) : |
| 153 | ‖u (x - y) - u x‖ ≤ (K : ℝ) * Real.sqrt ‖y‖ := by |
| 154 | have hxy : dist (x - y) x = ‖y‖ := by |
| 155 | rw [dist_eq_norm] |
| 156 | have : (x - y) - x = -y := by abel |
| 157 | rw [this, norm_neg] |
| 158 | have h := hu.dist_le (x - y) x |
| 159 | rw [dist_eq_norm, hxy] at h |
| 160 | simpa [Real.sqrt_eq_rpow] using h |
| 161 | |
| 162 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] [CompleteSpace F] in |
| 163 | omit [FiniteDimensional ℝ V] in |
| 164 | private theorem approx_integrand {t : ℝ} (ht : 0 < t) {K : ℝ≥0} |
| 165 | {u : V → F} (hu : HolderWith K (1 / 2 : ℝ≥0) u) (x y : V) : |
| 166 | ‖heatKernel t y • (u (x - y) - u x)‖ ≤ |
| 167 | (K : ℝ) * heatHalf t y := by |
| 168 | rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (heatKernel_nonneg ht y)] |
| 169 | calc |
| 170 | heatKernel t y * ‖u (x - y) - u x‖ |
| 171 | ≤ heatKernel t y * ((K : ℝ) * Real.sqrt ‖y‖) := |
| 172 | mul_le_mul_of_nonneg_left (holder_half hu x y) (heatKernel_nonneg ht y) |
| 173 | _ = (K : ℝ) * heatHalf t y := by |
| 174 | rw [heatHalf_eq ht] |
| 175 | ring |
| 176 | |
| 177 | theorem heatSup_id_norm {t : ℝ} (ht : 0 < t) {K : ℝ≥0} |
| 178 | {u : BoundedContinuousFunction V F} (hu : HolderWith K (1 / 2 : ℝ≥0) u) (x : V) : |
| 179 | ‖heatSup t u x - u x‖ ≤ |
| 180 | (K : ℝ) * Real.sqrt (heatScale t) * heatC0Half V := by |
| 181 | have hdiff : Integrable |
| 182 | (fun y : V => heatKernel t y • (u (x - y) - u x)) := by |
| 183 | refine ((heatHalf_int (V := V) ht).const_mul (K : ℝ)).mono' ?_ ?_ |
| 184 | · apply Continuous.aestronglyMeasurable |
| 185 | unfold heatKernel baseHeat baseHeatMass heatScale |
| 186 | fun_prop |
| 187 | filter_upwards with y |
| 188 | exact approx_integrand ht hu x y |
| 189 | have hraw := supKernel_int (heatKernel_int (V := V) ht) u x |
| 190 | have hconst := (heatKernel_int (V := V) ht).smul_const (u x) |
| 191 | have heq : heatSup t u x - u x = |
| 192 | ∫ y : V, heatKernel t y • (u (x - y) - u x) := by |
| 193 | unfold heatSup supKernel |
| 194 | calc |
| 195 | (∫ y : V, heatKernel t y • u (x - y)) - u x = |
| 196 | (∫ y : V, heatKernel t y • u (x - y)) - |
| 197 | ∫ y : V, heatKernel t y • u x := by |
| 198 | rw [integral_smul_const, integral_heatKernel ht, one_smul] |
| 199 | _ = ∫ y : V, |
| 200 | heatKernel t y • u (x - y) - heatKernel t y • u x := |
| 201 | (integral_sub hraw hconst).symm |
| 202 | _ = ∫ y : V, heatKernel t y • (u (x - y) - u x) := by |
| 203 | apply integral_congr_ae |
| 204 | filter_upwards with y |
| 205 | rw [smul_sub] |
| 206 | rw [heq] |
| 207 | calc |
| 208 | ‖∫ y : V, heatKernel t y • (u (x - y) - u x)‖ |
| 209 | ≤ ∫ y : V, (K : ℝ) * heatHalf t y := |
| 210 | norm_integral_le_of_norm_le ((heatHalf_int (V := V) ht).const_mul (K : ℝ)) |
| 211 | (Filter.Eventually.of_forall fun y => approx_integrand ht hu x y) |
| 212 | _ = (K : ℝ) * (Real.sqrt (heatScale t) * heatC0Half V) := by |
| 213 | rw [integral_const_mul, integral_heatHalf ht] |
| 214 | _ = (K : ℝ) * Real.sqrt (heatScale t) * heatC0Half V := by ring |
| 215 | |
| 216 | def baseHeatHolder (alpha : NNReal) (x : V) : Real := |
| 217 | ‖x‖ ^ (alpha : Real) * baseHeat x |
| 218 | |
| 219 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] in |
| 220 | omit [FiniteDimensional ℝ V] in |
| 221 | theorem baseHeatHolder_nonneg (alpha : NNReal) (x : V) : |
| 222 | 0 ≤ baseHeatHolder alpha x := |
| 223 | mul_nonneg (Real.rpow_nonneg (norm_nonneg x) _) (baseHeat_nonneg x) |
| 224 | |
| 225 | theorem baseHeatHolder_int {alpha : NNReal} (halpha : alpha ≤ 1) : |
| 226 | Integrable (baseHeatHolder alpha : V → Real) := by |
| 227 | have hmajor : Integrable (fun x : V => (1 + ‖x‖) * baseHeat x) := by |
| 228 | have h := (baseHeat_int (V := V)).add (baseHeatFirst_int (V := V)) |
| 229 | have heq : (fun x : V => (1 + ‖x‖) * baseHeat x) = |
| 230 | fun x : V => baseHeat x + ‖x‖ * baseHeat x := by |
| 231 | funext x |
| 232 | ring |
| 233 | rw [heq] |
| 234 | exact h |
| 235 | refine hmajor.mono' ?_ ?_ |
| 236 | · have hpow : Continuous (fun x : V => ‖x‖ ^ (alpha : Real)) := |
| 237 | continuous_norm.rpow_const (fun _ => Or.inr alpha.coe_nonneg) |
| 238 | have hheat : Continuous (baseHeat : V → Real) := by |
| 239 | unfold baseHeat baseHeatMass |
| 240 | fun_prop |
| 241 | exact (hpow.mul hheat).aestronglyMeasurable |
| 242 | filter_upwards with x |
| 243 | rw [Real.norm_eq_abs, abs_of_nonneg (baseHeatHolder_nonneg alpha x)] |
| 244 | have hrpow : ‖x‖ ^ (alpha : Real) ≤ 1 + ‖x‖ := by |
| 245 | by_cases hx : ‖x‖ ≤ 1 |
| 246 | · exact (Real.rpow_le_one (norm_nonneg x) hx alpha.coe_nonneg).trans |
| 247 | (le_add_of_nonneg_right (norm_nonneg x)) |
| 248 | · have hx' : 1 ≤ ‖x‖ := le_of_not_ge hx |
| 249 | exact (Real.rpow_le_self_of_one_le hx' (by exact_mod_cast halpha)).trans |
| 250 | (le_add_of_nonneg_left zero_le_one) |
| 251 | exact mul_le_mul_of_nonneg_right hrpow (baseHeat_nonneg x) |
| 252 | |
| 253 | def heatC0Holder (alpha : NNReal) : Real := |
| 254 | ∫ x : V, baseHeatHolder alpha x |
| 255 | |
| 256 | omit [Nontrivial V] in |
| 257 | theorem heatC0Holder_nonneg (alpha : NNReal) : |
| 258 | 0 ≤ heatC0Holder (V := V) alpha := |
| 259 | integral_nonneg (baseHeatHolder_nonneg alpha) |
| 260 | |
| 261 | def heatHolder (alpha : NNReal) (t : Real) (x : V) : Real := |
| 262 | ((heatScale t) ^ Module.finrank Real V)⁻¹ * |
| 263 | (heatScale t) ^ (alpha : Real) * |
| 264 | baseHeatHolder alpha ((heatScale t)⁻¹ • x) |
| 265 | |
| 266 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] in |
| 267 | omit [FiniteDimensional ℝ V] in |
| 268 | theorem heatHolder_nonneg (alpha : NNReal) {t : Real} (ht : 0 < t) (x : V) : |
| 269 | 0 ≤ heatHolder alpha t x := by |
| 270 | unfold heatHolder |
| 271 | exact mul_nonneg |
| 272 | (mul_nonneg |
| 273 | (inv_nonneg.mpr (pow_nonneg (heatScale_pos ht).le _)) |
| 274 | (Real.rpow_nonneg (heatScale_pos ht).le _)) |
| 275 | (baseHeatHolder_nonneg alpha _) |
| 276 | |
| 277 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] in |
| 278 | omit [FiniteDimensional ℝ V] in |
| 279 | theorem heatHolder_eq (alpha : NNReal) {t : Real} (ht : 0 < t) (x : V) : |
| 280 | heatHolder alpha t x = ‖x‖ ^ (alpha : Real) * heatKernel t x := by |
| 281 | have hr : 0 < heatScale t := heatScale_pos ht |
| 282 | have hx : x = heatScale t • ((heatScale t)⁻¹ • x) := by |
| 283 | simp [hr.ne'] |
| 284 | have hrpow : ‖x‖ ^ (alpha : Real) = |
| 285 | (heatScale t) ^ (alpha : Real) * |
| 286 | ‖(heatScale t)⁻¹ • x‖ ^ (alpha : Real) := by |
| 287 | calc |
| 288 | ‖x‖ ^ (alpha : Real) = |
| 289 | ‖heatScale t • ((heatScale t)⁻¹ • x)‖ ^ (alpha : Real) := |
| 290 | congrArg (fun z : V => ‖z‖ ^ (alpha : Real)) hx |
| 291 | _ = (heatScale t * ‖(heatScale t)⁻¹ • x‖) ^ (alpha : Real) := by |
| 292 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos hr] |
| 293 | _ = (heatScale t) ^ (alpha : Real) * |
| 294 | ‖(heatScale t)⁻¹ • x‖ ^ (alpha : Real) := |
| 295 | Real.mul_rpow hr.le (norm_nonneg _) |
| 296 | unfold heatHolder heatKernel baseHeatHolder |
| 297 | rw [hrpow] |
| 298 | ring |
| 299 | |
| 300 | theorem heatHolder_int {alpha : NNReal} (halpha : alpha ≤ 1) |
| 301 | {t : Real} (ht : 0 < t) : |
| 302 | Integrable (heatHolder (V := V) alpha t) := by |
| 303 | unfold heatHolder |
| 304 | exact (baseHeatHolder_int (V := V) halpha).comp_smul |
| 305 | (inv_ne_zero (heatScale_pos ht).ne') |>.const_mul _ |
| 306 | |
| 307 | omit [Nontrivial V] in |
| 308 | theorem integral_heatHolder (alpha : NNReal) {t : Real} (ht : 0 < t) : |
| 309 | ∫ x : V, heatHolder alpha t x = |
| 310 | (heatScale t) ^ (alpha : Real) * heatC0Holder (V := V) alpha := by |
| 311 | have hr : 0 < heatScale t := heatScale_pos ht |
| 312 | unfold heatHolder heatC0Holder |
| 313 | rw [integral_const_mul, |
| 314 | Measure.integral_comp_inv_smul_of_nonneg |
| 315 | (volume : Measure V) (baseHeatHolder alpha) hr.le] |
| 316 | simp only [smul_eq_mul] |
| 317 | field_simp [hr.ne'] |
| 318 | |
| 319 | omit [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] |
| 320 | [BorelSpace V] [Nontrivial V] [NormedSpace ℝ F] [CompleteSpace F] in |
| 321 | private theorem holder_shift {alpha K : NNReal} {u : V → F} |
| 322 | (hu : HolderWith K alpha u) (x y : V) : |
| 323 | ‖u (x - y) - u x‖ ≤ (K : Real) * ‖y‖ ^ (alpha : Real) := by |
| 324 | have hxy : dist (x - y) x = ‖y‖ := by |
| 325 | rw [dist_eq_norm] |
| 326 | have : (x - y) - x = -y := by abel |
| 327 | rw [this, norm_neg] |
| 328 | have h := hu.dist_le (x - y) x |
| 329 | rw [dist_eq_norm, hxy] at h |
| 330 | exact h |
| 331 | |
| 332 | omit [MeasurableSpace V] [BorelSpace V] [Nontrivial V] [CompleteSpace F] in |
| 333 | omit [FiniteDimensional ℝ V] in |
| 334 | private theorem holder_approx_integrand {alpha K : NNReal} |
| 335 | {t : Real} (ht : 0 < t) {u : V → F} (hu : HolderWith K alpha u) |
| 336 | (x y : V) : |
| 337 | ‖heatKernel t y • (u (x - y) - u x)‖ ≤ |
| 338 | (K : Real) * heatHolder alpha t y := by |
| 339 | rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (heatKernel_nonneg ht y)] |
| 340 | calc |
| 341 | heatKernel t y * ‖u (x - y) - u x‖ ≤ |
| 342 | heatKernel t y * ((K : Real) * ‖y‖ ^ (alpha : Real)) := |
| 343 | mul_le_mul_of_nonneg_left (holder_shift hu x y) (heatKernel_nonneg ht y) |
| 344 | _ = (K : Real) * heatHolder alpha t y := by |
| 345 | rw [heatHolder_eq alpha ht] |
| 346 | ring |
| 347 | |
| 348 | theorem heatSup_id_norm_of_holder {alpha K : NNReal} |
| 349 | (halpha : alpha ≤ 1) {t : Real} (ht : 0 < t) |
| 350 | {u : BoundedContinuousFunction V F} (hu : HolderWith K alpha u) (x : V) : |
| 351 | ‖heatSup t u x - u x‖ ≤ |
| 352 | (K : Real) * (heatScale t) ^ (alpha : Real) * |
| 353 | heatC0Holder (V := V) alpha := by |
| 354 | have hdiff : Integrable |
| 355 | (fun y : V => heatKernel t y • (u (x - y) - u x)) := by |
| 356 | refine ((heatHolder_int (V := V) halpha ht).const_mul (K : Real)).mono' ?_ ?_ |
| 357 | · apply Continuous.aestronglyMeasurable |
| 358 | unfold heatKernel baseHeat baseHeatMass heatScale |
| 359 | fun_prop |
| 360 | filter_upwards with y |
| 361 | exact holder_approx_integrand ht hu x y |
| 362 | have hraw := supKernel_int (heatKernel_int (V := V) ht) u x |
| 363 | have hconst := (heatKernel_int (V := V) ht).smul_const (u x) |
| 364 | have heq : heatSup t u x - u x = |
| 365 | ∫ y : V, heatKernel t y • (u (x - y) - u x) := by |
| 366 | unfold heatSup supKernel |
| 367 | calc |
| 368 | (∫ y : V, heatKernel t y • u (x - y)) - u x = |
| 369 | (∫ y : V, heatKernel t y • u (x - y)) - |
| 370 | ∫ y : V, heatKernel t y • u x := by |
| 371 | rw [integral_smul_const, integral_heatKernel ht, one_smul] |
| 372 | _ = ∫ y : V, |
| 373 | heatKernel t y • u (x - y) - heatKernel t y • u x := |
| 374 | (integral_sub hraw hconst).symm |
| 375 | _ = ∫ y : V, heatKernel t y • (u (x - y) - u x) := by |
| 376 | apply integral_congr_ae |
| 377 | filter_upwards with y |
| 378 | rw [smul_sub] |
| 379 | rw [heq] |
| 380 | calc |
| 381 | ‖∫ y : V, heatKernel t y • (u (x - y) - u x)‖ ≤ |
| 382 | ∫ y : V, (K : Real) * heatHolder alpha t y := |
| 383 | norm_integral_le_of_norm_le |
| 384 | ((heatHolder_int (V := V) halpha ht).const_mul (K : Real)) |
| 385 | (Filter.Eventually.of_forall fun y => holder_approx_integrand ht hu x y) |
| 386 | _ = (K : Real) * |
| 387 | ((heatScale t) ^ (alpha : Real) * heatC0Holder (V := V) alpha) := by |
| 388 | rw [integral_const_mul, integral_heatHolder alpha ht] |
| 389 | _ = (K : Real) * (heatScale t) ^ (alpha : Real) * |
| 390 | heatC0Holder (V := V) alpha := by ring |
| 391 | |
| 392 | theorem heatSup_zero_of_holder {alpha K : NNReal} (halpha0 : 0 < alpha) |
| 393 | (halpha1 : alpha ≤ 1) (u : BoundedContinuousFunction V F) |
| 394 | (hu : HolderWith K alpha u) (x : V) : |
| 395 | Tendsto (fun t : Real => heatSup t u x) (𝓝[>] (0 : Real)) (𝓝 (u x)) := by |
| 396 | rw [tendsto_iff_norm_sub_tendsto_zero] |
| 397 | have hscale : Tendsto heatScale (𝓝[>] (0 : Real)) (𝓝 0) := by |
| 398 | have hfull : Tendsto (fun t : Real => Real.sqrt t) (𝓝 0) (𝓝 0) := by |
| 399 | simpa only [Real.sqrt_zero] using Real.continuous_sqrt.tendsto (0 : Real) |
| 400 | change Tendsto (fun t : Real => Real.sqrt t) (𝓝[>] 0) (𝓝 0) |
| 401 | exact hfull.mono_left nhdsWithin_le_nhds |
| 402 | have halphaReal : 0 < (alpha : Real) := by exact_mod_cast halpha0 |
| 403 | have hrpow : Tendsto (fun t : Real => (heatScale t) ^ (alpha : Real)) |
| 404 | (𝓝[>] (0 : Real)) (𝓝 0) := by |
| 405 | have hcont := Real.continuousAt_rpow_const 0 (alpha : Real) |
| 406 | (Or.inr halphaReal.le) |
| 407 | change Tendsto ((fun x : Real => x ^ (alpha : Real)) ∘ heatScale) |
| 408 | (𝓝[>] 0) (𝓝 0) |
| 409 | simpa only [Real.zero_rpow halphaReal.ne'] using hcont.tendsto.comp hscale |
| 410 | have hupper : Tendsto |
| 411 | (fun t : Real => (K : Real) * (heatScale t) ^ (alpha : Real) * |
| 412 | heatC0Holder (V := V) alpha) |
| 413 | (𝓝[>] (0 : Real)) (𝓝 0) := by |
| 414 | simpa only [mul_zero, zero_mul] using |
| 415 | (hrpow.const_mul (K : Real)).mul_const (heatC0Holder (V := V) alpha) |
| 416 | refine squeeze_zero' (Filter.Eventually.of_forall fun t => norm_nonneg _) ?_ hupper |
| 417 | filter_upwards [self_mem_nhdsWithin] with t ht |
| 418 | exact heatSup_id_norm_of_holder halpha1 ht hu x |
| 419 | |
| 420 | end ApproxIdentity |
| 421 | |
| 422 | end Poincare.Parabolic.Interior.Kernel |