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 | import PoincareLib.Analysis.Parabolic.Interior.Kernel.HolderMoment |
| 2 | |
| 3 | /-! |
| 4 | # Centered Hessian heat-potential estimates |
| 5 | |
| 6 | A source bounded by a Holder power of the distance to the evaluation point |
| 7 | has an integrable Hessian heat potential there. Only the centered bound is |
| 8 | used: no Holder seminorm of the source is required. This is the estimate |
| 9 | needed for the coefficient-freezing defect `(a(y) - a(0)) D^2 u(y)`. |
| 10 | |
| 11 | The Gaussian moment inputs are adapted from Chow--Liao--Qin; see the source |
| 12 | record in `references/ricci-flow/chow-liao-qin-2026/interior-hessian-reuse.md`. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open MeasureTheory Set |
| 18 | open scoped NNReal |
| 19 | |
| 20 | namespace Poincare.Parabolic.Interior.Kernel |
| 21 | |
| 22 | variable {V F : Type*} |
| 23 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] |
| 24 | [MeasurableSpace V] [BorelSpace V] [Nontrivial V] |
| 25 | [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] |
| 26 | |
| 27 | omit [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] |
| 28 | [Nontrivial V] [CompleteSpace F] in |
| 29 | /-- The centered Holder weight cancels the nonintegrable Hessian singularity. -/ |
| 30 | theorem norm_heatD2_smul_le_of_centered_bound |
| 31 | {α : ℝ≥0} {K t : ℝ} (ht : 0 < t) {f : V → F} |
| 32 | (hf : ∀ y, ‖f y‖ ≤ K * ‖y‖ ^ (α : ℝ)) (v w y : V) : |
| 33 | ‖heatD2 t v w y • f y‖ ≤ ‖v‖ * ‖w‖ * K * heatD2Holder α t y := by |
| 34 | calc |
| 35 | ‖heatD2 t v w y • f y‖ = ‖heatD2 t v w y‖ * ‖f y‖ := norm_smul _ _ |
| 36 | _ ≤ ‖heatD2 t v w y‖ * (K * ‖y‖ ^ (α : ℝ)) := |
| 37 | mul_le_mul_of_nonneg_left (hf y) (norm_nonneg _) |
| 38 | _ = K * (‖heatD2 t v w y‖ * ‖y‖ ^ (α : ℝ)) := by ring |
| 39 | _ ≤ K * (‖v‖ * ‖w‖ * heatD2Holder α t y) := by |
| 40 | by_cases hK : 0 ≤ K |
| 41 | · exact mul_le_mul_of_nonneg_left (heatD2_holder_bound α ht v w y) hK |
| 42 | · have hnonpos : K * ‖y‖ ^ (α : ℝ) ≤ 0 := |
| 43 | mul_nonpos_of_nonpos_of_nonneg (le_of_not_ge hK) |
| 44 | (Real.rpow_nonneg (norm_nonneg _) _) |
| 45 | have hy : ‖y‖ ^ (α : ℝ) = 0 := by |
| 46 | have := (norm_nonneg (f y)).trans (hf y) |
| 47 | nlinarith |
| 48 | rw [heatD2Holder_eq α ht, hy] |
| 49 | simp |
| 50 | _ = ‖v‖ * ‖w‖ * K * heatD2Holder α t y := by ring |
| 51 | |
| 52 | omit [CompleteSpace F] in |
| 53 | /-- Spatial integrability of a centered source against a Hessian kernel. -/ |
| 54 | theorem integrable_heatD2_smul_of_centered_bound |
| 55 | {α : ℝ≥0} (hα : α ≤ 1) {K t : ℝ} (ht : 0 < t) {f : V → F} |
| 56 | (hm : AEStronglyMeasurable f) |
| 57 | (hf : ∀ y, ‖f y‖ ≤ K * ‖y‖ ^ (α : ℝ)) (v w : V) : |
| 58 | Integrable (fun y => heatD2 t v w y • f y) := by |
| 59 | refine ((heatD2Holder_int hα ht).const_mul (‖v‖ * ‖w‖ * K)).mono' ?_ ?_ |
| 60 | · exact (heatD2_int ht v w).aestronglyMeasurable.smul hm |
| 61 | · exact Filter.Eventually.of_forall (norm_heatD2_smul_le_of_centered_bound ht hf v w) |
| 62 | |
| 63 | omit [CompleteSpace F] in |
| 64 | /-- A centered source estimate suffices for the spatial Hessian-potential bound. -/ |
| 65 | theorem norm_integral_heatD2_smul_le_of_centered_bound |
| 66 | {α : ℝ≥0} (hα : α ≤ 1) {K t : ℝ} (ht : 0 < t) {f : V → F} |
| 67 | (hf : ∀ y, ‖f y‖ ≤ K * ‖y‖ ^ (α : ℝ)) (v w : V) : |
| 68 | ‖∫ y, heatD2 t v w y • f y‖ ≤ |
| 69 | ‖v‖ * ‖w‖ * K * holderHeatScale α t * heatC2Holder (V := V) α := by |
| 70 | calc |
| 71 | ‖∫ y, heatD2 t v w y • f y‖ ≤ |
| 72 | ∫ y, (‖v‖ * ‖w‖ * K) * heatD2Holder α t y := |
| 73 | norm_integral_le_of_norm_le ((heatD2Holder_int hα ht).const_mul _) |
| 74 | (Filter.Eventually.of_forall (norm_heatD2_smul_le_of_centered_bound ht hf v w)) |
| 75 | _ = ‖v‖ * ‖w‖ * K * holderHeatScale α t * heatC2Holder (V := V) α := by |
| 76 | rw [integral_const_mul, integral_heatD2Holder α ht, holderHeatScale_eq α ht] |
| 77 | ring |
| 78 | |
| 79 | omit [CompleteSpace F] in |
| 80 | /-- The time integral contributes the positive factor `t^(α/2)`, which tends |
| 81 | to zero as the cylinder shrinks. No source Holder seminorm occurs. -/ |
| 82 | theorem norm_hessian_potential_le_of_centered_bound |
| 83 | {α : ℝ≥0} (hα0 : 0 < α) (hα1 : α ≤ 1) {K t : ℝ} |
| 84 | (ht : 0 < t) {f : ℝ → V → F} |
| 85 | (hf : ∀ s ∈ Ioo (0 : ℝ) t, ∀ y, ‖f s y‖ ≤ K * ‖y‖ ^ (α : ℝ)) |
| 86 | (v w : V) : |
| 87 | ‖∫ s in 0..t, ∫ y, heatD2 (t - s) v w y • f s y‖ ≤ |
| 88 | (‖v‖ * ‖w‖ * K * heatC2Holder (V := V) α) * |
| 89 | ((2 / (α : ℝ)) * t ^ ((α : ℝ) / 2)) := by |
| 90 | have hmajor := (holderHeatScale_intble hα0 (t := t)).const_mul |
| 91 | (‖v‖ * ‖w‖ * K * heatC2Holder (V := V) α) |
| 92 | have hbound : ∀ s ∈ Ioo (0 : ℝ) t, |
| 93 | ‖∫ y, heatD2 (t - s) v w y • f s y‖ ≤ |
| 94 | (‖v‖ * ‖w‖ * K * heatC2Holder (V := V) α) * holderHeatScale α (t - s) := by |
| 95 | intro s hs |
| 96 | exact (norm_integral_heatD2_smul_le_of_centered_bound hα1 |
| 97 | (sub_pos.mpr hs.2) (hf s hs) v w).trans_eq (by ring) |
| 98 | calc |
| 99 | ‖∫ s in 0..t, ∫ y, heatD2 (t - s) v w y • f s y‖ ≤ |
| 100 | ∫ s in 0..t, (‖v‖ * ‖w‖ * K * heatC2Holder (V := V) α) * |
| 101 | holderHeatScale α (t - s) := by |
| 102 | refine intervalIntegral.norm_integral_le_of_norm_le ht.le ?_ hmajor |
| 103 | have hne : ∀ᵐ s ∂(volume : Measure ℝ), s ≠ t := by |
| 104 | simp [ae_iff, measure_singleton] |
| 105 | filter_upwards [hne] with s hst hs |
| 106 | exact hbound s ⟨hs.1, lt_of_le_of_ne hs.2 hst⟩ |
| 107 | _ = _ := by |
| 108 | rw [intervalIntegral.integral_const_mul, timeHolderHeatScale_int hα0] |
| 109 | |
| 110 | end Poincare.Parabolic.Interior.Kernel |