I do not know if this is the right place to ask but Googling failed.
Whenever I do a "prove something" question, I try to formally restate in an if-then form.
But when a statement can't be naturally restated to an if-then form, by process of elimination of the proof methods(by exhaustion, construction, generalization, counter-example, induction, contraposition, contradiction) I have read on a book, I usually end up at the method: "Proof by contradiction".
For an if-then statement, I can assume the premise is true and start from there to prove the conclusion is true.
For statements without if-then form like
"Prove the set of prime numbers is infinite ".
I have no idea where to start from(all I know is I must use proof by contradiction). It baffles me to see the solution and makes me wonder "How did he arrive at the solution from an unorthodox way"?
Is there a logical thought process to proving such statements without an if-else form? OR do we just have to brute-force? OR does it simply boils down to lack of practice on my part(I'm a newbie)?