Is it incorrect to say that $\text{Power} = P(\text{reject} H_0)$?
I've seen in my textbook as well as other sources power is always defined as the conditional probability $P(\text{reject } H_0 : H_a \text{ is true})$
But I also see in hypothesis testing you are to regard the probability of the null hypothesis as being either $1$ or $0$, since it is treated as a constant when computing the test statistic. So in Baye's theorem, $P(\text{reject } H_0 : H_a \text{ is true})=\frac{P(H_a \text{ is true}:\text{reject } H_0)P(\text{reject } H_0)}{P(H_a \text{ is true})}$
In which case if $P(H_a\text{ is true}) =1$, then $P(H_a\text{ is true} : \text{ reject } H_0)=1$
So $\text{Power} = P(\text{ reject } H_0)$
But if $H_a$ is not true, then $P(H_a\text{ is true}) =0$ I'm not sure what the power means in this case. The other part I find confusing is if my test statistic is coming from a continuous distribution, then don't I already know that $P(H_0 \text{ is true })=0$ and wouldn't then $P(H_a \text{ is true})=1$, so wouldn't it always be the case that $\text{Power}= P(\text{ reject } H_0)$?