Documentation

Complexitylib.DescriptiveComplexity.ModelChecking.Encoded

First-order model checking on encoded inputs #

Decode a structure and evaluate the sentence, rejecting every malformed string. Correctness refers to the existing queryLanguage, so it includes all binary inputs. ModelChecking.PolynomialTime proves that its one-bit verdict belongs to the machine class FP for each fixed sentence.

Evaluate a sentence on an encoded structure, returning false on malformed input.

Equations
Instances For
    @[simp]

    The encoded evaluator rejects the unique length-zero input.

    The encoded evaluator recognizes exactly the sentence's induced binary language.

    @[simp]

    On a valid encoding, encoded evaluation agrees with structure-level evaluation.