Total search problems in the second level of the polynomial hierarchy (TFΣ₂^P) #
The class TFΣ₂^P (Cslib.Complexity.TFSigma2P) consists of total search relations
R : α → List Bool → Prop whose validity is witnessed by a universally quantified polynomial-time
verifier Kleinberg, Korten, Mitropolsky and
Papadimitriou,
Korten, Section 2, Definition 1.
Concretely, with respect to an instance encoding enc : α ↪ List Bool, a search relation R
belongs to TFSigma2P enc if there exist a polynomial p : Polynomial ℕ and a polynomial-time
verifier V : (α × List Bool) × List Bool → Bool (encoded via
encPair (encPair enc encBits) encBits) such that:
- Short-solution guarantee: for every instance
a, there exists a solutionwwithw.length ≤ p.eval (enc a).lengthandR a w(in particular,IsTotalSearch R). - Fixed-width universal verification: for every instance
aand candidatew,R a w ↔ ∀ z : List Bool, z.length = p.eval (enc a).length → V ((a, w), z) = true.
Modeling conventions #
Following Korten, Section 2, Definition 1 literally, condition (1) requires some
polynomially bounded solution for every instance, while condition (2) fixes the universally
quantified string z to length p.eval (enc a).length. Unlike Cslib.Complexity.FNP and
Cslib.Complexity.TFNP (which require every accepted solution to satisfy a polynomial length
bound), TFSigma2P does not normalize away long witnesses globally; individual relations that
bound all accepted solutions (such as RangeAvoidance) include that length constraint directly
in their own definition and verifier.
For relations whose natural universal quantifier ranges over strings of a unary polynomial-time
width q a (not necessarily equal to the solution-length polynomial p_w),
Cslib.Complexity.mem_TFSigma2P_of_exists_univWidth pads to the single polynomial p_w + p_q
by reading the prefix z.take (q a).
Main definitions #
Cslib.Complexity.TFSigma2P: the total search classTFΣ₂^P.
Main results #
Cslib.Complexity.mem_TFSigma2P: membership characterization ofTFSigma2P.Cslib.Complexity.TFSigma2P.isTotalSearch: every relation inTFSigma2Pis total.Cslib.Complexity.TFNP_subset_TFSigma2P:TFNP ⊆ TFΣ₂^P.Cslib.Complexity.mem_TFSigma2P_of_exists_univWidth: single-polynomial normalization from a short-solution polynomial bound and a unary polynomial-time universal-quantifier width.
References #
The class TFΣ₂^P of total search problems with a fixed-width universally quantified
polynomial-time verifier, with respect to an instance encoding enc : α ↪ List Bool
Korten, Section 2, Definition 1.
Condition 1 is the short-solution guarantee (∃ w, w.length ≤ p(|enc a|) ∧ R a w), and
condition 2 is the fixed-width universal verification condition
(R a w ↔ ∀ z, z.length = p(|enc a|) → V ((a, w), z) = true). Unlike FNP, this definition does
not force every accepted witness w to have length at most p(|enc a|).
Construct R ∈ TFSigma2P enc from a polynomial short-solution bound p_w and a
polynomial-time universal verifier whose quantified bit string has unary polynomial-time width
q a. Padding q a up to p_w + p_q and slicing z.take (q a) yields the single-polynomial
form of Korten, Section 2, Definition 1.