Integral orders in rational quadratic algebras #
For an integer D ≡ 0, 1 mod 4, the element (D + ω)/2 in
QuadraticAlgebra ℚ D 0 satisfies an integral quadratic relation. Its generated subalgebra
has the integral basis 1, (D + ω)/2, whose trace-pairing discriminant is D. The basis
spans the rational quadratic algebra. This construction applies to both square and nonsquare
parameters; it does not require an ambient field.
The embedding uses the integral model QuadraticAlgebra ℤ ((D - D²)/4) D and Mathlib's
universal algebra homomorphism. The range description characterizes every order element
by its two integral coefficients.
References #
- D. A. Cox, Primes of the Form x² + ny², §7.
The integral generator (D + √D)/2 in the rational quadratic algebra.
Instances For
Mutual integral expressions for a positive-imaginary generator and a positive multiple
of τ force the latter to have the canonical half-integral imaginary coefficient.
The two integral generators are linearly independent.
The actual integral order as a subalgebra of the quadratic algebra.
Instances For
The embedded order is finite over the integers.
Every element of the embedded order is integral over the integers.
The integral basis 1, (D + √D)/2 of the order.
Instances For
The embedded order is free over the integers.