-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Right now we have proofs for qnnen (equinumerosity of rational numbers and natural numbers) via the Schröder–Bernstein theorem (in set.mm), and via the constructive theorem that a mapping with the natural numbers exists if a set has decidable equality, is infinite, and is countable (in iset.mm).
Although there's no particular reason we need a more direct proof, I hadn't even seen any until now. If we want to formalize it we'd call it qnnenALT or some similar name.
See Tom Edgar's entry at https://aperiodical.com/2024/07/the-big-internet-math-off-2024-round-1-match-7/ proving qnnen via Stern’s diatomic sequence. Defining this sequence in metamath should be feasible using the given recursive definition (although it isn't the straightforward use of seq we are used to, as it requires access to all previous terms, not just the immediate predecessor).