Statement
Lemma
Proof
Note we already have Knapsack-search is NP so we just need to show it is NP-hard. We do this be finding a many-one reduction of the subset-sum problem to it. We already have Subset-sum problem is NP-complete so this gives us the desired result.
Suppose we have an instance of the subset-sum problem given by
Construct a Knapsack-search problem with items with
Note this transformation is
Suppose the constructed Knapsack-search problem provides solution
This takes
Suppose we have a solution to the constructed Knapsack-search problem. Then we know