Documentation

Complexitylib.Classes.Containments.Defs

The configuration graph and its bounded reachability rounds #

The space-bounded containments — NL ⊆ P, NL ⊆ coNL, Savitch's theorem — all read a computation as a walk in the configuration graph: the nondeterministic step relation on configurations. This file holds the three definitions those arguments share, so that theorem statements about them can be read without opening any proof internals.

Main definitions #

The search window of a log-space machine. A machine's own space function is an arbitrary O(log n) function, which a program cannot evaluate; this concrete bound can be computed from the input length alone, and enlarging the window is harmless.

Equations
Instances For
    def Complexity.NTM.Succ {k : } (tm : NTM k) (c c' : Cfg k tm.Q) :

    One step of the configuration graph: a non-halted configuration has the two successors its transition functions produce.

    Equations
    Instances For
      def Complexity.NTM.ReachesCfg {k : } (tm : NTM k) :
      Cfg k tm.QCfg k tm.QProp

      Reachability in the configuration graph.

      Equations
      Instances For
        inductive Complexity.NTM.ReachesCfgIn {k : } (tm : NTM k) :
        Cfg k tm.QCfg k tm.QProp

        Reachability in exactly t steps of the configuration graph.

        Instances For
          def Complexity.NTM.ReachesCfgLe {k : } (tm : NTM k) (t : ) (c c' : Cfg k tm.Q) :

          Reachability in at most t steps. Halted configurations have no successors, so a walk cannot be padded and the bounded notion is genuinely weaker than the exact one.

          Equations
          Instances For
            def Complexity.NTM.reachSet {k : } (tm : NTM k) (c₀ : Cfg k tm.Q) :
            Set (Cfg k tm.Q)

            The configurations reachable from c₀ within t rounds of successor-closure.

            Equations
            Instances For