You're correct. The only way this proof can work is if r != 0. In the first proof, that is taken care of, because if r = 0 then we have division by 0, which we cannot do. But it must be specified that r != 0 in every one of these proofs for any of these proofs to work.

