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

Theorem elneeldif 4056
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 4052 . . 3 (𝑌 ∈ (𝐵 ∖ 𝐴) ↔ (𝑌 ∈ 𝐵 ∧ ¬ 𝑌 ∈ 𝐴))
2 nelne2 3057 . . . . 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 2147   ≠ wne 2959   ∖ cdif 4048
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-v 3456  df-dif 4050
This theorem is used by:  frlmsslsp  22157  fmlasucdisj  36372  mh-inf3f1  37544  mhpind  43888
  Copyright terms: Public domain W3C validator