Documentation

CslibFrontier.Foundations.Algebra.Quaternion.BpInfinity

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 #

Main results #

References #

@[reducible, inline]
abbrev Cslib.BpInfinity (p : ℚ) :

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 standard generator i of B_{p,∞}.

The standard generator j of B_{p,∞}.

The standard generator k = i * j of B_{p,∞}.

theorem Cslib.BpInfinity.i_eq_mk (p : ℚ) :
i p = { re := 0, imI := 1, imJ := 0, imK := 0 }

The named generator i is the first imaginary coordinate vector.

theorem Cslib.BpInfinity.j_eq_mk (p : ℚ) :
j p = { re := 0, imI := 0, imJ := 1, imK := 0 }

The named generator j is the second imaginary coordinate vector.

theorem Cslib.BpInfinity.k_eq_mk (p : ℚ) :
k p = { re := 0, imI := 0, imJ := 0, imK := 1 }

The named generator k is the third imaginary coordinate vector.

@[simp]
theorem Cslib.BpInfinity.i_mul_i (p : ℚ) :
i p * i p = -1
@[simp]
theorem Cslib.BpInfinity.j_mul_j (p : ℚ) :
j p * j p = -↑p
@[simp]
theorem Cslib.BpInfinity.i_mul_j (p : ℚ) :
i p * j p = k p
@[simp]
theorem Cslib.BpInfinity.j_mul_i (p : ℚ) :
j p * i p = -k p
theorem Cslib.BpInfinity.star_mk (p x y z t : ℚ) :
star { re := x, imI := y, imJ := z, imK := t } = { re := x, imI := -y, imJ := -z, imK := -t }

Conjugation in B_{p,∞} negates the three imaginary coordinates.

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.

@[simp]
theorem Cslib.BpInfinity.reducedNorm_mk (p x y z t : ℚ) :
reducedNorm { re := x, imI := y, imJ := z, imK := t } = x ^ 2 + y ^ 2 + p * (z ^ 2 + t ^ 2)

The coordinate formula for the reduced norm.

The reduced trace of q, namely the scalar q + star q.

Addition to the conjugate is the scalar reduced trace.

@[simp]
theorem Cslib.BpInfinity.reducedTrace_mk (p x y z t : ℚ) :
reducedTrace { re := x, imI := y, imJ := z, imK := t } = 2 * x

The coordinate formula for the reduced trace.

theorem Cslib.BpInfinity.reducedNorm_pos {p : ℚ} (hp : 0 < p) {q : BpInfinity p} (hq : q ≠ 0) :

The reduced norm is positive definite when p is positive.