Logical and Complexity-theoretic Aspects of Models of Computation with Restricted Access to Arrays
We study a class of program schemes, NPSB, in which, aside from basic assignments, non-deterministic guessing and while loops, we have access to arrays; but where these arrays are binary write-once in that they are initialized to 'zero' and can only ever be set to 'one'. We show, amongst other results, that: NPSB can be realized as a vectorized Lindstrom logic; there are problems accepted by program schemes of NPSB that are not definable in the bounded-variable infinitary logic L(infinity omega)(omega); all problems accepted by the program schemes of NPSB have asymptotic probability 1 and on ordered structures, NPSB captures the complexity class L(NP). We give equivalences (on the class of all finite structures) of the complexity-theoretic question 'Does NP equal PSPACE?', where the logics and classes of program schemes involved in the equivalent statements define or accept only problems with asymptotic probability 0 or 1 and so do not cover many computationally trivial problems. The class of program schemes NPSB is actually the union of an infinite hierarchy of classes of program schemes. Finally, when we amend the semantics of our program schemes slightly, we find that the classes of the resulting hierarchy capture the complexity classes Sigma(p)(i) (where i >= 2) of the Polynomial Hierarchy PH.
program schemes finite model theory descriptive complexity