Let $M$ be a Riemannian manifold with boundary. Consider the interior of $M$ (which we denote by $M^\circ$).
$M^\circ$ is an open submanifold of $M$. Let $d_M$ be the induced distance function (induced by the Riemannian metric on $M$ in the standard way), and let $d_{M^\circ}$ be the induced (intrinsic) distance on $M^\circ$. (Note that $M^\circ$ is connected so it makes since to consider its intrinsic distance).
Is it true that $d_M|_{M^\circ}=d_{M^\circ}$?
(i.e does the intrinsic and extrinsic distances on $M^\circ$ coincide?)
I am pretty sure the answer is positive, since it seems reasonable that for every part of a path which lies on the boundary, we can perturb it a little bit so it will be inside the iterior, without increasing the length too much. (Similar to what is done in the answer to this question, for instance).
It would be nice to find an elegant argument.