Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rcompleq Structured version   Visualization version   GIF version

Theorem rcompleq 40390
Description: Two subclasses are equal if and only if their relative complements are equal. Relativized version of compleq 4124. (Contributed by RP, 10-Jun-2021.)
Assertion
Ref Expression
rcompleq ((𝐴𝐶𝐵𝐶) → (𝐴 = 𝐵 ↔ (𝐶𝐴) = (𝐶𝐵)))

Proof of Theorem rcompleq
StepHypRef Expression
1 ancom 463 . . 3 ((𝐴𝐵𝐵𝐴) ↔ (𝐵𝐴𝐴𝐵))
2 sscon34b 40389 . . . . 5 ((𝐵𝐶𝐴𝐶) → (𝐵𝐴 ↔ (𝐶𝐴) ⊆ (𝐶𝐵)))
32ancoms 461 . . . 4 ((𝐴𝐶𝐵𝐶) → (𝐵𝐴 ↔ (𝐶𝐴) ⊆ (𝐶𝐵)))
4 sscon34b 40389 . . . 4 ((𝐴𝐶𝐵𝐶) → (𝐴𝐵 ↔ (𝐶𝐵) ⊆ (𝐶𝐴)))
53, 4anbi12d 632 . . 3 ((𝐴𝐶𝐵𝐶) → ((𝐵𝐴𝐴𝐵) ↔ ((𝐶𝐴) ⊆ (𝐶𝐵) ∧ (𝐶𝐵) ⊆ (𝐶𝐴))))
61, 5syl5bb 285 . 2 ((𝐴𝐶𝐵𝐶) → ((𝐴𝐵𝐵𝐴) ↔ ((𝐶𝐴) ⊆ (𝐶𝐵) ∧ (𝐶𝐵) ⊆ (𝐶𝐴))))
7 eqss 3982 . 2 (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴))
8 eqss 3982 . 2 ((𝐶𝐴) = (𝐶𝐵) ↔ ((𝐶𝐴) ⊆ (𝐶𝐵) ∧ (𝐶𝐵) ⊆ (𝐶𝐴)))
96, 7, 83bitr4g 316 1 ((𝐴𝐶𝐵𝐶) → (𝐴 = 𝐵 ↔ (𝐶𝐴) = (𝐶𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  cdif 3933  wss 3936
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3496  df-dif 3939  df-in 3943  df-ss 3952
This theorem is referenced by:  ntrclsfveq1  40430  ntrclsfveq2  40431  ntrclskb  40439  ntrclsk13  40441  ntrclsk4  40442
  Copyright terms: Public domain W3C validator