Documentation

Complexitylib.DescriptiveComplexity.SecondOrder.Certificate.Defs

Binary witness checking for existential second-order formulas #

A certificate lists the truth tables of the leading existential relation quantifiers, in outermost-first order. Each quantifier reads exactly its table; the remaining FO matrix is checked only after all certificate bits are consumed. Both missing bits and trailing data are rejected. Free element values and free Boolean relation tables are also supported.

This implements the witness-checking algorithm of Immerman, Section 7.1, Proposition 7.6. Correctness and polynomial certificate length are proved in the surface module. SecondOrder.PolynomialTime supplies the polynomial-time machine bound by proving agreement with an arithmetic verifier.

Arities of the leading existential relation quantifiers, outermost first.

Equations
Instances For

    The exact certificate length as a polynomial in the universe cardinality.

    Equations
    Instances For

      Check an existential-SO sentence's binary certificate on an encoded structure.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For