Let $k$ be a field of characteristic zero and let $A \in k^{m \times n}$, $B \in k^{n \times m}$.
There are several posts in MSE asking for a proof for claim 1: $\operatorname{rank}(AB) \leq \min\{\operatorname{rank}(A), \operatorname{rank}(B)\}$, where the product is defined, so $B$, more generally, belongs to $k^{n \times p}$.
Question 1: Is claim 1 valid over any field of zero characteristic? (not just $\mathbb{R}$ or $\mathbb{C}$).
Then we can consider the special case where $B=A^T$.
For this special case there are posts asking for a proof for claim 2: $\operatorname{rank}(A) = \operatorname{rank}(AA^T) = \operatorname{rank}(A^TA)$.
It was mentioned here that this equality holds over $\mathbb{R}$ but not over $\mathbb{C}$, with the following counterexample: $ A= \begin{pmatrix} 1 & i \\ 0 & 0 \end{pmatrix} $, $A^T = \begin{pmatrix} 1 & 0 \\ i & 0 \end{pmatrix}$. Here $AA^T=\begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}$ and $A^TA=\begin{pmatrix} 1 & i \\ i & -1 \end{pmatrix}$. Here $\operatorname{rank}(A)=\operatorname{rank}(A^T)=1$, $\operatorname{rank}(AA^T)=0$, $\operatorname{rank}(A^TA)=1$.
We see that claim 1 holds, while claim 2 does not hold in general.
If claim 1 is valid over any zero characteristic field, then in particular we have claim 3: $\operatorname{rank}(AA^T) \leq \operatorname{rank}(A)$ and $\operatorname{rank}(A^TA) \leq \operatorname{rank}(A)$ (if it is true that $\operatorname{rank}(A) = \operatorname{rank}(A^T)$).
I have constructed $A \in \mathbb{C}(x,y)^{4 \times 2}$ of rank $2$ such that $AA^T \in \mathbb{C}(x,y)^{4 \times 4}$ is of rank $\geq 3$, which would contradict claim 3! This was a surprise. I wonder what will go wrong in a proof over a zero characteristic field different from $\mathbb{R}$ or $\mathbb{C}$. I will present the counterexample later; wishes to check again if I have no errors in my calculations.
See also this question.
Thank you very much!
Please tell me where is my error: $k=\mathbb{C}(x,y)$.
$A=\begin{pmatrix} 2x+1 & 2y \\ -2y & -2x \\ 2x & 2y \\ -26 & -2x+1 \end{pmatrix}$.
$A$ has rank two, since $\begin{pmatrix} 2x+1 & 2y \\ -2y & -2x \end{pmatrix}$ is invertible over $\mathbb{C}(x,y)$: the determinant is $-2x-4x^2+4y^2$.
I now see that I had an error in my calculation, and the $3 \times 3$ minor of $AA^T$ I was considering has zero determinant...

I really apologize.. Thank you very much for your help, it was good to make sure that claim 1 holds over any field (hence also claim 3).