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

Theorem ssdifsn 4751
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 4077 . . 3 (𝐴 ⊆ (𝐵 ∖ {𝐶}) → 𝐴 ⊆ 𝐵)
2 reldisj 4409 . . . 4 (𝐴 ⊆ 𝐵 → ((𝐴 ∩ {𝐶}) = ∅ ↔ 𝐴 ⊆ (𝐵 ∖ {𝐶})))
32bicomd 226 . . 3 (𝐴 ⊆ 𝐵 → (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴 ∩ {𝐶}) = ∅))
41, 3biadanii 834 . 2 (𝐴 ⊆ (𝐵 ∖ {𝐶}) ↔ (𝐴 ⊆ 𝐵 ∧ (𝐴 ∩ {𝐶}) = ∅))
5 disjsn 4672 . . 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 1570   ∈ wcel 2147   ⊆ wss 3900   ∖ cdif 4048   ∩ cin 4092  ∅c0 4281  {csn 4588
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-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-nul 4282  df-sn 4589
This theorem is used by:  naddcllem  8710  isdomn6  20992  isdrng4  21019  imadrhmcl  21081  drngmxidl  34068  esplyind  34274  assafld  34336  logdivsqrle  35346  elsetrecslem  51070
  Copyright terms: Public domain W3C validator