If $M$ has nonnegative sectional curvature and if $N$ is a totally geodesic submanifold, then assume that $c$ is a geodesic. Define $$d(\alpha (t), c(t))= d(N, c(t)) ,\ \alpha (t) \in N$$ Then $\alpha$ is a geodesic ? Thank you in anticipation