@[reducible, inline]
Sipser, Lecture 14. Polynomial-time mapping reducibility A ≤_P B:
A reduces to B via a polynomial-time computable function f with
w ∈ A ↔ f w ∈ B. (Alias for TuringMachine.PolyReducible.)
Instances For
theorem
inP_of_polyTimeReducible
{Γ : Type}
{A B : Set (List Γ)}
(hAB : PolyTimeReducible A B)
(hB : TuringMachine.InP B)
:
Sipser, Lecture 14. If A ≤_P B and B ∈ P, then A ∈ P.