Description: The enumeration of the Fermat numbers is a one-one function into the positive integers. (Contributed by AV, 3-Aug-2021)
Ref | Expression | ||
---|---|---|---|
Assertion | fmtnof1 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-fmtno | |
|
2 | 2nn | |
|
3 | 2 | a1i | |
4 | 2nn0 | |
|
5 | 4 | a1i | |
6 | id | |
|
7 | 5 6 | nn0expcld | |
8 | 3 7 | nnexpcld | |
9 | 8 | peano2nnd | |
10 | 1 9 | fmpti | |
11 | fmtno | |
|
12 | fmtno | |
|
13 | 11 12 | eqeqan12d | |
14 | 5 7 | nn0expcld | |
15 | 14 | nn0cnd | |
16 | 15 | adantr | |
17 | 4 | a1i | |
18 | id | |
|
19 | 17 18 | nn0expcld | |
20 | 17 19 | nn0expcld | |
21 | 20 | nn0cnd | |
22 | 21 | adantl | |
23 | 1cnd | |
|
24 | 16 22 23 | addcan2d | |
25 | 2re | |
|
26 | 25 | a1i | |
27 | 7 | nn0zd | |
28 | 27 | adantr | |
29 | 19 | nn0zd | |
30 | 29 | adantl | |
31 | 1lt2 | |
|
32 | 31 | a1i | |
33 | expcan | |
|
34 | 26 28 30 32 33 | syl31anc | |
35 | 24 34 | bitrd | |
36 | nn0z | |
|
37 | 36 | adantr | |
38 | nn0z | |
|
39 | 38 | adantl | |
40 | expcan | |
|
41 | 40 | biimpd | |
42 | 26 37 39 32 41 | syl31anc | |
43 | 35 42 | sylbid | |
44 | 13 43 | sylbid | |
45 | 44 | rgen2 | |
46 | dff13 | |
|
47 | 10 45 46 | mpbir2an | |