# Continuum Hypothesis II

Differentiability of Space Filling Curves

A Peano curve is a surjective (onto) function $$f\colon\mathbb{R}\to\mathbb{R}^2$$. Apparently such an f cannot be smooth. To see this consider the restrictions of this function to closed intervals $$f\restriction [n,n+1]$$. By smoothness and compactness the image of each of them under f has finite length, and hence measure zero in the 2-dimensional Lebesgue measure of $$\mathbb{R}^2$$ (twice continuously differentiable is enough for this argument). Thus their countable union, the range of f, cannot be the whole plane.

On the other hand, f can be continuous, see the exercise I gave in the end of the post about continued fractions.

Let us try something between smooth and continuous. Denote $$f=(f_1,f_2)$$, where $$f_1$$ and $$f_2$$ are the co-ordinate functions. Is it possible that at each point either $$f_1$$ or $$f_2$$ has a derivative?

Theorem The following are equivalent
1. Continuum Hypothesis
2. There exists a Peano curve such that at each point one of the components is differentiable.

Reference: Michal Morayne Colloq. Math. 53 (1987), 129-132

UPD: The argument as it is below uses the assumption that a set whose complement has measure zero has the size of continuum. This is true under Martin’s axiom, but seems to me independent from ZFC. By putting one more assumption on the Peano curve the proof below goes through: assume that there is are open intervals $$I_1,I_2$$ such that in $$I_k$$ the function $$f_k$$ is differentiable and the derivative is non-zero for k=1,2.

For a proof we have to establish two lemmas.

Lemma 1
The following are equivalent
(1) Continuum Hypothesis
(2) There exist sets $$S_1$$ and $$S_2$$ such that $$S_1\cup S_2=\mathbb{R}^2$$ and for each $$x\in \mathbb{R}$$ the sets
$$(S_1)^x=\{y\in \mathbb{R}\mid (x,y)\in S_1\}$$
and
$$(S_2)_x=\{y\in \mathbb{R}\mid (y,x)\in S_2\}$$
are countable.

Proof of Lemma 1
Assume CH. Let $$f\colon \mathbb{R}\to \omega_1$$ be a bijection and set
$$S_1=\{(x,y)\mid f(y)\leqslant f(x)\}$$
and
$$S_2=\{(x,y)\mid f(x)\leqslant f(y)\}$$
These clearly satisfy the assumption.

Suppose now that CH does not hold and $$S_1$$ and $$S_2$$ are some subsets of $$\mathbb{R}^2$$ for which the sets $$(S_1)^x$$ and $$(S_2)_x$$ are countable for all $$x\in \mathbb{R}$$. Now pick a subset $$E$$ of $$\mathbb{R}$$ of size $$\omega_1$$. The intersection

$$I=\bigcap_{x\in E}\mathbb{R}\setminus (S_1)^x$$

is non-empty, because its complement is an $$\omega_1$$-union of countable sets which has size $$\omega_1<|\mathbb{R}|$$. Pick $$x\in I$$, now $$(S_2)_{x}$$ should be uncountable in order to satisfy $$S_1\cup S_2=\mathbb{R}^2$$. $$\quadd\square$$

Lemma 2
Let $$f\colon \mathbb{R}\to\mathbb{R}$$ and $$D\subset \mathbb{R}$$ such that $$(\forall x\in D)(f'(x)\text{ exists})$$. Then the set

$$E=\{y\in \mathbb{R}\mid D\cap f^{-1}\{y\}\text{ is uncountable}\}$$

has Lebesgue measure zero.

Proof of Lemma 2
Let us first show that

$$Z=\{f(x)\in \mathbb{R}\mid x\in D, f'(x)=0\}$$

has measure zero (this is called Sard’s lemma). Fix a positive $$\varepsilon$$ and for each $$n$$ define

$$D_n=\{x\in D\mid x-\frac{1}{n}\leqslant y\leqslant x+\frac{1}{n}\Rightarrow |f(x)-f(y)|\leqslant \varepsilon\cdot|x-y|\}.$$

Clearly $$\bigcup_n D_n=\{x\mid f'(x)\leqslant \varepsilon\}$$. By the definition of Lebesgue measure there exist intervals $$(I_k^n)_{k\in \mathbb{N}}$$ such that

(I) $$D_n\subset \bigcup_{k\in\mathbb{N}}I^n_k$$
(II) $$\mu(I_k^{n})\leqslant \frac{1}{n}$$
(III) $$\sum_{k\in \mathbb{N}}\mu(I_k^n)\leqslant \mu(D_n)+\varepsilon$$

(Here $$\mu$$ denotes Lebsgue measure)

Now for every $$x,y\in I^{n}_k\cap D_n$$ we have $$|f(x)-f(y)|\leqslant\varepsilon\mu(I^n_k)$$, so we can calculate

$$\mu(f[D_n])\leqslant \sum_{k\in \mathbb{N}} \mu(f[I^n_k])\leqslant \varepsilon\sum_{k\in\mathbb{N}}\mu(I^n_k)\leqslant \varepsilon(\mu(D_n)+\varepsilon).$$

Taking $$n\to \infty$$ and $$\varepsilon\to 0$$ we get Sard's lemma.

We will show that $$E\subset Z$$ which suffices. Suppose $$y\in E$$. Then the set $$D\cap f^{-1}\{y\}$$ is uncountable and must have an accumulation point $$x$$. Since $$x\in D$$ the derivative $$f'(x)$$ exists and because it is an accumulation point of the set $$f^{-1}\{y\}$$ the derivative is zero. Thus $$y\in Z$$. $$\quadd\square$$

Proof of the Theorem

Suppose CH and let $$S_1$$ and $$S_2$$ be as in Lemma 1. For each $$x\in\mathbb{R}$$ enumerate the sets $$(S_1)^x$$ and $$(S_2)_{x}$$. Define $$f\colon \mathbb{R}\to\mathbb{R}^2$$ as follows. Let $$g(x)=x\sin x$$. Let $$x\in \mathbb{R}$$ and suppose first that $$x\geqslant 0$$. Let $$n=|[0,x)\cap g^{-1}\{g(x)\}|$$ and let $$x_n$$ be the $$n$$:th element of $$(S_1)^{g(x)}$$. Then let $$f(x)=(g(x),x_n)$$. This defines a surjection from positive reals to $$S_1$$. If $$x$$ is negative do the same thing symmetrically: $$f(x)=(x_n,g(x))$$, where $$x_n$$ is the $$n$$:th element of $$(S_2)_{g(x)}$$ where $$n$$ is the size of the set $$(x,0]\cap g^{-1}\{g(x)\}$$. Since $$\mathbb{R}^2=S_1\cup S_2$$, $$f$$ is a surjection and clearly has one of the co-ordinate derivatives at each point except origin. The latter can be improved by resetting $$f(x)=(g(x),g(x))$$, when $$x\in (-1,1)$$ and instead of the intervals $$[0,x)$$ and $$(x,0]$$ used above just use the intervals $$[1,x)$$ and $$(x,-1]$$.

Suppose on the other hand that there exists a surjection $$f\colon \mathbb{R}\to \mathbb{R}^2$$ as in the assumption of the theorem. Denote $$f=(f_1,f_2)$$ as in the beginning. Let
$$D_1=\{f(x)\in \mathbb{R}\mid f’_1(x)\text{ exists}\}$$
and
$$D_2=\{f(x)\in \mathbb{R}\mid f’_2(x) \text{ exists}\}$$.
Now the sets $$D_1$$ and $$D_2$$ are almost like $$S_1$$ and $$S_2$$ in Lemma 1. Clearly $$\mathbb{R}^2=D_1\cup D_2$$ but $$(D_1)^x={(x,y)\in D_1\mid y\in \mathbb{R}\}$$ is not necessarily countable. But by Lemma 2 it is countable almost everywhere, since $$f_1$$ has a derivative at each point in $$D_1$$ and

$$(D_1)^x=f[f_1^{-1}(x)\cap \{x\mid \exists f’_1(x)\}]$$

which is countable for almost all $$x$$ by Lemma 2.

To carry out the complete argument let

$$N_1=\{x\in \mathbb{R}\mid D_1\cap f_1^{-1}\{x\}\text{ is uncountable}\}$$

and

$$N_2=\{x\in \mathbb{R}\mid D_2\cap f_2^{-1}\{x\}\text{ is uncountable}\}$$.

By Lemma 2 both $$N_1$$ and $$N_2$$ have measure zero. Let $$\beta\colon \mathbb{R}\to \mathbb{R}\setminus (N_1\cup N_2)$$ be a bijection which exists since the complement of a measure zero set of reals has the cardinality of the continuum. Then for $$i=1,2$$ the sets

$$S_i=\{(\beta^{-1}(x),\beta^{-1}(y))\mid (x,y)\in D_i\cap (\mathbb{R}\setminus N_1\cup N_2)^2\}$$

are as in Lemma 1, so CH must hold. $$\quadd\square$$