FNP and TFNP — Definitions #
Core definitions for the function/search complexity classes FNP and TFNP,
and the OrRelation combinator used to construct TFNP problems from
NP ∩ coNP witness pairs.
FNP is the class of search problems defined by NP relations: binary
relations that are polynomially balanced and decidable in polynomial time.
A relation R is in FNP if witnesses have poly-bounded length and the
pair language {pair(x, y) | R x y} is in P.
Equations
Instances For
Combine two witness relations by disjunction. Used to construct TFNP problems from NP ∩ coNP witness pairs: the combined relation accepts any witness valid for either component.
Equations
- Complexity.OrRelation R₁ R₂ x y = (R₁ x y ∨ R₂ x y)