Reading arbitrary little-endian natural-number words #
The existing word interpretation and normalization identity are independent of machine or complexity certificates. Trailing false symbols are ignored, and the empty word represents zero.
Main definitions #
Turing.MultiTapeTM.ofBits: read little-endian digits as a natural number.
Main results #
Turing.MultiTapeTM.bits_ofBits: normalize a word by removing its trailing false symbols.Turing.MultiTapeTM.length_encNat_ofBits_le: a word read as a number has at most as many binary digits as the word.Turing.MultiTapeTM.bits_add_two_pow: the binary digits ofx + 2 ^ W, forx < 2 ^ W, are theWlow-order digits ofx(Cslib.BitString.lowBits) followed by a one.
Binary digits, least significant first, read as a number.
Instances For
The binary digits of a word read as a number are the word up to its last true.