MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nelaneq Structured version   Visualization version   GIF version

Theorem nelaneq 9552
Description: A class is not an element of and equal to a class at the same time. Variant of elneq 9551 analogously to elnotel 9567 and en2lp 9563. (Proposed by BJ, 18-Jun-2022.) (Contributed by AV, 18-Jun-2022.) (Proof shortened by TM, 31-Dec-2025.) (Proof shortened by SN, 22-Apr-2026.)
Assertion
Ref Expression
nelaneq ¬ (𝐴𝐵𝐴 = 𝐵)

Proof of Theorem nelaneq
StepHypRef Expression
1 elirr 9550 . 2 ¬ 𝐴𝐴
2 eleq2 2854 . . 3 (𝐴 = 𝐵 → (𝐴𝐴𝐴𝐵))
32biimparc 484 . 2 ((𝐴𝐵𝐴 = 𝐵) → 𝐴𝐴)
41, 3mto 200 1 ¬ (𝐴𝐵𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 400   = wceq 1563  wcel 2145
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-ext 2737  ax-sep 5251  ax-reg 9542
This theorem depends on definitions:  df-bi 210  df-an 401  df-tru 1566  df-ex 1803  df-sb 2094  df-clab 2744  df-cleq 2757  df-clel 2840
This theorem is referenced by:  epinid0  9555
  Copyright terms: Public domain W3C validator