1 Introduction

According to the classical extension theorem of McShane and Whitney that first appeared in [12, 19], a real-valued Lipschitz function defined on any subset A of a metric space X is extended to a Lipschitz function defined on X. To determine metric spaces X and Y such that a similar extension theorem for Y-valued Lipschitz functions defined on a subset A of X holds is a non-trivial problem under active current study (see [1, 4, 14]). Although the McShane-Whitney theorem has a highly ineffective proof similar to the proof of the Hahn-Banach theorem (see [17], pp.16–17), it also admits a proof based on an explicit definition of two such extension functions. This definition, which involves the notions of infimum and supremum of a bounded subset of reals, can be carried out constructively only if we restrict to certain subsets A of a metric space X.

We define a McShane-Whitney subset A of a metric space X in order to constructively realize the McShane-Whitney explicit definition of the extension functions. A pair (XA), where X is a metric space and A is a subset of X on which the McShane-Whitney explicit definition is carried out constructively is called here a McShane-Whitney pair. The importance of the McShane-Whitney extension lies in the possibility to relate properties of a given Lipschitz function on A to properties of its extension functions on X in such a way that a Lipschitz-version of the theory around the Hahn-Banach theorem is formed. We present here the first basic results in this direction. We work within Bishop’s informal system of constructive mathematics \(\mathrm {BISH}\) (see [2, 3, 6]). The constructive reconstruction of the general theory of Lipschitz functions is quite underdeveloped. Some first results on constructive Lipschitz analysis are found in [8, 10, 13]. All proofs that are not included here due to space restrictions are left to the reader.

2 Basic Notions and Facts

Definition 1

Let \(A \subseteq {\mathbb R}\) and \(b, l, \lambda , m, \mu \in {\mathbb R}\). If A is bounded above, we define \(b \ge A :\leftrightarrow \forall _{a \in A}(b \ge a)\), \([A) := \{b \in {\mathbb R}\mid b \ge A\}\), \(l = \sup A :\leftrightarrow l \ge A \wedge \forall _{\epsilon> 0}\exists _{a \in A}(a > l - \epsilon )\), and \(\lambda = \mathrm {lub}A :\leftrightarrow \lambda \ge A \wedge \forall _{b \in [A)}(b \ge \lambda )\). If A is bounded below, \(b \le A\), (A], \(m = \inf A\), and \(\mu = \mathrm {glb}A\) are defined in a dual way.

In [11], pp. 24–25, Mandelkern gave a necessary and sufficient condition for the existence of \(\mathrm {lub}A\) and \(\mathrm {glb}A\) and proved the following remark: If \(A \subseteq {\mathbb R}\) bounded and \(\mathrm {glb}A\) exists, then \(\sup (A]\) exists and \(\sup (A] = \mathrm {glb}A\), while if \(\mathrm {lub}A\) exists, then \(\inf [A)\) exists and \(\inf [A) = \mathrm {lub}A\).

Definition 2

We denote by \({\mathbb F}(X, Y)\) the set of functions of type \(X \rightarrow Y\) and by \({\mathbb F}(X)\) the set of functions of type \(X \rightarrow {\mathbb R}\). If \(a \in {\mathbb R}\), then \(\overline{a}_{X}\) denotes the constant map in \({\mathbb F}(X)\) with value a, and \(\mathrm {Const}(X)\) is the set of constant maps. If \((X, d), (Y, \rho )\) are metric spaces, then \(\mathrm {C_{u}(X, Y)}\) denotes the uniformly continuous functions from X to Y, and \(\mathrm {C_{u}(X)}\) denotes the uniformly continuous functions from X to \({\mathbb R}\), where \({\mathbb R}\) is equipped with its standard metric. The metric \(d_{x_{0}}\) at the point \(x_{0} \in X\) is defined by \(d_{x_{0}}(x) := d(x_{0}, x),\) for every \(x \in X\), and \(U_{0}(X) := \{d_{x_{0}} \mid x_{0} \in X\}.\) The set \(X_{0}\) of the d-distinct pairs of X is defined by \(X_{0} := \{(x, y) \in X \times X \mid d(x, y) > 0\}\).

Definition 3

If A is a subset of a metric space X, \(x \in X\), and \(\varDelta (x, A) := \{d(x, a) \mid a \in A\}\), A is located if \(d(x, A) := \inf \varDelta (x, A)\) exists, for every \(x \in X\), and A is colocated, if \(\delta (x, A) := \sup \varDelta (x, A)\) exists, for every \(x \in X\).

If A is inhabited and colocated, then A is bounded; if \(a_{0}\) inhabits A, then \(d(a, b) \le d(a, a_{0}) + d(a_{0}, b) \le 2\delta (a_{0}, A)\), for every \(a, b \in A\). Unless otherwise stated, for the rest X and Y are equipped with metrics d and \(\rho \), respectively.

Definition 4

The set of Lipschitz functions \(\mathrm {Lip}(X, Y)\) from X to Y is

$$\begin{aligned} \mathrm {Lip}(X, Y) := \bigcup _{\sigma \ge 0} \mathrm {Lip}(X, Y, \sigma ), \end{aligned}$$
$$\begin{aligned} \mathrm {Lip}(X, Y, \sigma ) := \{f \in \mathbb {F}(X, Y) \mid \forall _{x, y \in X}(\rho (f(x), f(y)) \le \sigma d(x, y))\}. \end{aligned}$$

If \(Y = {\mathbb R}\), we use the notations \(\mathrm {Lip}(X)\) and \(\mathrm {Lip}(X, \sigma )\), respectively.

Clearly, \(\mathrm {Lip}(X, Y) \subseteq \mathrm {C_{u}(X, Y)}\). If \(A \subseteq X\) and \(f \in \mathrm {Lip}(X, \sigma )\), for some \(\sigma \ge 0\), then \(f_{|A} \in \mathrm {Lip}(A, \sigma )\). An element of \(\mathrm {Lip}(X, Y)\) sends a bounded subset of X to a bounded subset of Y, which is not generally the case for elements of \(\mathrm {C_{u}(X, Y)}\); the identity function \(\mathrm {id}: {\mathbb N}\rightarrow {\mathbb R}\), where \({\mathbb N}\) is equipped with the discrete metric, is in \(\mathrm {C_{u}({\mathbb N})}\setminus \mathrm {Lip}({\mathbb N})\) and \(\mathrm {id}({\mathbb N}) = {\mathbb N}\) is unbounded in \({\mathbb R}\). In [13], p. 370, it is shown constructively that if X is totally bounded, then \(\mathrm {Lip}(X)\) is uniformly dense in \(\mathrm {C_{u}(X)}\).

Proposition 1

The set \(\mathrm {Lip}(X)\) includes the sets \(U_{0}(X)\), \(\mathrm {Const}(X)\), and it is closed under addition and multiplication by reals. If every element of \(\mathrm {C_{u}(X)}\) is a bounded function, then \(\mathrm {Lip}(X)\) is closed under multiplication.

Definition 5

If \(f \in {\mathbb F}(X, Y)\), we define the following sets:

$$\begin{aligned} \varLambda (f) := \{\sigma \ge 0 \mid \forall _{x, y \in X}(\rho (f(x), f(y)) \le \sigma d(x, y))\}, \end{aligned}$$
$$\begin{aligned} \varXi (f) := \{\sigma \ge 0 \mid \forall _{x, y \in X}(\rho (f(x), f(y)) \ge \sigma d(x, y))\}, \end{aligned}$$
$$\begin{aligned} M_{0}(f) := \{\sigma _{x, y}(f) \mid (x, y) \in X_{0}\}, \end{aligned}$$
$$\begin{aligned} \sigma _{x, y}(f) := \frac{\rho (f(x), f(y))}{d(x, y)}. \end{aligned}$$

Proposition 2

If \(f \in {\mathbb F}(X, Y)\), then \(\varLambda (f) = [M_{0}(f))\) and \(\varXi (f) = (M_{0}(f)]\).

Classically one can prove that if \(f \in \mathrm {Lip}(X, Y)\) such that \(\inf \varLambda (f)\) exists, then \(\sup M_{0}(f)\) exists and \(\sup M_{0}(f) = \inf \varLambda (f)\). The classical argument in that proof is avoided, if \(\sup M_{0}(f)\) exists.

Proposition 3

Let \(f \in \mathrm {Lip}(X, Y)\).

  1. (i)

    If \(\sup M_{0}(f)\) exists, then \(\inf \varLambda (f)\) exists and \(\inf \varLambda (f) = \min \varLambda (f) = \sup M_{0}(f)\).

  2. (ii)

    If \(\inf \varLambda (f)\) exists, then \(\mathrm {lub}M_{0}(f)\) exists and \(\mathrm {lub}M_{0}(f) = \inf \varLambda (f)\).

  3. (iii)

    If \(\mathrm {lub}M_{0}(f)\) exists, then \(\inf \varLambda (f)\) exists and \(\inf \varLambda (f) = \mathrm {lub}M_{0}(f)\).

In constructive analysis one usually works with the stronger notions of infima or suprema of sets and not with greatest lower bounds or least upper bounds of sets. An important exception is found in the work of Mandelkern (see his comment in [11], p. 24). Here we also find useful to keep both notions at work.

Definition 6

Let \(f \in \mathrm {Lip}(X, Y)\). We call f L-pseudo-normable, if \(\sup M_{0}(f)\) exists, and we write \(L(f) := \sup M_{0}(f)\). We call f weakly L-pseudo-normable, or \(L^{*}\)-pseudo-normable, if \(\mathrm {lub}M_{0}(f) = \inf \varLambda (f)\) exists, and \(L^{*}(f) := \mathrm {lub}M_{0}(f)\).

In general a Lipschitz function need not be L-pseudo-normable. Note that in the case of a linear function f between normed spaces X and Y the boundedness condition is equivalent to the Lipschitz condition and the existence of its norm ||f|| is equivalent to the existence of L(f). If f is L-pseudo-normable, and since \(L(f) \ge M_{0}(f)\), by Proposition 2 we get \(\forall _{x, y \in X}(\rho (f(x), f(y)) \le L(f) d(x, y)),\) or \(f \in \mathrm {Lip}(X, Y, L(f))\). If f is \(L^{*}\)-pseudo-normable, we work similarly.

Proposition 4

Let \(A \subseteq X\) and \(f \in \mathrm {Lip}(A, Y)\) such that

$$\begin{aligned} \exists _{g \in {\mathbb F}(X, Y)}(g_{|A} = f \ \wedge \ \forall _{\sigma \ge 0}(f \in \mathrm {Lip}(A, Y, \sigma ) \rightarrow g \in \mathrm {Lip}(X, Y, \sigma ))). \end{aligned}$$
  1. (i)

    If f is L-pseudo-normable, g is L-pseudo-normable and \(L(g) = L(f)\).

  2. (ii)

    If f is \(L^{*}\)-pseudo-normable, g is \(L^{*}\)-pseudo-normable and \(L^{*}(g) = L^{*}(f)\).

Note that if \(f \in \mathrm {Lip}(A, Y), g \in \mathrm {Lip}(X, Y)\) such that L(f), L(g) exist and \(L(f) = L(g)\), then it is immediate that \(\forall _{\sigma \ge 0}(f \in \mathrm {Lip}(A, Y, \sigma ) \rightarrow g \in \mathrm {Lip}(X, Y, \sigma ))\). Next follows the Lipschitz-version of the extendability of a uniformly continuous function defined on a dense subset of a metric space with values in a complete metric space.

Proposition 5

Let \(D \subseteq X\) be dense in X, Y complete, and \(f \in \mathrm {Lip}(D, Y)\).

  1. (i)

    \(\exists _{!g \in {\mathbb F}(X, Y)}(g_{|A} = f \ \wedge \ \forall _{\sigma \ge 0}(f \in \mathrm {Lip}(D, Y, \sigma ) \rightarrow g \in \mathrm {Lip}(X, Y, \sigma )))\).

  2. (ii)

    If f is L-pseudo-normable, then g is L-pseudo-normable and \(L(g) = L(f)\).

  3. (iii)

    If f is \(L^{*}\)-pseudo-normable, g is \(L^{*}\)-pseudo-normable and \(L^{*}(g) = L^{*}(f)\).

Corollary 1

Let \(D \subseteq X\) be dense in X, let Y be complete, and \(g \in \mathrm {Lip}(X, Y)\). If g is \(L^{*}\)-pseudo-normable, \(f = g_{|D}\) is \(L^{*}\)-pseudo-normable and \(L^{*}(f) = L^{*}(g)\).

3 McShane-Whitney Subsets and Pairs

We formulate a property on the subsets of a metric space so that the McShane-Whitney extension can be carried out on them constructively.

Definition 7

If \(A \subseteq X\) is inhabited, \(x \in X\), \(\lambda \in {\mathbb R}\), and \(g \in \mathrm {Lip}(A)\), the set \(\mathrm {MW}_{g}(A, \lambda , x)\) is defined by

$$\begin{aligned} \mathrm {MW}_{g}(A, \lambda , x) := \{g(a) + \lambda d(x, a) \mid a \in A\}. \end{aligned}$$

The set A is called a McShane-Whitney subset of X, if for every \(\sigma > 0\), \(g \in \mathrm {Lip}(A)\) and \(x \in X\) the \(\inf \mathrm {MW}_{g}(A,\sigma , x)\) exists.

A McShane-Whitney subset A of X is located, colocated and bounded. Since \(\{d(x, a) \mid a \in A\} = \mathrm {MW}_{\overline{0}_{X}}(A, 1, x)\), A is located. Since \(\mathrm {MW}_{-2d_{x}}(A, 1, x) = \{-2d(x, a) + d(x, a) \mid a \in A\} = \{-d(x, a) \mid a \in A\} = - \varDelta (x, A),\) we getFootnote 1 \(\delta (x, A) = \sup [- (- \varDelta (x, A))] = - \inf (- \varDelta (x, A)) = - \inf \mathrm {MW}_{-2d_{x}}(A, 1, x)\) i.e., A is colocated, and since A is inhabited, A is also bounded.

Proposition 6

A is a McShane-Whitney subset of X if and only if for every \(\sigma > 0\), \(g \in \mathrm {Lip}(A)\) and \(x \in X\) the \(\sup \mathrm {MW}_{g}(A, -\sigma , x)\) exists.

Proof

If \(\sigma > 0\), \(g \in \mathrm {Lip}(A)\) and \(x \in X\), then \(\mathrm {MW}_{g}(A, -\sigma , x) = \{g(a) - \sigma d(x, a) \mid a \in A\} = \{-(-g(a) + \sigma d(x, a)) \mid a \in A\} = -\{(-g)(a) + \sigma d(x, a) \mid a \in A\} = - \mathrm {MW}_{-g}(A, \sigma , x)\). Since \(-g \in \mathrm {Lip}(A)\), we get \(\sup \mathrm {MW}_{g}(A, -\sigma , x) = \sup (- \mathrm {MW}_{-g}(A, \sigma , x)) = -\inf MW_{-g}(A, \sigma , x)\). For the converse implication we use the equality \(\inf (-B) = -\sup B\), where \(B \subseteq {\mathbb R}\) such that \(\sup B\) exists, and the similarly shown equality \(\mathrm {MW}_{g}(A, \sigma , x) = -\mathrm {MW}_{-g}(A, -\sigma , x)\). Hence \(\inf \mathrm {MW}_{g}(A, \sigma , x) = \inf (-\mathrm {MW}_{-g}(A, -\sigma , x)) = - \sup \mathrm {MW}_{-g}(A, -\sigma , x)\).

The next proposition provides examples of McShane-Whitney subsets. A locally compact (totally bounded) metric space X is one every bounded subset of which is included in a compact (totally bounded) subset of X (see [5], p. 46).

Proposition 7

Let \(A \subseteq X\) be inhabited.

  1. (i)

    If A is totally bounded, then A is a McShane-Whitney subset of X.

  2. (ii)

    If X is totally bounded and A is located, then A is a McShane-Whitney subset of X.

  3. (iii)

    If X is locally compact (totally bounded), then A is a McShane-Whitney subset of X if and only if A is bounded and located.

  4. (iv)

    If \(X = {\mathbb R}^{n}\), then A is a McShane-Whitney subset of \({\mathbb R}^{n}\) if and only if A is totally bounded.

Proof

  1. (i)

    If \(\sigma > 0\), \(g \in \mathrm {Lip}(A)\) and \(x \in X\), then \(g + \sigma d_{x} \in \mathrm {Lip}(A) \subseteq \mathrm {C_{u}(A)}\), and \(\inf \mathrm {MW}_{g}(\sigma , x)\) exists, since A is totally bounded (see [3], Corollary 4.3, p. 94).

  2. (ii)

    A located subset of X is also totally bounded (see [3], p. 95), and we use (i).

  3. (iii)

    If A is bounded and located, there is compact (totally bounded) \(K \subseteq X\) such that \(A \subseteq K\). Since A is located in X, it is a located in K, hence A is totally bounded, and we use (i). For the converse see our remark after Definition 7.

  4. (iv)

    A is totally bounded if and only if it is located and bounded (see [3], p. 95), and \({\mathbb R}^{n}\) is locally compact as a finite product of \({\mathbb R}\) (see [3], p. 111). The required equivalence follows from (iii).

Definition 8

Let \(A \subseteq X\). We call (XA) a McShane-Whitney pair, if for all \(\sigma > 0\) and \(g \in \mathrm {Lip}(A, \sigma )\) the functions \(g^{*}, {^{*}}g : X \rightarrow {\mathbb R}\), the smallest and largest McShane-Whitney extension of g, defined by

$$\begin{aligned} g^{*}(x) = \inf M_{g}(A, \sigma , x), \ {^{*}}g(x) = \sup M_{g}(A, -\sigma , x), \end{aligned}$$

for every \(x \in X\), are well-defined and satisfy the following properties:

  1. (i)

    \(g^{*}, {^{*}}g \in \mathrm {Lip}(X, \sigma )\).

  2. (ii)

    \({g^{*}}_{|A} = ({^{*}}g)_{|A} = g\).

  3. (iii)

    \(\forall _{f \in \mathrm {Lip}(A, \sigma )}(f_{|A} = g \rightarrow g^{*} \le f \le {^{*}}g)\).

The extensions \(g^{*}\), \({^{*}}g\) of g are unique. Let \(h^{*}, {^{*}}h\) satisfy conditions (i)-(iii) of Definition 8. Since \({h^{*}}_{|A} = ({^{*}}h)_{|A} = g\), \(g^{*} \le h^{*} \le {^{*}}g\) and \(g^{*} \le {^{*}}h \le {^{*}}g\). Since \({g^{*}}_{|A} = ({^{*}}g)_{|A} = g\), \(h^{*} \le g^{*} \le {^{*}}h\) and \(h^{*} \le {^{*}}g \le {^{*}}h\), hence \(h^{*} = g^{*}\) and \({^{*}}h = {^{*}}g\).

Theorem 1

(McShane-Whitney). If A is a McShane-Whitney subset of X, then (XA) is a McShane-Whitney pair.

Proof

By Proposition 6, the functions \({^{*}g}, g^{*}\) are well-defined. First we show that \({^{*}g}\) extends g. If \(a_{0} \in A\), then \({^{*}g}(a_{0}) = \inf \{g(a) + \sigma d(a_{0}, a) \mid a \in A\} \le g(a_{0}) + \sigma d(a_{0}, a_{0}) = g(a_{0})\). If \(a \in A\), then \(g(a_{0}) - g(a) \le |g(a_{0}) - g(a)| \le \sigma d(a_{0}, a)\), hence \(g(a) + \sigma d(a_{0}, a) \ge g(a_{0})\). Since a is arbitrary, \({^{*}g}(a_{0}) \ge g(a_{0})\). To show \({^{*}g} \in \mathrm {Lip}(X, \sigma )\) let \(x_{1}, x_{2} \in X\) and \(a \in A\). Then \(d(x_{1}, a) \le d(x_{2}, a) + d(x_{2}, x_{1})\) and \(\sigma d(x_{1}, a) \le \sigma d(x_{2}, a) + \sigma d(x_{1}, x_{2})\), therefore

$$\begin{aligned}&g(a) + \sigma d(x_{1}, a) \le (g(a) + \sigma d(x_{2}, a)) + \sigma d(x_{1}, x_{2}) \rightarrow \\&{^{*}g}(x_{1}) \le (g(a) + \sigma d(x_{2}, a)) + \sigma d(x_{1}, x_{2}) \rightarrow \\&{^{*}g}(x_{1}) - \sigma d(x_{1}, x_{2}) \le g(a) + \sigma d(x_{2}, a) \rightarrow \\&{^{*}g}(x_{1}) - \sigma d(x_{1}, x_{2}) \le {^{*}g}(x_{2}) \rightarrow \\&{^{*}g}(x_{1}) - {^{*}g}(x_{2}) \le \sigma d(x_{1}, x_{2}). \end{aligned}$$

If we start from the inequality \(d(x_{2}, a) \le d(x_{1}, a) + d(x_{2}, x_{1})\) and work as above, we get \({^{*}}g(x_{2}) - {^{*}g}(x_{1}) \le \sigma d(x_{1}, x_{2})\), therefore \(|{^{*}g}(x_{1}) - {^{*}g}(x_{2})| \le \sigma d(x_{1}, x_{2})\). Working similarly we get that \(g^{*}\) is an extension of g which is in \(\mathrm {Lip}(X, \sigma )\). If \(f \in \mathrm {Lip}(X, \sigma )\) such that \(f_{|A} = g\), \(x \in X\) and \(a \in A\) we have that

$$\begin{aligned}&f(x) - g(a) = f(x) - f(a) \le |f(x) - f(a)| \le \sigma d(x, a) \rightarrow \\&f(x) \le g(a) + \sigma d(a, x) \rightarrow \\&f(x) \le {^{*}g}(x), \\&g(a) - f(x) = f(a) - f(x) \le |f(a) - f(x)| \le \sigma d(x, a) \rightarrow \\&g(a) - \sigma d(a, x) \le f(x) \rightarrow \\&g^{*}(x) \le f(x). \end{aligned}$$

Proposition 8

Let (XA) be a McShane-Whitney pair and \(g \in \mathrm {Lip}(A, \sigma )\).

  1. (i)

    The set A is located.

  2. (ii)

    If \(\inf g\) and \(\sup g\) exist, then \(\inf {^{*}g}\), \(\sup g^{*}\) exist and

    $$\begin{aligned} \inf _{x \in X} {^{*}g} = \inf _{a \in A} g, \ \ \ \ \sup _{x \in X} {g^{*}} = \sup _{a \in A} g. \end{aligned}$$

Proof

  1. (i)

    Let \(r \in {\mathbb R}\) and \(\sigma > 0\). Since \(\overline{r}_{A} \in \mathrm {Lip}(A, \sigma )\), by hypothesis \({^{*}}\overline{r}_{A}\) is well-defined, where \({^{*}}\overline{r}_{A}(x) = \inf \{r + \sigma d(x, a) \mid a \in A\}\), for every \(x \in X\). If \(x \in X\) and \(a \in A\), then \(d(x, a) = \frac{1}{\sigma }(r + \sigma d(x, a) - r)\), and \(\varDelta (x, A) = \{\frac{1}{\sigma }(r + \sigma d(x, a) - r) \mid a \in A\}\). Hence \( d(x, A) = \inf \{\frac{1}{\sigma }(r + \sigma d(x, a) - r) \mid a \in A\} = \frac{1}{\sigma } ( \inf \{r + \sigma d(x, a) \mid a \in A\} - r) = \frac{1}{\sigma }({^{*}}\overline{r}_{A}(x) - r).\)

  2. (ii)

    We show that \(m := \inf \{g(a) \mid a \in A\}\) satisfies the properties of \(\inf \{{^{*}}g(x) \mid x \in X\}\). It suffices to show that \(m \le {^{*}}g(X)\), since the other definitional condition of \(\inf \) follows immediately; if \(\epsilon > 0\), then there exists \(a \in A \subseteq X\) such that \(g(a) = {^{*}}g(a) < m + \epsilon \). If \(x \in A\), then \(m \le g(x) = {^{*}}g(x)\), since \(m = \inf g\). Since A is located, the set \(-A := \{x \in X \mid d(x, A) > 0\}\) is well-defined. If \(x \in -A\), then \(d(x, a) \ge d(x, A) > 0\), for every \(a \in A\). Hence

    $$\begin{aligned}&g(a) + \sigma d(x, a) > g(a) \ge \inf _{a \in A} g \rightarrow \inf _{a \in A}(g(a) + \sigma d(x, a)) \ge \inf _{a \in A} g \leftrightarrow {^{*}g}(x) \ge m. \end{aligned}$$

Since A is located, the set \(A \cup (-A)\) is dense in X (see [3], p.88). If \(x \in X\), there is some sequence \((d_{n})_{n \in {\mathbb N}} \subseteq A \cup (-A)\) such that \(d_{n} \mathop {\rightarrow }\limits ^{n}x\). By the continuity of \({^{*}}g\) we have that \({^{*}}g(d_{n}) \mathop {\rightarrow }\limits ^{n}{^{*}}g(x)\). Suppose that \({^{*}}g(x) < m\). Since \({^{*}}g(d_{n}) \ge m\), for every \(n \in {\mathbb N}\), if \(\epsilon := (m - {^{*}}g(x)) > 0\), there is some \(n_{0}\) such that for every \(n \ge n_{0}\) we have that \(|{^{*}}g(d_{n}) - {^{*}}g(x)| = {^{*}}g(d_{n}) - {^{*}}g(x)< m - {^{*}}g(x) \leftrightarrow {^{*}}g(d_{n}) < m\), which is a contradiction. Hence \({^{*}}g(x) \ge m\). For the existence of \(\sup g^{*}\) and the equality \(\sup _{x \in X} {g^{*}} = \sup _{a \in A} g\) we work similarly.

If \(g = \overline{r}_{A}\) and \(\sigma > 0\), then \(\overline{r}_{A}^{*} = \overline{r}_{A} - \sigma d_{A}\) and \({^{*}}\overline{r}_{A} = \overline{r}_{A} + \sigma d_{A}\). If \(g \in \mathrm {Lip}(A, 0)\), it is immediate that \(g = \overline{r}_{A}\), for some \(r \in {\mathbb R}\), and \({^{*}}g = g^{*} = \overline{r}_{X}\). If D is dense in X and (XD) is a McShane-Whitney pair, then by Proposition 5 there is a unique \(\sigma \)-Lipschitz extension on X of some \(g \in \mathrm {Lip}(D)\), hence \({^{*}g} = g^{*}\), a fact which is also shown by the definition of \({^{*}g}\) and \(g^{*}\). A weaker property on A that suffices for the McShane-Whitney extension is that for every \(\sigma > 0, g \in \mathrm {Lip}(A, \sigma )\) and \(x \in X\) the \(\inf \mathrm {MW}_{g}(A, \sigma , x)\) exists, but since all our examples of McShane-Whitney subsets satisfy the stronger property of Definition 7, we avoid it. The next proposition expresses a “step-invariance” of the McShane-Whitney extension. If \(A \subseteq B \subseteq X\) such that (XA), (XB), (BA) are McShane-Whitney pairs and \(g \in \mathrm {Lip}(A)\), then \(g^{*_{X}}\) is the \((A - X)\) extension of g, \(g^{*_{B}*_{X}}\) is the \((B - X)\) extension of the \((A - B)\) extension \(g^{*_{B}}\) of g, and similarly for \(^{*_{X}}g\) and \({^{*_{X}*_{B}}}g\).

Proposition 9

If \(A \subseteq B \subseteq X\) such that (XA), (XB), (BA) are McShane-Whitney pairs and \(g \in \mathrm {Lip}(A, \sigma )\), for some \(\sigma > 0\), then

$$\begin{aligned} g^{*_{X}} = g^{*_{B}*_{X}}, \ \ \ ^{*_{X}}g = {^{*_{X}*_{B}}}g. \end{aligned}$$

Proof

We show only the first equality and for the second we work similarly. By definition \(g^{*_{B}}: B \rightarrow {\mathbb R}\in \mathrm {Lip}(B, \sigma )\) and \(g^{*_{B}}(b) = \sup \{g(a) - \sigma d(b, a) \mid a \in A\}\), for every \(b \in B\). Moreover, \(g^{*_{B}*_{X}}: X \rightarrow {\mathbb R}\in \mathrm {Lip}(X, \sigma )\) and \(g^{*_{B}*_{X}}(x) = \sup \{g^{*_{B}}(b) - \sigma d(x, b) \mid b \in B\}\), for every \(x \in X\). For the \((A - X)\) extension of g we have that \(g^{*_{X}}: X \rightarrow {\mathbb R}\in \mathrm {Lip}(X, \sigma )\) and \(g^{*_{X}}(x) = \sup \{g(a) - \sigma d(x, a) \mid a \in A\}\), for every \(x \in X\). Since \((g^{*_{B}*_{X}})_{|B} = g^{*_{B}}\), we have that \((g^{*_{B}*_{X}})_{|A} = (g^{*_{B}})_{|A} = g\). Therefore \(g^{*_{X}} \le g^{*_{B}*_{X}} \le {^{*_{X}}}g,\) and \((g^{*_{X}})_{|B} \le (g^{*_{B}*_{X}})_{|B} = g^{*_{B}} \le ({^{*_{X}}}g)_{|B}.\) Since \((g^{*_{X}})_{|A} = g\), we get that \(((g^{*_{X}})_{|B})_{|A} = g\), therefore \(g^{*_{B}} \le ((g^{*_{X}})_{|B}) \le {^{*_{B}}}g.\) Since \((g^{*_{X}})_{|B} \le g^{*_{B}}\) and \(g^{*_{B}} \le (g^{*_{X}})_{|B}\), we get \((g^{*_{X}})_{|B} = g^{*_{B}}\). Hence \(g^{*_{B}*_{X}} \le g^{*_{X}} \le {^{*_{X}*_{B}}}g\) i.e., we have shown both \(g^{*_{X}} \le g^{*_{B}*_{X}}\) and \(g^{*_{B}*_{X}} \le g^{*_{X}}\).

Proposition 10

Let (XA) be a McShane-Whitney pair and \(g \in \mathrm {Lip}(A)\) such that L(g) exists.

  1. (i)

    \(g \in \mathrm {Lip}(A, L(g))\).

  2. (ii)

    If f is an L(g)-Lipschitz extension of g, then L(f) exists and \(L(f) = L(g)\).

  3. (iii)

    \(L({^{*}}g), L(g^{*})\) exist and \(L({^{*}}g) = L(g) = L(g^{*}).\)

Proof

  1. (i)

    Since \(L(g) = \sup M_{0}(g)\), we have that \(L(g) \ge M_{0}(g)\) and by Proposition 2 we get \(L(g) \in \varLambda (g)\), therefore \(g \in \mathrm {Lip}(A, L(g))\).

  2. (ii)

    Since \(f \in \mathrm {Lip}(X, L(g))\), we get \(L(g) \in \varLambda (f)\) and \(L(g) \ge M_{0}(f)\). Let \(\epsilon > 0\). Since \(L(g) = \sup M_{0}(g)\), there exists \((a, b) \in A_{0} \subseteq X_{0}\) such that \(\sigma _{a, b}(g) > L(g) - \epsilon \). Since f extends g, \(\sigma _{a, b}(g) = \sigma _{a, b}(f)\).

  3. (iii)

    By definition \({^{*}}g, g^{*} \in \mathrm {Lip}(X, L(g))\) and they extend g. Hence we use (ii).

Definition 9

Let (X, ||.||) be a normed space. A subset C of X is called convex, if \(\forall _{x, y \in C}\forall _{\lambda \in (0, 1)}(\lambda x + (1 - \lambda ) y \in C)\). If \(C \subseteq X\) is convex, a function \(g: C \rightarrow {\mathbb R}\) is called convex, if \(\forall _{x, y \in C}\forall _{\lambda \in (0, 1)}(g(\lambda x + (1 - \lambda )y) \le \lambda g(x) + (1 - \lambda )g(y)),\) and g is called concave, if \(\forall _{x, y \in C}\forall _{\lambda \in (0, 1)}(g(\lambda x + (1 - \lambda )y) \ge \lambda g(x) + (1 - \lambda )g(y))\). A function \(f: X \rightarrow {\mathbb R}\) is called sublinear if it is subadditive and positive homogeneous i.e., if \(f(x + y) \le f(x) + f(y)\), and \(f(\lambda x) = \lambda f(x)\), for every \(x, y \in X\) and \(\lambda > 0\), respectively. Similarly, f is called superlinear, if it is superadditive i.e., if \(f(x + y) \ge f(x) + f(y)\), for every \(x, y \in X\), and positive homogeneous.

Proposition 11

Let (X, ||.||) be a normed space, \(C \subseteq X\) convex and inhabited, (XC) a McShane-Whitney pair, and \(g \in \mathrm {Lip}(C, \sigma )\), for some \(\sigma > 0\).

  1. (i)

    If g is convex, then \({^{*}}g\) is convex.

  2. (ii)

    If g is concave, then \(g^{*}\) is concave.

Proof

We show only (i), and for (ii) we work similarly. Let \(x, y \in X\), and \(\lambda \in (0, 1)\). If we consider the sets \(C_{x} = \{\lambda (g(c) + \sigma ||x-c||) \mid c \in C\}\) and \(C_{y} = \{(1 - \lambda )(g(c) + \sigma ||y - c||) \mid c \in C\},\) an element of \(C_{x} + C_{y}\) has the form \(\lambda (g(c) + \sigma ||x-c||) + (1 - \lambda )(g(d) + \sigma ||y - d||)\), for some \(c, d \in C\). We show that \({^{*}}g(\lambda x + (1 - \lambda ) y) \le \lambda (g(c) + \sigma ||x-c||) + (1 - \lambda )(g(d) + \sigma ||y - d||)\), where \(c, d \in C\). Since C is convex, \(c{'} := \lambda c + (1 - \lambda ) d \in C\), and by the convexity of g we get

$$\begin{aligned} {^{*}}g(\lambda x + (1 - \lambda ) y)&\le g(c{'}) + \sigma ||\lambda x + (1 - \lambda ) y - c{'}|| \\&\le \lambda g(c) + (1-\lambda )g(d) + \lambda \sigma ||x - c|| + (1 - \lambda ) \sigma ||y - d||\\&= \lambda (g(c) + \sigma ||x-c||) + (1 - \lambda )(g(d) + \sigma ||y - d||). \end{aligned}$$

Since the element of \(C_{x} + C_{y}\) considered is arbitrary, we get that \({^{*}}g(\lambda x + (1 - \lambda ) y) \le \inf (C_{x} + C_{y}) = \inf C_{x} + \inf C_{y} = \lambda {^{*}}g(x) + (1 - \lambda ) {^{*}}g(y).\)

Proposition 12

Let (XA) be McShane-Whitney pair, \(g_{1} \in \mathrm {Lip}(A, \sigma _{1}), g_{2} \in \mathrm {Lip}(A, \sigma _{2})\) and \(g \in \mathrm {Lip}(A, \sigma )\), for some \(\sigma _{1}, \sigma _{2}, \sigma > 0\).

  1. (i)

    \((g_{1} + g_{2})^{*} \le g_{1}^{*} + g_{2}^{*}\) and \({^{*}}(g_{1} + g_{2}) \ge {^{*}}g_{1} + {^{*}}g_{2}\).

  2. (ii)

    If \(\lambda > 0\), then \((\lambda g)^{*} = \lambda g^{*}\) and \({^{*}}(\lambda g) = \lambda {^{*}}g\).

  3. (iii)

    If \(\lambda < 0\), then \((\lambda g)^{*} = \lambda {^{*}g}\) and \({^{*}}(\lambda g) = \lambda g^{*}\).

Proof

In each case we show only one of the two facts.

  1. (i)

    We have that \(g_{1} + g_{2} \in \mathrm {Lip}(A, \sigma _{1} + \sigma _{2})\) and

    $$\begin{aligned} (g_{1} + g_{2})^{*}(x)&= \sup \{g_{1}(a) + g_{2}(a) - (\sigma _{1} + \sigma _{2})d(x, a) \mid a \in A\} \\&= \sup \{(g_{1}(a) - \sigma _{1}d(x, a)) + (g_{2}(a) - \sigma _{2}d(x, a)) \mid a \in A\} \\&\le \sup \{g_{1}(a) - \sigma _{1}d(x, a) \mid a \in A\} + \sup \{g_{2}(a) - \sigma _{2}d(x, a) \mid a \in A\}\\&= g_{1}^{*}(x) + g_{2}^{*}(x). \end{aligned}$$
  2. (ii)

    If \(\lambda \in {\mathbb R}\), then \(\lambda g \in \mathrm {Lip}(A, |\lambda |\sigma )\) and if \(\lambda > 0\), then

    $$\begin{aligned} (\lambda g)^{*}(x)&= \sup \{\lambda g(a) - |\lambda |\sigma d(x, a) \mid a \in A\}\\&= \lambda \sup \{g(a) - \sigma d(x, a) \mid a \in A\}\\&= \lambda g^{*}(x). \end{aligned}$$
  3. (iii)

    If \(\lambda < 0\), then

    $$\begin{aligned} (\lambda g)^{*}(x)&= \sup \{\lambda g(a) - |\lambda |\sigma d(x, a) \mid a \in A\}\\&= \sup \{\lambda g(a) - (- \lambda )\sigma d(x, a) \mid a \in A\}\\&= \sup \{\lambda (g(a) + \sigma d(x, a)) \mid a \in A\}\\&= \lambda \inf \{g(a) + \sigma d(x, a) \mid a \in A\}\\&= \lambda {^{*}}g(x). \end{aligned}$$

Proposition 13

Let (X, ||.||) be a normed space, A a non-trivial subspace of X such that (XA) is a McShane-Whitney pair, and let \(g \in \mathrm {Lip}(A, \sigma )\), for some \(\sigma > 0\), be linear. Moreover, let \(x_{1}, x_{2}, x \in X\) and \(\lambda \in {\mathbb R}\).

  1. (i)

    \(g^{*}(x_{1} + x_{2}) \ge g^{*}(x_{1}) + g^{*}(x_{2})\) and \({^{*}}g(x_{1} + x_{2}) \le {^{*}}g(x_{1}) + {^{*}}g(x_{2})\).

  2. (ii)

    If \(\lambda > 0\), then \(g^{*}(\lambda x) = \lambda g^{*}(x)\) and \({^{*}}g(\lambda x) = \lambda {^{*}}g(x)\).

  3. (iii)

    If \(\lambda < 0\), then \(g^{*}(\lambda x) = \lambda {^{*}}g(x)\) and \({^{*}}g(\lambda x) = \lambda g^{*}(x)\).

Proof

In each case we show only one of the two facts.

  1. (i)

    If \(a_{1}, a_{2} \in A\), then

    $$\begin{aligned} {^{*}}g(x_{1} + x_{2})&= \inf \{g(a) + \sigma ||(x_{1} + x_{2}) - a|| \mid a \in A\}\\&\le g(a_{1} + a_{2}) + \sigma ||x_{1} + x_{2} - (a_{1} + a_{2})||\\&\le g(a_{1}) + \sigma ||x_{1} - a_{1}|| + g(a_{2}) + \sigma ||x_{2} - a_{2}||, \end{aligned}$$

    therefore

    $$\begin{aligned} {^{*}}g(x_{1} + x_{2})&\le \inf \{g(a_{1}) + \sigma ||x_{1} - a_{1}|| + g(a_{2}) + \sigma ||x_{2} - a_{2}|| \mid a_{1}, a_{2} \in A\}\\&= \inf \{g(a_{1}) + \sigma ||x_{1} - a_{1}|| \mid a_{1} \in A\} + \inf \{g(a_{2}) + \sigma ||x_{2} - a_{2}|| \mid a_{2} \in A\} \\&= {^{*}}g(x_{1}) + {^{*}}g(x_{2}). \end{aligned}$$
  2. (ii)

    First we show that \({^{*}}g(\lambda x) \le \lambda {^{*}}g(x)\). If \(a \in A\), then

    $$\begin{aligned} {^{*}}g(\lambda x)&= \inf \{g(a) + \sigma ||\lambda x - a|| \mid a \in A\} \\&\le g(\lambda a) + \sigma ||\lambda x - \lambda a||\\&= \lambda g(a) + |\lambda |\sigma ||x - a|| \\&= \lambda (g(a) + \sigma ||x - a||), \end{aligned}$$

    therefore

    $$\begin{aligned} {^{*}}g(\lambda x)&\le \inf \{\lambda (g(a) + \sigma ||x - a||) \mid a \in A\}\\&= \lambda \inf \{g(a) + \sigma ||x - a|| \mid a \in A\}\\&= \lambda {^{*}}g(x). \end{aligned}$$

    For the inclusion \({^{*}}g(\lambda x) \ge \lambda {^{*}}g(x)\) we work as follows.

    $$\begin{aligned} \lambda {^{*}}g(x)&= \lambda \inf \{g(a) + \sigma ||x - a|| \mid a \in A\}\\&\le \lambda (g(\frac{1}{\lambda }a) + \sigma ||x - \frac{1}{\lambda }a||)\\&= g(a) + \sigma |\lambda |||x - \frac{1}{\lambda }a||\\&= g(a) + \sigma ||\lambda (x - \frac{1}{\lambda }a)||\\&= g(a) + \sigma ||\lambda x - a||, \end{aligned}$$

    therefore

    $$\begin{aligned} \lambda {^{*}}g(x)&\le \inf \{g(a) + \sigma ||\lambda x - a|| \mid a \in A\} = {^{*}}g(\lambda x). \end{aligned}$$
  3. (iii)

    First we show that \({^{*}}g(\lambda x) \le \lambda g^{*}(x)\). If \(a \in A\), then

    $$\begin{aligned} {^{*}}g(\lambda x)&= \inf \{g(a) + \sigma ||\lambda x - a|| \mid a \in A\} \\&\le g(\lambda a) + \sigma ||\lambda x - \lambda a||\\&= \lambda g(a) + |\lambda |\sigma ||x - a|| \\&= \lambda (g(a) - \sigma ||x - a||), \end{aligned}$$

    therefore

    $$\begin{aligned} {^{*}}g(\lambda x)&\le \inf \{\lambda (g(a) - \sigma ||x - a||) \mid a \in A\}\\&= \lambda \sup \{g(a) - \sigma ||x - a|| \mid a \in A\}\\&= \lambda g^{*}(x). \end{aligned}$$

    For the inclusion \({^{*}}g(\lambda x) \ge \lambda g^{*}(x)\) we work as follows. Since

    $$\begin{aligned} g^{*}(x)&= \sup \{g(a) - \sigma ||x - a|| \mid a \in A\}\\&\ge g(\frac{1}{\lambda }a) - \sigma ||x - \frac{1}{\lambda }a|| \end{aligned}$$

    and \(\lambda < 0\), we get

    $$\begin{aligned} \lambda g^{*}(x)&\le \lambda (g(\frac{1}{\lambda }a) - \sigma ||x - \frac{1}{\lambda }a||)\\&= g(a) - \lambda \sigma ||x - \frac{1}{\lambda }a||\\&= g(a) + \sigma |\lambda | ||x - \frac{1}{\lambda }a||\\&= g(a) + \sigma ||\lambda (x - \frac{1}{\lambda }a)||\\&= g(a) + \sigma ||\lambda x - a||, \end{aligned}$$

    therefore

    $$\begin{aligned} \lambda g^{*}(x)&\le \inf \{g(a) + \sigma ||\lambda x - a|| \mid a \in A\} = {^{*}}g(\lambda x). \end{aligned}$$

Proposition 13 says that \({^{*}}g\) is sublinear and \(g^{*}\) is superlinear. If X is a normed space and \(x_{0} \in X\), then it is not generally the case that \({\mathbb R}x_{0} := \{\lambda x_{0} \mid \lambda \in {\mathbb R}\}\) is a located subset of X. If \(X = {\mathbb R}\), this is equivalent to LPO, the limited principle of omniscienceFootnote 2 (see [3], p. 122). Things change, if \(||x_{0}|| > 0\). In this case \({\mathbb R}x_{0}\) is a 1-dimensional subspace of X i.e., a closed and located linear subset of X of dimension one (see [3], p. 307). Of course, \({\mathbb R}x_{0}\) is a convex subset of X. A standard corollary of the classical Hahn-Banach theorem is that if \(x_{0} \ne 0\), there is a bounded linear functional u on X such that \(||u|| = 1\) and \(u(x_{0}) = ||x_{0}||\). Its proof is based on the extension of the obvious linear map on \({\mathbb R}x_{0}\) to X through the Hahn-Banach theorem. Next follows a first approach to the translation of this corollary in Lipschitz analysis. First we need a simple lemma.

Lemma 1

If (X, ||.||) is a normed space and \(x_{0} \in X\) such that \(||x_{0}|| > 0\), then \({\mathbb I}x_{0} := \{\lambda x_{0} \mid \lambda \in [-1, 1]\}\) is a compact subset of X.

Proposition 14

If (X, ||.||) is a normed space and \(x_{0} \in X\) such that \(||x_{0}|| > 0\), there exists \(f \in \mathrm {Lip}(X)\) such that \(f(x_{0}) = ||x_{0}||\) and \(L(f) = 1\).

Proof

The function \(g: {\mathbb I}x_{0} \rightarrow {\mathbb R}\), defined by \(g(\lambda x_{0}) = \lambda ||x_{0}||,\) for every \(\lambda \in [-1, 1]\), is in \(\mathrm {Lip}({\mathbb I}x_{0})\) and \(L(g) = 1\); if \(\lambda , \mu \in [-1, 1]\), then \(|g(\lambda x_{0}) - g(\mu x_{0})| = |\lambda ||x_{0}|| - \mu ||x_{0}||| = |\lambda - \mu |||x_{0}|| = ||(\lambda - \mu )x_{0}|| = ||\lambda x_{0} - \mu x_{0}||,\) and since

$$M_{0}(g) = \{\sigma _{\lambda x_{0}, \mu x_{0}}(g) = \frac{|g(\lambda x_{0}) - g(\mu x_{0})|}{||\lambda x_{0} - \mu x_{0}||} = 1 \mid (\lambda , \mu ) \in [-1, 1]_{0}\},$$

we get that \(L(g) = \sup M_{0}(g) = 1\). Since \({\mathbb I}x_{0}\) is inhabited and totally bounded, since by Lemma 1 it is compact, by Proposition 7(i) and Theorem 1 the extension \({^{*}}g\) of g is in \(\mathrm {Lip}(X)\), while by Proposition 10 we have that \(L({^{*}}g) = L(g) = 1\).

Theorem 2

Let (X, ||.||) be a normed space and \(x_{0} \in X\) such that \(||x_{0}|| > 0\). If \((X, {\mathbb R}x_{0})\) is a McShane-Whitney pair, there exist a sublinear Lipschitz function f on X such that \(f(x_{0}) = ||x_{0}||\) and \(L(f) = 1\), and a superlinear Lipschitz function h on X such that \(h(x_{0}) = ||x_{0}||\) and \(L(h) = 1\).

Proof

As in the proof of Proposition 14 the function \(g: {\mathbb R}x_{0} \rightarrow {\mathbb R}\), defined by \(g(\lambda x_{0}) = \lambda ||x_{0}||,\) for every \(\lambda \in {\mathbb R}\), is in \(\mathrm {Lip}({\mathbb R}x_{0})\) and \(L(g) = 1\). Since \((X, {\mathbb R}x_{0})\) is a McShane-Whitney pair, the extension \({^{*}}g\) of g is a Lipschitz function, and by Proposition 10  \(L({^{*}}g) = L(g) = 1\). Since g is linear, by Proposition 13 we get that \({^{*}}g\) is sublinear. Similarly, the extension \(g^{*}\) of g is a Lipschitz function, and by Proposition 10  \(L(g^{*}) = L(g) = 1\). Since g is linear, by Proposition 13 we get that \(g^{*}\) is superlinear.

4 Concluding Remarks

Similarly to Theorem 1, one can prove an extension theorem for Hölder continuous functions, or for functions which are continuous with respect to a given modulus of continuity \(\lambda \) i.e., a function of type \([0, + \infty ) \rightarrow [0, + \infty )\), which is subadditive, strictly increasing, uniformly continuous on every bounded subset of \([0, + \infty )\), and \(\lambda (0) = 0\) (see also [3], p. 102). Note that one could have defined a McShane-Whitney pair such that the functions \(g^{*}\) and \({^{*}}g\) are given by \(g^{*}(x) = \mathrm {glb}M_{g}(A, \sigma , x)\) and \({^{*}}g(x) = \mathrm {lub}M_{g}(A, -\sigma , x),\) for every \(x \in X\), respectively, since only the properties of \(\mathrm {glb}\) and \(\mathrm {lub}\) are used in the proof of Theorem 1.

Some open problems related to the material presented here are the following:

  1. a.

    To find necessary and sufficient conditions on XY and \(f \in \mathrm {Lip}(X, Y)\) for the L-pseudo-normability of f.

  2. b.

    To find conditions on (X, ||.||) under which one can show constructively that \((X, {\mathbb R}x_{0})\) is a McShane-Whitney pair, if \(||x_{0}|| > 0\). A similar attitude is taken by Ishihara in his constructive proof of the Hahn-Banach theorem, where the property of Gâteaux differentiability of the norm is added (see [5, 7], p.126).

  3. c.

    To elaborate the Lipschitz version of the theory of the Hahn-Banach theorem.

  4. d.

    If \(({\mathbb R}^{n}, A)\) is a McShane-Whitney pair and \(g \in \mathrm {Lip}(A, {\mathbb R}^{m}, \sigma )\), then by Theorem 1 there are extensions \(g^{*}\) and \({^{*}}g\) of g in \(\mathrm {Lip}({\mathbb R}^{n}, {\mathbb R}^{m}, \sqrt{m}\sigma )\). According to the classical Kirszbraun theorem there is an extension of g in \(\mathrm {Lip}({\mathbb R}^{n}, {\mathbb R}^{m}, \sigma )\) (see [9, 15, 16, 18]). The constructive study of the Kirszbraun theorem is a non-trivial enterprise.