Documentation

Complexity.Computability.Machines.Turing.MultiTape.Encodings.List

Encodings of lists #

encList enc encodes a list as the concatenation of its framed elements (Turing.MultiTapeTM.frame), for any encoding enc of the elements. Lists of Booleans also have the plain encoding encBits, the list itself, which is the concatenation of the elements encoded by Turing.MultiTapeTM.encBool. Both have the capabilities of Turing.MultiTapeTM.ListEncoding.

Main definitions #

Lists encoded as the concatenation of their framed elements.

Instances For
    @[simp]
    theorem Turing.MultiTapeTM.encList_nil {α : Type u} {enc : α ↪ List Bool} :
    (encList enc) [] = []
    @[simp]
    theorem Turing.MultiTapeTM.encList_cons {α : Type u} {enc : α ↪ List Bool} (a : α) (l : List α) :
    (encList enc) (a :: l) = frame (enc a) ++ (encList enc) l

    Lists of Booleans encoded as themselves.

    Instances For