\documentclass{article} 
   \usepackage{amsmath} 
\begin{document} 
 
 
\begin{equation*} 
    \begin{split} 
     a & = b \\ 
       & = c 
    \end{split} 
\end{equation*} 
 
\hshow{---------------------------------------------------------------} 
 
$$ 
   \begin{split} 
    a & = b \\ 
      & = c 
   \end{split} 
%\def\foo{\math@cr \black@ \totwidth@ \egroup 
%      \egroup} 
%\hshow{endmathdisplay@a} 
% \foo 
$$ 
 
 
\hshow{---------------------------------------------------------------} 
 
\[ 
   \begin{split} 
    a & = b \\ 
      & = c 
   \end{split} 
\] 
 
\hshow{---------------------------------------------------------------} 
 
\begin{displaymath} 
    \begin{split} 
     a & = b \\ 
       & = c 
    \end{split} 
\end{displaymath} 
 
\end{document}