Metamath Proof Explorer


Theorem dom2d

Description: A mapping (first hypothesis) that is one-to-one (second hypothesis) implies its domain is dominated by its codomain. (Contributed by NM, 24-Jul-2004) (Revised by Mario Carneiro, 20-May-2013)

Ref Expression
Hypotheses dom2d.1 φ x A C B
dom2d.2 φ x A y A C = D x = y
Assertion dom2d φ B R A B

Proof

Step Hyp Ref Expression
1 dom2d.1 φ x A C B
2 dom2d.2 φ x A y A C = D x = y
3 1 2 dom2lem φ x A C : A 1-1 B
4 f1domg B R x A C : A 1-1 B A B
5 3 4 syl5com φ B R A B