Documentation

Complexitylib.DescriptiveComplexity.Circuit.Validity

Validated first-order circuits #

Encoding validity has depth at most three and exact size card + 4 + numConsts * (1 + card * (1 + card)). Conjoining this test with the sentence expansion gives exact query-language semantics on every input of the chosen encoded length, including malformed strings.

The validator accepts exactly the encodings at the chosen input length.

Encoding validation has an exact size polynomial of degree at most two.

Encoding validation has depth at most three, independently of universe size.

Validated expansion recognizes the exact induced language at this encoded length.

The complete validated expansion has exact polynomial size.

Validation adds only a constant number of depth layers to sentence expansion.

Actual circuit realizations decide the query on every input of the encoded length.