Documentation

CslibFrontier.Computability.Complexity.Parameterized.CrossComposition

Cross-composition and kernelization lower bounds #

An OR-cross-composition of a problem A into a parameterized problem (Q, κ) [BodlaenderJansenKratsch2014, Definition 9] (Cslib.Complexity.IsORCrossComposition) maps, in polynomial time, a nonempty list of instances of A that are equivalent under a polynomial equivalence relation (Cslib.Complexity.IsPolyEquivalence) to one instance of Q, which is a yes-instance exactly when some entry of the list is, and whose parameter is bounded by a polynomially bounded function of the largest length of an entry plus the logarithm of the length of the list. Bodlaender, Jansen and Kratsch showed that if an NP-hard problem OR-cross-composes into (Q, κ), then (Q, κ) has no polynomial kernel and no polynomial compression unless NP ⊆ coNP/poly [BodlaenderJansenKratsch2014, Corollary 2] (Cslib.Complexity.coNP_subset_NPPoly_of_orCrossComposes, Cslib.Complexity.not_hasPolyKernel_of_orCrossComposes), and hence unless PH = Σ₃ by Yap's theorem Yap (Cslib.Complexity.PH_eq_SigmaP_three_of_orCrossComposes, Cslib.Complexity.not_hasPolyKernel_of_orCrossComposes_of_PH_ne_SigmaP_three). Corollary 2 also concludes that the OR-distillation conjecture fails; that conclusion is not stated as a named conjecture here.

The proof follows [BodlaenderJansenKratsch2014, Theorem 5]. Given a list of instances, keep the entries related to every entry, and erase repeated entries. On a list of related instances of length at most n nothing is dropped but repeats, and fewer than 2 ^ (n + 1) distinct instances remain, so the logarithm of their number is at most n. Neither g nor h is assumed monotone, so the proof bounds them by monotone polynomial majorants G m = c_g (m + 1) ^ d_g of g and H k = c_h (k + 1) ^ d_h of h. Cross-composing the remaining entries gives a parameter at most G (2 n), and compressing the result gives a word of length at most H (G (2 n)), a polynomial in n independent of the length of the list. (h (g (2 n)) itself need not bound that length.) Lists of t n = H (G (2 n)) + 1 related instances are thus compressed to shorter words, and the class-wise theorem of Fortnow and Santhanam (Cslib.Complexity.compl_mem_NPPoly_of_orCompression, Cslib.Complexity.coNP_subset_NPPoly_of_orCompression) puts the complement of A in NP/poly. Theorem 5 builds instead a weak OR-distillation into the OR of the target language, compressing each equivalence class separately; the class-wise theorem covers the classes directly.

The cross-composition is computed in time polynomial in the length t + 2 (|x₁| + ⋯ + |xₜ|) of the encoded list [x₁, …, xₜ], where Definition 9 bounds it by a polynomial in ∑ |xᵢ|, and it is a total map on lists: its value on lists that are empty or not pairwise equivalent is unconstrained. As for Cslib.Complexity.IsORDistillation, the hypothesis here is therefore weaker, and the theorem stronger. The parameter bound uses ⌊log₂ t⌋, within one of log₂ t, and holds whenever every entry has length at most n; for a monotone bound this is the bound by the largest length of an entry, and every polynomially bounded function has a monotone polynomially bounded majorant.

A polynomial compression [BodlaenderJansenKratsch2014, Definition 2] (Cslib.Complexity.HasPolyCompression) runs in time polynomial in |enc a| + κ a; polynomial kernels (Cslib.Complexity.HasPolyKernel) and generalized polynomial kernels [BodlaenderJansenKratsch2014, Definition 1], whose outputs have encoded length bounded by a polynomial in the parameter, are polynomial compressions.

Main definitions #

Main results #

References #

structure Cslib.Complexity.IsORCrossComposition {α β : Type} (enc : α ↪ List Bool) (r : α × α → Bool) (A : Set α) (encQ : β ↪ List Bool) (κ : β → ℕ) (Q : Set β) (C : List α → β) (g : ℕ → ℕ) :

C is an OR-cross-composition of A into the parameterized problem (Q, κ) with respect to the relation r, with parameter bound g [BodlaenderJansenKratsch2014, Definition 9]: it maps lists of instances of A to instances of Q in polynomial time, such that for every nonempty list l of pairwise related instances, C l ∈ Q exactly when some entry of l is in A, and κ (C l) ≤ g (n + ⌊log₂ |l|⌋) when every entry has length at most n. The value of C on other lists is unconstrained. The relation is intended to be a polynomial equivalence relation (Cslib.Complexity.IsPolyEquivalence), as in Cslib.Complexity.ORCrossComposes.

def Cslib.Complexity.ORCrossComposes {α β : Type} (enc : α ↪ List Bool) (A : Set α) (encQ : β ↪ List Bool) (κ : β → ℕ) (Q : Set β) :

A OR-cross-composes into the parameterized problem (Q, κ) [BodlaenderJansenKratsch2014, Definition 9]: it has an OR-cross-composition into (Q, κ) with respect to a polynomial equivalence relation, with a polynomially bounded parameter bound.

From a cross-composition and a compression to an OR-compression #

The theorem of Bodlaender, Jansen and Kratsch #

theorem Cslib.Complexity.IsORCrossComposition.compl_mem_NPPoly {α β γ : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (D : Turing.MultiTapeTM.Decoder enc) {r : α × α → Bool} (hr : IsPolyEquivalence enc r) {C : List α → β} {g : ℕ → ℕ} (hg : PolynomiallyBounded g) (hC : IsORCrossComposition enc r A encQ κ Q C g) {encB : γ ↪ List Bool} {B : Set γ} {K : β → γ} {h : ℕ → ℕ} (hh : PolynomiallyBounded h) (hK : IsCompression encQ κ Q encB B K h) :

Cross-composition and compression put the complement in NP/poly: if A has an OR-cross-composition into (Q, κ) with respect to a polynomial equivalence relation, with a polynomially bounded parameter bound, and (Q, κ) has a compression into a problem B with a polynomially bounded size bound, then the complement of A is in NP/poly. The decoder D parses the lists of instances in certificates.

theorem Cslib.Complexity.compl_mem_NPPoly_of_orCrossComposes {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (D : Turing.MultiTapeTM.Decoder enc) (hA : ORCrossComposes enc A encQ κ Q) (hQ : HasPolyCompression encQ κ Q) :

Cross-composition and polynomial compression put the complement in NP/poly: if A OR-cross-composes into a parameterized problem with a polynomial compression, then the complement of A is in NP/poly. The decoder D parses the lists of instances in certificates.

theorem Cslib.Complexity.coNP_subset_NPPoly_of_orCrossComposes {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (hA : NPHard enc A) (hAQ : ORCrossComposes enc A encQ κ Q) (hQ : HasPolyCompression encQ κ Q) {δ : Type} (encC : δ ↪ List Bool) :
coNP encC ⊆ NPPoly encC

Bodlaender–Jansen–Kratsch, the NP ⊆ coNP/poly conclusion of [BodlaenderJansenKratsch2014, Corollary 2], stated as coNP ⊆ NP/poly: if an NP-hard problem OR-cross-composes into a parameterized problem with a polynomial compression, then coNP ⊆ NP/poly, for every encoding of instances. For the collapse PH = Σ₃ that follows by Yap's theorem, see Cslib.Complexity.PH_eq_SigmaP_three_of_orCrossComposes.

theorem Cslib.Complexity.NP_subset_coNPPoly_of_orCrossComposes {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (hA : NPHard enc A) (hAQ : ORCrossComposes enc A encQ κ Q) (hQ : HasPolyCompression encQ κ Q) {δ : Type} (encC : δ ↪ List Bool) :
NP encC ⊆ coNPPoly encC

Bodlaender–Jansen–Kratsch, the NP ⊆ coNP/poly conclusion of [BodlaenderJansenKratsch2014, Corollary 2]: if an NP-hard problem OR-cross-composes into a parameterized problem with a polynomial compression, then NP ⊆ coNP/poly, for every encoding of instances.

theorem Cslib.Complexity.PH_eq_SigmaP_three_of_orCrossComposes {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (hA : NPHard enc A) (hAQ : ORCrossComposes enc A encQ κ Q) (hQ : HasPolyCompression encQ κ Q) {δ : Type} (encC : δ ↪ List Bool) :
PH encC = SigmaP 3 encC

Bodlaender–Jansen–Kratsch and Yap [BodlaenderJansenKratsch2014, Corollary 2], Yap: if an NP-hard problem OR-cross-composes into a parameterized problem with a polynomial compression, then the polynomial hierarchy collapses to its third level, PH = Σ₃, for every encoding of instances.

theorem Cslib.Complexity.not_hasPolyCompression_of_orCrossComposes {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (hA : NPHard enc A) (hAQ : ORCrossComposes enc A encQ κ Q) {δ : Type} {encC : δ ↪ List Bool} (hcoNP : ¬coNP encC ⊆ NPPoly encC) :

Kernelization lower bound by cross-composition [BodlaenderJansenKratsch2014, Corollary 2]: if an NP-hard problem OR-cross-composes into (Q, κ) and coNP ⊄ NP/poly for some encoding of instances, then (Q, κ) has no polynomial compression.

theorem Cslib.Complexity.not_hasPolyKernel_of_orCrossComposes {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (hA : NPHard enc A) (hAQ : ORCrossComposes enc A encQ κ Q) {δ : Type} {encC : δ ↪ List Bool} (hcoNP : ¬coNP encC ⊆ NPPoly encC) :
¬HasPolyKernel encQ κ Q

Kernelization lower bound by cross-composition [BodlaenderJansenKratsch2014, Corollary 2]: if an NP-hard problem OR-cross-composes into (Q, κ) and coNP ⊄ NP/poly for some encoding of instances, then (Q, κ) has no polynomial kernel.

theorem Cslib.Complexity.not_hasPolyCompression_of_orCrossComposes_of_PH_ne_SigmaP_three {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (hA : NPHard enc A) (hAQ : ORCrossComposes enc A encQ κ Q) {δ : Type} {encC : δ ↪ List Bool} (hPH : PH encC ≠ SigmaP 3 encC) :

Kernelization lower bound under PH ≠ Σ₃ [BodlaenderJansenKratsch2014, Corollary 2], Yap: if an NP-hard problem OR-cross-composes into (Q, κ) and PH ≠ Σ₃ for some encoding of instances, then (Q, κ) has no polynomial compression.

theorem Cslib.Complexity.not_hasPolyKernel_of_orCrossComposes_of_PH_ne_SigmaP_three {α β : Type} {enc : α ↪ List Bool} {A : Set α} {encQ : β ↪ List Bool} {κ : β → ℕ} {Q : Set β} (hA : NPHard enc A) (hAQ : ORCrossComposes enc A encQ κ Q) {δ : Type} {encC : δ ↪ List Bool} (hPH : PH encC ≠ SigmaP 3 encC) :
¬HasPolyKernel encQ κ Q

Kernelization lower bound under PH ≠ Σ₃ [BodlaenderJansenKratsch2014, Corollary 2], Yap: if an NP-hard problem OR-cross-composes into (Q, κ) and PH ≠ Σ₃ for some encoding of instances, then (Q, κ) has no polynomial kernel.