1st: I took the contrapositive. If $a^b$ is irrational, then a and b are irrational.
2nd: I found an example to disprove my contrapositive. Let $a = 2$ Let $b = 1/2$ Both are rational.
$a^b = 2^{(1/2)} = \sqrt{2}$, which is irrational.
It's too difficult to do html formatting on my phone, so I apologize in advance. Thanks.
Technically, your proof is fine. You showed that for all a and b are rational numbers, a^b is not always rational, by counterexample. Unless you're going to prove the statement by contraposition, finding the contrapositive is unnecessary. Just for future reference, the contrapositive of "if a and b then d", is "if ~d then ~a or ~b" (this is due to DeMorgan's Law).