To be specific, my main issue is with this statement: "This provides a formal proof that the function is defective because there are possible inputs that causes the while-loop to run forever or overflow the target."
By that standard, one can easily construct a proof that any Turing-complete language is "defective".