Raw encoding of fixed-width bit strings #
A fixed-width bit string Cslib.BitString k = Fin k → Bool is stored as its k bits in index
order, without framing: the width is fixed by the type, so no length marker is needed.
Main definitions #
Turing.MultiTapeTM.encBitString: a fixed-width bit string as its raw bit list.
Main results #
Turing.MultiTapeTM.encBitString_apply: the code ofcisList.ofFn c.
Encode a fixed-width bit string BitString k as its raw bit list List.ofFn.
@[simp]