Metamath Proof Explorer


Theorem hash2exprb

Description: A set of size two is an unordered pair if and only if it contains two different elements. (Contributed by Alexander van der Vekens, 14-Jan-2018)

Ref Expression
Assertion hash2exprb VWV=2ababV=ab

Proof

Step Hyp Ref Expression
1 hash2prde VWV=2ababV=ab
2 1 ex VWV=2ababV=ab
3 hashprg aVbVabab=2
4 3 el2v abab=2
5 4 a1i V=ababab=2
6 5 biimpd V=ababab=2
7 fveqeq2 V=abV=2ab=2
8 6 7 sylibrd V=ababV=2
9 8 impcom abV=abV=2
10 9 a1i VWabV=abV=2
11 10 exlimdvv VWababV=abV=2
12 2 11 impbid VWV=2ababV=ab