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

Theorem elneeldif 4063
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 4059 . . 3 (𝑌 ∈ (𝐵 ∖ 𝐴) ↔ (𝑌 ∈ 𝐵 ∧ ¬ 𝑌 ∈ 𝐴))
2 nelne2 3068 . . . . 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 2156   ≠ wne 2970   ∖ cdif 4055
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-v 3463  df-dif 4057
This theorem is used by:  frlmsslsp  22199  fmlasucdisj  36452  mh-inf3f1  37624  mhpind  43968
  Copyright terms: Public domain W3C validator