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 ( 𝑥𝐴𝐶𝐵 )
dom2.2 ( ( 𝑥𝐴𝑦𝐴 ) → ( 𝐶 = 𝐷𝑥 = 𝑦 ) )
Assertion dom3 ( ( 𝐴𝑉𝐵𝑊 ) → 𝐴𝐵 )

Proof

Step Hyp Ref Expression
1 dom2.1 ( 𝑥𝐴𝐶𝐵 )
2 dom2.2 ( ( 𝑥𝐴𝑦𝐴 ) → ( 𝐶 = 𝐷𝑥 = 𝑦 ) )
3 1 a1i ( ( 𝐴𝑉𝐵𝑊 ) → ( 𝑥𝐴𝐶𝐵 ) )
4 2 a1i ( ( 𝐴𝑉𝐵𝑊 ) → ( ( 𝑥𝐴𝑦𝐴 ) → ( 𝐶 = 𝐷𝑥 = 𝑦 ) ) )
5 simpl ( ( 𝐴𝑉𝐵𝑊 ) → 𝐴𝑉 )
6 simpr ( ( 𝐴𝑉𝐵𝑊 ) → 𝐵𝑊 )
7 3 4 5 6 dom3d ( ( 𝐴𝑉𝐵𝑊 ) → 𝐴𝐵 )