Eq or eq of mod eq
ArkLib.Lattices.CyclotomicModulus.eq_or_eq_of_mod_eq
Plain-language statement
At most two packed indices share a residue class mod d/2k. Given a residue r with j ≡ r (mod d/2k = 2^{α-κ-1}), the index j : Fin (d/2^κ) is either the first-half witness (value r) or the second-half witness (value d/2k + r). Combined with packExp_mod_eq, this pins down exactly which (at most two) packed summands can contribute to a give...
Source project: ArkLib
Person-level attribution pending.