The B_{p,∞} quaternion presentation #
For a rational parameter p, BpInfinity p is the quaternion algebra over ℚ with standard
basis 1, i, j, k satisfying
i² = -1, j² = -p, and ij = k = -ji.
For SQIsign's positive prime p = c * 2^f - 1, where f > 1 and c is odd (hence
p ≡ 3 mod 4), this is the algebra denoted B_{p,∞} in the specification. The name records the
source's intended algebra; this module establishes the displayed presentation and positive-definite
reduced norm, but does not encode that parameter restriction or prove the local ramification
classification.
Main definitions #
Cslib.BpInfinity: the rational quaternion algebra with parameters-1and-p.Cslib.BpInfinity.i,Cslib.BpInfinity.j,Cslib.BpInfinity.k: its standard generators, withi_eq_mk,j_eq_mk, andk_eq_mkconnecting them to ordinary quaternion coordinates.Cslib.BpInfinity.reducedNorm: the reduced normq * star q, viewed inℚ.Cslib.BpInfinity.reducedTrace: the reduced traceq + star q, viewed inℚ.
Main results #
Cslib.BpInfinity.i_mul_i,Cslib.BpInfinity.j_mul_j,Cslib.BpInfinity.i_mul_j,Cslib.BpInfinity.j_mul_i: the defining relations.Cslib.BpInfinity.reducedNorm_mk: the coordinate formulax² + y² + p (z² + t²).Cslib.BpInfinity.reducedNorm_pos: positive definiteness whenp > 0.
References #
- SQIsign v3.0 specification, Facts 12–13 (pp. 9–10), Section 2.2.1 (pp. 10–11), and Algorithms 4.38–4.40 (p. 32).
The rational quaternion algebra with i² = -1 and j² = -p.
For SQIsign's positive prime p = c * 2^f - 1, with f > 1 and odd c (so
p ≡ 3 mod 4), this is the algebra denoted B_{p,∞} in the specification. Neither that parameter
restriction nor the ramification classification is part of this definition.
The reduced norm of q, namely the scalar q * star q.
Multiplication by the conjugate is the scalar reduced norm.
Multiplication by the conjugate on the left gives the same reduced norm.
The reduced trace of q, namely the scalar q + star q.
Addition to the conjugate is the scalar reduced trace.
The coordinate formula for the reduced trace.
The reduced norm is positive definite when p is positive.