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 ⊢ A ∈ C ∧ ¬ B ∈ C → A ≠ B

Proof

Step Hyp Ref Expression
1 nelneq ⊢ A ∈ C ∧ ¬ B ∈ C → ¬ A = B
2 1 neqned ⊢ A ∈ C ∧ ¬ B ∈ C → A ≠ B