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

Theorem nelaneq 9600
Description: A class is not an element of and equal to a class at the same time. Variant of elneq 9599 analogously to elnotel 9615 and en2lp 9611. (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 9598 . 2 ¬ 𝐴 ∈ 𝐴
2 eleq2 2849 . . 3 (𝐴 = 𝐵 → (𝐴 ∈ 𝐴 ↔ 𝐴 ∈ 𝐵))
32biimparc 485 . 2 ((𝐴 ∈ 𝐵 ∧ 𝐴 = 𝐵) → 𝐴 ∈ 𝐴)
41, 3mto 200 1 ¬ (𝐴 ∈ 𝐵 ∧ 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1569   ∈ wcel 2144
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-reg 9590
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835
This theorem is used by:  epinid0  9603
  Copyright terms: Public domain W3C validator