It seems there is an issue within the ams packages, which results in an incompatibility between the fleqn option, and the \qedhere command.

If those are used together, the qed symbol is flushed to the left of the equation, instead of the right.

In the ams revision history, I see a line about a bugfix with "fleqn/qedhere" issues, which is about amscls version 2.02, while I'm using amsclass (and thus amsthm) version 2.20. I have no idea if the bug they fixed is the same I'm experiencing, though.

MWE:

```
\documentclass{article}

\usepackage{amsthm}
\usepackage[fleqn]{amsmath}

\begin{document}
This is a statement.
\begin{proof}
  This is the equation settling it all:
  \begin{equation}
    1 + 1 = 3 \qedhere
  \end{equation}
\end{proof}
\end{document}

```

Enclosing the `\qedhere` in a `\mbox{}`, as suggested in amsthm's manual, doesn't produce the wanted output either (the qed is one quad right of the equation).

I'm sure there exists plenty of complicated solutions to this problem, however I'd like to avoid them if possible. More precisely, if I could fix it without changing anything out of my preamble, it would be great.

I have hope, because it seems google can't give me anything relevant to that problem, but I don't believe I'm the only one with it. So I might be missing something obvious.

Thanks in advance