Metamath Proof Explorer


Theorem neleq1

Description: Equality theorem for negated membership. (Contributed by NM, 20-Nov-1994) (Proof shortened by Wolf Lammen, 25-Nov-2019)

Ref Expression
Assertion neleq1 ( 𝐴 = 𝐵 → ( 𝐴𝐶𝐵𝐶 ) )

Proof

Step Hyp Ref Expression
1 id ( 𝐴 = 𝐵𝐴 = 𝐵 )
2 eqidd ( 𝐴 = 𝐵𝐶 = 𝐶 )
3 1 2 neleq12d ( 𝐴 = 𝐵 → ( 𝐴𝐶𝐵𝐶 ) )