Documentation

Complexitylib.Classes.PPoly.Advice.Defs

Polynomial advice — definitions #

Advice is a length-indexed binary string. An advised machine receives the self-delimiting encoding pair (advice n) x on its read-only input tape, while time remains charged against the original input length n.

This file also defines the nonuniform circuit family obtained by fixing both the deterministic choice prefix and the length-dependent advice prefix of a bounded acceptance circuit.

@[reducible, inline]

A binary advice string for every original input length.

Equations
Instances For

    Put the length-dependent advice before the ordinary input using the self-delimiting pairing encoding.

    Equations
    Instances For

      Advice has polynomial length when one natural-coefficient polynomial bounds every advice string.

      Equations
      Instances For

        The fixed prefix preceding an ordinary n-bit input.

        Equations
        Instances For

          The full advised input as a fixed-length bit string, factored into its fixed prefix followed by the live ordinary input.

          Equations
          Instances For
            def Complexity.TM.DecidesWithAdviceInTime {k : } (tm : TM k) (a : Advice) (L : Language) (T : ) :

            A DTM decides L with advice a in time T when it starts on pair (a |x|) x, halts within T |x|, and writes the ordinary language verdict. The resource bound is indexed by the original input length, not the paired input length.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Complexity.TM.advisedBoundedAcceptanceBit {k : } (tm : TM k) (a : Advice) (T : ) {n : } (x : BitString n) :

              Exact fixed-horizon advised acceptance predicate on a fixed-length live input.

              Equations
              Instances For
                noncomputable def Complexity.TM.adviceCircuitFamily {k : } (tm : TM k) (a : Advice) (T : ) :

                The nonuniform family obtained by hardwiring the advice for each length into the bounded deterministic acceptance circuit.

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

                  Languages decided in polynomial time with polynomial-length advice.

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