対偶 Contraposition en.wikipedia
√2 の無理数の証明を 扱っている(^^

https://en.wikipedia.org/wiki/Contraposition
Contraposition
(google訳)
対偶

Proof by contrapositive
対偶による証明

However, indirect methods such as proof by contradiction can also be used with contraposition, as, for example, in the proof of the irrationality of the square root of 2. By the definition of a rational number, the statement can be made that "If
√2 is rational, then it can be expressed as an irreducible fraction". This statement is true because it is a restatement of a definition. The contrapositive of this statement is "If
√2 cannot be expressed as an irreducible fraction, then it is not rational". This contrapositive, like the original statement, is also true. Therefore, if it can be proven that
√2 cannot be expressed as an irreducible fraction, then it must be the case that
√2 is not a rational number. The latter can be proved by contradiction.

ただし、例えば、 √2 の無理数の証明のように、背理法などの間接的な方法も対偶とともに使用できる。有理数の定義により、「もし
√2が有理数であれば、既約分数として表すことができる」。この文は定義の言い換えであるため真である。この文の対偶は「もし
√2既約分数として表現できないならば、それは有理数ではない」。この対偶も、元の命題と同様に真である。したがって、もし証明できるならば、
√2既約分数として表現できない場合、次のことが成り立つはずです。
√2は有理数ではない。後者は背理法によって証明できる。