Documentation

CslibFrontier.Computability.Complexity.Classes.EXP.Decidable

Problems in exponential time are decidable #

A problem decidable within a time bound is decidable (Cslib.Complexity.isDecidable_of_mem_DTIME): the bounded decider is a total decider. Hence problems in EXP and in E are decidable (Cslib.Complexity.isDecidable_of_mem_EXP, Cslib.Complexity.isDecidable_of_mem_E). The polynomial-time case is Cslib.Complexity.isDecidable_of_mem_P in CslibFrontier.Computability.Complexity.Classes.P.Countable; it agrees with the time-bounded case through Cslib.Complexity.mem_P_iff_exists_mem_DTIME.

Main results #

theorem Cslib.Complexity.isDecidable_of_mem_DTIME {α : Type u_1} {enc : α ↪ List Bool} {A : Set α} {t : ℕ → ℕ} (hA : A ∈ DTIME enc t) :

Problems decidable within a time bound are decidable.

theorem Cslib.Complexity.isDecidable_of_mem_EXP {α : Type u_1} {enc : α ↪ List Bool} {A : Set α} (hA : A ∈ EXP enc) :

Problems in EXP are decidable.

theorem Cslib.Complexity.isDecidable_of_mem_E {α : Type u_1} {enc : α ↪ List Bool} {A : Set α} (hA : A ∈ E enc) :

Problems in E are decidable.