P-selective sets #
A selector for a set A picks one of any two instances so that the pick is in A whenever
either instance is (Cslib.Complexity.IsSelector). A set is P-selective
(Cslib.Complexity.PSel) when it has a selector computable in polynomial time [Sel79];
see also Hemaspaandra and Torenvliet, Introduction to Semi-Feasible
Computation.
P-selective sets are the "semi-feasible" sets: membership need not be decidable, but of any two
instances one that is in A if either is can be found in polynomial time.
Selectors here output one of their two arguments, as in Selman's definition. Equivalently, a
P-selective set has a polynomial-time Boolean selector that says which argument to pick
(Cslib.Complexity.mem_PSel_iff_bool).
Every set in P is P-selective (Cslib.Complexity.P_subset_PSel), and the P-selective sets are
closed under complement (Cslib.Complexity.compl_mem_PSel) and downward closed under
polynomial-time many-one reductions (Cslib.Complexity.PolyTimeReducible.mem_PSel)
[Sel79]. Lower sets of a total order compared in polynomial time are
P-selective (Cslib.Complexity.mem_PSel_of_isLowerSet): the minimum is a selector. Left cuts of
infinite binary sequences, an uncountable family of P-selective sets, are built from this in
CslibFrontier.Computability.Complexity.Classes.Selective.LeftCut.
Main definitions #
Cslib.Complexity.IsSelector:fselects forA.Cslib.Complexity.PSel: the P-selective sets.
Main results #
Cslib.Complexity.mem_PSel_iff_bool: P-selectivity with a Boolean selector.Cslib.Complexity.P_subset_PSel: sets inPare P-selective.Cslib.Complexity.compl_mem_PSel: the complement of a P-selective set is P-selective.Cslib.Complexity.PolyTimeReducible.mem_PSel: a set reducing to a P-selective set is P-selective.Cslib.Complexity.mem_PSel_of_isLowerSet: a lower set of a linear order compared in polynomial time is P-selective.
References #
f is a selector for A: it picks one of its two arguments, and the pick is in A whenever
either argument is.
A selector picks one of its arguments.
The pick of a selector is in A when either argument is.
An instance beaten by a member of A, in either order, is in A.
Reductions. A set that reduces to a P-selective set in polynomial time is P-selective: select between the images [Sel79].
Lower sets are P-selective. If a linear order on the instances is compared in polynomial time, every lower set of it is P-selective: the minimum of two instances is a selector.