Documentation

Complexitylib.Languages.AllSymbol

allZeros and allOnes: single-symbol languages #

The strings consisting entirely of 0s (resp. 1s), including the empty string. Decided by a 3-state scannerTM instance: the scan state is a single Bool tracking "every bit so far equals target".

Main definitions #

Main results #

Scanner for "all input bits equal target". Scan state: a Bool encoding "all bits seen so far equal target".

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Strings consisting entirely of 0-bits (including []).

    Equations
    Instances For

      Strings consisting entirely of 1-bits (including []).

      Equations
      Instances For

        allZeros ∈ DTIME(n + 2).

        allOnes ∈ DTIME(n + 2).