Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

We started with J. Nagy to study multifractal properties of typical/generic functions in [2] where multifractal properties of generic monotone functions on [0, 1] were treated. The higher dimensional version of this question was considered in [4] where with S. Seuret we investigated the Hölder spectrum of functions monotone in several variables. In [3] we also showed that typical Borel measures on [0, 1]d satisfy a multifractal formalism. Multifractal properties of typical convex continuous functions defined on [0, 1]d are discussed in [5].

In [1] the convex hull of typical continuous functions fC[0, 1] is considered by A.M. Bruckner and J. Haussermann. In this case the boundary of this convex hull decomposes into two functions (in our notation) ϕ 1,f and ϕ 2,f see Fig. 1. The upper one ϕ 1,f is concave, the lower one ϕ 2,f is convex. It is shown that for the typical f these functions are continuously differentiable on (0, 1) and at the endpoints they have infinite derivatives. The aim of our paper is to describe the multifractal spectrum of these functions in the multidimensional setting, that is, generic/typical continuous functions f in C[0, 1]d in the sense of Baire category. The topology on C[0, 1]d is the supremum metric. We also prove the multidimensional version of the above-mentioned results of A.M. Bruckner and J. Haussermann.

Fig. 1
figure 1

f, ϕ 1,f and ϕ 2,f in 1D

The convex hull of the graph of fC[0, 1]d is denoted by H f , that is, H f = convex hull of {(x, f(x)): x ∈ [0, 1]d}. 

We are interested in two functions: ϕ 1,f (x) = max{y: (x, y) ∈ H f } is the function on the top of H f , and ϕ 2,f (x) = min{y: (x, y) ∈ H f } is the function on the bottom of H f . In Fig. 1 these functions are illustrated in dimension one.

The points where f and ϕ i, f coincide are denoted by E i, f = {x: ϕ i, f (x) = f(x)}, i = 1, 2.

The Hölder exponent and singularity spectrum for a locally bounded function is defined as follows.

Definition 1.1.

Let fL ([0, 1]d). For h ≥ 0 and x ∈ [0, 1]d, the function f belongs to C x h if there are a polynomial P of degree less than [h] and a constant C such that, for x′ close to x,

$$\displaystyle{ \vert f(\mathbf{x}') - P(\mathbf{x}' -\mathbf{x})\vert \leq C\vert \mathbf{x}' -\mathbf{x}\vert ^{h}. }$$
(1)

The pointwise Hölder exponent of f at x is h f (x) = sup{h ≥ 0: fC x h}. 

Definition 1.2.

The singularity spectrum of f is defined by

$$\displaystyle{d_{f}(h) =\dim _{H}\mathbf{E}_{f}^{h},\ \ \text{ where }\mathbf{E}_{ f}^{h} =\{ \mathbf{x}: h_{ f}(\mathbf{x}) = h\}.}$$

Here dim H denotes the Hausdorff dimension (see, for example, [7] or [8]), and dim∅ = − by convention.

We will also use the sets

$$\displaystyle{ \mathbf{E}_{f}^{h,\leq } =\{ \mathbf{x}: h_{ f}(\mathbf{x}) \leq h\} \supset \mathbf{E}_{f}^{h}\text{ and }\mathbf{E}_{ f}^{h,<} =\{ \mathbf{x}: h_{ f}(\mathbf{x}) <h\}. }$$
(2)

The faces of [0, 1]d are

$$\displaystyle{F_{0,j} =\{ (x_{1},\ldots,x_{j-1},0,x_{j+1},\ldots,x_{d}) \in [0,1]^{d}\}}$$

and

$$\displaystyle{F_{1,j} =\{ (x_{1},\ldots,x_{j-1},1,x_{j+1},\ldots,x_{d}) \in [0,1]^{d}\}.}$$

Then ([0, 1]d) = ∪ i = 1 2 j = 1 d F i, j .

Since our functions are defined on [0, 1]d at points of ([0, 1]d) we can consider only one-sided partial derivatives. For example, for a point xF 0,1 we denote by 1,+ f(x) the one-sided partial derivative in the first variable pointing in the direction of the interior of [0, 1]d, while for points xF 1,1 we need to use 1,− f(x).

The main result of our paper is the following theorem:

Theorem 1.3.

There exists a dense G δ set \(\mathcal{G} \subset C[0,1]^{d}\) such that for every \(f \in \mathcal{ G}\) for i = 1, 2

  • ϕ i, f is continuously differentiable on (0, 1)d ;

  • if x([0, 1]d), then

    $$\displaystyle{ h_{\phi _{i,f}}(\mathbf{x}) = 0 }$$
    (3)

    hence \(d_{\phi _{i,f}}(0) = d - 1\) and \(\mathbf{E}_{\phi _{i,f}}^{0} \cap (0,1)^{d} =\emptyset\) ;

  • \(d_{\phi _{i,f}}(1) = d - 1\) ;

  • \(d_{\phi _{i,f}}(+\infty ) = d\) ;

  • \(d_{\phi _{i,f}}(h) = -\infty\) , that is, E f h = ∅ for h ∈ (0, +){1};

  • for j = 1, , d if xF 0,j , then

    $$\displaystyle{ \partial _{j,+}\phi _{i,f}(\mathbf{x}) = (-1)^{i+1}(+\infty ) }$$
    (4)

    if xF 1,j , then

    $$\displaystyle{ \partial _{j,-}\phi _{i,f}(\mathbf{x}) = (-1)^{i}(+\infty ); }$$
    (5)
  • dim H E i, f = 0.

2 Notation and Preliminary Results

The open ball with center x and of radius r > 0 is denoted by B(x, r). We use similar notation for open neighborhoods of subsets, for example, if \(A \subset \mathbb{R}^{d}\), then \(B(A,r) =\{ \mathbf{x} \in \mathbb{R}^{d}: \text{dist}(\mathbf{x},A) <r\}.\)

For subsets \(A \subset \mathbb{R}^{d}\) we denote the diameter of the set A by | A | while ∂A denotes its boundary.

The j’th basis vector in \(\mathbb{R}^{d}\) is denoted by \(\mathbf{e}_{j} = (0,\ldots,0,\mathop{1}\limits_{\mathop{ \uparrow }\limits_{ j}},0,\ldots,0).\)

In our proofs we use a standard fixed countable dense set {f n } n = 1 in C[0, 1]d. We assume that the functions f n are in C [0, 1]d. (Taking an arbitrary countable dense set \(\{\widetilde{f}_{n}\}\) in C[0, 1]d by using a mollifier function it is easy to obtain such a dense set of C functions.)

Definition 2.1.

We say that \(f: [0,1]^{d} \rightarrow \mathbb{R}\) is piecewise linear if there is a partition Z j , j = 1, , n ζ of [0, 1]d into simplices such that for each j the set {(x, f(x))​: xZ j } is the subset of a hyperplane in \(\mathbb{R}^{d+1}\).

We say that f is independent piecewise linear if it is piecewise linear and if V denotes the collection of the vertices of the simplices Z j , j = 1, , n ζ for a suitable partition, then

  • from x 1, , x k V, x i x j , ij, the points (x j , f(x j )), j = 1, , k are on the same d-dimensional hyperplane in \(\mathbb{R}^{d+1}\) it follows that kd + 1,

  • from x 1, , x k V ∩ (0, 1)d, x i x j , ij, the points x j , j = 1, , k are on the same (d − 1)-dimensional hyperplane in \(\mathbb{R}^{d}\) it follows that kd.

The second assumption in the above definition is void in the one dimensional case since the zero dimensional hyperplanes are just points.

Lemma 2.2.

Suppose fC[0, 1]d . For any x 0 ∈ [0, 1]d there exist x i E 1,f , i = 1, , d + 1 and p i ≥ 0, ∑ i = 1 d+1 p i = 1, such that x 0 = i = 1 d+1 p i x i and

$$\displaystyle{\phi _{1,f}(\mathbf{x}_{0}) =\sum _{ i=1}^{d+1}p_{ i}\phi _{1,f}(\mathbf{x}_{i}) =\sum _{ i=1}^{d+1}p_{ i}f(\mathbf{x}_{i}).}$$

Remark 2.3.

We remark that in the above lemma some p i ’s can equal zero, or some x i ’s coincide.

Proof.

By Carathéodory’s theorem (see, for example, [6]) from (x 0, ϕ 1,f (x 0)) ∈ H f it follows that one can find (not necessarily different) x i ∈ [0, 1]d, p i ≥ 0, i = 1, , d + 1, i = 1 d+1 p i = 1 such that i = 1 d+1 p i x i = x 0, i = 1 d+1 p i f(x i ) = ϕ 1,f (x 0). If for an i′ we had f(x i) < ϕ 1,f (x i), then letting

$$\displaystyle{y' = \left (\sum _{i=1,\ i\not =i'}^{d+1}p_{ i}f(\mathbf{x}_{i})\right ) + p_{i'}\phi _{1,f}(\mathbf{x}_{i'})}$$

we would obtain (x 0, y′) ∈ H f contradicting that ϕ 1,f (x 0) = max{y: (x 0, y) ∈ H f }.

Lemma 2.4.

There exists a dense G δ set \(\mathcal{G}_{0,d} \subset C[0,1]^{d}\) such that for every \(f \in \mathcal{ G}_{0,d}\) and for every x 0F 0,d

$$\displaystyle{ \partial _{d,+}\phi _{1,f}(\mathbf{x}_{0}) = +\infty,\partial _{d,+}\phi _{2,f}(\mathbf{x}_{0}) = -\infty \mathit{\text{ and }} }$$
(6)
$$\displaystyle{ h_{\phi _{i},f}(\mathbf{x}_{0}) = 0\mathit{\text{ for }}i = 1,2. }$$
(7)

Remark 2.5.

For j = 1, , d a version of Lemma 2.4 can provide dense G δ sets \(\mathcal{G}_{0,j} \subset C[0,1]^{d}\) such that (6) and (7) hold with d replaced by j. If we use the faces F 1,j instead of F 0,j in analogous versions of Lemma 2.4 we can obtain dense G δ sets \(\mathcal{G}_{1,j} \subset C[0,1]^{d}\).

Taking

$$\displaystyle{ \mathcal{G}_{0} =\bigcap _{ j=1}^{d}\mathcal{G}_{ 0,j} \cap \mathcal{ G}_{1,j} }$$
(8)

for any \(f \in \mathcal{ G}_{0}\) we have (3)– (5) satisfied.

Proof.

Without limiting generality we prove the statement for ϕ 1,f .

Suppose x 0 = (x 0,1, , x 0,d−1, 0) ∈ F 0,d . By Lemma 2.2 there exist x i E 1,f ⊂ [0, 1]d, and p i ≥ 0, i = 1, , d + 1, such that i = 1 d+1 p i = 1,

$$\displaystyle{ \sum _{i=1}^{d+1}p_{ i}\mathbf{x}_{i} = \mathbf{x}_{0}\text{ and }\sum _{i=1}^{d+1}p_{ i}f(\mathbf{x}_{i}) = \sum _{i=1}^{d+1}p_{ i}\phi _{1,f}(\mathbf{x}_{i}) = \phi _{1,f}(\mathbf{x}_{0}). }$$
(9)

This and x 0F 0,d imply

$$\displaystyle{ \mathbf{x}_{i} \in F_{0,d},\ i = 1,\ldots,d + 1. }$$
(10)

Put M n = | | f n | | ≥ | d f n (x) | for all x ∈ [0, 1]d. We also let

$$\displaystyle{ f_{n,m}(\mathbf{x}) = f_{n}(\mathbf{x}) + \frac{1} {n + m}(\text{dist}(\mathbf{x},F_{0,d}))^{1/m}\text{ and }\delta _{ n,m} = \frac{1} {(n + m)2^{(n+m)}}. }$$
(11)

It is clear that G m = ∪ n = 1 B(f n, m , δ n, m ) is dense and open in C[0, 1]d and \(\mathcal{G}_{0,d}{\buildrel \mathrm{def} \over =} \cap _{m=1}^{\infty }G_{ m}\) is dense G δ . Suppose \(f \in \mathcal{ G}_{0,d}\). Then there exists a sequence n m , m = 1,  such that \(f \in B(f_{n_{m},m},\delta _{n_{m},m})\). Since x i F 0,d by (11) we have

$$\displaystyle{f(\mathbf{x}_{i}) \leq f_{n_{m},m}(\mathbf{x}_{i}) + \delta _{n_{m},m} = f_{n_{m}}(\mathbf{x}_{i}) + \delta _{n_{m},m},\ i = 1,\ldots,d + 1.}$$

Therefore, using (9)

$$\displaystyle{\phi _{1,f}(\mathbf{x}_{0}) \leq \left (\sum _{i=1}^{d+1}p_{ i}f_{n_{m}}(\mathbf{x}_{i})\right ) + \delta _{n_{m},m}.}$$

On the other hand, since ϕ 1,f is concave

$$\displaystyle{\phi _{1,f}(\mathbf{x}_{0} + t\mathbf{e}_{d}) \geq \left (\sum _{i=1}^{d+1}p_{ i}\phi _{1,f}(\mathbf{x}_{i} + t\mathbf{e}_{d})\right ) \geq }$$
$$\displaystyle{\sum _{i=1}^{d+1}p_{ i}f(\mathbf{x}_{i} + t\mathbf{e}_{d}) \geq \left (\sum _{i=1}^{d+1}p_{ i}f_{n_{m},m}(\mathbf{x}_{i} + t\mathbf{e}_{d})\right ) -\delta _{n_{m},m} \geq }$$

[using (10) and (11)]

$$\displaystyle{\geq \left (\sum _{i=1}^{d+1}p_{ i}f_{n_{m}}(\mathbf{x}_{i} + t\mathbf{e}_{d})\right ) + \frac{1} {n_{m} + m}t^{1/m} -\delta _{ n_{m},m}.}$$

Taking difference

$$\displaystyle{ \phi _{1,f}(\mathbf{x}_{0} + t\mathbf{e}_{d}) -\phi _{1,f}(\mathbf{x}_{0}) \geq }$$
$$\displaystyle{ \left (\sum _{i=1}^{d+1}p_{ i}(f_{n_{m}}(\mathbf{x}_{i} + t\mathbf{e}_{d}) - f_{n_{m}}(\mathbf{x}_{i}))\right ) - 2\delta _{n_{m},m} + \frac{1} {n_{m} + m}t^{1/m} \geq }$$
(12)

(by the Mean value Theorem and the choice of M n )

$$\displaystyle{\geq \frac{1} {n_{m} + m}t^{1/m} - 2\delta _{ n_{m},m} - M_{n}t.}$$

Choosing \(t_{m} = 2^{-(n_{m}+m)}\) by (11) we obtain

$$\displaystyle{\delta _{n_{m},m} = t_{m} \frac{1} {n_{m} + m}.}$$

Hence,

$$\displaystyle{\limsup _{m\rightarrow \infty }\frac{\phi _{1,f}(\mathbf{x}_{0} + t_{m}\mathbf{e}_{d}) -\phi _{1,f}(\mathbf{x}_{0})} {t_{m}^{\alpha }} = +\infty \text{ for any }\alpha> 0.}$$

This implies (7).

Taking α = 1 and using concavity of ϕ 1,f we also obtain d, + ϕ 1,f (x 0) = +. This implies (6).

Lemma 2.6.

There exists a dense G δ set \(\mathcal{G}_{1} \subset C[0,1]^{d}\) such that for every \(f \in \mathcal{ G}_{1}\) the functions ϕ 1,f and ϕ 2,f are both continuously differentiable on (0, 1)d .

Remark 2.7.

This also implies that \(h_{\phi _{i,f}}(\mathbf{x}) \geq 1\) for any x ∈ (0, 1)d, that is, \(\mathbf{E}_{\phi _{i,f}}^{1,<} \cap (0,1)^{d} =\emptyset\) for \(f \in \mathcal{ G}_{1}\) and i = 1, 2. 

Proof.

Again we start with f n C [0, 1]d, n = 1,  a countable dense set in C[0, 1]d. This time we select

$$\displaystyle{M_{n} \geq 1\text{ such that }\vert \partial _{j}^{2}f_{ n}\vert \leq M_{n},\ j = 1,\ldots,d.}$$

We also put

$$\displaystyle{ \delta _{n,m} = \left ( \frac{1} {m \cdot M_{n}}\right )^{2}. }$$
(13)

Recall that \(\mathcal{G}_{0}\) was defined in Remark 2.5. We put

$$\displaystyle{\mathcal{G}_{1} =\mathcal{ G}_{0} \cap \bigcap _{m}\bigcup _{n}B(f_{n},\delta _{n,m})}$$

and select \(f \in \mathcal{ G}_{1}.\) Then we can choose n m such that \(f \in B(f_{n_{m}},\delta _{n_{m},m}).\)

Suppose x ∈ (0, 1)d. We need to verify that j ϕ i, f (x) exists and continuous for any j = 1, , d and i = 1, 2.

Since the other cases are similar we can suppose that i = 1, j = 1.

Since ϕ 1,f (x + t e 1) is a concave function in t it is sufficient to verify that its derivative exists at t = 0 for any choice of x ∈ (0, 1)d. This will imply that 1 ϕ 1,f (x + t e 1) is monotone decreasing in t, without any jump discontinuities, hence for a fixed x it is continuous as a function of one variable. In the end of this proof we will provide a standard argument showing that from the concavity and continuity of ϕ 1,f one can deduce that 1 ϕ 1,f is continuous on (0, 1)d.

From now on x ∈ (0, 1)d is fixed.

By Carathéodory’s theorem we can select x i E 1,f , p i ≥ 0, i = 1, , d + 1 such that i = 1 d+1 p i = 1, i = 1 d+1 p i x i = x and

$$\displaystyle{\phi _{1,f}(\mathbf{x}) = \sum _{i=1}^{d+1}p_{ i}\phi _{1,f}(\mathbf{x}_{i}) = \sum _{i=1}^{d+1}p_{ i}f(\mathbf{x}_{i}).}$$

By the assumption that \(f \in \mathcal{ G}_{0}\) for x ∈ (0, 1)d the points x i are in (0, 1)d. Suppose

$$\displaystyle{ h_{m} = \frac{1} {m \cdot M_{n_{m}}}. }$$
(14)

By the one dimensional Taylor’s formula one can find \(c_{n_{m},i,\pm }\) such that \(\vert c_{n_{m},i,\pm }\vert <h_{m}\) and

$$\displaystyle{ f_{n_{m}}(\mathbf{x}_{i}\pm h_{m}\mathbf{e}_{1}) = f_{n_{m}}(\mathbf{x}_{i})\pm \partial _{1}f_{n_{m}}(\mathbf{x}_{i})h_{m}+ \frac{\partial _{1}^{2}f_{n_{m}}(\mathbf{x}_{i} + c_{n_{m},i,\pm }\mathbf{e}_{1})} {2!} h_{m}^{2} \geq }$$
$$\displaystyle{ f_{n_{m}}(\mathbf{x}_{i}) \pm \partial _{1}f_{n_{m}}(\mathbf{x}_{i})h_{m} -\frac{M_{n_{m}}} {2} h_{m}^{2}. }$$
(15)

This implies

$$\displaystyle{ \phi _{1,f}(\mathbf{x} \pm h_{m}\mathbf{e}_{1}) \geq \sum _{i=1}^{d+1}p_{ i}\phi _{1,f}(\mathbf{x}_{i} \pm h_{m}\mathbf{e}_{1}) \geq }$$
$$\displaystyle{ \sum _{i=1}^{d+1}p_{ i}f(\mathbf{x}_{i} \pm h_{m}\mathbf{e}_{1}) \geq \left (\sum _{i=1}^{d+1}p_{ i}f_{n_{m}}(\mathbf{x}_{i} \pm h_{m}\mathbf{e}_{1})\right ) -\delta _{n_{m},m} \geq }$$
(16)

[using (2)]

$$\displaystyle{\geq \left (\sum _{i=1}^{d+1}p_{ i}f_{n_{m}}(\mathbf{x}_{i})\right ) \pm \left (\sum _{i=1}^{d+1}p_{ i}\partial _{1}f_{n_{m}}(\mathbf{x}_{i})\right )h_{m} -\frac{M_{n_{m}}} {2} h_{m}^{2} -\delta _{ n_{m},m} \geq \circledast }$$

using \(\vert f - f_{n_{m}}\vert <\delta _{n_{m},m}\), f(x i ) = ϕ 1,f (x i ) and i = 1 d+1 p i f(x i ) = ϕ 1,f (x) we can continue by

$$\displaystyle{\circledast \geq \phi _{1,f}(\mathbf{x}) -\delta _{n_{m},m} \pm \left (\sum _{i=1}^{d+1}\partial _{ 1}f_{n_{m}}(\mathbf{x}_{i})\right )h_{m} -\frac{M_{n_{m}}} {2} h_{m}^{2} -\delta _{ n_{m},m}.}$$

By (13) and (14) we obtain that

$$\displaystyle{\frac{\phi _{1,f}(\mathbf{x}) -\phi _{1,f}(\mathbf{x} - h_{m}\mathbf{e}_{1})} {h_{m}} \leq \left (\sum _{i=1}^{d+1}\partial _{ 1}f_{n_{m}}(\mathbf{x}_{i})\right ) + \left (\frac{M_{n_{m}}} {2} + 2\right )h_{m}}$$

and similarly

$$\displaystyle{\frac{\phi _{1,f}(\mathbf{x} + h_{m}\mathbf{e}_{1}) -\phi _{1,f}(\mathbf{x})} {h_{m}} \geq \left (\sum _{i=1}^{d+1}\partial _{ 1}f_{n_{m}}(\mathbf{x}_{i})\right ) -\left (\frac{M_{n_{m}}} {2} + 2\right )h_{m}}$$

and hence,

$$\displaystyle{\frac{\phi _{1,f}(\mathbf{x}) -\phi _{1,f}(\mathbf{x} - h_{m}\mathbf{e}_{1})} {h_{m}} -\frac{\phi _{1,f}(\mathbf{x} + h_{m}\mathbf{e}_{1}) -\phi _{1,f}(\mathbf{x})} {h_{m}} \leq }$$
$$\displaystyle{(M_{n_{m}} + 4)h_{m} = \left (\frac{M_{n_{m}} + 4} {M_{n_{m}}} \right ) \cdot \frac{1} {m} \leq \frac{5} {m}.}$$

Since ϕ 1,f is concave this implies that 1 ϕ 1,f (x) exists.

Next we verify that 1 ϕ 1,f is continuous on (0, 1)d. We have seen that 1 ϕ 1,f (x + t e 1) is a monotone decreasing continuous function in t for a fixed x ∈ (0, 1)d. We need to show that 1 ϕ 1,f is continuous as a function of several variables at any x ∈ (0, 1)d. This is quite standard. Suppose x ∈ (0, 1)d and ɛ > 0 are fixed. Choose t 0 > 0 such that

$$\displaystyle{\mathbf{x} \pm 2t_{0}\mathbf{e}_{1} \in (0,1)^{d},\qquad \vert \partial _{ 1}\phi _{1,f}(\mathbf{x} \pm 2t_{0}\mathbf{e}_{1}) - \partial _{1}\phi _{1,f}(\mathbf{x})\vert <\frac{\varepsilon } {2}.}$$

The function ϕ 1,f is continuous as the “top part” of the convex hull H f of the continuous function f. By uniform continuity of ϕ 1,f choose δ 1 > 0 such that

$$\displaystyle{ \vert \phi _{1,f}(\mathbf{w}) -\phi _{1,f}(\mathbf{w}')\vert <\frac{\varepsilon t_{0}} {4} \text{ if }\vert \vert \mathbf{w} -\mathbf{w}'\vert \vert <\delta _{1}\text{ and }\mathbf{w},\mathbf{w}^{{\prime}}\in (0,1)^{d}. }$$
(17)

Now suppose that

$$\displaystyle{ \mathbf{z} = (z_{1},\ldots,z_{d})\text{ is a vector with }z_{1} = 0\text{ and }\vert \vert \mathbf{z}\vert \vert <\delta _{1}. }$$
(18)

Then by (17)

$$\displaystyle{ \Big\vert \frac{\phi _{1,f}(\mathbf{x} + \mathbf{z} + 2t_{0}\mathbf{e}_{1}) -\phi _{1,f}(\mathbf{x} + \mathbf{z} + t_{0}\mathbf{e}_{1})} {t_{0}} - }$$
(19)
$$\displaystyle{\frac{\phi _{1,f}(\mathbf{x} + 2t_{0}\mathbf{e}_{1}) -\phi _{1,f}(\mathbf{x} + t_{0}\mathbf{e}_{1})} {t_{0}} \Big\vert <\frac{\varepsilon } {2}.}$$

By the Mean Value Theorem there exist c x and c z in (t 0, 2t 0) such that

$$\displaystyle{ \frac{\phi _{1,f}(\mathbf{x} + \mathbf{z} + 2t_{0}\mathbf{e}_{1}) -\phi _{1,f}(\mathbf{x} + \mathbf{z} + t_{0}\mathbf{e}_{1})} {t_{0}} = \partial _{1}\phi _{1,f}(\mathbf{x} + \mathbf{z} + c_{\mathbf{z}}\mathbf{e}_{1}) }$$
(20)

and

$$\displaystyle{\frac{\phi _{1,f}(\mathbf{x} + 2t_{0}\mathbf{e}_{1}) -\phi _{1,f}(\mathbf{x} + t_{0}\mathbf{e}_{1})} {t_{0}} = \partial _{1}\phi _{1,f}(\mathbf{x} + c_{\mathbf{x}}\mathbf{e}_{1}).}$$

By monotonicity of 1 ϕ 1,f we have

$$\displaystyle{ \vert \partial _{1}\phi _{1,f}(\mathbf{x} + c_{\mathbf{x}}\mathbf{e}_{1}) - \partial _{1}\phi _{1,f}(\mathbf{x})\vert <\vert \partial _{1}\phi _{1,f}(\mathbf{x} + 2t_{0}\mathbf{e}_{1}) - \partial _{1}\phi _{1,f}(\mathbf{x})\vert <\frac{\varepsilon } {2}. }$$
(21)

From (19)– (21) it follows that

$$\displaystyle{ \vert \partial _{1}\phi _{1,f}(\mathbf{x}) - \partial _{1}\phi _{1,f}(\mathbf{x} + \mathbf{z} + c_{\mathbf{z}}\mathbf{e}_{1})\vert <\varepsilon \text{ where }t_{0} <c_{\mathbf{z}}. }$$
(22)

A similar argument can show that there is c z ∈ (t 0, 2t 0) such that

$$\displaystyle{\frac{\phi _{1,f}(\mathbf{x} + \mathbf{z} - t_{0}\mathbf{e}_{1}) -\phi _{1,f}(\mathbf{x} + \mathbf{z} - 2t_{0}\mathbf{e}_{1})} {t_{0}} = \partial _{1}\phi _{1,f}(\mathbf{x} + \mathbf{z} - c_{\mathbf{z}}^{{\prime}}\mathbf{e}_{ 1})}$$

and

$$\displaystyle{ \vert \partial _{1}\phi _{1,f}(\mathbf{x}) - \partial _{1}\phi _{1,f}(\mathbf{x} + \mathbf{z} - c_{\mathbf{z}}^{{\prime}}\mathbf{e}_{ 1})\vert <\varepsilon \text{ where }t_{0} <c_{\mathbf{z}}^{{\prime}}. }$$
(23)

By monotonicity of 1 ϕ 1,f (x + z + t e 1) this implies that for − t 0tt 0 we have

$$\displaystyle{\vert \partial _{1}\phi _{1,f}(\mathbf{x} + \mathbf{z} + t\mathbf{e}_{1}) - \partial _{1}\phi _{1,f}(\mathbf{x})\vert <\varepsilon.}$$

Since this holds for any z satisfying (18) we obtain that 1 ϕ 1,f is continuous on (0, 1)d.

Lemma 2.8.

There exists a dense G δ set \(\mathcal{G}_{2,1}\) in C[0, 1]d such that for every \(f \in \mathcal{ G}_{2,1}\)

$$\displaystyle{ \dim _{H}(E_{1,f}) = 0,\ \dim _{H}(\mathbf{E}_{\phi _{1,f}}^{\leq 1} \cap (0,1)^{d}) = d - 1, }$$
(24)
$$\displaystyle{\mathbf{E}_{\phi _{1,f}}^{h} \cap (0,1)^{d} =\emptyset \mathit{\text{ for }}1 <h <+\infty,\mathit{\text{ and }}\dim _{ H}(\mathbf{E}_{\phi _{1,f}}^{+\infty }) = d.}$$

Proof.

We choose again a countable dense set f n C[0, 1]d. The functions f n are uniformly continuous and for \(\frac{1} {16(n+m)}\) we choose η n, m > 0 such that

$$\displaystyle{ \vert f_{n}(\mathbf{x}) - f_{n}(\mathbf{y})\vert <\frac{1} {16(n + m)}\text{ if }\vert \vert \mathbf{x} -\mathbf{y}\vert \vert <\eta _{n,m},\ \mathbf{x},\mathbf{y} \in [0,1]^{d}. }$$
(25)

We partition [0, 1]d into non-overlapping simplices Z j , j = 1, , ζ n, m such that the diameter of each simplex is less than η n, m . We assume that V (n, m) is the set of vertices of these simplices. We can also assume that these vertices are sufficiently independent, that is, from x 1, , x k V (n, m) ∩ (0, 1)d, x i x j , ij, the points x j , j = 1, , k are on the same d − 1-dimensional hyperplane in \(\mathbb{R}^{d}\) it follows that kd. This means that the second assumption in Definition 2.1 is satisfied.

We denote by \(\widetilde{f}_{n,V (n,m)}\) the function which is defined on V (n, m) and for any xV (n, m), \(\widetilde{f}_{n,V (n,m)}(\mathbf{x}) = f_{n}(\mathbf{x}).\) In Fig. 2 we illustrate the procedure of selecting f n, m . On the left half of this figure there is f n with the little circles on its graph. We suppose that on [0, 1]1 we used the “simplices,” which are equally spaced line segments of length 0. 2. The function \(\widetilde{f}_{n,V (n,m)}\) is defined on these points and its graph is represented by the little circles on the graph of f n .

Fig. 2
figure 2

The functions f n , f n, V (n, m), f n, m , and \(\phi _{1,f_{n,m}}\)

Now we perturb \(\widetilde{f}_{n,V (n,m)}\) a bit in order to obtain an “independent” function \(\overline{f}_{n,V (n,m)}\) such that

$$\displaystyle{ \vert \overline{f}_{n,V (n,m)} -\widetilde{f}_{n,V (n,m)}\vert <\frac{1} {16(n + m)} }$$
(26)

and if x 0, , x k V (n, m), x i x j if ij, and \((\mathbf{x}_{j},\overline{f}_{n,V (n,m)}(\mathbf{x}_{j}))\), j = 1, , k are on the same hyperplane in \(\mathbb{R}^{d+1}\), then kd + 1. This implies that the first assumption of Definition 2.1 is satisfied for \(\overline{f}_{n,V (n,m)}\).

If x ∈ [0, 1]d ∖V (n, m) and x is in the simplex Z j , j ∈ {1, , ζ n, m } with vertices z j, 1, , z j, d+1V (n, m) we define f n, V (n, m)(x) so that (x, f n, V (n, m)(x)) is on the hyperplane determined by the points

$$\displaystyle{(\mathbf{z}_{j,1},\overline{f}_{n,V (n,m)}(\mathbf{z}_{j,1})),\ldots,(\mathbf{z}_{j,d+1},\overline{f}_{n,V (n,m)}(\mathbf{z}_{j,d+1})).}$$

Therefore, f n, V (n, m) is an independent piecewise linear function (recall Definition 2.1 and see the illustration on the left half of Fig. 2).

By (25) and (26)

$$\displaystyle{ \vert f_{n,V (n,m)}(\mathbf{x}) - f_{n}(\mathbf{x})\vert <\frac{1} {4(n + m)}. }$$
(27)

Now we want to perturb the functions f n, V (n, m) a little further. Let κ(x) = max{1 − | | x | |, 0} and for a γ > 0 put

$$\displaystyle{\varGamma _{V (n,m),\gamma }(\mathbf{x}) =\chi _{[0,1]^{d}}(\mathbf{x})\sum _{\mathbf{v}\in V (n,m)}\kappa \left (\frac{\mathbf{x} -\mathbf{v}} {\gamma } \right ).}$$

Then lim γ → 0+ Γ V (n, m), γ (x) = χ V (n, m)(x). 

We denote by ν(n, m) the minimum distance among points of V (n, m) and will select a sufficiently small γ n, m > 0 later. We put

$$\displaystyle{f_{n,m} = f_{n,V (n,m)} + \frac{1} {4(n + m)}\varGamma _{V (n,m),\gamma _{n,m}}.}$$

On both halves of Fig. 2 one can see \(\frac{1} {4(n+m)}\varGamma _{V (n,m),\gamma _{n,m}}\) which is the function with the equally spaced small peaks at the points which are multiples of 0. 2. On the right half of Fig. 2 one can see f n, m which is obtained from f n, V (n, m) (pictured on the left half of Fig. 2) after we added the small peaks.

We suppose that

$$\displaystyle{ \gamma _{n,m} <\frac{\nu (n,m)} {100} }$$
(28)

and if \(\mathfrak{G}(n,m)\) denotes the maximum of the norms of the gradients of the hyperplanes in the definition of f n, V (n, m), then

$$\displaystyle{ \frac{1} {\gamma _{n,m}}> 100 \cdot \mathfrak{G}(n,m). }$$
(29)

This way if we take the convex hull of f n, m , then

$$\displaystyle{E_{1,f_{n,m}} =\{ \mathbf{x}: f_{n,m}(\mathbf{x}) = \phi _{1,f_{n,m}}(\mathbf{x})\}}$$

will be a subset of V (n, m). See the right half of Fig. 2. We remark that the resolution of our drawings does not make it possible to take into all the above assumptions and hence they are distorted, but we hope that they can help to understand our procedure.

Our next aim is to select a sufficiently small δ n, m > 0. It is clear that given r n, m > 0 if δ n, m is sufficiently small, then f can coincide with ϕ 1,f only close to some points in V (n, m), that is, for any fB(f n, m , δ n, m ) and any xE 1,f there is w x V (n, m) such that

$$\displaystyle{ \vert \vert \mathbf{w}_{\mathbf{x}} -\mathbf{x}\vert \vert <r_{n,m}. }$$
(30)

On the left half of Fig. 3 one can see f n, m and f. We lso graphed the functions \(\phi _{1,f_{n,m}}\) and ϕ 1,f which will be very close to each other. The latter function is not exactly piecewise linear but a close approximation to such a function, namely to \(\phi _{1,f_{n,m}}\). In the one dimensional case, like in Fig. 3 the nonlinear parts (not pictured) are very close to some elements of V (n, m). The higher dimensional case is a bit more complicated and we discuss it below.

Fig. 3
figure 3

On the left: f n, m and f, on the right: \(\mathcal{S}_{\phi }\) and Φ ϕ, f when d = 2

We will select a sufficiently small r n, m > 0 later. At this point we suppose that

$$\displaystyle{ r_{n,m} <\frac{\nu (n,m)} {1000}. }$$
(31)

This implies that for any xE 1,f there is a unique w x V (n, m). That is, f will “almost” look like a piecewise linear function. This implies that if fB(f n, m , δ n, m ), then

$$\displaystyle{ E_{1,f}\text{ can be covered by the set } \cup _{\mathbf{w}\in V (n,m)}B(\mathbf{w},r_{n,m}). }$$
(32)

We can suppose that r n, m is chosen so small, that

$$\displaystyle{ \#(V (n,m)) \cdot r_{n,m}^{1/m} <1/m. }$$
(33)

This estimate will imply that dim H E 1,f = 0 for the typical fC[0, 1]d, that is for \(f \in \mathcal{ G}_{2,1}\).

By the choice of γ n, m if we consider \(\phi _{1,f_{n,m}}\), then it is an independent piecewise linear function. There is a system of non-overlapping simplices

$$\displaystyle{\mathcal{S}_{\phi } =\{ S_{k}: k = 1,\ldots,s_{\phi }\}}$$

such that \((\mathbf{x},\phi _{1,f_{n,m}}(\mathbf{x}))\) for any x ∈ [0, 1]d is on a hyperplane determined by a simplex S k containing x. On the left half of Fig. 3 the one dimensional case is illustrated and these simplices are simply the line segments [0, 0. 4], [0. 4, 0. 6], and [0. 6, 1]. The endpoints 0. 4 and 0. 6 are points where this function “breaks” and these points are on two non-parallel lines (“hyperplanes”). These breakpoints/folding regions will be used to find those points where the Hölder exponent is 1. On the right half of Fig. 3 the two dimensional case d = 2 is illustrated. This time we have simplices (triangles) in [0, 1]d bounded by solid lines on which \(\phi _{1,f_{n,m}}\) is linear. On the right half of Fig. 3 only the domain of \(\phi _{1,f_{n,m}}\) is shown. The system of the simplices (triangles) bounded with dashed lines will be simplices corresponding to ϕ 1,f . Later we will explain this in more detail.

By the independence property of f n, V (n, m) the hyperplanes determined by the simplices S k are different for different S k .

We denote by V ϕ the set of the vertices of the simplices S k , k = 1, , s ϕ . Clearly, V ϕ V (n, m). The union of the faces of these simplices will be denoted by \(\varPhi _{\phi } = \cup _{k=1}^{s_{\phi }}\partial (S_{k}).\) If x 0(S k ) ∩ (S k) with kk′, then \(\{(\mathbf{x},\phi _{1,f_{n,m}}(\mathbf{x})): \mathbf{x} \in S_{k}\}\) and \(\{(\mathbf{x},\phi _{1,f_{n,m}}(\mathbf{x})): \mathbf{x} \in S_{k'}\}\) are on different hyperplanes and hence the graph of \(\phi _{1,f_{n,m}}\) “breaks” at x 0. This implies that we can choose τ 1,n, m such that for any x ϕ Φ ϕ ∩ (0, 1)d and for any hyperplane L x passing through \((\mathbf{x}_{\phi },\phi _{1,f_{n,m}}(\mathbf{x}_{\phi }))\) one can choose a point x ϕ such that

$$\displaystyle{ \tau _{1,n,m} \leq \text{dist}(\mathbf{x}_{\phi }^{{\prime}},\varPhi _{\phi }) \leq \frac{1} {n + m}, }$$
(34)

and

$$\displaystyle{ \vert L_{\mathbf{x}}(\mathbf{x}_{\phi }^{{\prime}}) -\phi _{ 1,f_{n,m}}(\mathbf{x}_{\phi }^{{\prime}})\vert \geq \vert \vert \mathbf{x}_{\phi } -\mathbf{x}_{\phi }^{{\prime}}\vert \vert ^{1+ \frac{1} {m} } \geq \tau _{1,n,m}^{1+ \frac{1} {m} }, }$$
(35)

where we used that (34) implies | | x ϕ x ϕ | | > τ 1,n, m . See Fig. 4.

Fig. 4
figure 4

The breaking point at \((\mathbf{x}_{\phi },\phi _{1,f_{n,m}}(\mathbf{x}_{\phi }))\)

It is also clear that if f is a good approximation of f n, m , then one can see similar “breaking” properties on ϕ 1,f . This time there are no “folding edges” like in the case of f n, m on Φ ϕ ∩ (0, 1)d but there are regions around Φ ϕ where we can see similar phenomena.

Using that f n, m and \(\phi _{1,f_{n,m}}\) are both independent piecewise linear functions one can see that

$$\displaystyle{ \varDelta _{1,n,m}(\delta ) =\sup \{ \vert \phi _{1,f_{n,m}}(\mathbf{x}) -\phi _{1,f}(\mathbf{x})\vert: \mathbf{x} \in [0,1]^{d},\ f \in B(f_{ n,m},\delta )\} \rightarrow 0 }$$
(36)

as δ → 0 +. Apart from (31) and (33) we also assume that r n, m > 0 is chosen so small that

$$\displaystyle{ r_{n,m} <\frac{\tau _{1,n,m}} {100} }$$
(37)

and (using that dim H Φ ϕ = d − 1)

$$\displaystyle{ B(\varPhi _{\phi },r_{n,m})\text{ can be covered by balls }B_{i}\text{ such that } }$$
(38)
$$\displaystyle{\vert B_{i}\vert <\frac{1} {n + m}}$$

and

$$\displaystyle{ \sum _{i}\vert B_{i}\vert ^{(d-1)+ \frac{1} {m} } <\frac{1} {m}. }$$
(39)

Recall that we started to make assumptions about δ n, m in the paragraph containing (30). The smaller r n, m we need to use the smaller δ n, m . Next we suppose that using (36) we chose a δ n, m such that in addition to our other assumptions we have

$$\displaystyle{ \varDelta _{1,n,m}(\delta _{n,m}) <\frac{1} {100}\tau _{1,n,m}^{1+ \frac{1} {m} }. }$$
(40)

Now we want to use the folding property in (34) and (35) for functions f which approximate f n, m . This time the “folding edges” are not any more (d − 1)-dimensional surfaces, but some neighborhoods of them. By (38) and (39) we will be able to bound the dimension of these regions.

Suppose \(S_{k} \in \mathcal{S}_{\phi }\) with k ∈ {1, , s ϕ } with vertices z k, 1, , z k, d+1. Since f n, m and \(\phi _{1,f_{n,m}}\) are both independent piecewise linear functions there is δ ϕ, k > 0 such that if fB(f n, m , δ ϕ, k ), then one can choose vertices z k, j, f , j = 1, , d + 1 such that

$$\displaystyle{ \vert \vert \mathbf{z}_{k,j} -\mathbf{z}_{k,j,f}\vert \vert <r_{n,m}\text{ and }\mathbf{z}_{k,j,f} \in E_{1,f},\ j = 1,\ldots,d + 1, }$$
(41)

moreover if S k, f denotes the simplex determined by {z k, j, f : j = 1, , d + 1}, then {(x, f(x)): xS k, f } is on the surface of H f inside a hyperplane determined by \(\{(\mathbf{z}_{k,j,f},f(\mathbf{z}_{k,j,f})): k = 1,\ldots,d + 1\}\), that is, {(x, ϕ 1,f (x)): xS k, f } is a “face” of ϕ 1,f approximating \(\{(\mathbf{x},\phi _{1,f_{n,m}}(\mathbf{x})): \mathbf{x} \in S_{k}\}\). On the right half of Fig. 3 we have the two dimensional illustration. The simplices (triangles) \(S_{k} \in \mathcal{ S}_{\phi }\) are bounded by solid lines. The simplices (triangles) S k, f are bounded by dashed lines.

We can suppose that δ n, m < min{δ ϕ, k : k = 1, , s ϕ } and by using independent piecewise linearity of f n, m and \(\phi _{1,f_{n,m}}\) we obtain that the hyperplanes containing {(x, ϕ 1,f (x)): xS k, f } are different for different k’s.

Hence the simplices S k, f are non-overlapping.

Put

$$\displaystyle{ \varPhi _{\phi,f} = (0,1)^{d}\setminus \cup _{ k=1}^{s_{\phi }}\mathrm{int}(S_{ k,f}). }$$
(42)

These sets Φ ϕ, f will replace the folding edges Φ ϕ ∩ (0, 1)d. In Fig. 3 this is the region which is not covered by the interiors of the simplices (triangles) bounded by dashed lines.

From | | z k, j z k, j, f | | < r n, m in (41) it follows that any point x in S k which is of distance no less than r n, m from (S k ) is covered by S k, f .

Thus Φ ϕ, f B(Φ ϕ , r n, m ) and hence by (38) and (39)

$$\displaystyle{ \varPhi _{\phi,f}\text{ can be covered by balls }B_{i}\text{ such that } }$$
(43)
$$\displaystyle{\vert B_{i}\vert <\frac{1} {n + m}\text{ and }\sum _{i}\vert B_{i}\vert ^{d-1+ \frac{1} {m} } <\frac{1} {m}.}$$

Using all the above restrictions we can select δ n, m > 0.

Set \(\mathcal{G}_{2,1} = \cap _{m=1}^{\infty }\cup _{n=1}^{\infty }B(f_{n,m},\delta _{n,m})\).

It is clear that \(\mathcal{G}_{2,1}\) is a dense G δ set in C[0, 1]d.

Suppose \(f \in \mathcal{ G}_{2,1}\). Then there exists a sequence n m such that \(f \in B(f_{n_{m},m},\delta _{n_{m},m})\). For each m we can define the “folding region” as in (42). Since these regions depend on m we denote them by Φ ϕ, f, m . Set Φ f = ∩ m = 1 Φ ϕ, f, m . If x ∈ (0, 1)d ∖Φ f , then there exists an m such that x ∈ int(S k, f, m ) with a simplex S k, f, m and {(x, ϕ 1,f (x)): xS k, f, m } is the subset of a hyperplane in \(\mathbb{R}^{d+1}\). This implies that ϕ 1,f is locally linear in a neighborhood of x and \(h_{\phi _{1,f}}(\mathbf{x}) = +\infty\).

Using (43) one can easily see that dim H (Φ f ) ≤ d − 1. On the other hand, from (43) it also follows that if S ⊂ (0, 1)d is a simplex such that its vertices are z 1, , z d+1E 1,f , then there exists m 0 such that for mm 0, SΦ ϕ, f, m . Since S is a “face” of ϕ 1,f if x(S), then x cannot belong to the interior of any other “face” of ϕ 1,f . Hence (S) ⊂ Φ f . Since dim H (S) = d − 1 we obtain that dim H (Φ f ) = d − 1. If xΦ f , then (34) and (35) imply that h f (x) ≤ 1. 

The property dim H E 1,f = 0 follows from (32) and (33).

Proof (Proof of Theorem 1.3).

We can take \(\mathcal{G}_{0}\) from (8) in Remark 2.5 and for any \(f \in \mathcal{ G}_{0}\) we have (3)– (5) satisfied.

By Lemma 2.6 there exists a dense open set \(\mathcal{G}_{1} \subset C[0,1]^{d}\) such that for any \(f \in \mathcal{ G}_{1}\) the functions ϕ 1,f and ϕ 2,f are continuously differentiable on (0, 1)d.

There is nothing special about ϕ 1,f in Lemma 2.8. A similar lemma can provide a dense G δ set \(\mathcal{G}_{2,2}\) such that for any \(f \in \mathcal{ G}_{2,2}\) we have (24) for E 2,f and ϕ 2,f .

If we take \(\mathcal{G} =\mathcal{ G}_{0} \cap \mathcal{ G}_{1} \cap \mathcal{ G}_{2,1} \cap \mathcal{ G}_{2,2}\), then taking into consideration Remark 2.7 as well any \(f \in \mathcal{ G}\) satisfies the conclusions of Theorem 1.3.