A direct line from a point $p$ to a set $X$ is a line segment with one endpoint at $p$ and one endpoint in $X$, which is as short as any other line segment from $p$ to $X$. Given a closed set $X$ and open set $Z$ with $X \subset Z \subset \mathbb{R}^n$, must there exist an open set $Y$ in between $X$ and $Z$ which includes a direct line to $X$ from each point in $Y$?
My thoughts:
(1) My guess is the answer is yes, and in fact I think the following stronger statement is true: there is a $Y$ such that all direct lines to $X$ from each point in $Y$ are included in $Y$.
(2) If $X$ is compact, then we know the answer is yes because in this case there exists a $\tau > 0$ such that $Y := \{y : d(X, y) < \tau\} \subset Z$. (Of course, we define $d(X, y) = \min_{x \in X} d(y, x)$.)
Originally posted on MSE without any responses.