Irrationality of √2 (three proofs) and infinitude of primes (alternative proof)
import /Freeks/6.book
1 Irrationality of √2 (three proofs)
That \(\sqrt{2}\) is irrational means that the only natural-number solution of \(m^2 = 2n^2\) is \(n = 0\). Shown in three ways: descent by differences, parity and descent, and gcd.
1.1 #1a Descent by differences
If \(m^2 = 2n^2\) and \(n \ne 0\), then \(n < m < 2n\), and \(k = m - n\), \(j = 2n - m\) also satisfy \(j^2 = 2k^2\) with \(0 < k < n\). By strong induction on \(n\) (SIND), \(n = 0\). Neither parity nor gcd is used (subtraction is avoided; differences are kept in additive form).
A product of natural numbers is a natural number (a small tool for a step that needs only closure).
One step of descent: a solution with \(n \ne 0\), namely \((m, n)\), yields a solution with \(0 < k < n\), namely \((j, k)\) (\(m = n + k\), \(n = k + j\)).
Lstep …
\(b , m \in \mathbb{M} , b \neq 0 , m \cdot m = 2 \cdot ( b \cdot b ) \Longrightarrow \exists k , j \in \mathbb{M} . k \neq 0 , k < b , j \cdot j = 2 \cdot ( k \cdot k )\) \(\blacktriangleleft\) Lnl ,Lcn ,L⋅≤ ,L<∃ ,L<+k ,𝕄⋅≠0 ,Lz0 ,⋅𝕄:D ,\(\mathbb{W}.\) ,AxℤHence if \(m^2 = 2n^2\) then \(n = 0\).
√2 …
\(m , n \in \mathbb{M} , m ^ 2 = 2 \cdot n ^ 2 \Longrightarrow n = 0\) \(\blacktriangleleft\) Lstep ,Lsq2 ,⋅𝕄:D ,\(\mathbb{W}.\) ,Axℤ