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.Spacetime.Rescaling.Time |
| 2 | |
| 3 | /-! Ported from Mapher06/Poincare-MorganTian, `PoincareMT/Definitions/M13AtlasRescaling.lean`, |
| 4 | revision `49331b7d7ecad38f53e4300c3b35d6a84b2cc648`. |
| 5 | Declaration bodies are unchanged; only imports and module placement differ. -/ |
| 6 | |
| 7 | /-! |
| 8 | # Exact affine rescaling of a raw adapted atlas |
| 9 | |
| 10 | Morgan-Tian Definition 3.40, p. 61, on the adapted presentations of |
| 11 | Definitions 3.34-3.35, pp. 59-60. This is construction output: the new atlas |
| 12 | has the same carrier, box indices, spatial domains and spatial transitions. |
| 13 | Only its clock and metric coefficients change. No existence is built into a |
| 14 | definition or supplied as a premise of the full M13 theorem. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | open scoped Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT |
| 24 | |
| 25 | /-- An actual raw rescaled atlas with its prescribed maps and coefficients. -/ |
| 26 | structure ParabolicAtlasRescaling {n : ℕ} {X : Type u} [TopologicalSpace X] |
| 27 | (A : AdaptedMetricAtlas n X) (Q : ℝ) (hQ : 0 < Q) (a : ℝ) where |
| 28 | atlas : AdaptedMetricAtlas n X |
| 29 | time_eq : atlas.time = fun p ↦ parabolicTime Q a (A.time p) |
| 30 | interval_eq : atlas.interval = parabolicInterval Q hQ a A.interval |
| 31 | box_index_eq : atlas.box_index = A.box_index |
| 32 | box_interval : ∀ b : A.box_index, |
| 33 | (atlas.box (cast box_index_eq.symm b)).interval = |
| 34 | parabolicInterval Q hQ a (A.box b).interval |
| 35 | box_spatial : ∀ b : A.box_index, |
| 36 | (atlas.box (cast box_index_eq.symm b)).spatial = (A.box b).spatial |
| 37 | box_map : ∀ (b : A.box_index) (t : (A.box b).interval.domain) |
| 38 | (x : (A.box b).spatial), |
| 39 | (atlas.box (cast box_index_eq.symm b)).toSpacetime |
| 40 | (⟨parabolicTime Q a t.val, by |
| 41 | rw [box_interval b] |
| 42 | exact (parabolicTime_mem_parabolicInterval_iff Q hQ a |
| 43 | (A.box b).interval t.val).2 t.property⟩, |
| 44 | ⟨x.val, by rw [box_spatial b]; exact x.property⟩) = |
| 45 | (A.box b).toSpacetime (t, x) |
| 46 | metric_eq : ∀ (b : A.box_index) (t : ℝ) (x v w : EuclideanSpace ℝ (Fin n)), |
| 47 | (atlas.box (cast box_index_eq.symm b)).metric (t, x) v w = |
| 48 | Q * (A.box b).metric (parabolicTimeInv Q a t, x) v w |
| 49 | transition_transport : ∀ (b c : A.box_index) (t : ℝ) |
| 50 | (x y : EuclideanSpace ℝ (Fin n)) |
| 51 | (θ : AdaptedMetricTransition (A.box b) (A.box c) t x y), |
| 52 | ∃ θ' : AdaptedMetricTransition |
| 53 | (atlas.box (cast box_index_eq.symm b)) |
| 54 | (atlas.box (cast box_index_eq.symm c)) (parabolicTime Q a t) x y, |
| 55 | θ'.coordinateChange = θ.coordinateChange ∧ |
| 56 | θ'.interval = parabolicInterval Q hQ a θ.interval |
| 57 | |
| 58 | end PoincareMT |