Let $n \in \mathbb N,$ $1 \leq p \leq \infty$ and let $f \in L^p (\mathbb R^n).$ Define a function $T : \mathbb R^n \longrightarrow L^p (\mathbb R^n)$ by $$T (h) (x) = f(x + h)$$ for all $h \in \mathbb R^n$ and for all $x$ a.e. in $\mathbb R^n.$ Show that
$(1)$ $T$ is continuous when $1 \leq p \lt \infty.$
$(2)$ $T$ is not continuous when $p = \infty.$
For $(1)$ I exploited the fact that $C_c (\mathbb R^n)$ is dense in $L^p (\mathbb R^n).$ For $(2)$ I no longer have access to this result. But I think the result continues to hold for $p = \infty$ if $f \in C_c (\mathbb R^n)$ because compactly supported continuous functions are uniformly continuous. This result clearly holds for Identity function and constant functions. The result where the result might violate is the set of all continuous functions which are either not bounded or the quantity $|f(x+h) - f(x)|$ is depending upon $x.$ Any function which is in the complement of $C (\mathbb R^n)$ in $L^{\infty} (\mathbb R^n)$ will possibly also work. Could anyone please give me some more insights on $(2)\ $?
Thanks for your kind attention.
For a simple counterexample just let $f$ be the heaviside step function on $\mathbb R$. Then for all $h\neq h'$ we have $\|T(h)-T(h')\|_\infty=1$.