Documentation

CslibFrontier.Computability.Complexity.Parameterized.Hardness

Hardness under fpt-reductions #

A parameterized problem B is hard for a parameterized class 𝒞 when every problem of 𝒞, with any encoding and parameter, fpt-reduces to B (FPTReducible). This is the parameterized counterpart of PolyTimeHard. W[t]-hardness (WHard t) and W[P]-hardness (WPHard) are its instances, so the lemmas below apply to them through dot notation.

FPTHard is stated directly rather than as an instance of HardUnder, whose class and reducibility are indexed by the encoding alone. Expressing it through HardUnder would mean pairing each problem with its parameter (problem type (α → ℕ) × Set α), and every statement would then carry the pair instead of separate parameter and problem arguments.

Main definitions #

Main results #

References #

def Cslib.Complexity.FPTHard (𝒞 : {α : Type} → (α ↪ List Bool) → (α → ℕ) → Set (Set α)) {β : Type} (enc : β ↪ List Bool) (κ : β → ℕ) (B : Set β) :

B is hard for the parameterized class 𝒞 under fpt-reductions: every problem of 𝒞, with any encoding encA and parameter κA, fpt-reduces to B.

theorem Cslib.Complexity.FPTHard.trans {𝒞 : {α : Type} → (α ↪ List Bool) → (α → ℕ) → Set (Set α)} {α β : Type} {encA : α ↪ List Bool} {encB : β ↪ List Bool} {κA : α → ℕ} {κB : β → ℕ} {A : Set α} {B : Set β} (hB : FPTHard (fun {α : Type} => 𝒞) encB κB B) (h : FPTReducible encB encA κB κA B A) :
FPTHard (fun {α : Type} => 𝒞) encA κA A

Hardness transfers along fpt-reductions.

theorem Cslib.Complexity.FPTHard.mono {𝒞 𝒟 : {α : Type} → (α ↪ List Bool) → (α → ℕ) → Set (Set α)} {β : Type} {encB : β ↪ List Bool} {κB : β → ℕ} {B : Set β} (h𝒟𝒞 : ∀ {γ : Type} (enc : γ ↪ List Bool) (κ : γ → ℕ), 𝒟 enc κ ⊆ 𝒞 enc κ) (hB : FPTHard (fun {α : Type} => 𝒞) encB κB B) :
FPTHard (fun {α : Type} => 𝒟) encB κB B

Hardness for a class gives hardness for each of its subclasses.

theorem Cslib.Complexity.FPTHard.subset_FPT {𝒞 : {α : Type} → (α ↪ List Bool) → (α → ℕ) → Set (Set α)} {α β : Type} {encA : α ↪ List Bool} {encB : β ↪ List Bool} {κA : α → ℕ} {κB : β → ℕ} {B : Set β} (hB : FPTHard (fun {α : Type} => 𝒞) encB κB B) (hFPT : B ∈ FPT encB κB) :
𝒞 encA κA ⊆ FPT encA κA

A 𝒞-hard problem in FPT puts 𝒞 in FPT.