Inner products of bit strings as parities #
Over the two-element Boolean ring, the inner product x ⬝ᵥ w = Σᵢ xᵢ wᵢ of two bit strings is the
parity of x on the support of w (Cslib.BitString.dotProduct_eq_parityOn). Parities on nonempty
sets are balanced (Cslib.card_filter_parityOn_eq), so the inner product with a fixed nonzero
string takes each value on half of the strings.
Main results #
Cslib.BitString.dotProduct_eq_parityOn: the inner product withwis the parity on the support ofw.