Metamath Proof Explorer


Theorem hasheqf1od

Description: The size of two sets is equal if there is a bijection mapping one of the sets onto the other. (Contributed by AV, 4-May-2021)

Ref Expression
Hypotheses hasheqf1od.a φ A U
hasheqf1od.f φ F : A 1-1 onto B
Assertion hasheqf1od φ A = B

Proof

Step Hyp Ref Expression
1 hasheqf1od.a φ A U
2 hasheqf1od.f φ F : A 1-1 onto B
3 f1of F : A 1-1 onto B F : A B
4 2 3 syl φ F : A B
5 fex F : A B A U F V
6 4 1 5 syl2anc φ F V
7 f1oeq1 f = F f : A 1-1 onto B F : A 1-1 onto B
8 6 2 7 spcedv φ f f : A 1-1 onto B
9 hasheqf1oi A U f f : A 1-1 onto B A = B
10 1 8 9 sylc φ A = B