I was reading a few notes on Proof by Restriction and I am confused:
A Valid Proof by Restriction is the following:
Directed Hamiltonian Cycle Problem is NP Complete because if we look only at instances of DHC where For $G=(V,E)\quad (u,v)\in E \leftrightarrow (v,u) \in E$ then it reduces to Hamiltonian Cycle which we know is NP complete.
A wrong proof is the following:
Subset Sum problem
INSTANCE: Integers $a_1, a_2,…,a_n$ and integer B.QUESTION: Is there a sequence of 0’s and 1’s, $x_1, x_2,…,x_n$ such that: $$\sum_{i=1}^n a_ix_i \leq B$$
is a special case of
Real Subset Problem INSTANCE: Integers $a_1, a_2,…,a_n$ and integer B.
QUESTION: Is there a sequence of real numbers $x_1, x_2,…,x_n$ such that: $$\sum_{i=1}^n a_ix_i \leq B$$
so it is NP Complete.
My notes say that the this proof is wrong since it restricts the question and not the instances but I don't seem to understand the difference.
Further, I can't really understand how Proof by Restriction works; for all I know I could be restricting an NP Complete problem to a trivial case which can be solved in Polynomial time.