I would appreciate help with this.
I'm trying to align a couple of equations but am having some issues. 1. With this code shouldn't the \wedge be properly aligned with the >. This happens for both alignat and align.
My objective would be to align these and have equal spacing between them and the expressions on either side.
%Edit: Add clarification on output
if d > d 25
then M > eta 26
with bla bla A O(bla bla) 27
Thanks in advance
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{alignat}{5}
\label{eq:test}
\mathrm{iff} \quad &&\frac{\partial L}{\partial\eta_2} \quad&>&&\quad\displaystyle\frac{\partial L}{\partial M} && \\
\mathrm{then} \quad &&M \quad&>&&\quad\sigma\eta_2 && \\
\mathrm{with} \quad &&0 \le \eta_2 \le 1 \quad&\wedge&&\quad \mathrm{O}(\sigma) \le 1 \quad \blacksquare &&
\end{alignat}
\begin{align}
\label{eq:test}
\mathrm{iff} \quad &&\frac{\partial L}{\partial\eta_2} \quad&>&\quad\displaystyle\frac{\partial L}{\partial M} && \\
\mathrm{then} \quad &&M \quad&>&\quad\sigma\eta_2 && \\
\mathrm{with} \quad &&0 \le \eta_2 \le 1 \quad&\wedge&\quad \mathrm{O}(\sigma) \le 1 \quad \blacksquare &&
\end{align}
\end{document}