I think I'm missing something... isn't there an error in the proof when applying the theorem of the principle of infinite descent? The theorem requires proving the following premise/antecedent (to deduce the consequent): ∀x ∈ X. Φ(x) ⟹ ∃y ∈ X. y ⊏ x ∧ (...) ... but I don't see how this can be proved when x=0. By substituting `x` for `0` (and using Z as the set X and | Φ(0) ⟹ ∃y ∈ Z. y | Unfolding Φ: (∃b ∈ Z. 0^2 = 2…
This is demonstrated in a Lean tutorial for induction, where first it has you "prove" that √2 is "rational", before adding the requirement that the denominator is not 0, which then of course requires a totally different (semantically valid) proof.
0 does satisfy the theorem on integers, but it doesn't say anything about √2, because rational numbers do not allow a 0 denominator.
The √2 theorem assumes b >= 1, and infinite descent / well-foundedness is based on this subset of Z (and to the author's pedantic point about ordering, also works with Z\{0} and the magnitude ordering on |z|.)