Splitting quadratic algebras #
A quadratic algebra whose defining polynomial has roots r and s with unit difference
is isomorphic to R × R. The two coordinates evaluate its generator at those roots.
The construction reuses Mathlib's change of generator and the elementary splitting of
QuadraticAlgebra R 0 1, whose generator is idempotent.
When 2 is invertible and a is the square of a unit u, the roots of
QuadraticAlgebra R a 0 are u and -u. Its inverse splitting uses the half-sum and
rescaled half-difference. None of these maps requires a field hypothesis on R. Under this
splitting the norm and trace become the product and sum of the two coordinates, and the
quadratic involution exchanges them.
The quadratic algebra with an idempotent generator is the product algebra.
Instances For
Evaluation of the idempotent-generator algebra at the roots 1 and 0.
With 2 invertible, QuadraticAlgebra R a 0 with a = u² for a unit u splits by
sending its square-root generator to (u, -u).
Instances For
The unit-square specialization evaluates at the two opposite square roots.
The inverse splitting map recovers the half-sum and rescaled half-difference.
In the unit-square splitting, the norm is the product of the two coordinates.
In the unit-square splitting, the trace is the sum of the two coordinates.
The unit-square splitting turns the quadratic involution into the exchange of the two factors.