Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Internal.BinarySizeFacts

Pure binary-size facts #

Moved from the legacy binary calculus. No computability predicate is imported or introduced here. length_encNat_add_le keeps its legacy qualified name in ComputableTidilyInO, a staged cleanup item.

The length of encNat is monotone.

theorem Turing.MultiTapeTM.two_pow_size_le_two_mul {n : ℕ} (hn : 0 < n) :
2 ^ n.size ≤ 2 * n

For positive n, the next power of two 2 ^ n.size is at most 2 * n.

Adding i adds at most i bits.