Sine products and the spin values on the ρ-line of types B and D #
Classical trigonometric identities (the product of sines ∏_{k=1}^{n-1} 2 sin(kπ/n) = n, the
Dirichlet kernel, the index shift of sin) and their consequences for the spin values on the
ρ-line: the spin representation of B_m gives ∏_{j=1}^{m} 2 sin(jπ/(2m+1)) = √(2m+1) (and its
cosine form) and the half-spin representations of D_m give ∏_{j=1}^{m-1} 2 sin(jπ/(2m)) = √m.
The values √(2m+1) and √m are known in the literature as level-2 quantum dimensions
(Gannon; Gannon–Schopieray); the formalization is ours. The product of sines is derived from
IsPrimitiveRoot.prod_pow_sub_one_eq_order via |e^{2πik/n} - 1| = 2 sin(πk/n).
Main results #
SpinRhoLine.prod_two_sin:∏_{k=1}^{n-1} 2 sin(kπ/n) = nforn ≥ 1SpinRhoLine.spin_B,SpinRhoLine.spin_B_cos: the type-B spin value√(2m+1)SpinRhoLine.halfspin_D: the type-D half-spin value√mSpinRhoLine.dirichlet:1 + ∑_{j=1}^{m} 2 cos(2πj/q) = sin((2m+1)π/q) / sin(π/q)SpinRhoLine.index_shift,SpinRhoLine.index_shift_div:sin((hq+r)π/q) = (-1)^h sin(rπ/q)SpinRhoLine.sqrt_two_mul_add_one_eq_nat_iff,SpinRhoLine.sqrt_eq_nat_iff:√(2m+1)(resp.√m) is a natural number iff2m+1(resp.m) is a perfect square