Documentation

Complexitylib.DescriptiveComplexity.Encoding.Validity.Internal

Correctness and polynomial time of encoding validation #

Construct a structure from unrestricted relation bits and one-hot constant blocks. The arithmetic-access theorems recover the original string. Bounded quantifiers over polynomial-time bit reads implement every validation condition.

theorem Complexity.DescriptiveComplexity.isValidEncoding_fpPred_internal (V : Vocabulary) {bits : List Bool → List Bool} {card : List Bool → ℕ} (hbits : bits ∈ FP) (hcard : UnaryFn card) :
FPPred fun (z : List Bool) => IsValidEncoding V (card z) (bits z)