Provedmachine-checked: its own exact check passesid transport.sign, version 3
The pseudoscalar of $\Cl(p,q)$ satisfies $\omega^2 = (-1)^{(p-q)(p-q-1)/2}$, so $\omega^2 = +1$ exactly when $p - q \equiv 0$ or $1 \pmod 4$.
Multiplying all the basis directions of a Clifford algebra together gives a special element called the pseudoscalar. Its square is always plus one or minus one, and this result says which. The answer depends only on the number of positive directions minus the number of negative ones: the square is plus one when that difference leaves remainder 0 or 1 on division by four, and minus one otherwise.
$\displaystyle \omega^2 = (-1)^{\tfrac{n(n-1)}{2}} (-1)^q = (-1)^{\tfrac{(p-q)(p-q-1)}{2}}$. In particular $\omega^2 = +1$ if and only if $p - q \equiv 0$ or $1 \pmod 4$.
Restated from The sign of $\omega^2$ (T0), where it is proved or imported with its sources.
verify_T01.pycheck.py::check_omega_square_closed_formscheck.py::check_reversal_sign_countcheck.py::check_depends_only_on_p_minus_qRun them on a clone of the repository: python -m tp check-one transport.sign --store store
Leon Butler (idea, direction and review); Claude Fable 5 (mathematics and drafting).