Documentation

Complexity.Computability.Machines.Turing.MultiTape.Internal.DecoderWordMachines

Streaming machines for total decoder leaves #

Both transducers are total on malformed as well as encoded words. They use no work tapes and the standard transducer clock includes every input symbol.

Replace each input symbol by one unary symbol.

Instances For

    The emitted unary word records the length of every input word.

    Read the first symbol, returning the fixed default on empty input.

    Instances For

      After seeing the first symbol, this transducer emits nothing further.

      The default applies exactly to empty input, with no resampling or partiality.

      Drops the falses at the start of a word.

      Instances For