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

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

Proof of Theorem sscon34b
StepHypRef Expression
1 sscon 4089 . 2 (𝐴 ⊆ 𝐵 → (𝐶 ∖ 𝐵) ⊆ (𝐶 ∖ 𝐴))
2 sscon 4089 . . 3 ((𝐶 ∖ 𝐵) ⊆ (𝐶 ∖ 𝐴) → (𝐶 ∖ (𝐶 ∖ 𝐴)) ⊆ (𝐶 ∖ (𝐶 ∖ 𝐵)))
3 dfss4 4224 . . . . 5 (𝐴 ⊆ 𝐶 ↔ (𝐶 ∖ (𝐶 ∖ 𝐴)) = 𝐴)
43birani 509 . . . 4 ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → (𝐶 ∖ (𝐶 ∖ 𝐴)) = 𝐴)
5 dfss4 4224 . . . . 5 (𝐵 ⊆ 𝐶 ↔ (𝐶 ∖ (𝐶 ∖ 𝐵)) = 𝐵)
65bilani 510 . . . 4 ((𝐴 ⊆ 𝐶 ∧ 𝐵 ⊆ 𝐶) → (𝐶 ∖ (𝐶 ∖ 𝐵)) = 𝐵)
74, 6sseq12d 3953 . . 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 1572   ⊆ wss 3907   ∖ cdif 4055
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1106  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101
This theorem is used by:  rcompleq  4260  ntrclsss  45483  ntrclsiso  45487  ntrclsk2  45488  ntrclsk3  45490
  Copyright terms: Public domain W3C validator