Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Finite topological reconstruction data for surgery

Definition
OpenGA_SurgeryTopologyEvolution

by Xinze-Li-Moqian · Sep 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

connected-sumfinite-extinctionopenga-endgamepoincare-conjecture

Bundle connected nonempty compact Hausdorff three-manifolds. Standard factors are manifolds covered surjectively by the unit three-sphere, or homeomorphic to S1 times S2. The first condition is weaker than being a round spherical space form. ConnectedSumClosure is a finite nonempty expression using actual coordinate-ball connected sums and homeomorphisms. A reconstruction record expresses each earlier component using later components and standard factors; it need not use each later component once. SurgeryTopologyEvolution supplies component lists, an initial positive interval on which the list is [M], and a finite reconstruction history from time zero to every nonnegative horizon. FiniteExtinction means that every slice is empty after some positive time. This is extracted topological data, not a metric Ricci flow or a claim of geometric existence.

Definition code
import Definitions.Def_OpenGA_CoordinateBallConnectedSum
import Mathlib.Topology.Homotopy.Lifting
import Mathlib.AlgebraicTopology.FundamentalGroupoid.SimplyConnected

/-!
# The topological endpoint of finite surgery

Kleiner-Lott, Lemma 73.4 (p. 140), reconstructs the topology before a surgery
by connected sums and restoration of specified discarded components. Lemma
81.2 (p. 160) iterates this description backwards from an empty slice.
Source: https://arxiv.org/pdf/math/0605667v5

This file proves that finite iteration explicitly. A `SurgeryReconstruction`
records the topological consequence of an operation, not its metric surgery
construction. Obtaining these records from a Kleiner-Lott flow remains a
geometric task.

For the topological conclusion we retain a weaker class than round spherical
space forms: closed three-manifolds covered by the standard three-sphere.
Every round spherical space form has such a covering. This weakening is
sufficient for the simply connected endgame and does not assert that every
sphere-covered manifold carries a round quotient metric.
-/

namespace OpenGA

universe u

/-- A nonempty, connected, compact Hausdorff topological three-manifold
without boundary. The topology and atlas are part of the data. -/
structure ClosedThreeManifold where
  Carrier : Type u
  topology : TopologicalSpace Carrier
  hausdorff : @T2Space Carrier topology
  charts : @ChartedSpace EuclideanThree _ Carrier topology
  compact : @CompactSpace Carrier topology
  connected : @ConnectedSpace Carrier topology

instance : CoeSort ClosedThreeManifold.{u} (Type u) := ⟨ClosedThreeManifold.Carrier⟩
attribute [instance] ClosedThreeManifold.topology ClosedThreeManifold.hausdorff
  ClosedThreeManifold.charts ClosedThreeManifold.compact ClosedThreeManifold.connected

namespace ClosedThreeManifold

instance (M : ClosedThreeManifold) : LocallyPathConnectedSpace M :=
  ChartedSpace.locallyPathConnectedSpace EuclideanThree M

/-- A topological consequence of being a round spherical space form. -/
def IsSphereCovered (M : ClosedThreeManifold) : Prop :=
  ∃ p : SphereThree → M, IsCoveringMap p ∧ Function.Surjective p

/-- The orientable sphere-bundle factor occurring in the surgery endgame. -/
def IsSphereHandle (M : ClosedThreeManifold) : Prop :=
  Nonempty (M ≃ₜ (SphereOne × SphereTwo))

/-- The allowed terminal factors, with spherical space forms weakened to
the covering property needed for the topological conclusion. -/
def IsStandardFactor (M : ClosedThreeManifold) : Prop :=
  M.IsSphereCovered ∨ M.IsSphereHandle



end ClosedThreeManifold

/-- Finite, nonempty connected-sum expressions in factors satisfying `P`.
The operation is the actual quotient construction in `IsConnectedSum`.
There is deliberately no constructor declaring an arbitrary manifold to be
the empty connected sum. -/
inductive ConnectedSumClosure (P : ClosedThreeManifold.{u} → Prop) :
    ClosedThreeManifold.{u} → Prop
  | factor {M : ClosedThreeManifold.{u}} : P M → ConnectedSumClosure P M
  | homeomorph {M N : ClosedThreeManifold.{u}} : ConnectedSumClosure P M →
      Nonempty (N ≃ₜ M) → ConnectedSumClosure P N
  | sum {M N X : ClosedThreeManifold.{u}} : ConnectedSumClosure P M → ConnectedSumClosure P N →
      IsConnectedSum M N X → ConnectedSumClosure P X

namespace ConnectedSumClosure

variable {P Q : ClosedThreeManifold.{u} → Prop} {M : ClosedThreeManifold.{u}}



end ConnectedSumClosure

/-- Topology recoverable from a later slice and the standard discarded factors. -/
def SurgeryReconstruction (before after : List ClosedThreeManifold.{u}) : Prop :=
  ∀ M ∈ before, ConnectedSumClosure (fun N => N ∈ after ∨ N.IsStandardFactor) M

/-- A finite chain of reconstruction records, in forward time order. -/
inductive FiniteSurgeryHistory :
    List ClosedThreeManifold.{u} → List ClosedThreeManifold.{u} → Prop
  | refl (slice) : FiniteSurgeryHistory slice slice
  | step {before middle after} : SurgeryReconstruction before middle →
      FiniteSurgeryHistory middle after → FiniteSurgeryHistory before after

namespace FiniteSurgeryHistory





end FiniteSurgeryHistory

/-- Time-indexed component topology with finite reconstruction on each
bounded horizon. This is extracted topological data, not a definition of
Ricci flow: no metric or Ricci equation is encoded here. -/
structure SurgeryTopologyEvolution (M : ClosedThreeManifold.{u}) where
  components : ℝ → List ClosedThreeManifold.{u}
  initial : components 0 = [M]
  initial_interval : ∃ τ : ℝ, 0 < τ ∧ ∀ t ∈ Set.Icc 0 τ, components t = [M]
  history : ∀ T, 0 ≤ T → FiniteSurgeryHistory (components 0) (components T)

namespace SurgeryTopologyEvolution

variable {M : ClosedThreeManifold.{u}}

/-- Every component is absent from some positive time onward. -/
def FiniteExtinction (E : SurgeryTopologyEvolution M) : Prop :=
  ∃ T : ℝ, 0 < T ∧ ∀ t : ℝ, T ≤ t → E.components t = []



end SurgeryTopologyEvolution

end OpenGA
Source
https://github.com/MathNetwork/OpenGA/blob/20ce5fe376984e6628a05ab1622edd8dc64b3985/OpenGALib/Topology/SurgeryReconstruction.lean#L1-L168; Kleiner-Lott, https://arxiv.org/pdf/math/0605667v5, Section 3.2 and Lemmas 73.4, 81.2; Colding-Minicozzi, https://arxiv.org/pdf/0707.0108, Theorem 1.7 and Corollary 1.11.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me