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

Theorem ssdifsn 4750
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 4074 . . 3 (𝐴 ⊆ (𝐵 ∖ {𝐶}) → 𝐴 ⊆ 𝐵)
2 reldisj 4405 . . . 4 (𝐴 ⊆ 𝐵 → ((𝐴 ∩ {𝐶}) = ∅ ↔ 𝐴 ⊆ (𝐵 ∖ {𝐶})))
32bicomd 226 . . 3 (𝐴 ⊆ 𝐵 → (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴 ∩ {𝐶}) = ∅))
41, 3biadanii 834 . 2 (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴 ⊆ 𝐵 ∧ (𝐴 ∩ {𝐶}) = ∅))
5 disjsn 4671 . . 3 ((𝐴 ∩ {𝐶}) = ∅ ↔ ¬ 𝐶 ∈ 𝐴)
65anbi2i 635 . 2 ((𝐴 ⊆ 𝐵 ∧ (𝐴 ∩ {𝐶}) = ∅) ↔ (𝐴 ⊆ 𝐵 ∧ ¬ 𝐶 ∈ 𝐴))
74, 6bitri 278 1 (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴 ⊆ 𝐵 ∧ ¬ 𝐶 ∈ 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ⊆ wss 3895   ∖ cdif 4045   ∩ cin 4089  ∅c0 4278  {csn 4583
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-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-nul 4279  df-sn 4584
This theorem is used by:  naddcllem  8685  isdomn6  20965  isdrng4  20992  imadrhmcl  21054  drngmxidl  34001  esplyind  34207  assafld  34269  logdivsqrle  35279  elsetrecslem  50792
  Copyright terms: Public domain W3C validator