Is there way so that one can replace By Theorem \ref{theo1}
by By \ref{theo1}
without changing output in the following document:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}\label{theo1}
I exist.
\end{theorem}
By Theorem \ref{theo1}, I exist.
\end{document}