Metamath Proof Explorer


Theorem nelne2

Description: Two classes are different if they don't belong to the same class. (Contributed by NM, 25-Jun-2012) (Proof shortened by Wolf Lammen, 14-May-2023)

Ref Expression
Assertion nelne2 ( ( 𝐴𝐶 ∧ ¬ 𝐵𝐶 ) → 𝐴𝐵 )

Proof

Step Hyp Ref Expression
1 nelneq ( ( 𝐴𝐶 ∧ ¬ 𝐵𝐶 ) → ¬ 𝐴 = 𝐵 )
2 1 neqned ( ( 𝐴𝐶 ∧ ¬ 𝐵𝐶 ) → 𝐴𝐵 )