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.Surgery.Metric.Collapse.RetainedDifferential |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Comparison.Jets.ComparisonCoordinateJets |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Comparison.Jets.ComparisonCovariantJets |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Cylinder.CylinderTensorNorm |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Cylinder.Jets.CylinderAllOrderBounds |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Cylinder.Jets.CylinderTwoJet |
| 7 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Distance.MetricComparison |
| 8 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Neck.CenteredNeckChart |
| 9 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Neck.CenteredNeckMetric |
| 10 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Neck.NeckCoordinates |
| 11 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Neck.NeckMetricBound |
| 12 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Standard.Radial.RadialEquality |
| 13 | import PoincareLib.Geometry.RicciFlow.Surgery.Metric.Standard.Radial.StandardBalls |
| 14 | |
| 15 | /-! Compatibility names for the unchanged Mapher cap-persistence proof. -/ |
| 16 | |
| 17 | namespace PoincareMT.M36 |
| 18 | |
| 19 | export PoincareMT.MetricSurgery |
| 20 | (centeredCylinderBilinear |
| 21 | centeredCylinderBilinear_basis |
| 22 | centeredCylinderBilinear_contDiffAt |
| 23 | centeredCylinderBilinear_gram |
| 24 | centeredCylinderError |
| 25 | centeredCylinderError_contDiffAt |
| 26 | centeredCylinderLift |
| 27 | centeredCylinderLift_contMDiff |
| 28 | centeredCylinderLift_mfderiv |
| 29 | centeredCylinderLift_zero |
| 30 | centeredCylinderMetric |
| 31 | centeredCylinderMetric_contDiffAt |
| 32 | centeredCylinderMetric_sub_model |
| 33 | centeredNeckDomain_isOpen |
| 34 | centeredNeckLift |
| 35 | centeredNeckLift_contMDiffAt |
| 36 | centeredNeckLift_mfderiv |
| 37 | centeredNeckLift_mfderiv_isInvertible |
| 38 | centeredNeckLift_zero |
| 39 | comparisonChristoffel |
| 40 | comparisonChristoffel_contDiff |
| 41 | comparisonTensorComponent |
| 42 | comparisonTensorComponent_contDiff |
| 43 | comparisonTensorComponent_covariant |
| 44 | comparison_bilinear_isSmooth |
| 45 | comparison_iteratedCovariantTensorDerivative_eventuallyEq |
| 46 | comparison_tensor_evaluation_bound |
| 47 | cylinderChristoffelLinear |
| 48 | cylinderEuclideanEquiv |
| 49 | cylinderEuclideanEquiv_basis |
| 50 | cylinderHeightCovector |
| 51 | cylinderHeightCovector_basis |
| 52 | cylinderHorizontalCovector |
| 53 | cylinderHorizontalForm |
| 54 | cylinderHorizontalForm_add_vertical |
| 55 | cylinderHorizontalForm_apply |
| 56 | cylinderHorizontalForm_basis |
| 57 | cylinderHorizontalGram |
| 58 | cylinderHorizontalProjection |
| 59 | cylinderInverseWeight |
| 60 | cylinderInverseWeight_bounds |
| 61 | cylinderModelField |
| 62 | cylinderModelField_contDiff |
| 63 | cylinderModelField_fderiv_zero |
| 64 | cylinderModelField_second_fderiv_zero |
| 65 | cylinderModelField_zero |
| 66 | cylinderModelField_zero_lower |
| 67 | cylinderModelJet |
| 68 | cylinderSphereFactor |
| 69 | cylinderSphereFactor_contDiff |
| 70 | cylinderSphereFactor_hasFDerivAt |
| 71 | diagonal_tensor_product |
| 72 | edist_comp_le_pathELength_of_pullback_bound |
| 73 | euclideanThree_bilinear_ext |
| 74 | euclideanThree_bilinear_norm_le |
| 75 | exists_centeredCylinderError_jet_bound |
| 76 | exists_centeredNeckMetric_realization |
| 77 | exists_compact_local_jet_bound |
| 78 | exists_comparisonChristoffel_jet_bound |
| 79 | exists_comparison_covariant_jet_bound |
| 80 | exists_comparison_smooth_germ |
| 81 | metricPathSpeed |
| 82 | metricTwoJet_sub_of_contDiffAt |
| 83 | metric_edist_continuous |
| 84 | metric_edist_self |
| 85 | metric_edist_triangle |
| 86 | metric_inner_nonneg |
| 87 | metric_pathELength_mono |
| 88 | mfderiv_injective_of_local_leftInverse |
| 89 | neck_central_iff |
| 90 | neck_coordinate_contMDiffAt |
| 91 | neck_coordinate_inverse |
| 92 | neck_coordinate_mem |
| 93 | neck_inverse_contMDiffAt |
| 94 | neck_inverse_coordinate |
| 95 | neck_region_isOpen |
| 96 | neck_region_subset |
| 97 | norm_iteratedFDeriv_comp_uniform_at |
| 98 | norm_iteratedFDeriv_finite_sum |
| 99 | norm_iteratedFDeriv_smul_uniform_at |
| 100 | norm_iteratedFDeriv_succ_le_basis |
| 101 | normalizedNeckConnection |
| 102 | normalizedNeckForm |
| 103 | normalizedNeckForm_apply |
| 104 | normalizedNeckForm_lower |
| 105 | normalizedNeckMetric |
| 106 | normalizedNeckMetric_pullbackCoefficients |
| 107 | pathELength_eq_integral_speed |
| 108 | radialArclength |
| 109 | radialArclength_contDiff |
| 110 | radialArclength_euclideanRadius |
| 111 | radialArclength_pos |
| 112 | radialArclength_strictMono |
| 113 | radialArclength_zero |
| 114 | radialEuclideanRadius |
| 115 | radialEuclideanRadius_arclength |
| 116 | radialEuclideanRadius_contDiff |
| 117 | radialEuclideanRadius_hasDerivAt |
| 118 | radialEuclideanRadius_pos_iff |
| 119 | radialEuclideanRadius_zero |
| 120 | radialSpeed |
| 121 | radialSpeed_pos |
| 122 | radial_path_hasDerivAt |
| 123 | roundCylinderChristoffel_chart |
| 124 | roundCylinderClose_error_operator_bounds |
| 125 | roundCylinderClose_twoJet_error |
| 126 | roundCylinderTensorNormSquared_center |
| 127 | sphere_chart_center_zero |
| 128 | sphere_chart_differential_inner_at |
| 129 | sphere_chart_inverse_contMDiff |
| 130 | sphere_chart_inverse_mfderiv |
| 131 | sphere_chart_target_univ |
| 132 | standard_ball_eq_euclidean |
| 133 | standard_closed_ball_compact |
| 134 | standard_closure_ball |
| 135 | standard_edist_zero |
| 136 | standard_frontier_ball |
| 137 | unit_velocity_of_radial_derivative_one |
| 138 | zero_mem_centeredNeckDomain) |
| 139 | |
| 140 | end PoincareMT.M36 |