Documentation

DescriptiveComplexity.Problems.MachineNumber.Defs

The number written by a machine: definition #

The function counterpart of deterministic machine acceptance (DescriptiveComplexity.DTMAccept): the machine is data in the instance, and the problem is to compute the number it leaves on its tape.

@[reducible, inline]

one a: the symbol a is read as the digit 1.

Equations
Instances For
    Dependency graph
    Dependency graph

    The relation symbols of the language.

    • out : tapeOutRel 1

      out p: the cell p is an output cell, holding one digit.

    • one : tapeOutRel 1

      one a: the symbol a is read as the digit 1.

    Instances For
      Dependency graph
      Dependency graph
      @[reducible, inline]

      out p: the cell p is an output cell, holding one digit.

      Equations
      Instances For
        Dependency graph

        The symbols reading a number off the tape of a machine.

        Equations
        Instances For
          Dependency graph
          Dependency graph
          @[reducible, inline]

          The relational language of machines writing a number.

          Equations
          Instances For
            Dependency graph

            Halting #

            The machine halts in the configuration c: c is reached from an initial configuration within the clock, and no step is possible from it.

            Equations
            Instances For
              Dependency graph
              theorem DescriptiveComplexity.TMData.halts_unique {A : Type} {M : TMData A} [Finite A] (hwf : M.WellFormed) (hdet : M.Deterministic) {c d : Config A} (hc : M.Halts c) (hd : M.Halts d) :
              c = d

              A deterministic machine halts in at most one configuration.

              Dependency graph
              theorem DescriptiveComplexity.TMData.Agree.trans {A : Type} {M : TMData A} {B C : Type} {u : B ≃ A} {v : C ≃ B} {N : TMData B} {K : TMData C} (h₁ : Agree v K N) (h₂ : Agree u N M) :
              Agree (v.trans u) K M

              Agreements compose.

              Dependency graph

              The number #

              @[reducible, inline]

              “Is an output cell”, in the vocabulary of machines writing a number.

              Equations
              Instances For
                Dependency graph
                @[reducible, inline]

                “Is read as the digit 1”, in the vocabulary of machines writing a number.

                Equations
                Instances For
                  Dependency graph
                  @[reducible, inline]

                  The order of the tape, in the vocabulary of machines writing a number.

                  Equations
                  Instances For
                    Dependency graph
                    Dependency graph

                    The output cell p holds the digit 1 when the machine halts, in an accepting state.

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

                      The rank of a cell among the output cells: the number of output cells strictly before it on the tape.

                      Equations
                      Instances For
                        Dependency graph

                        The number written by a machine: each output cell holding the digit 1 when the machine halts and accepts contributes two to the power of its rank among the output cells. Instances that are not well-formed deterministic machines write 0.

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

                          Isomorphism-invariance and the bundled problem #

                          Dependency graph

                          The number written by a deterministic machine, as a counting problem on Language.turingOut-structures: the function counterpart of DescriptiveComplexity.DTMAccept.

                          Equations
                          Instances For
                            Dependency graph