The logarithmic-time hierarchy #
We use the descriptive characterization of LH from [Immerman1999, Theorem 5.30]: bounded-alternation logarithmic time with random access captures first-order logic on canonically ordered inputs with BIT. On a binary word, the input relation tests the letter at a position. We reuse the word vocabulary, in which the two letter predicates are complements and strict order is recoverable from the canonical weak order. The canonical numeric constants are definable from the order.
The convention that the universe has distinct zero and one leaves words of length zero and one outside the formula test. Their membership is unrestricted because they form a finite set and can be decided by finite control. The machine characterization is cited here; the definitions and proofs use ordered first-order semantics.
LH is contained in L for every encoding. A word is given to the logspace model checker of
ordered first-order sentences (Cslib.Logic.FO.Ordered.queryLanguage_mem_L) as the structure
with one unary relation, its own bits, and the defining sentence is pulled back along the
first-order interpretation of the word structure in it, whose strict order is the canonical weak
order without equality. The at most three words of length below two are sent to fixed members or
non-members of the target query.
On bit strings, LH is contained in nonuniform AC⁰: following the FO-to-circuit formula-expansion
direction of [Immerman1999, Theorem 5.22], the ordered first-order model checker compiles the
defining sentence, at each length n ≥ 2, into a polynomial-size constant-depth formula over
the atomic facts of the word structure, in which order atoms are constants and letter atoms are
input bits or their negations. Lengths zero and one are decided by formulas of constant size.
Barrington, Immerman and Straubing show that LH is exactly DLOGTIME-uniform AC⁰
[BIS90]; uniformity is not proved here.
Main definitions #
Cslib.Logic.FO.Ordered.ofWord: the canonical ordered structure of a word of length at least two.Cslib.Complexity.LH: the logarithmic-time hierarchy of languages on binary encodings.
Main results #
Cslib.Complexity.compl_mem_LH: LH is closed under complement.Cslib.Complexity.LH_subset_L: LH is contained in logarithmic space.Cslib.Complexity.LH_subset_AC0: LH on bit strings is contained in nonuniform AC⁰.
References #
- N. Immerman, Descriptive Complexity, Theorem 5.30 (descriptive characterization
of LH), the FO-to-circuit direction of Theorem 5.22 (formula expansion into constant-depth
circuits), and Theorem 3.1 (via
Cslib.Logic.FO.Ordered.queryLanguage_mem_L). - [D. A. M. Barrington, N. Immerman, H. Straubing, On uniformity within NC¹] [BIS90]. Uniformity is not proved here.
Interpret the word vocabulary on positions, with the canonical numeric vocabulary provided by the ordered structure.
LH is contained in L #
LH is contained in L, for every encoding. The defining ordered first-order sentence
([Immerman1999, Theorem 5.30]) is pulled back to the structure of the encoded word with one unary
relation, and checked there by the logarithmic-space model checker of ordered first-order logic
(Cslib.Logic.FO.Ordered.queryLanguage_mem_L, after [Immerman1999, Theorem 3.1]).
LH is contained in nonuniform AC⁰ #
LH is contained in nonuniform AC⁰. Every language of bit strings in the logarithmic-time hierarchy ([Immerman1999, Theorem 5.30]) is decided, at each input length, by unbounded fan-in circuits of constant depth and polynomial size: compile the defining ordered sentence via the FO-to-circuit direction of [Immerman1999, Theorem 5.22] and read the letter atoms off the input bits. The stronger DLOGTIME-uniform statement [BIS90] is not proved here.