I'm trying to align a set of equations at the equal signs, with one of them breaking. This is the MWE.
\documentclass{article}
\usepackage{amsmath,mathtools,breqn}
\usepackage{amssymb}
\begin{document}
\begin{dgroup}
\begin{dmath}
(A \times B) \cup (B \times A)= {(1,3),(1,4),(2,3),(2,4),(3,1),(3,2),(3,3),(3,4),(4,1),(4,2),(4,3)},
\end{dmath}
\begin{dmath}
(A \times B) \cap (B \times A)= {(3,3)},
\end{dmath}
\begin{dmath}
(A \times B) \smallsetminus (B \times A)= {(1,3),(1,4),(2,3),(2,4),(3,4)}.
\end{dmath}
\end{dgroup}
\end{document}
The first equation should break somewhere in the middle of the set. However, dgroup* breaks it at the equal sign, completely ruining its alignment. I suspect it's because breqn doesn't like breaking lines at commas; I tried following this solution to a related question but it didn't work.
