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.RicciFlow.Generalized.Noncollapse.Combined |
| 2 | |
| 3 | /-! Adapted from Mapher `PoincareMT/Proofs/M15/Thm8_1_Reduction.lean` at |
| 4 | `0c5d5c4e1ecbc12703b1994e226df1b15d2e8d39`. See the source mapping in |
| 5 | `references/ricci-flow/mapher/noncollapse/import.json`. -/ |
| 6 | |
| 7 | /-! |
| 8 | # The fixed-set lower bound for Theorem 8.1 |
| 9 | |
| 10 | Morgan-Tian, Theorem 8.1 and equation (8.1), pp. 169-170. A configuration's |
| 11 | normalized branch-action bound supplies the global reduced-length bound |
| 12 | needed by M14. The same open tangent set then has a positive reduced-volume |
| 13 | lower bound at every positive earlier backward time, including the terminal |
| 14 | time. See `references/ricci-flow/mapher/noncollapse/derivations/2026-09-20-terminal-reduction.md`. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | open scoped Manifold ContDiff Bundle ENNReal Topology intervalIntegral |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.Generalized.Noncollapse |
| 24 | |
| 25 | variable {n : ℕ} {X : Type u} [TopologicalSpace X] {time : X → ℝ} |
| 26 | {I : SpacetimeInterval} {G : GeneralizedLGeometryTransport n X time I} |
| 27 | |
| 28 | /-- The source-dependent lower bound in Morgan-Tian equation (8.1), p. 170. |
| 29 | It is chosen before the flow, radius, branch, and configuration. -/ |
| 30 | noncomputable def reducedVolumeLowerBound (n : ℕ) (taubar l₀ V : ℝ) : ℝ := |
| 31 | Real.rpow taubar (-(n : ℝ) / 2) * Real.exp (-l₀) * V |
| 32 | |
| 33 | /-- Positivity of the lower bound in equation (8.1), p. 170, also in |
| 34 | dimensions zero and one. -/ |
| 35 | theorem reducedVolumeLowerBound_pos {taubar l₀ V : ℝ} |
| 36 | (htaubar : 0 < taubar) (hV : 0 < V) : |
| 37 | 0 < reducedVolumeLowerBound n taubar l₀ V := by |
| 38 | exact mul_pos (mul_pos (Real.rpow_pos_of_pos htaubar _) (Real.exp_pos _)) hV |
| 39 | |
| 40 | /-- On a stable branch, the global reduced length is at most the normalized |
| 41 | action of the selected exponential path. This is the infimum comparison in |
| 42 | Definitions 6.2 and 6.45, used in Theorem 8.1(4), p. 169. -/ |
| 43 | theorem stable_reducedLength_le_branch {T τ : ℝ} {x : G.Point} |
| 44 | {E : M14ExponentialFamily G T x} (H : M14StableSet G T τ x E) |
| 45 | {Z : G.Horizontal x} (hZ : Z ∈ H.carrier) : |
| 46 | M14ReducedLengthValue G T 0 τ x (H.endpoint_map Z) ≤ |
| 47 | E.reduced_length Z (Real.sqrt τ) := by |
| 48 | obtain ⟨p, _, hp, _⟩ := H.minimizing_path Z hZ |
| 49 | have hbdd : BddBelow (M14ActionSet G T 0 τ x (H.endpoint_map Z)) := by |
| 50 | refine ⟨M14BackwardLAction G p, ?_⟩ |
| 51 | rintro a ⟨q, rfl⟩ |
| 52 | exact hp q |
| 53 | have hroot : 0 < Real.sqrt τ := Real.sqrt_pos.2 H.tau_pos |
| 54 | have hpath : E.action Z (Real.sqrt τ) ∈ |
| 55 | M14ActionSet G T 0 (Real.sqrt τ ^ 2) x (E.gamma Z (Real.sqrt τ)) := |
| 56 | ⟨E.path Z (Real.sqrt τ) (H.survivor Z hZ) hroot, |
| 57 | (E.action_eq Z (Real.sqrt τ) (H.survivor Z hZ) hroot).symm⟩ |
| 58 | rw [Real.sq_sqrt H.tau_pos.le, ← H.endpoint_map_eq Z hZ] at hpath |
| 59 | have hinf := csInf_le hbdd hpath |
| 60 | rw [E.reduced_length_eq Z (Real.sqrt τ) (H.survivor Z hZ) hroot] |
| 61 | exact div_le_div_of_nonneg_right hinf (by positivity) |
| 62 | |
| 63 | variable {T : ℝ} {x : (G.slices T).Point} |
| 64 | {E : M14ExponentialFamily G T x.val} {taubar l₀ V r : ℝ} |
| 65 | {K : SpacetimeInterval} {C : Type u} [TopologicalSpace C] |
| 66 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) C] |
| 67 | [IsManifold (𝓡 n) ∞ C] [T2Space C] [SecondCountableTopology C] |
| 68 | {B : M15ActualBallCylinder G T x r K C} |
| 69 | |
| 70 | /-- The positive terminal image-volume hypothesis in Theorem 8.1(5), |
| 71 | p. 169, excludes an empty initial set without any real-volume conversion. -/ |
| 72 | theorem configuration_W_nonempty |
| 73 | (D : M15Theorem81Configuration G T x E taubar l₀ V r K C B) |
| 74 | (hV : 0 < V) : D.W.Nonempty := by |
| 75 | by_contra hW |
| 76 | have hempty : D.W = ∅ := Set.not_nonempty_iff_eq_empty.mp hW |
| 77 | have hzero : ENNReal.ofReal V ≤ 0 := by |
| 78 | simpa [hempty] using D.terminal_image_volume |
| 79 | exact (not_le_of_gt (ENNReal.ofReal_pos.mpr hV)) hzero |
| 80 | |
| 81 | /-- Theorem 8.1(4), p. 169, implies the global reduced-length premise of |
| 82 | the terminal-W lower bound on the same stable endpoint map. -/ |
| 83 | theorem configuration_reducedLength_le |
| 84 | (D : M15Theorem81Configuration G T x E taubar l₀ V r K C B) |
| 85 | {Z : G.Horizontal x.val} (hZ : Z ∈ D.W) : |
| 86 | M14ReducedLengthValue G T 0 D.tau₀ x.val (D.stable.endpoint_map Z) ≤ l₀ := |
| 87 | (stable_reducedLength_le_branch D.stable (D.W_subset_stable hZ)).trans |
| 88 | (D.normalized_reduced_length Z hZ) |
| 89 | |
| 90 | /-- Equation (8.1), p. 170, for the fixed tangent set of an actual M15 |
| 91 | configuration. M14 supplies terminal-time monotonicity, and the bound is |
| 92 | uniform in the flow and in the selected positive time. -/ |
| 93 | theorem configuration_reducedVolume_lower_bound |
| 94 | (hM14 : GeneralizedLGeometryTheory.{u} n) |
| 95 | (D : M15Theorem81Configuration G T x E taubar l₀ V r K C B) |
| 96 | (hl₀ : 0 ≤ l₀) (hV : 0 < V) : |
| 97 | ∀ τ, 0 < τ → τ ≤ D.tau₀ → |
| 98 | ∃ Hτ : M14StableSet G T τ x.val E, |
| 99 | D.W ⊆ Hτ.carrier ∧ |
| 100 | ∃ Aτ : M14ReducedVolumeAnalyticData G T τ x.val E Hτ, |
| 101 | reducedVolumeLowerBound n taubar l₀ V ≤ |
| 102 | M14ReducedVolumeOnAnalyticCarrier Aτ D.W := by |
| 103 | obtain ⟨L⟩ := hM14.conclusion X time I G |
| 104 | obtain ⟨S⟩ := L.reduced_volume_source |
| 105 | obtain ⟨A₀⟩ := L.reduced_volume_analytic T D.tau₀ x.val E D.stable |
| 106 | have hlower := S.terminal_W_lower_bound T taubar x.val E D.tau₀ |
| 107 | D.tau₀_pos D.tau₀_le D.stable A₀ D.W D.W_open |
| 108 | (configuration_W_nonempty D hV) D.W_open.measurableSet D.W_subset_stable |
| 109 | l₀ V hl₀ hV (fun Z hZ => configuration_reducedLength_le D hZ) |
| 110 | D.terminal_image_volume |
| 111 | have hpower : Real.rpow taubar (-(n : ℝ) / 2) ≤ |
| 112 | Real.rpow D.tau₀ (-(n : ℝ) / 2) := |
| 113 | Real.rpow_le_rpow_of_nonpos D.tau₀_pos D.tau₀_le |
| 114 | (by have := Nat.cast_nonneg (α := ℝ) n; linarith) |
| 115 | have huniform : reducedVolumeLowerBound n taubar l₀ V ≤ |
| 116 | Real.rpow D.tau₀ (-(n : ℝ) / 2) * Real.exp (-l₀) * V := |
| 117 | mul_le_mul_of_nonneg_right |
| 118 | (mul_le_mul_of_nonneg_right hpower (Real.exp_pos _).le) hV.le |
| 119 | intro τ hτ hτ₀ |
| 120 | obtain ⟨Hτ, hW, Aτ, hA⟩ := hlower.2 τ hτ hτ₀ |
| 121 | exact ⟨Hτ, hW, Aτ, huniform.trans hA⟩ |
| 122 | |
| 123 | end PoincareMT.Generalized.Noncollapse |