Metamath Proof Explorer


Theorem dom3

Description: A mapping (first hypothesis) that is one-to-one (second hypothesis) implies its domain is dominated by its codomain. C and D can be read C ( x ) and D ( y ) , as can be inferred from their distinct variable conditions. (Contributed by Mario Carneiro, 20-May-2013)

Ref Expression
Hypotheses dom2.1 x A C B
dom2.2 x A y A C = D x = y
Assertion dom3 A V B W A B

Proof

Step Hyp Ref Expression
1 dom2.1 x A C B
2 dom2.2 x A y A C = D x = y
3 1 a1i A V B W x A C B
4 2 a1i A V B W x A y A C = D x = y
5 simpl A V B W A V
6 simpr A V B W B W
7 3 4 5 6 dom3d A V B W A B