ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  difsnb GIF version

Theorem difsnb 3765
Description: (𝐵 ∖ {𝐴}) equals 𝐵 if and only if 𝐴 is not a member of 𝐵. Generalization of difsn 3759. (Contributed by David Moews, 1-May-2017.)
Assertion
Ref Expression
difsnb 𝐴𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵)

Proof of Theorem difsnb
StepHypRef Expression
1 difsn 3759 . 2 𝐴𝐵 → (𝐵 ∖ {𝐴}) = 𝐵)
2 neldifsnd 3753 . . . . 5 (𝐴𝐵 → ¬ 𝐴 ∈ (𝐵 ∖ {𝐴}))
3 nelne1 2457 . . . . 5 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) → 𝐵 ≠ (𝐵 ∖ {𝐴}))
42, 3mpdan 421 . . . 4 (𝐴𝐵𝐵 ≠ (𝐵 ∖ {𝐴}))
54necomd 2453 . . 3 (𝐴𝐵 → (𝐵 ∖ {𝐴}) ≠ 𝐵)
65necon2bi 2422 . 2 ((𝐵 ∖ {𝐴}) = 𝐵 → ¬ 𝐴𝐵)
71, 6impbii 126 1 𝐴𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wb 105   = wceq 1364  wcel 2167  wne 2367  cdif 3154  {csn 3622
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-ext 2178
This theorem depends on definitions:  df-bi 117  df-tru 1367  df-nf 1475  df-sb 1777  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-v 2765  df-dif 3159  df-sn 3628
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator