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 Mathlib.MeasureTheory.Function.AbsolutelyContinuous |
| 2 | |
| 3 | /-! |
| 4 | # Absolute continuity of vector integral primitives |
| 5 | |
| 6 | The scalar primitive of the integrand's norm controls every vector |
| 7 | increment. Its epsilon-delta estimate therefore gives absolute continuity |
| 8 | of the Bochner primitive. This supplies the horizontal trace step in |
| 9 | `derivations/2026-09-26-raw-annulus-chart-traces.md` for the annular |
| 10 | regularity argument of MT Lemma 19.15, pp. 447-449. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set MeasureTheory |
| 18 | |
| 19 | namespace PoincareMT |
| 20 | |
| 21 | /-- A Banach-valued interval integral is absolutely continuous, by comparison with the |
| 22 | scalar primitive of its norm. Source: the raw annulus chart/trace derivation, section "The |
| 23 | averages are actual Sobolev traces". Source/construction: |
| 24 | proof-work/tasks/M64/derivations/2026-09-26-raw-annulus-chart-traces.md, The averages are |
| 25 | actual Sobolev traces. -/ |
| 26 | theorem intervalIntegral_vector_absolutelyContinuous |
| 27 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 28 | {f : ℝ → E} {a b c : ℝ} (hf : IntervalIntegrable f volume a b) |
| 29 | (hc : c ∈ uIcc a b) : |
| 30 | AbsolutelyContinuousOnInterval (fun x => ∫ t in c..x, f t) a b := by |
| 31 | have hnorm : AbsolutelyContinuousOnInterval |
| 32 | (fun x => ∫ t in c..x, ‖f t‖) a b := |
| 33 | hf.norm.absolutelyContinuousOnInterval_intervalIntegral hc |
| 34 | rw [absolutelyContinuousOnInterval_iff] at hnorm ⊢ |
| 35 | intro ε hε |
| 36 | obtain ⟨δ, hδ, hbound⟩ := hnorm ε hε |
| 37 | refine ⟨δ, hδ, fun I hI hlen => ?_⟩ |
| 38 | refine lt_of_le_of_lt (Finset.sum_le_sum fun i hi => ?_) (hbound I hI hlen) |
| 39 | have hcu : IntervalIntegrable f volume c (I.2 i).1 := |
| 40 | hf.mono_set (uIcc_subset_uIcc hc (hI.1 i hi).1) |
| 41 | have hcv : IntervalIntegrable f volume c (I.2 i).2 := |
| 42 | hf.mono_set (uIcc_subset_uIcc hc (hI.1 i hi).2) |
| 43 | rw [dist_eq_norm, Real.dist_eq, |
| 44 | intervalIntegral.integral_interval_sub_left hcu hcv, |
| 45 | intervalIntegral.integral_interval_sub_left hcu.norm hcv.norm] |
| 46 | exact intervalIntegral.norm_integral_le_abs_integral_norm |
| 47 | |
| 48 | end PoincareMT |