Documentation

CslibFrontier.Computability.Complexity.Classes.Hierarchy.ShortDesc

Short descriptions #

The time hierarchy theorems diagonalize only over inputs whose framed description is short: 2 ^ |unframe x| ≤ |x| (Cslib.Complexity.Diagonal.shortDesc). Decoding a description of L bits then takes time polynomial in L, of a degree fixed by the decoder, hence O(2 ^ L), which is O(|x|). Padded descriptions are short. The space hierarchy theorem asks for tiny descriptions instead (CslibFrontier.Computability.Complexity.Classes.Hierarchy.TinyDesc), so that decoding takes logarithmic space.

Main definitions #

Main results #

References #

The description framed at the start of x is short: 2 ^ |unframe x| ≤ |x|.

Instances For

    Shortness compares the length of the description with the number of binary digits of the length of the word.

    Shortness in linear time #

    Shortness is decided within linear time and space. The length of the word and of the framed description are written in unary, and the first is halved once per bit of the second.