Blocks of bit strings #
The repeated sampler of thm:parallel-repetition presents k copies of an input CL function
on 𝔽₂^s as one CL function on 𝔽₂^{k s} (CLFun.famSum, along finProdFinEquiv), and its
program handles vectors as bit strings cut into k consecutive blocks of s bits
(Data.chunk). This module relates the two: the bits of a joined vector are the concatenation
of the bits of its blocks (toBits_join), the i-th block of the vector read off a bit
string is the vector read off the i-th chunk (block_ofBits), and likewise for indicator
strings of register subspaces (indicatorBits_blockSet).
The indicator string of a block set: the indicator strings of the blocks, concatenated.
The i-th block of the vector read off a bit string is the vector read off its i-th
chunk.
The bits denoted by a list of data (bitOf), the left inverse of encoding a bit string.