Documentation

Complexity.Computability.Machines.Turing.MultiTape.Encodings.Option

The encoding of options #

encOption enc encodes none as the empty word and some a as true followed by enc a. It has the capabilities of Turing.MultiTapeTM.OptionEncoding.

Main definitions #

Options encoded with none as the empty word and some a as true followed by enc a.

Instances For
    @[simp]
    theorem Turing.MultiTapeTM.encOption_none {α : Type u} {enc : α ↪ List Bool} :
    @[simp]
    theorem Turing.MultiTapeTM.encOption_some {α : Type u} {enc : α ↪ List Bool} (a : α) :
    (encOption enc) (some a) = true :: enc a