Abstract 1 Introduction 2 Background and notation 3 Ratio of 𝒅𝐆𝐇 vs 𝒅𝐇 can be arbitrarily small for metric trees 4 Metric trees with coefficient 𝟏 5 The case of the circle 6 Metric graphs with loops with coefficient 𝟏 7 Conclusion and open questions References

Lower Bounding the Gromov–Hausdorff Distance in Metric Graphs

Henry Adams ORCID University of Florida, Gainesville, FL, USA    Sushovan Majhi ORCID George Washington University, Washington, DC, USA    Fedor Manin ORCID University of Toronto, Canada    Žiga Virk ORCID University of Ljubljana, Slovenia
Institute IMFM, Ljubljana, Slovenia
   Nicolò Zava ORCID Institute of Science and Technology, Klosterneuburg, Austria
Abstract

Let G be a finite, connected metric graph and let X be a subset of G. If X is sufficiently dense in G, we show that the Gromov–Hausdorff distance matches the Hausdorff distance, namely dGH(G,X)=dH(G,X). When the metric graph is the circle G=S1 with circumference 2π, a recent study established the equality dGH(S1,X)=dH(S1,X) whenever dGH(S1,X)<π6. Our results relax this hypothesis to dGH(S1,X)<π3, and furthermore, we show that the constant π3 is the best possible. We lower bound the Gromov–Hausdorff distance dGH(G,X) by the Hausdorff distance dH(G,X) via a simple topological obstruction: the existence of a possibly discontinuous function f:GX with too small distortion contradicts the connectedness of G.

Keywords and phrases:
Gromov–Hausdorff distance, distortion, connectedness, Borsuk–Ulam theorem
Funding:
Henry Adams: Simons Foundation Travel Support for Mathematicians.
Žiga Virk: Slovene research agency grant P1-0292.
Nicolò Zava: FWF Grant, Project number I4245-N35.
Copyright and License:
[Uncaptioned image] © Henry Adams, Sushovan Majhi, Fedor Manin, Žiga Virk, and Nicolò Zava; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Topology
; Mathematics of computing Graph theory
Related Version:
Full Version: https://arxiv.org/abs/2411.09182 [3]
Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir Nayyeri

1 Introduction

The Gromov–Hausdorff distance between two abstract metric spaces (X,dX) and (Y,dY), denoted dGH(X,Y), provides a dissimilarity measure quantifying how far the two metric spaces are from being isometric [13, 14, 24]. In the past two decades, this distance has found applications in topological data analysis (TDA) as a theoretical framework for shape and dataset comparison [21], which motivated the study of its quantitative aspects. However, precise computations of the Gromov–Hausdorff distance between even simple spaces are mostly unknown, with certain exceptions such as the Gromov–Hausdorff distance between a line segment and a circle [16] and between spheres of certain dimensions [19, 1, 15]. Even approximating the Gromov–Hausdorff distance by a factor of 3 in the case of trees with unit-edge length is known to be NP-hard [4, 23]. A better approximation factor can only be achieved in very special cases; for example, [20] provides a 54-approximation scheme if X and Y are finite subsets of the real line. Developing tools and pipelines to estimate the Gromov–Hausdorff distance is a central research direction in the applied topology community. To estimate the Gromov–Hausdorff distance between two metric spaces X,Y, one may:
(A) Find nice samples XX and YY approximating the geometry of X and Y, and
(B) Efficiently bound the Gromov–Hausdorff distance between the subsets X and Y.
Indeed, when X and Y are infinite continuous objects – e.g., Riemannian manifolds, metric graphs – and one wants to use computational machinery, it is often essential to resort to finite subsets approximating the geometry of the original spaces.

We reformulate the first task (A) as follows: how dense does the sample X have to be in X to capture the geometry of the ambient space X? To systematize this question, we use the Hausdorff distance as a measure of density and ask if we can provide a threshold ε and constant 0<C1 such that dGH(X,X)CdH(X,X) whenever dH(X,X)<ε. In particular, dGH(X,X)=dH(X,X) if C=1. In [2], the authors show that when X is a manifold and dGH(X,X)<ε (which is implied by dH(X,X)<ε) for some constant ε, then dGH(X,X)CdH(X,X) for some 12C1. Our study continues that investigation and proves improved results when X is a metric graph, hence relaxing the manifold assumption.

A fruitful approach to provide bounds on the Gromov–Hausdorff distance in task (B) is to use stable metric invariants. One associates each metric space X with a value ψ(X) in a simpler metric space so that ψ(X) and ψ(Y) are close whenever X and Y are. An immediate example is the diameter; we have dGH(X,Y)12|diam(X)diam(Y)|. For further stable metric invariants, we refer the reader to curvature sets [22], to Vietoris–Rips persistence diagrams [11], and to hierarchical clustering [10]. In [25], dimension theory is used to limit the precision of metric invariants with values in Hilbert spaces.

One of the precursors of algebraic topology was Brouwer’s proof of invariance of dimension, namely that m is not homeomorphic to n for n>m. Proving 1 is not homeomorphic to n for n>1 relies only on connectedness: removing a single point from 1 leaves a disconnected space. To prove invariance of dimension for n>m2, Brouwer relied on concepts related to the degree of a map between spheres [8, 7], which is often now formalized using higher-dimensional homology groups. The topological obstructions to small Gromov–Hausdorff distances in [2] relied on homological tools, namely the fundamental class of a manifold. One of the key contributions of our paper is to go “back in time” and produce strong lower bounds on Gromov–Hausdorff distances using simpler topological tools: we show that small Gromov–Hausdorff distances would contradict the connectedness of a space.

Overview of our results

Let G be a connected, finite metric graph, and let XG be a subset. We show how to lower bound the Gromov–Hausdorff distance dGH(G,X) in terms of the Hausdorff distance dH(G,X), achieving dGH(G,X)=dH(G,X). A unifying theme in our proofs is that we show that a possibly discontinuous function f:GX induces a continuous and non-surjective map f¯:GG. We then use non-surjectivity (and related properties) to lower bound the distortion of f¯ and f, hence lower bounding dGH(G,X). The simplest metric graph is a tree T. Let T denote the leaves of T, and let dH(T,X) denote the directed Hausdorff distance from T to the sample X (see Section 2). We show:

Theorem 8.

Let T be a finite metric tree and let XT. If dH(T,X)>dH(T,X), then dGH(T,X)=dH(T,X). The interpretation is as follows: if the biggest gaps in the sampling XT are not near the leaves of T (which by Proposition 6 is typical behavior), then dGH(T,X)=dH(T,X). Some control on the leaf vertices is needed:

Theorem 5.

For any ε>0 there exists a finite metric tree T and a closed subset XT such that dGH(T,X)εdH(T,X).

When G=S1 is the circle of circumference 2π, [2] shows that if dGH(S1,X)<π6, then dGH(S1,X)=dH(S1,X). The following theorem improves the constant π6 to π3.

Theorem 11.

For any subset XS1, we have dGH(S1,X)min{dH(S1,X),π3}.

In Theorem 12 we show that this constant π3 is the best possible, namely that for any ε(0,π6), there exists a nonempty compact subset XS1 with dH(S1,X)=π3+ε and dGH(S1,X)=π3<dH(S1,X). We generalize the above results for the circle and trees to general metric graphs. Let G be a finite metric graph with set of leaf vertices G. We prove that if X is dense enough relative to e(G0), which is the smallest edge length between vertices in the core G0 of G (see Section 2), then the Gromov–Hausdorff distance matches the Hausdorff distance.

Theorem 23.

Let G be a finite connected metric graph and let XG. If G, suppose dH(G,X)>dH(G,X). If dGH(G,X)<e(G0)16, then dGH(G,X)=dH(G,X). Theorems 11 and 23 are obtained using low-dimensional versions of the Borsuk–Ulam theorem for maps from the circle into or into a tree, which are proven using connectedness. Our results have corollaries allowing us to lower bound the Gromov–Hausdorff distance between two subsets X,YG, using the triangle inequality. That is, for two sufficiently dense subsets X,YG, we provide new lower bounds on dGH(X,Y) in terms of the Hausdorff distance dH(X,Y), which is 𝒪(n2)-time computable if the subsets have at most n points. We demonstrate such a corollary explicitly in the case of metric trees in Section 4.

Organization of the paper

We begin in Section 2 with background. In Section 3, we show that some control over the boundary of the metric graph is necessary. We begin with metric trees in Section 4, proceed to the circle in Section 5, and consider general metric graphs in Section 6.

2 Background and notation

We refer the reader to [9, 6] for more information on metric spaces, metric graphs, the Hausdorff distance, and the Gromov–Hausdorff distance.

2.1 Metric spaces

Let (Z,d) be a metric space. For zZ, we let B(z;r)={zZ|d(z,z)<r} denote the open metric ball of radius r about z. For any r0 and AZ, we denote the r-thickening of A in Z, namely, the union of metric balls of radius r centered at the points of A, by

Ar=aAB(a;r)={zZinfaAd(a,z)<r}.

The diameter of a subset AZ is the supremum of all distances between pairs of points of A. More formally, the diameter is defined as diam(A)=sup{d(a,a)a,aA}.

2.2 Metric graphs

To define metric graphs, we follow Definitions 3.1.12 (quotient metric) and 3.2.9 (metric graph) of [9]. A metric segment is a metric space isometric to a real line segment [0,l] for l0. Our metric graphs will be connected and have a finite number of vertices and edges.

Definition 1 (Metric Graph).

A finite metric graph (G,d) is the metric space obtained by gluing a finite collection E of metric segments along their boundaries to a finite collection V of vertices, and equipping the result (eEe)/ with the quotient metric. We assume this equivalence relation results in a connected space.

The metric segments eE are the edges and the equivalence classes of their endpoints in V are the vertices of G. Since G is connected, we have d(y,y)< for all y,yG. Since E is finite, the quotient semi-metric [9, Definition 3.1.12] is in fact a metric.111One needs to be careful if E is infinite. Suppose one has two vertices v and v, and one edge en of length 1n with endpoints v and v for each n . The quotient semi-metric gives d(v,v)=infn1n=0 though vv; this semi-metric is not a metric. These subtleties disappear since we assume E is finite. For an edge eE, its length |e| is the length of the corresponding metric segment. Note that the length can be different from the distance between the endpoints of e according to the metric d. Extending the definition of length for a continuous path γ:[a,b]G, we define the length |γ| as the sum of the (full or partial) lengths of the edges that γ traverses. For a vertex v of a graph, its degree, denoted deg(v), is the number of edges incident to v. A self-loop at v contributes 2 to the degree of v. As an example, the circle S1 can be given a metric graph structure with a single vertex v of degree 2 at the north pole, along with a self-loop. We denote the set of leaf vertices, i.e. the vertices of degree one, by G. A metric graph G is therefore endowed with two layers of information: a metric structure turning it into a length space [9, Definition 2.1.6] and a combinatorial structure (V,E) as an abstract graph. Using the above definition, we are also allowing G to have single-edge cycles and multiple edges between a pair of vertices. In this paper, we only consider path connected metric graphs (G,d) with finitely many edges. Therefore, the metric graphs we consider are compact, and since a compact length space is geodesic, they are also geodesic (meaning for every x,yG there is an isometric embedding γ:[0,d(x,y)]G such that γ(0)=x and γ(d(x,y))=y). This justifies why for any y,yG, there is always at least one shortest path or geodesic path γ in G joining y,y whose length satisfies |γ|=d(y,y). We define an undirected simple loop γ of G to be a simple path that intersects itself only at the endpoints. We denote by (G) the finite set of all simple loops of the finite graph G. Since a metric tree is a metric graph with no loops, (G)= for a metric tree G. For a metric graph G, let e(G) denote the length of the shortest edge in G. If for AG there exists a unique shortest geodesic in G between any points a,aA, then we define the (geodesic) convex hull of A in G to be the union of geodesics between all a and a. If diam(A)<e(G)2, then the convex hull of A is well-defined. Given a (connected and finite) metric graph G, let G0 be the smallest connected subgraph of G containing the union of all simple loops of G. We call G0 the core of G. If G has no leaf edges, then G=G0. Note that G0 is just G with its “hanging trees” removed, or in other words, the minimal subspace onto which G deformation retracts. We will use the following two properties about G0. First, if G (and hence G0) contains at least two simple loops, then at least one vertex of G0 has degree at least 3. We can then consider the canonical graph representation of G0 consisting of only vertices of degree at least 3. Second, we note that if a path connected subset ZG has first Betti number equal to the first Betti number of G, then G0Z.

2.3 Hausdorff distances

Let (Z,d) be a metric space. If X and Y are two subsets of Z, then the directed Hausdorff distance from X to Y, denoted dH(X,Y), is defined by

dH(X,Y)=supxXinfyYd(x,y)=inf{r0XYr}.

Note that dH(X,Y) is not symmetric in general. To retain symmetry, the Hausdorff distance, denoted dH(X,Y), is defined as dH(X,Y)=max{dH(X,Y),dH(Y,X)}. In other words, the Hausdorff distance finds the infimum over all real numbers r such that if we thicken Y by r it contains X, and if we thicken X by r it contains Y. If no such r exists then the Hausdorff distance is infinity.

2.4 Gromov–Hausdorff distances

Let (X,dX) and (Y,dY) be metric spaces. In equations (1)–(3) we give three equivalent definitions of the Gromov–Hausdorff distance between X and Y. The first definition follows [14]. The Gromov–Hausdorff distance dGH(X,Y) is the infimum of the Hausdorff distances between F(X) and G(Y) in Z, with the infimum being over all metric spaces Z and all isometric embeddings F:XZ and G:YZ:

dGH(X,Y)=infF,G,ZdH(F(X),G(Y)). (1)

The second definition uses correspondences. A relation X×Y is a correspondence if for every xX there is some yY with (x,y), and for every yY there is some xX exists with (x,y). The distortion of a correspondence is

dis()=sup(x,y),(x,y)|dX(x,x)dY(y,y)|.

The Gromov–Hausdorff distance between two (arbitrary) metric spaces X and Y is

dGH(X,Y)=12infX×Ydis(), (2)

where the infimum is taken over all correspondences between X and Y [9, 17]. For metric spaces (X,dX) and (Y,dY), let f:XY and g:YX be two (possibly discontinuous) functions between them. We define the distortion of f as

dis(f)=supx,xX|dX(x,x)dY(f(x),f(x))|.

The distortion of g is defined similarly. The codistortion of f and g is defined as

codis(f,g)=supxX,yY|dX(x,g(y))dY(f(x),y)|.

Kalton and Ostrovskii [17] show that

dGH(X,Y)=12inff,gmax{dis(f),dis(g),codis(f,g)}, (3)

where f:XY and g:YX are any functions. It follows that if dGH(X,Y)<C, then there is some function f:XY with 12dis(f)<C.

2.5 Gromov–Hausdorff distances and compactness

The following result is folklore; see [3] for the proof.

Lemma 2.

Let X be a metric space and Y be a subset thereof. Let us denote by Y¯ the closure of Y in X. Then

dH(X,Y)=dH(X,Y¯)anddGH(X,Y)=dGH(X,Y¯).

Furthermore, for every two subsets Y and Z of X, we have dH(Z,Y)=dH(Z,Y¯).

We will consistently apply Lemma 2 when the ambient metric space is compact. Thus, when we are studying the Hausdorff and the Gromov–Hausdorff distances between a compact metric space and a subspace thereof, we can assume that the subspace is compact as well.

2.6 Gromov–Hausdorff distances and connectedness

Lemma 3.

Let f:XY be a function between metric spaces, with X path-connected and Y geodesic. Then for every r>dis(f)2, the thickening f(X)r is path connected.

Proof.

Let y1,y2f(X)r and x1,x2X be points such that dY(yi,f(xi))<r for i=1,2. Since Y is geodesic, the entire geodesic connecting yi to f(xi) is contained in B(f(xi),r)f(X)r. Pick ε>0 sufficiently small to satisfy r>dis(f)2+ε. Since X is path connected, there are z1=x1,z2,,zn+1=x2 such that d(zj,zj+1)<ε for every j=0,,n. Thus, d(f(zj),f(zj+1))<dis(f)+ε. Since Y is geodesic, there are mjY such that d(f(zj),mj)=d(f(zj+1),mj)=12d(f(zj),f(zj+1))<r and the geodesics connecting mj to f(zj) and f(zj+1) are contained in f(X)r.

2.7 Gromov–Hausdorff distances and graphs

Let G be a finite metric graph and let XG be a compact subset. To use functions f:GX to prove bounds on the Gromov–Hausdorff distance, we need to be a bit careful. Indeed, even if the sample X is close to the leaves of G, it may be that f(G) is not close to the leaves. Luckily, we have a lot of freedom to construct our function f:

Lemma 4.

Let G be a finite metric graph and let XG be compact. If dGH(G,X)<r, then there is a function f:GX with 12dis(f)<r and dH(G,f(G))=dH(G,X).

Proof.

Let G×X be a correspondence satisfying dis()<2r. Fix ε>0 such that dis()+ε<2r. For every vG, pick xvX as a point satisfying d(v,xv)=minxXd(v,x). We first recursively construct a surjective map f~ from a subset of G to {xvvG}. Let us arbitrarily order the leaves v1,,vn and denote the point xvi by xi for the sake of simplicity. Base step. Pick any y1G such that (y1,x1) and set f~(y1)=x1. Recursive step. Assume we have defined y1,,ymG distinct and set f~(yi)=xi. Pick yG satisfying (y,xm+1). Let us distinguish two cases. If y{y1,,ym}, then set ym+1=y and f~(ym+1)=xm+1. Otherwise, fix an arbitrary point ym+1G{y1,,ym} satisfying d(ym+1,y)<ε2 and define f~(ym+1)=xm+1. Consider an arbitrary extension f:GX of f~:{y1,,yn}{x1,,xn} with the property that the graph of f|G{y1,,yn} is contained in . Then dis(f)dis()+2ε2<2r and dH(G,f(G))=dH(G,X) by construction. It is worth noticing that in the proof above we did not use any property of G, and the result can be shown with G replaced by any finite subset Y of G.

3 Ratio of 𝒅𝐆𝐇 vs 𝒅𝐇 can be arbitrarily small for metric trees

In this section we prove Theorem 5, a variant of Theorem 5 of [2], now adapted to metric trees. As we show in Theorems 8 and 23, the Gromov–Hausdorff distance dGH(T,X) between a metric graph T and a subset XT can be bounded below by their Hausdorff distance dH(T,X) when X is close enough to the leaves of T, i.e., when dH(T,X)>dH(T,X). When dH(T,X)<dH(T,X), however, the ratio of dGH(T,X) over dH(T,X) can become arbitrarily small as we show below. Furthermore, Theorem 5 suggests that T may not map close to itself via correspondences with small distortion; see Figure 1.

Figure 1: A sketch of the construction of Theorem 5: (left) The metric tree T, (middle) the bold superimposed XT with small dH(T,X), and (right) a different isometric embedding of X into T indicated by XT with large dH(T,X).
Theorem 5.

For any ε>0 there exists a finite metric tree T and a closed subset XT such that dGH(T,X)εdH(T,X).

Proof.

Choose n and let ε=1n. For t0, let I(t) be a copy of the interval [0,t] with a designated basepoint 0. Define a metric tree T as the wedge of n intervals of lengths 1+ε,1+2ε,,1+nε=2, and define a metric tree X0 as the wedge of intervals of lengths 1,1+ε,1+2ε,,1+(n1)ε=2ε:

T=t=1nI(1+tε) and X0=t=0n1I(1+tε).

Recall from (1) that dGH(T,X) is the infimum of the Hausdorff distances between F(T) and G(X) in Z, with the infimum being over all metric spaces Z and all isometric embeddings F:TZ and G:XZ. In Figure 1 we have two different isometric embeddings X,X of the same tree X0 into Z=T: one with a small Hausdorff distance dH(T,X)=ε as X is T with each ray being shortened by ε, and one with a large Hausdorff distance dH(T,X)=1 as X is T with the longest ray I(2) of length 2 being replaced with a subray I(1) of length 1. By (1), we have dGH(T,X)dH(T,X)=εdH(T,X).

4 Metric trees with coefficient 𝟏

Section 3 demonstrates that results claiming dGH(G,X)=dH(G,X) for X a subset of a metric graph G do not hold in general, even if dH(G,X) is arbitrarily small. In this section, as well as in Section 6, we prove related results relying on bounds on dH(G,X). In particular, we will assume the condition dH(G,X)>dH(G,X) which rules out the example constructed in Theorem 5. The following proposition shows that condition has a high probability of being satisfied if X is a large uniform sample of G; see [3] for the proof.

Proposition 6.

If G is a metric graph and X is a sample of n uniformly random points, then with high probability as n, we have dH(G,X)>dH(G,X).

We prove the following results for metric trees.

Proposition 7.

Let T be a finite tree, and let f:TT be a function. If dH(T,f(T))>dH(T,f(T)), then 12dis(f)dH(T,f(T)).

Proof.

Let 12dis(f)<r and let x¯T be a point such that B(x¯,dH(T,f(T)))f(T)=. The assumption dH(T,f(T))>dH(T,f(T)) implies that T{x¯} is disconnected and at least two distinct components thereof have non-empty intersection with f(T) (since a tree has at least two leaves). Since f(T)r is connected by Lemma 3, we have x¯f(T)r, which implies dH(T,f(T))<r. Since r can be taken arbitrarily, dH(T,f(T))12dis(f).

Theorem 8.

Let T be a finite metric tree and let XT. If dH(T,X)>dH(T,X), then dGH(T,X)=dH(T,X).

Proof.

By Lemma 2, we may assume that X is compact. Suppose for a contradiction that dGH(T,X)<dH(T,X). Then by Lemma 4, there is a function f:TXT with 12dis(f)<dH(T,X)dH(T,f(T)) and dH(T,f(T))=dH(T,X)<dH(T,X)dH(T,f(T)), contradicting Proposition 7. In other words, dH(T,X)=max{dGH(T,X),dH(T,X)}. All of the results in our paper have simple corollaries for two subsets of the tree or graph; we give one such example.

Corollary 9.

Let T be a finite metric tree and let X,YT. For any εdH(T,Y), if dH(X,Y)>dH(T,X)+ε, then dGH(X,Y)dH(X,Y)2ε.

Proof.

We need only apply the triangle inequality:

dH(X,Y)dH(T,X)+dH(T,Y)
= max{dGH(T,X),dH(T,X)}+dH(T,Y) by Theorem 8
max{dGH(X,Y)+dGH(T,Y),dH(T,X)}+dH(T,Y)
max{dGH(X,Y)+dH(T,Y),dH(T,X)}+dH(T,Y) since dGH(T,Y)dH(T,Y)
= max{dGH(X,Y)+2dH(T,Y),dH(T,X)+dH(T,Y)}
max{dGH(X,Y)+2ε,dH(T,X)+ε} since dH(T,Y)ε.

As a particular case of Theorem 8, we can provide a closed formula for the Gromov–Hausdorff distance between a segment and a sample of it; see [3] for the proof.

Corollary 10.

Let X be a compact non-empty subset of an interval I=[a,b]. Denote by c=minX and d=maxX. Then dGH(I,X)=max{ca+bd2,dH([c,d],X)}.

5 The case of the circle

Before considering general metric graphs in the following section, in this section we first understand the simplest connected metric graph which is not a tree: the circle G=S1. The authors of [2] showed that dGH(S1,X)=dH(S1,X) for a compact subset XS1 with dGH(S1,X)<π6. A curious question regarding the optimality of the density constant π6 was also posed therein [2, Question 2]. While the constant π6 provides a sufficient Gromov–Hausdorff density of a subset X to guarantee the equality of its Hausdorff and Gromov–Hausdorff distances to S1, it turns out this constant is suboptimal. In this section, we show that π3 is the optimal constant in the case of the circle. That is, for a subset XS1, the density condition dGH(S1,X)<π3 implies dGH(S1,X)=dH(S1,X) (Theorem 11), and there is a compact XS1 with π3=dGH(S1,X)<dH(S1,X) (Theorem 12).

Theorem 11.

For any subset XS1, we have dGH(S1,X)min{dH(S1,X),π3}.

Proof.

This proof is closely related to [18, 12]. It suffices to show that if dGH(S1,X)<π3, then dGH(S1,X)dH(S1,X). Let f:S1X be a (possibly discontinuous) function. By (3), it suffices to show that if 12dis(f)<π3, then 12dis(f)dH(S1,X), or equivalently that ε+dis(f)2dH(S1,X) for all ε>0 sufficiently small. Suppose 12dis(f)<π3. Fix ε>0 with 5ε<2π3dis(f). Form a finite triangulation K of S1 with edges of length less than ε. Let K(0)S1 be the vertex set of K. Since adjacent vertices vi,vi+1K(0) satisfy d(vi,vi+1)<ε, we have d(f(vi),f(vi+1))<ε+dis(f)<π. Hence we can map the edge between vi and vi+1 to the unique shortest path in S1 between f(vi) and f(vi+1), obtaining a continuous map f¯:KS1.

Figure 2: Proof of Theorem 11: Since f¯(x)=f¯(x), the shortest paths in S1 between f(vi),f(vi+1) and f(vj),f(vj+1) intersect.

Let r=ε+dis(f)2. Suppose for a contradiction that Xr is not equal to all of S1. Then there is an arc of length at least 2r in S1 that contains no points from X. So f¯ is non-surjective, since the image of each edge in K is an edge of length less than 2r. Hence f¯:KS1 is a map of degree zero. The Borsuk–Ulam theorem [5, Page 206, Exercise 21] then implies there are antipodal points x,xK with f¯(x)=f¯(x). Let x be on the closed edge between vi,vi+1K(0), and let x be on the closed edge between vj,vj+1K(0). Since f¯(x)=f¯(x), the shortest path in S1 between f(vi),f(vi+1) intersects the shortest path between f(vj),f(vj+1). Since these paths in S1 are of length less than 2r, one of f(vi),f(vi+1) is at a distance less than r from one of f(vj),f(vj+1), i.e. d(f(v),f(v))<r for some v{vi,vi+1} and v{vj,vj+1}; see Figure 2. We obtain

dis(f)>d(v,v)d(f(v),f(v))>(π2ε)ε+dis(f)2=πdis(f)25ε2.

So 5ε2>π3dis(f)2, contradicting the choice of ε. Hence it must be that Xr=S1. Since ε+dis(f)2=rdH(S1,X) for all ε>0 sufficiently small, we are done.

(a) Correspondence S1×X has a distortion of 2π3. So, dGH(S1,X)π3.
(b) X={a,b,c,d,e,f}S1
with dH(S1,X)=π3+ε.
Figure 3: The configuration of points XS1 is depicted to show the optimal constant for the circle.

We now prove the optimality of π3 for the circle, i.e. that π3 is also a necessary condition.

Theorem 12.

For any ε(0,π6), there exists a nonempty compact subset XS1 with dH(S1,X)=π3+ε and dGH(S1,X)=π3<dH(S1,X).

Proof.

We construct X to be a six-element subset of S1. Both X and a particular correspondence S1×X are shown in Figure 3. One can check that dH(S1,X)=π3+ε. Also, one can check that dis()=2π3, giving dGH(S1,X)π3. So dGH(S1,X)<dH(S1,X). Moreover, Theorem 11 implies that dGH(S1,X)=π3.

6 Metric graphs with loops with coefficient 𝟏

In this section, we extend our results for the circle to general metric graphs; see Theorem 23.

6.1 Distortion of continuous maps between graphs

We first need a Borsuk–Ulam theorem for maps into trees; see [3] for the proof.

Lemma 13.

If T is a tree and f:S1T is continuous, then there exist x,xS1 with d(x,x)2π3 and f(x)=f(x).

Note that the lower bound 2π3 in Lemma 13 cannot be improved, as shown in Figure 4.

Figure 4: The lower bound in Lemma 13 is tight. The function f sends the black circle to the blue tripod. The points a, b and c are at distance 2π3 apart and in the same fiber of f.

Recall that G0 is the core of a metric graph G (see Section 2), and that e(G0) is the length of the shortest edge in G0.

Lemma 14.

Let (G,d) be a metric graph and γ be a simple loop. If y,yγ satisfy d(y,y)<e(G0)2, then there is a unique geodesic joining y and y and it lies on γ.

Proof.

Let η be a simple path connecting y and y. If η is not entirely in γ, its length is at least e(G0). So since d(y,y)<e(G0)2, a geodesic connecting the two points must lie on γ; see Figure 5. This geodesic is unique since the length of a loop is at least e(G0).

(a)
(b)
Figure 5: The assumptions in Lemma 14 are necessary. Loop γ is represented with a dashed red line. (a) If there is no bound on e(G0), then there may exist a shorter path connecting y and y using a shortcut η. (b) If γ is not simple, then y and y may be arbitrarily close and joined by geodesics that are not in γ.

The following lemma is the crucial step showing that a continuous map between finite graphs must send simple loops to simple loops, provided that the distortion is sufficiently small compared to the length of the shortest internal edge.

Lemma 15.

Let f¯:(G,dG)(G,dG) be a continuous map between finite metric graphs. Assume that dis(f¯)2<min{e(G0),e(G0)}8. Then f¯ induces an injection Φ:(G)(G) between the simple loops of G and the simple loops of G as follows: given a simple loop γ(G), Φ(γ) is the only simple loop of G contained in f¯(γ).

Proof of Lemma 15 .

For readability purposes, let us divide the proof into several claims. First, let us show that the map Φ is well-defined, i.e., for every simple loop γ(G) there is a simple loop of G contained in f¯(γ) and that simple loop is unique.

Claim 16 (Existence).

If γ is a simple loop of G, then f¯(γ) contains a simple loop of G.

Proof of Claim 16.

Suppose for a contradiction that f¯(γ) does not contain a loop. Since f¯(γ) is connected, it is a tree. So Lemma 13 applies to give points x,xγ with f¯(x)=f¯(x) and dγ(x,x)length(γ)3 where dγ is the geodesic distance on γ. We must have dG(x,x)e(G0)3, since if dG(x,x)<e(G0)3<e(G0)2, then Lemma 14 would give that a geodesic connecting x and x lies on γ, and so dG(x,x)=dγ(x,x)length(γ)3e(G0)3. We obtain the contradiction

dis(f¯)|dG(x,x)dG(f¯(x),f¯(x))|=dG(x,x)e(G0)3>e(G0)4>dis(f¯).

Hence f¯(γ) must contain a loop.

Claim 17 (Uniqueness).

If γ is a simple loop, then f¯(γ) contains at most one simple loop.

Proof of Claim 17.

Note that f¯(γ) is a closed subset of G since it is the continuous image of a compact subset. Let H=f¯(γ), which is a connected subgraph of G. Furthermore, let H0 be the smallest connected subgraph of G containing the union of all simple loops of H. Suppose for a contradiction that f¯(γ)=H contains at least two simple loops. Therefore, at least one vertex of H0 has degree at least 3. We can then consider the canonical graph representation of H0 consisting of only vertices of degree at least 3. For every vV(H0), the closed subset (f¯)1(v) has diameter at most dis(f¯)<e(G0)2. Hence, the convex hull Cv of (f¯)1(v)γ is well-defined. Furthermore, for every v,vV(H0) with vv, we have CvCv=. Indeed, for x(f¯)1(v) and x(f¯)1(v) with vv, we have

dG(x,x)dG(v,v)dis(f¯)e(G0)dis(f¯)>dis(f¯)max{diamCv,diamCv}.

Let |V(H0)|=n and let γ1,,γn be the non-empty connected components of γvV(H0)Cv. For every i{1,,n}, note that f¯(γi) is contained in a connected component of HV(H0).

Figure 6: A representation of the objects constructed in the proof of Claim 17.

Let η1,,ηm be the connected components of H0V(H0). Note that each ηj is an open-ended path in H0. We claim that ηjf¯(γ1γn) for every j{1,,m}. Let y be the midpoint of ηj. Since H=f¯(γ), there is zγ such that f¯(z)=y. For every vV(H0) and every x(f¯)1(v),

dG(z,x)dG(y,v)dis(f¯)e(G0)2dis(f¯)>2dis(f¯)dis(f¯)=dis(f¯)diamCv.

Hence, zCv and so zγ1γn. So far, we have shown that each f¯(γi), for i{1,,n}, is contained in some connected component of HV(H0). Furthermore, among these connected components, each ηj with j{1,,m} contains the f¯-image of at least one γi. It will be a contradiction if we prove that n<m. Note that the set {ηj}j=1m is in bijection with the edge set E(H0) of H0. Hence

2m=2|E(G0)|=vV(G0)degG0(v)3|V(G0)|=3n,

giving the contradiction n<m. It must be that f¯(γ) contains at most one simple loop. According to Claims 16 and 17, map Φ is well-defined. Lastly, we show that it is injective.

Claim 18.

The map Φ:(G)(G) is injective.

Proof of Claim 18.

Let γ1, γ2, and η be three simple loops such that ηf¯(γ1)f¯(γ2). Suppose, by contradiction, that the simple loops γ1 and γ2 are distinct, meaning they differ by at least one edge. Without loss of generality, let us fix an edge eE(G) that is contained in γ1 but whose interior is disjoint from γ2. Fix the midpoint m of e. In particular, dG(m,γ2)e(G0)2.

Figure 7: A representation of the objects constructed in the proof of Claim 18.

Let us estimate dG(m,(f¯)1(η)). Suppose that x(f¯)1(η), and fix yγ2 such that f¯(x)=f¯(y). Note that dG(x,y)dis(f¯). Using the triangle inequality, we obtain

dG(m,x) dG(m,y)dG(x,y)dG(m,γ2)dis(f¯) (4)
e(G0)2dis(f¯)>2dis(f¯)dis(f¯)=dis(f¯).

Hence d(m,(f¯)1(η))dis(f¯), and in particular, f¯(m)η. Consider the connected component C of γ1(f¯)1(η) containing m. Since (f¯)1(η) is closed by continuity, C is an open arc in γ1. Let x1 and x2 be the two points of γ1 on the boundary of C. Note that they both belong to (f¯)1(η), and so dG(m,xi)>dis(f¯) by (4). Let us estimate dG(x1,x2). A geodesic connecting x1 and x2 satisfies one of the following:

  1. (i)

    either it passes through m,

  2. (ii)

    or it crosses (f¯)1(η)γ1,

  3. (iii)

    or it uses an edge that is not in γ1.

In all three cases, we have dG(x1,x2)>dis(f¯). For (i), this follows since dG(m,xi)>dis(f¯). For (ii), let A(f¯)1(η)γ1. Since f¯(γ1) contains η, we have f¯(A)=η. The diameter of η is at least e(G0)2, and hence diam(A)e(G0)2dis(f¯)>2dis(f¯)dis(f¯)=dis(f¯).

Finally, we also have dG(x1,x2)>dis(f¯) in case (iii) since e(G0)>dis(f¯). Since f¯ is continuous, f¯(C) is contained in a connected component D of f¯(γ1)η. Since f¯(γ1) contains only one loop, D is a tree. Furthermore, f¯(γ1) is a closed subset of G since it is the continuous image of a compact subset, and it contains only one simple loop. Thus, the closure of D in G intersects η in only one point z. We have already observed that f¯(xi)η for i{1,2}. Furthermore, f¯(xi) belongs to the closure of f¯(C) in G, which is contained in the closure of D. Therefore, f¯(xi)=z since the latter is the only point in the closure of D that lies on η. This gives f¯(x1)=z=f¯(x2), which contradicts the above established inequality dG(x1,x2)>dis(f¯). This completes the proof of Lemma 15.

6.2 Distortion of arbitrary functions between graphs

To apply Lemma 15 in the context of Gromov–Hausdorff distances, we will need a way to turn arbitrary functions into nearby continuous ones with controlled distortion, as described in the following result.

Lemma 19.

Let f:(G,dG)(G,dG) be a function between finite metric graphs with distortion dis(f)2<r<min{e(G0),e(G0)}4. Then there is a continuous map f¯:GG such that dis(f¯)2<2r and f¯(G)(f(G))r.

Proof.

We organize the proof into three steps, to help its readability. Let ε>0 satisfy ε+dis(f)<2r.

Step 1: Construct a continuous map 𝒇¯.

Fix a finite triangulation K of G with edges of length at most ε such that V(G)K(0). Let us construct a continuous map f¯:KG as follows. For every vertex xK(0), set f¯(x)=f(x). Consider now two adjacent vertices x and y in K(0). Send the segment from x to y to the geodesic segment connecting f(x) and f(y) at uniform speed. The geodesic between the two points f(x) and f(y) is unique since dG(f(x),f(y))ε+dis(f)<e(G0)2.

Step 2: Estimate the distortion of 𝒇¯.

We claim that dis(f¯)2(dis(f)+ε)<4r. The second inequality is trivial. Let x,yK. Choose a closest point xiK(0) to x. Let xi+1K(0) be such that x is contained in the edge {xi,xi+1}. Note that dG(x,xi)ε2. Thus, by construction of f¯,

dG(f¯(x),f(xi))dG(f(xi),f(xi+1))2ε+dis(f)2 (5)

Similarly, if yjK(0) is a closest point to y, dG(y,yj)ε2 and dG(f¯(y),f(yj))ε+dis(f)2. By applying the triangle inequality, we obtain the following chain of inequalities:
dG(f¯(x),f¯(y))dG(f¯(x),f¯(xi))+dG(f(xi),f(yj))+dG(f¯(yj),f¯(y)) dis(f)+ε2+dG(xi,yj)+dis(f)+dis(f)+ε22dis(f)+ε+dG(xi,x)+dG(x,y)+dG(y,yj) 2(dis(f)+ε)+dG(x,y)<4r+dG(x,y).

With similar computations, we can show that dG(x,y)dG(f¯(x),f¯(y))2(dis(f)+ε)<4r. This proves dis(f¯)2<2r.

Step 3: Show 𝒇¯(𝑲)(𝒇(𝑮))𝒓.

For every point f¯(x)f¯(K), choose a closest point xiK(0) to x as in Step 2. According to (5), dG(f¯(x),f(xi))<r since ε+dis(f)<2r. We finally obtain that the core G0 of a graph G is preserved by a function with distortion bounded by a fraction of the shortest edge length.

Proposition 20.

Let G be a finite metric graph and let f:GG be a function with dis(f)2<r<e(G0)16. Then G0f(G0)r.

Proof.

Let f¯:GG be the continuous map described in Lemma 19. Then dis(f¯)2<2r<e(G0)8. The restriction f¯|G0:G0G is also continuous and has the same bound on its distortion. We can then apply Lemma 15 to f¯|G0 and obtain an injection Φ:(G0)(G). Since (G0)=(G) by construction and these sets are finite, Φ is a bijection. Hence, every simple loop of G is contained in f¯(G0)f(G0)r according to Lemma 19. Given that f(G0)r is connected, it contains G0. As an immediate consequence of Proposition 20 we obtain that the Hausdorff and the Gromov–Hausdorff distances between a graph with no leaves and a subset thereof coincide, provided that the latter is sufficiently small.

Corollary 21.

Let G be a finite metric graph with no leaves, and let XG. If dGH(G,X)<e(G0)16, then dGH(G,X)=dH(G,X).

Proof.

Let r>0 satisfy dGH(G,X)<r<e(G0)16. Then there is a map f:GX whose distortion satisfies dis(f)2<r<e(G0)16. We can apply Proposition 20 to obtain that G=G0f(G0)rXr. Hence dH(G,X)r. Since r can be taken arbitrarily, we have dH(G,X)dGH(G,X). We now discuss how to lower bound the Gromov–Hausdorff distance with respect to the Hausdorff distance for graphs with leaves. The first result relies on hypotheses around the subset X of the graph G. More precisely, similarly to the tree case, we request that the subset X is sufficiently close to the leaves of G.

Proposition 22.

Let (G,d) be a finite metric graph and let f:GG be a (possibly discontinuous) function with dis(f)2<e(G0)16. If G, suppose that dH(G,f(G))>dH(G,f(G)). Then dH(G,f(G))dis(f)2.

Proof.

Let r>0 satisfy dis(f)2<r<e(G0)16. Let x¯G be a point such that the intersection B(x¯,dH(G,f(G)))f(G) is empty. If x¯G0, then x¯f(G)r according to Proposition 20, and so dH(G,f(G))<r. Suppose otherwise that x¯G0. Thus, G{x¯} is disconnected, and at least two connected components thereof have non-empty intersection with X by the assumption. We can conclude as in Proposition 7.

Theorem 23.

Let G be a finite connected metric graph and let XG. If G, suppose dH(G,X)>dH(G,X). If dGH(G,X)<e(G0)16, then dGH(G,X)=dH(G,X).

Proof.

As in the proof of Theorem 8, by Lemma 2 we can assume that X is compact by replacing it with its closure X¯ if necessary. Suppose, by contradiction, that dGH(G,X)<dH(G,X). By Lemma 4 there is a function f:GX such that 12dis(f)<min{dH(G,X),e(G0)16} and dH(G,X)=dH(G,f(G)). Note that dH(G,f(G))dH(G,X)>dH(G,X)=dH(G,f(G)). We can apply Proposition 22 to obtain a contradiction with the following chain of inequalities: dH(G,X)dH(G,f(G))dis(f)2dGH(G,X).

7 Conclusion and open questions

We have furthered the study of lower bounding the Gromov–Hausdorff distance between a space and a subset by their Hausdorff distance, particularly for metric graphs. This investigation sparks several open questions and new research directions, especially for spaces beyond graphs: (1) Is the density constant e(G0)16 in Theorem 23 optimal? (2) Do our results generalize to general length spaces? If so, under what density assumptions? (3) Are there versions of our results that hold for manifolds with boundary? (4) Are there classes of metric spaces (other than graphs) where the Gromov–Hausdorff distance between the space and a dense enough subset equals their Hausdorff distance?

References

  • [1] Henry Adams, Johnathan Bush, Nate Clause, Florian Frick, Mario Gómez, Michael Harrison, R. Amzi Jeffs, Evgeniya Lagoda, Sunhyuk Lim, Facundo Mémoli, Michael Moy, Nikola Sadovek, Matt Superdock, Daniel Vargas, Qingsong Wang, and Ling Zhou. Gromov–Hausdorff distances, Borsuk–Ulam theorems, and Vietoris–Rips complexes. arXiv preprint, 2023. arXiv:2301.00246.
  • [2] Henry Adams, Florian Frick, Sushovan Majhi, and Nicholas McBride. Hausdorff vs Gromov–Hausdorff distances. Discrete & Computational Geometry, 2025.
  • [3] Henry Adams, Sushovan Majhi, Fedor Manin, Žiga Virk, and Nicolò Zava. Lower bounding the Gromov–Hausdorff distance in metric graphs. arXiv:2411.09182.
  • [4] Pankaj K. Agarwal, Kyle Fox, Abhinandan Nath, Anastasios Sidiropoulos, and Yusu Wang. Computing the Gromov–Hausdorff distance for metric trees. ACM Trans. Algorithms, 14(2), 2018. doi:10.1145/3185466.
  • [5] Mark Anthony Armstrong. Basic topology. Springer Science & Business Media, 2013.
  • [6] Martin R Bridson and André Haefliger. Metric spaces of non-positive curvature, volume 319. Springer Science & Business Media, 2011.
  • [7] L. E. J. Brouwer. Beweis der Invarianz der Dimensionenzahl. Mathematische Annalen, 70(2):161–165, 1911.
  • [8] L. E. J. Brouwer. Über Abbildung von Mannigfaltigkeiten. Mathematische Annalen, 71(1):97–115, 1911.
  • [9] Dmitri Burago, Yuri Burago, and Sergei Ivanov. A course in metric geometry, volume 33. American Mathematical Society, Providence, 2001.
  • [10] Gunnar Carlsson and Facundo Mémoli. Characterization, stability and convergence of hierarchical clustering methods. Journal of Machine Learning Research, 11(47):1425–1470, 2010. doi:10.5555/1756006.1859898.
  • [11] Frédéric Chazal, Vin de Silva, and Steve Oudot. Persistence stability for geometric complexes. Geometriae Dedicata, 174:193–214, 2014.
  • [12] Lester Dubins and Gideon Schwarz. Equidiscontinuity of Borsuk–Ulam functions. Pacific Journal of Mathematics, 95(1):51–59, 1981.
  • [13] David A Edwards. The structure of superspace. In Studies in topology, pages 121–133. Elsevier, 1975.
  • [14] Mikhael Gromov. Structures métriques pour les variétés Riemanniennes. Textes Mathématiques, 1, 1981.
  • [15] Michael Harrison and R Amzi Jeffs. Quantitative upper bounds on the Gromov–Hausdorff distance between spheres. arXiv preprint, 2023. arXiv:2309.11237.
  • [16] Yibo Ji and Alexey A Tuzhilin. Gromov–Hausdorff distance between segment and circle. arXiv preprint, 2021. arXiv:2101.05762.
  • [17] Nigel J Kalton and Mikhail I Ostrovskii. Distances between Banach spaces. Forum Math., 11:1–17, 1999.
  • [18] Alejandro Leon. The Gromov–Hausdorff distance between spheres and their boundaries. To appear, 2026.
  • [19] Sunhyuk Lim, Facundo Mémoli, and Zane Smith. The Gromov–Hausdorff distance between spheres. Geometry & Topology, 27:3733–3800, 2023.
  • [20] Sushovan Majhi, Jeffrey Vitter, and Carola Wenk. Approximating Gromov–Hausdorff distance in Euclidean space. Computational Geometry, 116:102034, 2024. doi:10.1016/j.comgeo.2023.102034.
  • [21] Facundo Mémoli. On the use of Gromov–Hausdorff distances for shape comparison, 2007.
  • [22] Facundo Mémoli. Some properties of Gromov–Hausdorff distances. Discrete & Computational Geometry, 48(2):416–440, 2012. doi:10.1007/S00454-012-9406-8.
  • [23] Felix Schmiedl. Computational aspects of the Gromov–Hausdorff distance and its application in non-rigid shape matching. Discrete & Computational Geometry, 57(4):854, 2017.
  • [24] Alexey A Tuzhilin. Who invented the Gromov–Hausdorff distance? arXiv preprint, 2016. arXiv:1612.00728.
  • [25] Nicolò Zava. Coarse and bi-Lipschitz embeddability of subspaces of the Gromov–Hausdorff space into Hilbert spaces. Algebr. Geom. Topol., 25(8):5153–5174, 2024.