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.Geometry.Manifold.Transport |
| 2 | import PoincareLib.Topology.SecondCountable.Small |
| 3 | |
| 4 | /-! |
| 5 | # Smooth manifold models in universe zero |
| 6 | |
| 7 | The countable-basis injection makes a second-countable T0 manifold small. |
| 8 | Transporting its atlas along `equivShrink` then gives an actual smooth |
| 9 | diffeomorphism to the universe-zero carrier. All transferred structures are |
| 10 | explicit, so importing this module does not add global shrinking instances. |
| 11 | -/ |
| 12 | |
| 13 | open scoped Manifold ContDiff |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | namespace Poincare.Manifold |
| 18 | |
| 19 | /-- The atlas transported to the universe-zero topological model. -/ |
| 20 | @[instance_reducible] |
| 21 | noncomputable def shrinkChartedSpace (H : Type*) [TopologicalSpace H] |
| 22 | (M : Type u) [TopologicalSpace M] [T0Space M] [SecondCountableTopology M] |
| 23 | [ChartedSpace H M] : |
| 24 | letI : Small.{0} M := Poincare.Topology.SecondCountable.small M |
| 25 | ChartedSpace H (Shrink.{0} M) := by |
| 26 | letI : Small.{0} M := Poincare.Topology.SecondCountable.small M |
| 27 | exact HomeomorphTransport.chartedSpace (H := H) |
| 28 | (Poincare.Topology.SecondCountable.homeomorphShrink M) |
| 29 | |
| 30 | variable {𝕜 E H : Type*} [NontriviallyNormedField 𝕜] [NormedAddCommGroup E] |
| 31 | [NormedSpace 𝕜 E] [TopologicalSpace H] (I : ModelWithCorners 𝕜 E H) |
| 32 | (M : Type u) [TopologicalSpace M] [T0Space M] [SecondCountableTopology M] |
| 33 | [ChartedSpace H M] [IsManifold I ∞ M] |
| 34 | |
| 35 | /-- The transported atlas is smooth, without an additional compatibility premise. -/ |
| 36 | theorem shrinkIsManifold : |
| 37 | letI : Small.{0} M := Poincare.Topology.SecondCountable.small M |
| 38 | letI := shrinkChartedSpace H M |
| 39 | IsManifold I ∞ (Shrink.{0} M) := by |
| 40 | let : Small.{0} M := Poincare.Topology.SecondCountable.small M |
| 41 | let := shrinkChartedSpace H M |
| 42 | exact HomeomorphTransport.isManifold |
| 43 | (Poincare.Topology.SecondCountable.homeomorphShrink M) I ∞ |
| 44 | |
| 45 | /-- The original manifold is smoothly diffeomorphic to its universe-zero model. -/ |
| 46 | noncomputable def shrinkDiffeomorph : |
| 47 | letI : Small.{0} M := Poincare.Topology.SecondCountable.small M |
| 48 | letI := shrinkChartedSpace H M |
| 49 | Diffeomorph I I M (Shrink.{0} M) ∞ := by |
| 50 | letI : Small.{0} M := Poincare.Topology.SecondCountable.small M |
| 51 | letI := shrinkChartedSpace H M |
| 52 | exact HomeomorphTransport.diffeomorph |
| 53 | (Poincare.Topology.SecondCountable.homeomorphShrink M) I ∞ |
| 54 | |
| 55 | /-- The smooth equivalence has exactly the underlying map `equivShrink`. -/ |
| 56 | theorem shrinkDiffeomorph_toEquiv : |
| 57 | letI : Small.{0} M := Poincare.Topology.SecondCountable.small M |
| 58 | letI := shrinkChartedSpace H M |
| 59 | (shrinkDiffeomorph I M).toEquiv = equivShrink M := rfl |
| 60 | |
| 61 | end Poincare.Manifold |