Native block-value width initialization #
The encoded value width is computed from the actual binary block width. Machine tape and finite control counts are fixed parameters. No block-sized intermediate word is allocated.
theorem Turing.MultiTapePTM.BlockComputation.Encoding.width_inSpace (k s : ℕ) :
MultiTapeTM.ComputableInSpace (width k s) MultiTapeTM.encNat MultiTapeTM.encNat fun (b : ℕ) =>
(MultiTapeTM.encNat b).length
Compute the complete block-value width in space linear in the actual binary block width.