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

Theorem nelaneq 9514
Description: A class is not an element of and equal to a class at the same time. Variant of elneq 9513 analogously to elnotel 9529 and en2lp 9525. (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 9512 . 2 ¬ 𝐴𝐴
2 eleq2 2829 . . 3 (𝐴 = 𝐵 → (𝐴𝐴𝐴𝐵))
32biimparc 480 . 2 ((𝐴𝐵𝐴 = 𝐵) → 𝐴𝐴)
41, 3mto 198 1 ¬ (𝐴𝐵𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396   = wceq 1547  wcel 2119
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2712  ax-sep 5225  ax-reg 9504
This theorem depends on definitions:  df-bi 208  df-an 397  df-tru 1550  df-ex 1787  df-sb 2074  df-clab 2719  df-cleq 2732  df-clel 2815
This theorem is referenced by:  epinid0  9517
  Copyright terms: Public domain W3C validator