Description: The size of a finite set which is a one-to-one function is equal to the size of the function's range. (Contributed by Alexander van der Vekens, 12-Jan-2018) (Revised by AV, 4-May-2021)
Ref | Expression | ||
---|---|---|---|
Assertion | hashf1rn | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | f1f | |
|
2 | 1 | anim2i | |
3 | 2 | ancomd | |
4 | fex | |
|
5 | 3 4 | syl | |
6 | f1o2ndf1 | |
|
7 | df-2nd | |
|
8 | 7 | funmpt2 | |
9 | resfunexg | |
|
10 | 8 5 9 | sylancr | |
11 | f1oeq1 | |
|
12 | 11 | biimpd | |
13 | 12 | eqcoms | |
14 | 13 | adantl | |
15 | 10 14 | spcimedv | |
16 | 15 | ex | |
17 | 16 | com13 | |
18 | 6 17 | mpcom | |
19 | 18 | impcom | |
20 | hasheqf1oi | |
|
21 | 5 19 20 | sylc | |