Remark. [00WM]

It is not too hard to extend the above lemma and proof in a couple ways:

  • If A and B are not decision problems then we must also take into account the time needed to run the output conversion.
  • We can also take into account the case where B is called a polynomial number of times as a subroutine—it essentially involves multiplying by another polynomial, though to do it formally one has to be a bit more careful to state that we have not just a single input conversion function but many, which are all bounded by some polynomial runtime.