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

Theorem ssdifsn 4755
Description: Subset of a set with an element removed. (Contributed by Emmett Weisz, 7-Jul-2021.) (Proof shortened by JJ, 31-May-2022.)
Assertion
Ref Expression
ssdifsn (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴𝐵 ∧ ¬ 𝐶𝐴))

Proof of Theorem ssdifsn
StepHypRef Expression
1 difss2 4091 . . 3 (𝐴 ⊆ (𝐵 ∖ {𝐶}) → 𝐴𝐵)
2 reldisj 4412 . . . 4 (𝐴𝐵 → ((𝐴 ∩ {𝐶}) = ∅ ↔ 𝐴 ⊆ (𝐵 ∖ {𝐶})))
32bicomd 226 . . 3 (𝐴𝐵 → (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴 ∩ {𝐶}) = ∅))
41, 3biadanii 833 . 2 (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴𝐵 ∧ (𝐴 ∩ {𝐶}) = ∅))
5 disjsn 4676 . . 3 ((𝐴 ∩ {𝐶}) = ∅ ↔ ¬ 𝐶𝐴)
65anbi2i 634 . 2 ((𝐴𝐵 ∧ (𝐴 ∩ {𝐶}) = ∅) ↔ (𝐴𝐵 ∧ ¬ 𝐶𝐴))
74, 6bitri 278 1 (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴𝐵 ∧ ¬ 𝐶𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wb 209  wa 400   = wceq 1569  wcel 2142  cdif 3901  cin 3903  wss 3904  c0 4285  {csn 4588
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-9 2152  ax-ext 2734
This proof depends on definitions:  df-bi 210  df-an 401  df-tru 1572  df-fal 1582  df-ex 1809  df-sb 2096  df-clab 2741  df-cleq 2754  df-clel 2837  df-ral 3079  df-v 3456  df-dif 3907  df-in 3911  df-ss 3921  df-nul 4286  df-sn 4589
This theorem is used by:  naddcllem  8660  isdomn6  20823  isdrng4  20850  imadrhmcl  20911  drngmxidl  33768  esplyind  33974  assafld  34036  logdivsqrle  35046  elsetrecslem  50505
  Copyright terms: Public domain W3C validator