First-order definable queries belong to nonuniform AC0 #
The characteristic family of the existing binary query language has polynomial
size and constant depth. The circuits reject malformed encodings and cover every
input length, including zero. At positive length N, sentence φ has a circuit
of size at most φ.validatedPolynomial.eval N and depth at most φ.size + 5.
This implements the finite quantifier construction in Immerman's Descriptive Complexity, Section 5.4, Theorem 5.22, for this library's unordered FO syntax and encoding. The ordered FO[BIT] characterization of uniform AC0 is a further result.
The query family is the characteristic function of the induced binary language.
Every induced query language rejects the empty input.
A fixed FO sentence has polynomial-size, constant-depth circuits at all positive lengths.
The binary language defined by a first-order sentence has a nonuniform AC0 family.
Every FO-definable query induces a binary language in nonuniform AC0.