Relation between Sobolev Space $W^{1,\infty}$ and the Lipschitz class I have a Sobolev space related question. In the book 'Measure theory and fine properties of functions' by Lawrence Evans. I know the result that states that for $f: \Omega \rightarrow \mathbb{R}$. $f$ is locally Lipschitz in $\Omega$ if and only if $f \in W^{1,\infty}_{loc}(\Omega)$. 
I recently saw that it was stated in a book 'Nonlinear partial differential equations with applications' by Roubicek, that $W^{1,\infty}(\Omega) = C^{0,1}(\Omega)$. 
Can anyone confirm this stronger result and maybe recommend a book or text which provides a proof? Thanks a lot for any help.
 A: "Locally" is ambiguous here

$f$ is locally Lipschitz in $\Omega$ if and only if $f \in W^{1,\infty}_{loc}(\Omega)$

The validity of this claim depends on interpretation of "locally Lipschitz". Does it mean

*

*every point of $\Omega$ has a neighborhood in which $f$ is Lipschitz, or

*there is $L$ such that every point of $\Omega$ has a neighborhood in which $f$ is $L$-Lipschitz (i.e., satisfies $|f(x)-f(y)|\le L|x-y|$).

With interpretation 1) the above would be false, because $f(x)=1/x$ is locally Lipschitz on the interval $(0,1)$. The authors meant interpretation 2, but you should be aware that it may be less common. Saying "locally $L$-Lipschitz" would be more precise.
Counterexample and quasiconvexity

$W^{1,\infty}(\Omega) = C^{0,1}(\Omega)$

This is not always true. For example, let $\Omega$ be the plane with the slit along negative $x$-axis. Using polar coordinates $r,\theta$, with $-\pi<\theta<\pi$, define $u(r,\theta) = r\theta$. You can check that this is a $W^{1,\infty}$ function (it is locally $10$-Lipschitz, say), but it is not in $C^{0,1}(\Omega)$ because the values of $f$ just above the slit and just below it are far apart.
The counterexample is taken from here, where you can also find a result in the positive direction; for sufficiently nice $\Omega$ the equality holds. Also, see the answer and references in relation between $W^{1,\infty}$ and $C^{0,1}$.
Vanishing on the boundary
The definition of $W^{1,\infty}_0(\Omega)$ is a bit tricky since the usual approach (complete the space of smooth compactly supported functions with respect to the Sobolev norm) does not apply. Instead one can define  $W_0^{1,\infty}(\Omega)$ as follows. Every element of $W^{1,\infty}(\Omega)$ has a continuous representative $u$. If $u$ satisfies $\lim_{x\to a}u(x)= 0$ for  every $a\in \partial \Omega$, then we say that $u\in  W_0^{1,\infty}(\Omega)$. This is a closed subspace, because convergence in $W^{1,\infty}$ norm implies uniform convergence.
As an aside: one can give a unified definition of $W^{1,p}_0(\Omega)$ that works for all $1\le p\le \infty$: a function is in $W^{1,p}_0(\Omega)$ if its zero extension to $\mathbb R^n$ is in $W^{1,p}(\mathbb R^n)$.
For every domain, $W_0^{1,\infty}(\Omega)$ is the same as the set of Lipschitz functions on $\Omega$ that tend to $0$ at the boundary. Indeed, we can extend  by zero to the rest of $\mathbb R^n$ and use the fact that $\mathbb R^n$ is convex.
A: For my future reference!
I second 1Rock's comment to the accepted answer. Interpretation 1 of locally Lip seems to be ok and the right one. What does interpretation 2) mean anyway? What does L come from as the function is only locally in $W^{1,\infty}$ and the bound changes from open subdomain to another.
Here is the subtle thing per my research.

Theorem: A function $u\in L^1_{loc}(\mathbb{R}^n)$ has a representative that is bounded and Lipschitz continuous if and only if $u \in W^{1,\infty}(\mathbb{R}^n)$.

(Theorem 2.23 in notes by Juha Kinnunen, Aalto University)
Note the global nature of the claims.
Now what if $U$ is a proper open subset of $\mathbb{R}^n$? As the example in the other answers show, even if $u \in W^{1,\infty}(U)$ we only can get that any point has a (bounded) neighborhood on which $u$ has a representative that is Lipschitz. Let me sketch the idea of proof of this direction as it is important to my discussion.
If one follows the proofs, for example in case of whole $\mathbb{R}^n$, the idea behind showing Lipschitz is to bound $|u_\epsilon(x)-u_\epsilon(y)|$ by the integral of the derivative of the mollifications $u_\epsilon$ of $u$ along a curve from $x$ to $y$ and use the universal bounds on the derivative. (We will ultimately let $\epsilon \to 0$.)
In case of convex domain we simply take the line segment,  whose length happens to be ideally equal to $|x-y|$.
In case of quasiconvex domain we are still good since we can find curves with length less than a universal multiple of $|x-y|$. The counter example works because quasiconvexity fails. There is no special thing about the counterexample, just take any domain where intrinsically far away parts come very close in the ambient space, and then have $u$ attain very different values at these portions.
Now, it must be clear that within every ball contained in $U$ the argument will go through and $u$ will have a Lip representative. We will get the same conclusion for $W^{1,\infty}_{loc}(U)$ as for $W^{1,\infty}(U)$ because we only need the L-infinity bound on derivative on a slightly larger ball.
So, this wraps up the proof that $W^{1,\infty}_{loc}(U)$ has Lip representatives on small neighborhoods.
For the reverse implication, observe that if $u$ has a Lipschitz representative on a bounded open subdomain $V$, then $u$ is bounded and hence in $W^{1,\infty}(V)$.
So, Evans and Garipey's statement is correct after all (with interpretation 1 in the other answer.) To be super clear:

Theorem: Let $U$ be open in $\mathbb{R}^n$, and $f \in L^1_{loc}(U)$. Then the following are equivalent:

*

*Every point in $U$ has a bounded neighborhood on which $f$ has a representative that is bounded and Lipschitz,

*On every subdomain compactly contained in $U$,  $f$ has a representative that is bounded and Lipschitz,

*For every subdomain $V$ compactly contained in $U$, $f \in W^{1,\infty}(V)$,

*$f \in W^{1,\infty}_{loc}(U)$.


In 1 we can just say a ball centerd at that point. Equivalence of 1 and 2 follows from topology! Items 3 and 4 are equivalent just by definition.
There is one question remaining: We saw that $u \in W^{1,\infty}(U)$ is not better that $u \in W^{1,\infty}_{loc}(U)$ as both only guarantee local Lipschitz (in sense of theorem above). But how about the reverse direction: what if $u$ has a representative that is bounded (necessary for unbounded domains) and Lipschitz on (all of) $U$ -- does it follows that $u \in W^{1,\infty}(U)$? Or do we only get $u \in W^{1,\infty}_{loc}(U)$?
