Metamath Proof Explorer


Theorem elirr

Description: No class is a member of itself. Exercise 6 of TakeutiZaring p. 22. (Contributed by NM, 7-Aug-1994) (Proof shortened by Andrew Salmon, 9-Jul-2011)

Ref Expression
Assertion elirr ¬ 𝐴𝐴

Proof

Step Hyp Ref Expression
1 id ( 𝑥 = 𝐴𝑥 = 𝐴 )
2 1 1 eleq12d ( 𝑥 = 𝐴 → ( 𝑥𝑥𝐴𝐴 ) )
3 2 notbid ( 𝑥 = 𝐴 → ( ¬ 𝑥𝑥 ↔ ¬ 𝐴𝐴 ) )
4 elirrv ¬ 𝑥𝑥
5 3 4 vtoclg ( 𝐴𝐴 → ¬ 𝐴𝐴 )
6 pm2.01 ( ( 𝐴𝐴 → ¬ 𝐴𝐴 ) → ¬ 𝐴𝐴 )
7 5 6 ax-mp ¬ 𝐴𝐴