Metamath Proof Explorer


Theorem hashf1dmcdm

Description: The size of the domain of a one-to-one set function is less than or equal to the size of its codomain, if it exists. (Contributed by BTernaryTau, 1-Oct-2023)

Ref Expression
Assertion hashf1dmcdm FVBWF:A1-1BAB

Proof

Step Hyp Ref Expression
1 hashf1dmrn FVF:A1-1BA=ranF
2 1 3adant2 FVBWF:A1-1BA=ranF
3 f1f F:A1-1BF:AB
4 frn F:ABranFB
5 hashss BWranFBranFB
6 4 5 sylan2 BWF:ABranFB
7 3 6 sylan2 BWF:A1-1BranFB
8 7 3adant1 FVBWF:A1-1BranFB
9 2 8 eqbrtrd FVBWF:A1-1BAB