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

Theorem sscon34b 4250
Description: Relative complementation reverses inclusion of subclasses. Relativized version of complss 4098. (Contributed by RP, 3-Jun-2021.)
Assertion
Ref Expression
sscon34b ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → (𝐴 ⊆ 𝐵 ↔ (𝐶 ∖ 𝐵) ⊆ (𝐶 ∖ 𝐴)))

Proof of Theorem sscon34b
StepHypRef Expression
1 sscon 4090 . 2 (𝐴 ⊆ 𝐵 → (𝐶 ∖ 𝐵) ⊆ (𝐶 ∖ 𝐴))
2 sscon 4090 . . 3 ((𝐶 ∖ 𝐵) ⊆ (𝐶 ∖ 𝐴) → (𝐶 ∖ (𝐶 ∖ 𝐴)) ⊆ (𝐶 ∖ (𝐶 ∖ 𝐵)))
3 dfss4 4215 . . . . 5 (𝐴 ⊆ 𝐶 ↔ (𝐶 ∖ (𝐶 ∖ 𝐴)) = 𝐴)
43birani 509 . . . 4 ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → (𝐶 ∖ (𝐶 ∖ 𝐴)) = 𝐴)
5 dfss4 4215 . . . . 5 (𝐵 ⊆ 𝐶 ↔ (𝐶 ∖ (𝐶 ∖ 𝐵)) = 𝐵)
65bilani 510 . . . 4 ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → (𝐶 ∖ (𝐶 ∖ 𝐵)) = 𝐵)
74, 6sseq12d 3964 . . 3 ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → ((𝐶 ∖ (𝐶 ∖ 𝐴)) ⊆ (𝐶 ∖ (𝐶 ∖ 𝐵)) ↔ 𝐴 ⊆ 𝐵))
82, 7imbitrid 247 . 2 ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → ((𝐶 ∖ 𝐵) ⊆ (𝐶 ∖ 𝐴) → 𝐴 ⊆ 𝐵))
91, 8impbid2 229 1 ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → (𝐴 ⊆ 𝐵 ↔ (𝐶 ∖ 𝐵) ⊆ (𝐶 ∖ 𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∖ cdif 3896   ⊆ wss 3899
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-dif 3902  df-in 3906  df-ss 3916
This theorem is used by:  rcompleq  4251  ntrclsss  45048  ntrclsiso  45052  ntrclsk2  45053  ntrclsk3  45055
  Copyright terms: Public domain W3C validator