English

A Restricted Second-Order Logic for Non-deterministic Poly-Logarithmic Time

Logic in Computer Science 2019-12-03 v1 Logic

Abstract

We introduce a restricted second-order logic SOplog\mathrm{SO}^{\mathit{plog}} for finite structures where second-order quantification ranges over relations of size at most poly-logarithmic in the size of the structure. We demonstrate the relevance of this logic and complexity class by several problems in database theory. We then prove a Fagin's style theorem showing that the Boolean queries which can be expressed in the existential fragment of SOplog\mathrm{SO}^{\mathit{plog}} corresponds exactly to the class of decision problems that can be computed by a non-deterministic Turing machine with random access to the input in time O((logn)k)O((\log n)^k) for some k0k \ge 0, i.e., to the class of problems computable in non-deterministic poly-logarithmic time. It should be noted that unlike Fagin's theorem which proves that the existential fragment of second-order logic captures NP over arbitrary finite structures, our result only holds over ordered finite structures, since SOplog\mathrm{SO}^{\mathit{plog}} is too weak as to define a total order of the domain. Nevertheless SOplog\mathrm{SO}^{\mathit{plog}} provides natural levels of expressibility within poly-logarithmic space in a way which is closely related to how second-order logic provides natural levels of expressibility within polynomial space. Indeed, we show an exact correspondence between the quantifier prefix classes of SOplog\mathrm{SO}^{\mathit{plog}} and the levels of the non-deterministic poly-logarithmic time hierarchy, analogous to the correspondence between the quantifier prefix classes of second-order logic and the polynomial-time hierarchy. Our work closely relates to the constant depth quasipolynomial size AND/OR circuits and corresponding restricted second-order logic defined by David A. Mix Barrington in 1992. We explore this relationship in detail.

Keywords

Cite

@article{arxiv.1912.00010,
  title  = {A Restricted Second-Order Logic for Non-deterministic Poly-Logarithmic Time},
  author = {Flavio Ferrarotti and Senen Gonzáles and Klaus-Dieter Schewe and José María Turull-Torres},
  journal= {arXiv preprint arXiv:1912.00010},
  year   = {2019}
}

Comments

Draft of Paper submitted to the Logic Journal of the IGPL. arXiv admin note: substantial text overlap with arXiv:1806.07127

R2 v1 2026-06-23T12:31:29.941Z