Exact truth-table certificates for second-order witnesses #
The encoder bijects Boolean relation environments with all bit strings of the prescribed length. The decoder rejects exactly incorrect lengths. Nullary relations take one bit, and an empty context takes no bits. The exact length is a polynomial in the universe size, for a fixed relation context.
Every relation-table cell occurs in the certificate enumeration.
Each relation-table cell occurs exactly once.
The site list has the exact sum-of-powers length.
The empty relation context needs no certificate bits.
Extending the context adds one truth table of length card ^ k.
The certificate has exactly the sum of its relation-table sizes.
The certificate lists each relation's canonical truth table in context order.
Distinct relation environments have distinct certificates.
Exact witness length is a polynomial in universe cardinality.
Increasing the universe size cannot shorten a relation certificate.