Documentation

CslibFrontier.Computability.Complexity.Classes.Advice

Polynomial time with an exact advice length #

PWithAdvice length consists of bit languages decided in polynomial time given an advice string of exactly length n bits at input length n. The advice family is arbitrary and need not be computable. Advice and input are encoded by encPair encBits encBits, with framed advice first; the decider's time is polynomial in that complete encoded pair length.

This is the exact-length advice convention of Goldreich's January 2007 draft Definition 3.5 (r2.pdf, PDF p. 4/printed p. 120) [Gol07a]. For constant advice lengths the complete input length differs from the ordinary input length by a constant. This module has no circuit dependency.

Main definitions #

Main results #

Polynomial time with an arbitrary advice family of exactly length n bits at length n. The decider reads the framed advice/input pair; the advice family need not be computable.

A polynomial-time decider may ignore advice of any specified length.

Zero advice is exactly ordinary polynomial time on bit languages.