Multivariate polynomials $f,g$ are equivalent if there exists invertible linear transformation $A$ such that $f(X)=g(A\cdot X)$
From paper p.1:
Lemma 1.1. (Structure of quadratic polynomials). Let $F$ be an algebraically closed field of characteristic different from 2. For any homogeneous quadratic polynomial $f(X) \in F[X]$ there exists an invertible linear transformation $A \in F^{n \times n}$ and a natural number $1 \le r \le n$ such that $f (A \cdot X) = x_1^2 + x_2^2 + . . . + x_r^2$ Moreover, the linear transformation $A$ involved in this equivalence can be computed efficiently. Furthermore, two quadratic forms are equivalent if and only if they have the same number r of variables in the above canonical representation.
Let $F$ be the algebraic closure of the rationals.
Basically there are more than $n$ non-equivalent $f_i$ and only $n$ possible choices for $r$.
Fix $n$ and take $n+1$ non-equivalent $f_i$. By the pigeonhole principle there are at least two $r_i=r_j$, contradicting non equivalence of $f_i$.
Q1 What is wrong with this argument against the lemma?
Q2 Is homogeneous quadratic polynomial equivalence or isomorphism polynomial in $n$?