Direct certificates for total decoder leaves #
These witnesses apply to every input word, with the original independent degree-one cost and output bounds. The type-indexed Decoder field can reuse them without a higher tidy calculus.
A runtime word decodes to itself.
The unary decoder counts every symbol, including malformed false symbols.
The Boolean decoder returns false on empty input and the first symbol otherwise.
The existing bit-list codec machine drops one symbol, including on empty input.
The existing bit-list codec machine tests whether the complete input is empty.
Read the initial frame on every word, including incomplete frames.
Read what follows the initial frame on every word, including incomplete frames.