Documentation

CslibFrontier.Computability.Complexity.Reduction.Autoreducibility

Resource-bounded autoreducibility and mitoticity #

A set is autoreducible if it reduces to itself by a reduction that never queries its own input Ambos-Spies. Autoreducibility is the core notion of information redundancy: can membership of a be computed from membership of other instances?

A set is mitotic if it can be split by an easy separator S into two disjoint pieces, A ∩ S and A ∖ S, each computationally equivalent to the whole set Ambos-Spies. Mitoticity is the structural splitting property of complete sets Glaßer, Pavan, Selman and Zhang.

The many-one and truth-table autoreducible notions instantiate ManyOneAutoreducibleBy, TruthTableAutoreducibleBy, PTTAutoreducibleBy, DTTAutoreducibleBy or CTTAutoreducibleBy from CslibFrontier.Computability.Reduction.TruthTable, so their forgetful maps, complement closure, duality and singleton obstructions are applications of the kernel lemmas.

Main definitions #

Main results #

References #

Many-one autoreducibility #

A is polynomial-time many-one autoreducible: a polynomial-time map f with ∀ a, f a ≠ a reduces A to itself.

Polynomial-time many-one autoreducibility is many-one reducibility of A to itself by a fixed-point-free polynomial-time map.

An autoreduction is an ordinary many-one reduction.

A is logspace many-one autoreducible: a logarithmic-space map f with ∀ a, f a ≠ a reduces A to itself.

Logspace many-one autoreducibility is many-one reducibility of A to itself by a fixed-point-free logspace map.

A logspace autoreduction is an ordinary logspace reduction.

Logspace many-one autoreducibility implies polynomial-time many-one autoreducibility.

Many-one autoreducibility is preserved under taking complements.

Logspace many-one autoreducibility is preserved under taking complements.

Truth-table autoreducibility variants #

A is k-truth-table autoreducible: a k-truth-table reduction whose query generator never queries the input instance a.

A k-truth-table autoreduction is a k-truth-table reduction.

A is bounded truth-table autoreducible.

A bounded truth-table autoreduction is a bounded truth-table reduction.

A is disjunctive truth-table autoreducible: accepting exactly when some query is in A, without querying a.

A disjunctive truth-table autoreduction is a disjunctive truth-table reduction.

A is conjunctive truth-table autoreducible: accepting exactly when every query is in A, without querying a.

A conjunctive truth-table autoreduction is a conjunctive truth-table reduction.

A is positive truth-table autoreducible: a positive truth-table reduction of A to itself whose query generator never queries the input instance a.

A positive truth-table autoreduction is a positive truth-table reduction.

A is polynomial-time truth-table autoreducible: a truth-table reduction whose query generator never queries the input instance.

A truth-table autoreduction is a truth-table reduction.

A many-one autoreduction is a 1-truth-table autoreduction.

A many-one autoreduction is a disjunctive truth-table autoreduction.

A many-one autoreduction is a conjunctive truth-table autoreduction.

A many-one autoreduction is a positive truth-table autoreduction.

Allowing more queries in a k-truth-table autoreduction.

A k-truth-table autoreduction is a bounded truth-table autoreduction.

A bounded truth-table autoreduction is a truth-table autoreduction.

A many-one autoreduction is a bounded truth-table autoreduction.

A many-one autoreduction is a truth-table autoreduction.

A disjunctive truth-table autoreduction is a positive truth-table autoreduction.

A conjunctive truth-table autoreduction is a positive truth-table autoreduction.

A positive truth-table autoreduction is a truth-table autoreduction.

A disjunctive truth-table autoreduction is a truth-table autoreduction.

A conjunctive truth-table autoreduction is a truth-table autoreduction.

Complement duality between disjunctive and conjunctive truth-table autoreducibility.

k-truth-table autoreducibility is preserved under taking complements.

Bounded truth-table autoreducibility is preserved under taking complements.

Truth-table autoreducibility is preserved under taking complements.

Autoreducibility of sets in P and degenerate obstructions #

Every problem in P is 0-tt autoreducible, making 0 queries and deciding a ∈ A internally in polynomial time.

theorem Cslib.Complexity.PolyTimePTTAutoreducible.of_mem_P {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ P encA) :

Every problem in P is positive truth-table autoreducible (making 0 queries).

theorem Cslib.Complexity.PolyTimeBTTAutoreducible.of_mem_P {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ P encA) :

Every problem in P is bounded truth-table autoreducible.

Every problem in P is truth-table autoreducible.

theorem Cslib.Complexity.PolyTimeManyOneAutoreducible.exists_mem_ne {α : Type} {encA : α ↪ List Bool} {A : Set α} (h : PolyTimeManyOneAutoreducible encA A) (a : α) :
a ∈ A → ∃ y ∈ A, y ≠ a

A many-one autoreducible set cannot be a singleton, since its element would have no distinct target member.

theorem Cslib.Complexity.PolyTimeManyOneAutoreducible.exists_notMem_ne {α : Type} {encA : α ↪ List Bool} {A : Set α} (h : PolyTimeManyOneAutoreducible encA A) (a : α) :
a ∉ A → ∃ n ∉ A, n ≠ a

A many-one autoreducible set cannot have a singleton complement.

theorem Cslib.Complexity.LogSpaceManyOneAutoreducible.exists_mem_ne {α : Type} {encA : α ↪ List Bool} {A : Set α} (h : LogSpaceManyOneAutoreducible encA A) (a : α) :
a ∈ A → ∃ y ∈ A, y ≠ a

A logspace many-one autoreducible set cannot be a singleton.

theorem Cslib.Complexity.LogSpaceManyOneAutoreducible.exists_notMem_ne {α : Type} {encA : α ↪ List Bool} {A : Set α} (h : LogSpaceManyOneAutoreducible encA A) (a : α) :
a ∉ A → ∃ n ∉ A, n ≠ a

A logspace many-one autoreducible set cannot have a singleton complement.

A singleton is strictly not polynomial-time many-one autoreducible.

A co-singleton is strictly not polynomial-time many-one autoreducible.

A singleton is strictly not logspace many-one autoreducible.

A co-singleton is strictly not logspace many-one autoreducible.

Construction of many-one autoreductions for sets in L and P #

theorem Cslib.Complexity.LogSpaceManyOneAutoreducible.of_two_mem_two_notMem {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ L encA) {y₀ y₁ : α} (hy₀ : y₀ ∈ A) (hy₁ : y₁ ∈ A) (hyne : y₀ ≠ y₁) {n₀ n₁ : α} (hn₀ : n₀ ∉ A) (hn₁ : n₁ ∉ A) (hnne : n₀ ≠ n₁) :

A set in L with at least two members and at least two non-members is logspace many-one autoreducible.

theorem Cslib.Complexity.logSpaceManyOneAutoreducible_iff_of_mem_L {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ L encA) :
LogSpaceManyOneAutoreducible encA A ↔ (∀ a ∈ A, ∃ y ∈ A, y ≠ a) ∧ ∀ a ∉ A, ∃ n ∉ A, n ≠ a

A set in L is logspace many-one autoreducible if and only if neither it nor its complement is a singleton.

theorem Cslib.Complexity.PolyTimeManyOneAutoreducible.of_two_mem_two_notMem {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ P encA) {y₀ y₁ : α} (hy₀ : y₀ ∈ A) (hy₁ : y₁ ∈ A) (hyne : y₀ ≠ y₁) {n₀ n₁ : α} (hn₀ : n₀ ∉ A) (hn₁ : n₁ ∉ A) (hnne : n₀ ≠ n₁) :

A set in P with at least two members and at least two non-members is polynomial-time many-one autoreducible.

theorem Cslib.Complexity.polyTimeManyOneAutoreducible_iff_of_mem_P {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ P encA) :
PolyTimeManyOneAutoreducible encA A ↔ (∀ a ∈ A, ∃ y ∈ A, y ≠ a) ∧ ∀ a ∉ A, ∃ n ∉ A, n ≠ a

A set in P is polynomial-time many-one autoreducible if and only if neither it nor its complement is a singleton.

theorem Cslib.Complexity.LogSpaceManyOneAutoreducible.of_mem_L {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ L encA) (hMem : ∀ a ∈ A, ∃ y ∈ A, y ≠ a) (hNotMem : ∀ a ∉ A, ∃ n ∉ A, n ≠ a) :

A set in L with no unique member or non-member is logspace many-one autoreducible.

theorem Cslib.Complexity.PolyTimeManyOneAutoreducible.of_mem_P {α : Type} {encA : α ↪ List Bool} {A : Set α} (hA : A ∈ P encA) (hMem : ∀ a ∈ A, ∃ y ∈ A, y ≠ a) (hNotMem : ∀ a ∉ A, ∃ n ∉ A, n ≠ a) :

A set in P with no unique member or non-member is polynomial-time many-one autoreducible.

Mitoticity #

def Cslib.Complexity.ReducibleEquiv {α : Type} (R : Set α → Set α → Prop) (A B : Set α) :

Mutual reducibility under a binary relation R.

def Cslib.Complexity.MitoticWith {α : Type} (𝒞 : Set (Set α)) (R : Set α → Set α → Prop) (A : Set α) :

A is mitotic with respect to the separating problems 𝒞 and the reduction R: some S ∈ 𝒞 splits A into A ∩ S and A ∖ S, each R-equivalent to A (hence to each other when R is transitive) Ambos-Spies 1984.

theorem Cslib.Complexity.ReducibleEquiv.mono {α : Type} {A : Set α} {R R' : Set α → Set α → Prop} {B : Set α} (h : ReducibleEquiv R A B) (hR : ∀ (X Y : Set α), R X Y → R' X Y) :

Mutual reducibility is monotone in the reduction.

theorem Cslib.Complexity.MitoticWith.mono {α : Type} {A : Set α} {𝒞 𝒞' : Set (Set α)} {R R' : Set α → Set α → Prop} (h : MitoticWith 𝒞 R A) (h𝒞 : 𝒞 ⊆ 𝒞') (hR : ∀ (X Y : Set α), R X Y → R' X Y) :
MitoticWith 𝒞' R' A

Mitoticity is monotone in the class of separators and in the reduction.

A is polynomial-time many-one mitotic Ambos-Spies 1984.

A is logspace many-one mitotic.

def Cslib.Complexity.PolyTimeKTruthTableMitotic {α : Type} (k : ℕ) (encA : α ↪ List Bool) (A : Set α) :

A is k-truth-table mitotic.

Note that for k ≥ 2, PolyTimeKTruthTableReducible k is not transitive (composition uses up to k² queries), so this definition via MitoticWith requires only A ≡ᵖ_k-tt A ∩ S and A ≡ᵖ_k-tt A \ S rather than pairwise three-way equivalence A ≡ᵖ_k-tt A ∩ S ≡ᵖ_k-tt A \ S. This weaker hypothesis suffices for PolyTimeKTruthTableMitotic.polyTimeKTruthTableAutoreducible.

def Cslib.Complexity.PolyTimeDTTMitotic {α : Type} (encA : α ↪ List Bool) (A : Set α) :

A is disjunctive truth-table mitotic.

def Cslib.Complexity.PolyTimePTTMitotic {α : Type} (encA : α ↪ List Bool) (A : Set α) :

A is positive truth-table mitotic.

def Cslib.Complexity.PolyTimeBTTMitotic {α : Type} (encA : α ↪ List Bool) (A : Set α) :

A is bounded truth-table mitotic.

A is truth-table mitotic.

A logspace mitotic set is polynomial-time mitotic.

Many-one mitoticity implies 1-truth-table mitoticity.

Many-one mitoticity implies disjunctive truth-table mitoticity.

theorem Cslib.Complexity.PolyTimeKTruthTableMitotic.mono {α : Type} {encA : α ↪ List Bool} {A : Set α} {k k' : ℕ} (h : PolyTimeKTruthTableMitotic k encA A) (hk : k ≤ k') :

Allowing more queries in k-truth-table mitoticity.

k-truth-table mitoticity implies bounded truth-table mitoticity.

Many-one mitoticity implies bounded truth-table mitoticity.

Disjunctive truth-table mitoticity implies positive truth-table mitoticity.

Positive truth-table mitoticity implies truth-table mitoticity.

Disjunctive truth-table mitoticity implies truth-table mitoticity.

Bounded truth-table mitoticity implies truth-table mitoticity.

Many-one mitoticity implies truth-table mitoticity.

Mitotic implies autoreducible #

Every polynomial-time disjunctive truth-table mitotic set is disjunctive truth-table autoreducible, unconditionally (standard argument of Ambos-Spies 1984 adapted to dtt reductions). Queries landing on the same side of the separator S as the input a cannot belong to the opposite piece (A ∩ S when a ∉ S, or A ∖ S when a ∈ S) and are filtered out before querying A.

Every polynomial-time k-truth-table mitotic set is k-truth-table autoreducible, unconditionally (standard argument of Ambos-Spies 1984 adapted to k-tt reductions).

Every polynomial-time positive truth-table mitotic set is positive truth-table autoreducible, unconditionally (standard argument of Ambos-Spies 1984 adapted to ptt reductions).

Every polynomial-time bounded truth-table mitotic set is bounded truth-table autoreducible, unconditionally (standard argument of Ambos-Spies 1984 adapted to btt reductions).

Every polynomial-time truth-table mitotic set is truth-table autoreducible, unconditionally (standard argument of Ambos-Spies 1984 adapted to tt reductions).

Every polynomial-time many-one mitotic set is disjunctive truth-table autoreducible, unconditionally Ambos-Spies 1984.

Every polynomial-time many-one mitotic set is 1-truth-table autoreducible, unconditionally Ambos-Spies 1984.

Every polynomial-time many-one mitotic set is bounded truth-table autoreducible.

Every polynomial-time many-one mitotic set is truth-table autoreducible.

theorem Cslib.Complexity.PolyTimeManyOneMitotic.polyTimeManyOneAutoreducible {α : Type} {encA : α ↪ List Bool} {A : Set α} (h : PolyTimeManyOneMitotic encA A) (hCompl : ∀ a ∉ A, ∃ n ∉ A, n ≠ a) :

A polynomial-time many-one mitotic set is many-one autoreducible provided its complement is not a singleton Ambos-Spies 1984.

A polynomial-time many-one mitotic set is many-one autoreducible if and only if its complement is not a singleton Ambos-Spies 1984.