Metamath Proof Explorer


Theorem nehash2

Description: The cardinality of a set with two distinct elements. (Contributed by Thierry Arnoux, 27-Aug-2019)

Ref Expression
Hypotheses nehash2.p φPV
nehash2.a φAP
nehash2.b φBP
nehash2.1 φAB
Assertion nehash2 φ2P

Proof

Step Hyp Ref Expression
1 nehash2.p φPV
2 nehash2.a φAP
3 nehash2.b φBP
4 nehash2.1 φAB
5 hashprg APBPABAB=2
6 2 3 5 syl2anc φABAB=2
7 4 6 mpbid φAB=2
8 2 3 prssd φABP
9 hashss PVABPABP
10 1 8 9 syl2anc φABP
11 7 10 eqbrtrrd φ2P