If $(M,g)$ is a Riemannian manifold, $g$ can be used to turn $M$ into a metric space.
For two points $p,q\in M$, $d(p,q)$ is usually defined to be the infimum of the lengths of all possible piecewise smooth (or $C^1$) curves connecting $p$ and $q$. So here's the question. Why is piecewise included in this definition? I suppose that one gets the same metric $d$ if one takes e.g. the infimum over all smooth curves.
I understand that it might me better to work over a larger class of curves for concrete computations but I wonder if there is another reason for this choice (maybe a deep reason I just don't see)? Also, in this case I think one might be able to further relax this regularity requirement?! Thanks for clarifications!