Tight span

In metric geometry, the metric envelope or tight span of a metric space M is an injective metric space into which M can be embedded. In some sense it consists of all points "between" the points of M, analogous to the convex hull of a point set in a Euclidean space. The tight span is also sometimes known as the injective envelope or hyperconvex hull of M. It has also been called the injective hull, but should not be confused with the injective hull of a module in algebra, a concept with a similar description relative to the category of R-modules rather than metric spaces.

The tight span was first described by, and it was studied and applied by Holsztyński in the 1960s. It was later independently rediscovered by and ; see  for this history. The tight span is one of the central constructions of T-theory.

Definition
The tight span of a metric space can be defined as follows. Let (X,d) be a metric space, and let T(X) be the set of extremal functions on X, where we say an extremal function on X to mean a function f from X to R such that In particular (taking x = y in property 1 above) f(x) ≥ 0 for all x. One way to interpret the first requirement above is that f defines a set of possible distances from some new point to the points in X that must satisfy the triangle inequality together with the distances in (X,d). The second requirement states that none of these distances can be reduced without violating the triangle inequality.
 * 1) For any x, y in X, d(x,y) ≤ f(x) + f(y), and
 * 2) For each x in X, f(x) = sup{d(x,y) - f(y):y in X}.

The tight span of (X,d) is the metric space (T(X),δ), where $$\delta=(\inf\{C\in\mathbb R_{\ge0}:|g(x)-f(x)|\le C\text{ for all }x\in X\})_{f,g\in T(X)}=(\|g-f\|_\infty)_{f,g\in T(X)}$$ is analogous to the metric induced by the $ℓ$ norm. (If d is bounded, then δ is the subspace metric induced by the metric induced by the $ℓ$ norm. If d is not bounded, then every extremal function on X is unbounded and so $$T(X)\not\subseteq\ell^\infty(X).$$ Regardless, it will be true that for any f,g in T(X), the difference $$g-f$$ belongs to $$\ell^\infty(X)$$, i.e., is bounded.)

Equivalent definitions of extremal functions
For a function f from X to R satisfying the first requirement, the following versions of the second requirement are equivalent:
 * For each x in X, f(x) = sup{d(x,y) - f(y):y in X}.
 * f is pointwise minimal with respect to the aforementioned first requirement, i.e., for any function g from X to R such that d(x,y) ≤ g(x) + g(y) for all x,y in X, if g≤f pointwise, then f=g.

Basic properties and examples

 * For all x in X, $$0\le f(x).$$
 * For each x in X, $$(d(x,y))_{y\in X}$$ is extremal. (Proof: Use symmetry and the triangle inequality.)
 * If X is finite, then for any function f from X to R that satisfies the first requirement, the second requirement is equivalent to the condition that for each x in X, there exists y in X such that f(x) + f(y) = d(x,y). (If $$X=\emptyset,$$ then both conditions are true. If $$X\ne\emptyset,$$ then the supremum is achieved, and the first requirement implies the equivalence.)
 * Say |X|=2, and choose distinct a, b such that X={a,b}. Then $$T(X)=\{f\in(\R_{\ge0})^X:f(a)+f(b)=d(a,b)\}$$ is the convex hull of {{(a,1),(b,0)},{(a,0),(b,1)}}. [Add a picture. Caption: If X={0,1}, then $$T(X)=\{v\in(\R_{\ge0})^2:v_0+v_1=d(0,1)\}$$ is the convex hull of {(0,1),(1,0)}.]
 * Every extremal function f on X is Katetov:  f satisfies the first requirement and $$\forall x,y\in X\quad f(x)\le d(x,y)+f(y),$$ or equivalently, f satisfies the first requirement and $$\forall x,y\in X\quad|f(y)-f(x)|\le d(x,y)$$ (is 1-Lipschitz), or equivalently, f satisfies the first requirement and $$\forall x\in X\quad\sup\{f(y)-d(x,y):y\in X\}=f(x).$$
 * T(X)⊆C(X). (Lipschitz functions are continuous.)
 * T(X) is equicontinuous. (Follows from every extremal function on X being 1-Lipschitz; cf. Equicontinuity.)
 * Not every Katetov function on X is extremal. For example, let a, b be distinct, let X = {a,b}, let d = ([x≠y])x,y in X be the discrete metric on X, and let f = {(a,1),(b,2)}. Then f is Katetov but not extremal. (It is almost immediate that f is Katetov. f is not extremal because it fails the property in the third bullet of this section.)
 * If d is bounded, then every f in T(X) is bounded. In fact, for every f in T(X), $$\|f\|_\infty\le\|d\|_\infty.$$ (Note $$d\in\ell^\infty(X\times X).$$) (Follows from the third equivalent property in the above section.)
 * If d is unbounded, then every f in T(X) is unbounded. (Follows from the first requirement.)
 * $$T(X)$$ is closed under pointwise limits. For any pointwise convergent $$f\in (T(X))^\omega,$$ $$\lim f\in T(X).$$
 * If (X,d) is compact, then (T(X),δ) is compact. (Proof: The extreme-value theorem implies that d, being continuous as a function $$X\times X\to\mathbb R,$$ is bounded, so (see previous bullet) $$T(X)\subseteq\{f\in C(X):\|f\|_\infty\le\|d\|_\infty\}$$ is a bounded subset of C(X). We have shown T(X) is equicontinuous, so the Arzelà–Ascoli theorem implies that T(X) is relatively compact. However, the previous bullet implies T(X) is closed under the $$\ell^\infty$$ norm, since $$\ell^\infty$$ convergence implies pointwise convergence. Thus T(X) is compact.)
 * For any function g from X to R that satisfies the first requirement, there exists f in T(X) such that f≤g pointwise.
 * For any extremal function f on X, $$\forall x\in X\quad f(x)=\sup\{|f(y)-d(x,y)|:y\in X\}.$$
 * For any f,g in T(X), the difference $$g-f$$ belongs to $$\ell^\infty(X)$$, i.e., is bounded. (Use the above bullet.)
 * The Kuratowski map $$e:=((d(x,y))_{y\in X})_{x\in X}$$ is an isometry. (When X=∅, the result is obvious. When X≠∅, the reverse triangle inequality implies the result.)
 * Let f in T(X). For any a in X, if f(a)=0, then f=e(a). (For every x in X we have $$(e(a))(x)=d(a,x)\le f(a)+f(x)=f(x).$$ From minimality (second equivalent characterization in above section) of f and the fact that $$e(a)$$ satisfies the first requirement it follows that $$f=e_a.$$)
 * (X,d) is hyperbolic if and only if (T(X),δ) is hyperbolic.

Hyperconvexity properties

 * (T(X),δ) and $$\left(X\cup(T(X)\setminus\operatorname{range}e),\delta_{(T(X)\setminus\operatorname{range}e)\times(T(X)\setminus\operatorname{range}e)}\cup(\delta(e(x),e(y)))_{x,y\in X}\cup(\delta(e(x),g))_{x\in X,g\in T(X)\setminus\operatorname{range}e}\cup(\delta(f,e(y))_{f\in T(X)\setminus\operatorname{range}e,y\in X}\right)$$ are both hyperconvex.
 * For any Y such that $$\operatorname{range}e\subseteq Y\subsetneq X\cup(T(X)\setminus\operatorname{range}e),$$ $$\left(X\cup(Y\setminus\operatorname{range}e),\delta_{(Y\setminus\operatorname{range}e)\times(Y\setminus\operatorname{range}e)}\cup(\delta(e(x),e(y)))_{x,y\in X}\cup(\delta(e(x),g))_{x\in X,g\in Y\setminus\operatorname{range}e}\cup(\delta(f,e(y))_{f\in Y\setminus\operatorname{range}e,y\in X}\right)$$ is not hyperconvex. ("(T(X),δ) is a hyperconvex hull of (X,d).")
 * Let $$(H,\varepsilon)$$ be a hyperconvex metric space with $$X\subseteq H$$ and $$\varepsilon|_{X\times X}=\delta$$. If for all I with $$X\subseteq I\subsetneq H,$$ $$(I,\varepsilon|_{I\times I})$$ is not hyperconvex, then $$(H,\varepsilon)$$ and (T(X),δ) are isometric. ("Every hyperconvex hull of (X,d) is isometric with (T(X),δ).")

Examples
T(X)=&\{v\in(\mathbb R_{\ge0})^3:1=v_a+v_b,2=v_a+v_c,3\le v_b+v_c \\&\qquad\qquad\qquad\text{or }1=v_a+v_b,2\le v_a+v_c,3=v_b+v_c \\&\qquad\qquad\qquad\text{or }1\le v_a+v_b,2=v_a+v_c,3=v_b+v_c\} \\=&\{v\in(\mathbb R_{\ge0})^3:v_a\le\frac{(i+j)-k}2,v_b=i-v_a,v_c=j-v_a \\&\qquad\qquad\qquad\text{or }v_a=i-v_b,v_b\le\frac{(i+k)-j}2,v_c=k-v_b \\&\qquad\qquad\qquad\text{or }v_a=j-v_c,v_b=k-v_c,v_c\le\frac{(j+k)-i}2\} \\=&\left\{(t,i-t,j-t):t\in\left[0,i\land j\land\frac{(i+j)-k}2\right]\right\} \\&\cup\left\{(i-t,t,k-t):t\in\left[0,i\land k\land\frac{(i+k)-j}2\right]\right\} \\&\cup\left\{(j-t,k-t,t):t\in\left[0,j\land k\land\frac{(j+k)-i}2\right]\right\} \\=&\left\{(t,i-t,j-t):t\in\left[0,\frac{(i+j)-k}2\right]\right\} \\&\cup\left\{(i-t,t,k-t):t\in\left[0,\frac{(i+k)-j}2\right]\right\} \\&\cup\left\{(j-t,k-t,t):t\in\left[0,\frac{(j+k)-i}2\right]\right\} \\=&\operatorname{conv}\{(0,i,j),x\}\cup\operatorname{conv}\{(i,0,k),x\}\cup\operatorname{conv}\{(j,k,0),x\}, \end{alignat}$$ where $$x=2^{-1}(i+j-k,i+k-j,j+k-i).$$ [Add a picture. Caption: If X={0,1,2}, then T(X)=conv{,} u conv{,} u conv{,} is shaped like the letter Y.] (Cf. )
 * Say |X|=3, choose distinct a, b, c such that X={a,b,c}, and let i=d(a,b), j=d(a,c), k=d(b,c). Then $$\begin{alignat}{2}
 * The figure shows a set X of 16 points in the plane; to form a finite metric space from these points, we use the Manhattan distance ($ℓ$ distance). The blue region shown in the figure is the orthogonal convex hull, the set of points z such that each of the four closed quadrants with z as apex contains a point of X. Any such point z corresponds to a point of the tight span: the function f(x) corresponding to a point z is f(x) = d(z,x). A function of this form satisfies property 1 of the tight span for any z in the Manhattan-metric plane, by the triangle inequality for the Manhattan metric. To show property 2 of the tight span, consider some point x in X; we must find y in X such that f(x)+f(y)=d(x,y). But if x is in one of the four quadrants having z as apex, y can be taken as any point in the opposite quadrant, so property 2 is satisfied as well. Conversely it can be shown that every point of the tight span corresponds in this way to a point in the orthogonal convex hull of these points. However, for point sets with the Manhattan metric in higher dimensions, and for planar point sets with disconnected orthogonal hulls, the tight span differs from the orthogonal convex hull.

Dimension of the tight span when X is finite
The definition above embeds the tight span T(X) of a set of n ($$n\in\mathbb Z_{\ge0}$$) points into RX, a real vector space of dimension n. On the other hand, if we consider the dimension of T(X) as a polyhedral complex, showed that, with a suitable general position assumption on the metric, this definition leads to a space with dimension between n/3 and n/2.

Alternative definitions
An alternative definition based on the notion of a metric space aimed at its subspace was described by, who proved that the injective envelope of a Banach space, in the category of Banach spaces, coincides (after forgetting the linear structure) with the tight span. This theorem allows to reduce certain problems from arbitrary Banach spaces to Banach spaces of the form C(X), where X is a compact space.

attempted to provide an alternative definition of the tight span of a finite metric space as the tropical convex hull of the vectors of distances from each point to each other point in the space. However, later the same year they acknowledged in an Erratum that, while the tropical convex hull always contains the tight span, it may not coincide with it.

Applications

 * describe applications of the tight span in reconstructing evolutionary trees from biological data.
 * The tight span serves a role in several online algorithms for the K-server problem.
 * uses the tight span to classify metric spaces on up to six points.
 * uses the tight span to prove results about packing cut metrics into more general finite metric spaces.