Metamath Proof Explorer


Theorem nelneq2

Description: A way of showing two classes are not equal. (Contributed by NM, 12-Jan-2002)

Ref Expression
Assertion nelneq2 AB¬AC¬B=C

Proof

Step Hyp Ref Expression
1 eleq2 B=CABAC
2 1 biimpcd ABB=CAC
3 2 con3dimp AB¬AC¬B=C