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 φxACB
dom2d.2 φxAyAC=Dx=y
Assertion dom2d φBRAB

Proof

Step Hyp Ref Expression
1 dom2d.1 φxACB
2 dom2d.2 φxAyAC=Dx=y
3 1 2 dom2lem φxAC:A1-1B
4 f1domg BRxAC:A1-1BAB
5 3 4 syl5com φBRAB