Lengths of encoded lists #
The framed encoding of a list (Turing.MultiTapeTM.encList) spends 2 * |enc a| + 1 symbols on
each element a. In particular the sum of the lengths of its encoded elements is no longer than
the encoding, as is the list itself (Turing.MultiTapeTM.length_le_length_encList). Such bounds
are what a reduction needs to bound the size of its output, or a verifier the length of a
certificate, in terms of the input.
Main results #
Turing.MultiTapeTM.length_encList: the exact length.Turing.MultiTapeTM.sum_length_le_length_encList: the encoded elements are no longer, in total, than the encoded list.