Pack Exp mod eq
ArkLib.Lattices.CyclotomicModulus.packExp_mod_eq
Plain-language statement
Alignment of the second half after the X^{d/2} shift: packExp α (2^κ) j is congruent to j modulo d/2k = 2^{α-κ-1}, on both halves of the index range. On the first half this is rfl (no shift); on the second half the shift 2^{α-1} = 2^κ·2^{α-κ-1} is a multiple of 2^{α-κ-1}, so it vanishes mod 2^{α-κ-1}. This is what lets a single output...
Source project: ArkLib
Person-level attribution pending.