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.ReducedGeometry.ReducedLength.Action.EnergyBound |
| 2 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Action.PositiveMomentumDerivative |
| 3 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Barrier.SecondDerivativeComparison |
| 4 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Barrier.ShiftedCostDifferential |
| 5 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Barrier.SmoothJoinCutoff |
| 6 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Calculus.LocalSmoothInverse |
| 7 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Calculus.ManifoldLocalInverse |
| 8 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Calculus.PathSpaceCalculus |
| 9 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Calculus.SmoothImplicit |
| 10 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Calculus.TriangularBijective |
| 11 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Coordinates.CoordinateCompatibility |
| 12 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Coordinates.CoordinateConnectionTime |
| 13 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Tensor.BasisContractions |
| 14 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Tensor.CoordinateConnectionBilinear |
| 15 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Tensor.FrameForms |
| 16 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Tensor.LocalCenteredHessian |
| 17 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Tensor.RicciContractions |
| 18 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Differential.CoordinateEulerLinearization |
| 19 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Differential.CoordinateJacobiCommutation |
| 20 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Differential.SecondDerivativeComposition |
| 21 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Differential.SecondOrderLinearization |
| 22 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Index.AdaptedIndexTrace |
| 23 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedLength.Variation.Initial.InitialVectorIdentification |
| 24 | |
| 25 | /-! Source-name facade for the unchanged Mapher proof bodies. -/ |
| 26 | |
| 27 | namespace PoincareMT.Proofs.M09 |
| 28 | |
| 29 | export PoincareMT.ReducedLength |
| 30 | (bilinear_square_basis_eq |
| 31 | bilinear_trace_basis_eq |
| 32 | chartVectorField |
| 33 | coordinateConnectionBilinear |
| 34 | coordinateConnectionBilinear_apply |
| 35 | coordinateConnectionBilinear_contDiffOn |
| 36 | coordinateConnection_pairing |
| 37 | coordinateConnection_symm |
| 38 | coordinateConnection_time_pairing |
| 39 | coordinate_jacobi_commutation |
| 40 | covariantRicci_direction_orthonormal_trace |
| 41 | covariantRicci_divergence_trace_basis_eq |
| 42 | curvature_index_smul |
| 43 | curvature_orthonormal_index_trace |
| 44 | exists_manifold_local_inverse |
| 45 | exists_smoothJoinCutoff_deriv_bound |
| 46 | exists_smooth_implicit |
| 47 | exists_smooth_local_inverse |
| 48 | fderiv_bilinear_symm |
| 49 | hasDerivAt_variation_phase_of_ode |
| 50 | hessian_centeredCoordinates_local |
| 51 | lExponentialFamily_initialSlice_contMDiffAt |
| 52 | lExponentialFamily_initial_velocity |
| 53 | lExponentialFamily_squareSlice_contMDiffAt |
| 54 | localMin_meetingMomentum_deriv_eq_zero |
| 55 | localMin_secondDeriv_scaled_comparison |
| 56 | mvfderiv_centeredChart_of_eventuallyEq |
| 57 | pointwiseLinear |
| 58 | pointwiseLinear_norm_le |
| 59 | pointwiseOperator |
| 60 | positiveMomentum_deriv_eq_zero |
| 61 | regularizedCoordinatePhase |
| 62 | regularizedCoordinatePhase_connection_pairing |
| 63 | regularizedCoordinatePhase_covariant_linearized_pairing |
| 64 | regularizedCoordinatePhase_smooth |
| 65 | regularizedEnergy_abs_bound |
| 66 | ricciDerivative_smul_first_third |
| 67 | ricciDerivative_smul_last_two |
| 68 | ricciOperator |
| 69 | ricciOperator_orthonormal_square |
| 70 | ricciOperator_pairing |
| 71 | ricci_orthonormal_trace |
| 72 | scalarCurvature_contMDiff |
| 73 | scalarCurvature_mvfderiv_of_bianchi |
| 74 | secondDeriv_comp |
| 75 | shiftedCost_fderiv |
| 76 | smoothJoinBlend |
| 77 | smoothJoinBlend_hasDerivAt |
| 78 | smoothJoinBlend_mem_convex |
| 79 | smoothJoinCutoff |
| 80 | smoothJoinCutoff_contDiff |
| 81 | smoothJoinCutoff_mem |
| 82 | smoothJoinCutoff_one |
| 83 | smoothJoinCutoff_zero |
| 84 | tensorBilinear |
| 85 | tensorBilinear_apply |
| 86 | timeDerivativePhase |
| 87 | triangular_bijective_iff) |
| 88 | |
| 89 | end PoincareMT.Proofs.M09 |