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

Theorem elneeldif 4053
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 4049 . . 3 (𝑌 ∈ (𝐵 ∖ 𝐴) ↔ (𝑌 ∈ 𝐵 ∧ ¬ 𝑌 ∈ 𝐴))
2 nelne2 3053 . . . . 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 2144   ≠ wne 2955   ∖ cdif 4045
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
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  df-ne 2956  df-v 3452  df-dif 4047
This theorem is used by:  frlmsslsp  22108  fmlasucdisj  36251  mh-inf3f1  37422  mhpind  43716
  Copyright terms: Public domain W3C validator