Words agreeing off a set of positions #
The words ι → Bool agreeing with a word x outside a set F of positions are free exactly on
F, so there are 2 ^ |F| of them (BitString.card_filter_forall_notMem_eq). This is the case
β = Bool, P = Fᶜ of Fintype.card_filter_forall_mem_eq. Words that pairwise agree on F all
agree on F with one of them, so there are at most 2 ^ (|ι| - |F|) of them
(BitString.card_le_of_forall_agree).
Main results #
Cslib.BitString.card_filter_forall_notMem_eq: the words agreeing withxoutsideFnumber2 ^ |F|.Cslib.BitString.card_le_of_forall_agree: words pairwise agreeing onFnumber at most2 ^ (|ι| - |F|).