The Polylog-Time Hierarchy Captured by Restricted Second-Order Logic

06/19/2018
by   Flavio Ferrarotti, et al.
0

Let SO^plog denote the restriction of second-order logic, where second-order quantification ranges over relations of size at most poly-logarithmic in the size of the structure. In this article we investigate the problem, which Turing machine complexity class is captured by Boolean queries over ordered relational structures that can be expressed in this logic. For this we define a hierarchy of fragments Σ^plog_m (and Π^plog_m) defined by formulae with alternating blocks of existential and universal second-order quantifiers in quantifier-prenex normal form. We first show that the existential fragment Σ^plog_1 captures NPolyLogTime, i.e. the class of Boolean queries that can be accepted by a non-deterministic Turing machine with random access to the input in time O(( n)^k) for some k > 0. Using alternating Turing machines with random access input allows us to characterise also the fragments Σ^plog_m (and Π^plog_m) as those Boolean queries with at most m alternating blocks of second-order quantifiers that are accepted by an alternating Turing machine. Consequently, SO^plog captures the whole poly-logarithmic time hierarchy. We demonstrate the relevance of this logic and complexity class by several problems in database theory.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset