Documentation

Complexitylib.Classes.Pairing

Paired relation predicates #

This file adds the complexity-class predicates built on the neutral binary pairing codec from Complexitylib.Encoding.Pairing.

A binary relation is polynomially balanced if witness length is bounded by a polynomial in the input length. This is the standard short-witness condition used in the definitions of NP, FNP, FNL, and related classes.

Equations
Instances For

    The pair language of R contains exactly the encodings pair x y for which R x y holds.

    Equations
    Instances For
      @[simp]
      theorem Complexity.mem_pairLang_pair (R : List BoolList BoolProp) (x y : List Bool) :
      pair x y pairLang R R x y

      Membership of a canonically encoded pair reduces to the underlying binary relation.