First-order model checking by constant-depth Boolean circuits #
Finite quantifier expansion produces the existing AC0Formula representation.
For a fixed first-order formula, its tree size is exactly an explicit polynomial
in universe size, and its depth is at most the source formula's size plus one.
The same expansion handles every structure of the chosen size, including varying
constant interpretations; the constants are supplied by one-hot input blocks.
At positive input width, the expansion has an equivalent circuit with exactly
the same size and depth at most the source formula's size plus two.
This formalizes the finite expansion step in Immerman, Theorem 5.22, Section 5.4
of Descriptive Complexity. DescriptiveComplexity.AC0 uses this expansion
and encoding validation to prove the induced binary language has an AC0 family.
The expansion computes first-order satisfaction on any represented structure.
Expansion has exact polynomial tree size, uniformly over assignments and layouts.
For a fixed source formula, expansion depth is independent of the universe size.
At positive input width, one circuit realizes the expansion on every input. Its choice depends only on the formula, layout, and free-variable assignment.
The realized circuit decides satisfaction on every valid table input.
Every finite structure supplies a valid input to the fixed table-layout expansion.
The sentence expansion decides the query on the structure's relation and constant tables.