Immune and bi-immune sets #
A set A is immune to a class C of sets (Cslib.Complexity.IsImmune) when it is infinite
and every member of C contained in A is finite. A is bi-immune to C
(Cslib.Complexity.IsBiImmune) when both A and its complement are immune to C. For
C = P, a P-immune set has no infinite subset decidable in polynomial time. A P-bi-immune set
cannot be told apart from its complement on any infinite polynomial-time decidable set of
instances Balcázar and Schöning.
For a class containing the universe and closed under removing finite sets, such as P
(Set.Finite.mem_P), bi-immunity says that every infinite member of the class meets both A and
its complement (Cslib.Complexity.isBiImmune_iff_of_sdiff_finite,
Cslib.Complexity.isBiImmune_P_iff). Diagonalization constructions use this form.
A P-bi-immune problem in E is constructed in
CslibFrontier.Computability.Complexity.Classes.Immune.Construction. Berman's theorem, that
problems complete for E or EXP are not P-immune, is in
CslibFrontier.Computability.Complexity.Classes.Immune.Complete.
Main definitions #
Cslib.Complexity.IsImmune: infinite, with only finite subsets in the class.Cslib.Complexity.IsBiImmune: immune, with an immune complement.
Main results #
Cslib.Complexity.IsImmune.mono,Cslib.Complexity.IsBiImmune.mono: immunity to a class gives immunity to every subclass.Cslib.Complexity.IsImmune.notMem: an immune set is not in the class.Cslib.Complexity.isBiImmune_compl: bi-immunity is invariant under complement.Cslib.Complexity.isImmune_iff_sdiff_nonempty,Cslib.Complexity.isBiImmune_iff_nonempty: every infinite member of the class leaves the set, or meets it and leaves it.Cslib.Complexity.isBiImmune_iff_of_sdiff_finite,Cslib.Complexity.isBiImmune_P_iff: for a class containing the universe and closed under removing finite sets, the infiniteness conditions are automatic.
References #
A is immune to the class C: A is infinite and every member of C contained in A
is finite Balcázar and Schöning.
A is bi-immune to the class C: both A and its complement are immune to C
Balcázar and Schöning.
Bi-immunity is invariant under complement.
Bi-immunity to a class gives bi-immunity to every subclass.
The complement of a bi-immune set is not in the class.
A is bi-immune to C when A and its complement are infinite and every infinite member of
C meets A and leaves it.
Bi-immunity by meeting and leaving. If C contains the universe and is closed under
removing finite sets, A is bi-immune to C exactly when every infinite member of C meets A
and leaves it.