Proposition 3.9.2.59D258340230 Let $F$ be a nonempty proper closed subset of $\mathbb R^2$, and let $G\subset \mathbb R^2$ be a connected open set containing $F$. If $d(x)=\operatorname {dist}(x,F)$ is subharmonic on $G$, then $F$ is convex. Conversely the distance to a nonempty closed convex set is convex, and hence subharmonic, on the whole plane.
Proposition 3.9.259D258340230
Proof. We first prove a regularity fact in $\mathbb R^ m$. On a ball $B\Subset G\setminus F$ there is a constant $C$ such that
in the sense of distributions. Indeed, for every $a\in F$ the Hessian of $x\mapsto |x-a|$ is at most $I/\operatorname {dist}(B,F)$ on $B$. Subtracting $C|x|^2/2$ makes each such function concave; their infimum $d-C|x|^2/2$ is concave as well. Concave mollifications give the distributional assertion. Since $d$ is subharmonic, $\Delta d\ge 0$. Mollify on a smaller ball. The eigenvalues of the smooth Hessian are at most $C$ and their sum is nonnegative, so each is at least $-(m-1)C$. Thus the full mollified Hessians are uniformly bounded.
The function $d$ is $1$-Lipschitz. Its mollifications and their gradients are uniformly bounded, and the Hessian bound makes those gradients equi-Lipschitz. Compactness on smaller balls gives a uniformly convergent subsequence of gradients. The segment integral identity identifies its limit with $\nabla d$, and the Lipschitz bound passes to the limit. Consequently $d\in C^{1,1}_{\mathrm{loc}}(G\setminus F)$, and its distributional Hessian is a locally bounded symmetric matrix $H$. This also follows from the canonical bounded-Hessian regularity theorem.
Every $x\in G\setminus F$ has a nearest point $a\in F$, since a minimizing sequence stays bounded and $F$ is closed. The smooth function $|\, \cdot -a|$ dominates $d$ with equality at $x$. Differentiability therefore gives
In particular the nearest point is unique wherever $d$ is differentiable. Differentiating $|\nabla d|^2=1$ weakly gives
For clarity this weak product rule needs no additional differentiability theorem: mollify the locally Lipschitz vector $\nabla d$, whose weak derivatives are bounded. The vectors converge uniformly on compact sets, the derivatives converge distributionally with common bounds, and the ordinary product rule passes to the limit against test functions.
Now take $m=2$. The symmetric matrix $H$ has a zero eigenvalue, because $\nabla d$ is a unit vector, and its other eigenvalue is $\operatorname {tr}H=\Delta d\ge 0$. Hence $H\ge 0$ almost everywhere. Mollification on each interior ball and uniform convergence show that $d$ is locally convex on $G\setminus F$.
The set $F$ is locally convex, including at its boundary. Fix $p\in F$ and a ball $B(p,r)\subset G$. For $x,y\in F\cap B(p,r)$, restrict $d$ to their segment. If it were positive somewhere, a component interval of its positive set would have two zero endpoints. It is locally convex in that interval, hence convex there by the one-dimensional slope inequalities. Continuity at its endpoints would force it to be at most their zero chord, a contradiction. Thus the whole segment lies in $F\cap B(p,r)$.
Define the nearest-point map $P:G\to F$, with $P(x)=x$ on $F$. Off $F$ the preceding formula gives $P(x)=x-d(x)\nabla d(x)$, so $P$ is continuous there. At $p\in F$,
so it is continuous on all of $G$. Since $P$ fixes $F$, its image is exactly $F$. Connectedness of $G$ therefore makes $F$ connected. The closed connected local-convexity proposition now makes $F$ convex.
Conversely let $F$ be closed and convex. Choose nearest points $a,b$ for $x,y$. For $0\le t\le 1$ the point $(1-t)a+tb$ lies in $F$, and the triangle inequality gives
Thus $d$ is convex. Convex mollifications have nonnegative Laplacian, and their locally uniform limit is subharmonic. $\square$
Comments
Corrections, questions, and mathematical discussion are welcome. Sign in with GitHub to comment. Comments are public.