Metamath Proof Explorer


Theorem f1domfi

Description: If the codomain of a one-to-one function is finite, then the function's domain is dominated by its codomain. This theorem is proved without using the Axiom of Replacement or the Axiom of Power Sets (unlike f1domg ). (Contributed by BTernaryTau, 25-Sep-2024)

Ref Expression
Assertion f1domfi B Fin F : A 1-1 B A B

Proof

Step Hyp Ref Expression
1 f1cnv F : A 1-1 B F -1 : ran F 1-1 onto A
2 f1f F : A 1-1 B F : A B
3 2 frnd F : A 1-1 B ran F B
4 ssfi B Fin ran F B ran F Fin
5 3 4 sylan2 B Fin F : A 1-1 B ran F Fin
6 f1ofn F -1 : ran F 1-1 onto A F -1 Fn ran F
7 fnfi F -1 Fn ran F ran F Fin F -1 Fin
8 6 7 sylan F -1 : ran F 1-1 onto A ran F Fin F -1 Fin
9 1 5 8 syl2an2 B Fin F : A 1-1 B F -1 Fin
10 cnvfi F -1 Fin F -1 -1 Fin
11 f1rel F : A 1-1 B Rel F
12 dfrel2 Rel F F -1 -1 = F
13 11 12 sylib F : A 1-1 B F -1 -1 = F
14 13 eleq1d F : A 1-1 B F -1 -1 Fin F Fin
15 14 biimpac F -1 -1 Fin F : A 1-1 B F Fin
16 10 15 sylan F -1 Fin F : A 1-1 B F Fin
17 9 16 sylancom B Fin F : A 1-1 B F Fin
18 f1dom3g F Fin B Fin F : A 1-1 B A B
19 18 3expib F Fin B Fin F : A 1-1 B A B
20 17 19 mpcom B Fin F : A 1-1 B A B