The following formula seems to be regarded as the essence of proof by contradiction:
p → (q ∧ ~q) ⊢ ~p
Or perhaps this one:
~p → (q ∧ ~q) ⊢ p
If this is the case, what are the mathematical theorems that have this logical form?
I looked at various proofs that are routinely presented as proofs by contradiction, for example the proof that the square root of 2 is irrational, but it turns out they are all more complex than ~p → (q ∧ ~q) ⊢ p and different in principle.
Alternatively, what is the justification for saying ~p → (q ∧ ~q) ⊢ p is the typical form of a proof by contradiction?
Alternatively, if ~p → (q ∧ ~q) ⊢ p is not the typical form of a proof by contradiction, which form is?