Documentation

CslibFrontier.Computability.Circuit.Boolean.FirstOrder.Ordered

Canonical ordered first-order model checking in constant depth #

A sentence of FO.Ordered.language L is compiled into an unbounded fan-in Boolean formula reading only the atomic facts of the relational input vocabulary L. The constants 0, 1, and max, weak order, and zero-indexed BIT have their canonical meanings on Fin n, with n ≥ 2. Numeric atoms are evaluated during construction: their truth tables are not additional input bits. Constants may occur in input-relation arguments and under quantifiers.

The same formula decides the sentence for every input structure on this canonical universe. Its depth is bounded independently of n, and its size and number of leaves are polynomial in n, using the measures of the order-free compiler. This is the nonuniform upper-bound direction of the FO(≤, BIT) characterization of AC⁰. No circuit-generation or DLOGTIME-uniformity bound is asserted. Inputs are relation-table atoms, not serialized structure encodings; the bounds are in the universe size, including when the input vocabulary has no positive-arity relation symbol.

Main definitions #

Main results #

References #

Evaluate an ordered term without using any input relation: terms are variables or one of the three canonical numeric constants.

@[simp]

The relation-independent term evaluator agrees with canonical ordered term semantics.

Compile an ordered formula on Fin n: input relations read their original atomic facts, numeric atoms become constants, and universal quantifiers become conjunctions over the universe. The input enumeration contains no numeric relation tables.

Compilation decides the formula on any input structure on Fin n, expanded by the actual canonical numeric constants, weak order and zero-indexed BIT.

The compiled formula's depth is bounded independently of the universe size.

The compiled formula's size is polynomial in the universe size for each fixed formula.

The number of input leaves is polynomial in the universe size.

For each universe size at least two, one constant-depth, polynomial-size formula decides the ordered sentence on every interpretation of the input relations. Only the original input relation tables are inputs; the canonical numeric symbols are fixed by the universe size.