Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Encodings.Bool

Encodings of Booleans, signs and the unit type #

Turing.MultiTapeTM.encBool encodes a Boolean by one symbol, Turing.MultiTapeTM.encSign a sign, such as a head move, by at most one symbol, and Turing.MultiTapeTM.encUnit the unit by the empty word.

The encoding b ↦ [b] of Bool.

Instances For

    Signs: 0 ↦ [], -1 ↦ [false] and 1 ↦ [true].

    Instances For

      The unit type, encoded by the empty word.

      Instances For