Geometry Becoming Topology

exploring the transformation from geometric to topological properties

Topological Properties

Allowed Transformation: Homeomorphism (continuous map)

Invariant: Betti Numbers

B₀ (Components): 0

B₁ (Holes/Loops): 0

This interactive visualization explores the mathematical hierarchy underlying Topological Data Analysis (TDA), a framework that extracts robust structural features from high-dimensional data. Beginning with a discrete point cloud embedded in ℝ², we construct increasingly abstract representations that reveal fundamental geometric invariants.

The Vietoris-Rips parameter ε governs the formation of our simplicial complex: for each pair of points within Euclidean distance ε, we add a 1-simplex (edge). When three points are pairwise connected, we fill in the 2-simplex (triangle). This construction yields a Vietoris-Rips complex Rips(X,ε), providing a combinatorial approximation to the underlying topological space.

The visualization demonstrates three distinct geometric structures, each preserved by progressively weaker equivalence relations:

  • Riemannian structure (Metric View): The complete geometric data, including the metric tensor gij. Preserved by isometries φ: (M,g) → (M',g') where φ*g' = g. Invariants include geodesic distances, curvature tensors, and volume forms.
  • Smooth structure (Smooth View): The differentiable manifold structure, forgetting the metric but retaining C compatibility. Preserved by diffeomorphisms. The "Exotic Structure" toggle illustrates Milnor's discovery of exotic 7-spheres, manifolds homeomorphic but not diffeomorphic to S7.
  • Topological structure (Topological View): The coarsest structure, preserving only continuity. Characterized by homeomorphism invariants: the Betti numbers βk = rank(Hk) measuring k-dimensional holes. Here, β0 counts connected components and β1 counts 1-dimensional cycles.

This hierarchical decomposition, from rigid Riemannian geometry through smooth manifolds to flexible topology, exemplifies the power of categorical thinking in mathematics. In applications to biological data, where noise and measurement uncertainty dominate, topological invariants provide stable signatures of global structure. Rather than asking "what is the precise conformation?" we ask "what is the persistent homology?", capturing essential connectivity patterns that survive perturbations.

claude opus 4.8July 2025·interactive demonstration of how geometry becomes topology: the same points carry exact distances (metric) and connection-only invariants (topology). Retrofitted with the scientific scaffolding: a logic module computing the Betti numbers and Euler characteristic from adjacency, calibration on graphs with known topology, and assumptions separating the exact invariants from the metric picture and the surface-topology aside.

Model changelog

v1.0July 2025
  • three views of the same point set: metric distances, smoothing, and topological invariants.
  • logic module computing connected components (b0), cycle rank (b1), and Euler characteristic from the adjacency.
  • calibration on known graphs: components of disjoint edges, loops in a triangle and in a square with a diagonal, plus a metric-distance check.
  • assumptions separate the deformation-invariant topology from the coordinate-dependent geometry.