\documentclass[a4paper, 12pt]{amsart}

\input{style}
\input{preamble}

\begin{document}

Your diagram:
\cdiagrambase{__INPUT__}

For reference, some default latex stuff:
$$ A \cof B \we X \fib Y $$

\end{document}