Description: The rational numbers are countable. This proof does not use the Axiom of Choice, even though it uses an onto function, because the base set ( ZZ X. NN ) is numerable. Exercise 2 of Enderton p. 133. For purposes of the Metamath 100 list, we are considering Mario Carneiro's revision as the date this proof was completed. This is Metamath 100 proof #3. (Contributed by NM, 31-Jul-2004) (Revised by Mario Carneiro, 3-Mar-2013)
Ref | Expression | ||
---|---|---|---|
Assertion | qnnen | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | omelon | |
|
2 | nnenom | |
|
3 | 2 | ensymi | |
4 | isnumi | |
|
5 | 1 3 4 | mp2an | |
6 | znnen | |
|
7 | ennum | |
|
8 | 6 7 | ax-mp | |
9 | 5 8 | mpbir | |
10 | xpnum | |
|
11 | 9 5 10 | mp2an | |
12 | eqid | |
|
13 | ovex | |
|
14 | 12 13 | fnmpoi | |
15 | 12 | rnmpo | |
16 | elq | |
|
17 | 16 | eqabi | |
18 | 15 17 | eqtr4i | |
19 | df-fo | |
|
20 | 14 18 19 | mpbir2an | |
21 | fodomnum | |
|
22 | 11 20 21 | mp2 | |
23 | nnex | |
|
24 | 23 | enref | |
25 | xpen | |
|
26 | 6 24 25 | mp2an | |
27 | xpnnen | |
|
28 | 26 27 | entri | |
29 | domentr | |
|
30 | 22 28 29 | mp2an | |
31 | qex | |
|
32 | nnssq | |
|
33 | ssdomg | |
|
34 | 31 32 33 | mp2 | |
35 | sbth | |
|
36 | 30 34 35 | mp2an | |