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

Theorem elneeldif 3920
Description: The elements of a set difference and the minuend are not equal. (Contributed by AV, 21-Oct-2023.)
Assertion
Ref Expression
elneeldif ((𝑋𝐴𝑌 ∈ (𝐵𝐴)) → 𝑋𝑌)

Proof of Theorem elneeldif
StepHypRef Expression
1 eldif 3916 . . 3 (𝑌 ∈ (𝐵𝐴) ↔ (𝑌𝐵 ∧ ¬ 𝑌𝐴))
2 nelne2 3058 . . . . 5 ((𝑋𝐴 ∧ ¬ 𝑌𝐴) → 𝑋𝑌)
32ex 418 . . . 4 (𝑋𝐴 → (¬ 𝑌𝐴𝑋𝑌))
43adantld 496 . . 3 (𝑋𝐴 → ((𝑌𝐵 ∧ ¬ 𝑌𝐴) → 𝑋𝑌))
51, 4biimtrid 245 . 2 (𝑋𝐴 → (𝑌 ∈ (𝐵𝐴) → 𝑋𝑌))
65imp 412 1 ((𝑋𝐴𝑌 ∈ (𝐵𝐴)) → 𝑋𝑌)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wa 401  wcel 2146  wne 2960  cdif 3903
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-ext 2737
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2744  df-cleq 2757  df-clel 2840  df-ne 2961  df-v 3459  df-dif 3909
This theorem is used by:  frlmsslsp  21975  fmlasucdisj  35904  mhpind  43359
  Copyright terms: Public domain W3C validator