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

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

Proof of Theorem rcompleq
StepHypRef Expression
1 ancom 464 . . 3 ((𝐴𝐵𝐵𝐴) ↔ (𝐵𝐴𝐴𝐵))
2 sscon34b 4219 . . . . 5 ((𝐵𝐶𝐴𝐶) → (𝐵𝐴 ↔ (𝐶𝐴) ⊆ (𝐶𝐵)))
32ancoms 462 . . . 4 ((𝐴𝐶𝐵𝐶) → (𝐵𝐴 ↔ (𝐶𝐴) ⊆ (𝐶𝐵)))
4 sscon34b 4219 . . . 4 ((𝐴𝐶𝐵𝐶) → (𝐴𝐵 ↔ (𝐶𝐵) ⊆ (𝐶𝐴)))
53, 4anbi12d 633 . . 3 ((𝐴𝐶𝐵𝐶) → ((𝐵𝐴𝐴𝐵) ↔ ((𝐶𝐴) ⊆ (𝐶𝐵) ∧ (𝐶𝐵) ⊆ (𝐶𝐴))))
61, 5syl5bb 286 . 2 ((𝐴𝐶𝐵𝐶) → ((𝐴𝐵𝐵𝐴) ↔ ((𝐶𝐴) ⊆ (𝐶𝐵) ∧ (𝐶𝐵) ⊆ (𝐶𝐴))))
7 eqss 3930 . 2 (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴))
8 eqss 3930 . 2 ((𝐶𝐴) = (𝐶𝐵) ↔ ((𝐶𝐴) ⊆ (𝐶𝐵) ∧ (𝐶𝐵) ⊆ (𝐶𝐴)))
96, 7, 83bitr4g 317 1 ((𝐴𝐶𝐵𝐶) → (𝐴 = 𝐵 ↔ (𝐶𝐴) = (𝐶𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  cdif 3878  wss 3881
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-rab 3115  df-v 3443  df-dif 3884  df-in 3888  df-ss 3898
This theorem is referenced by:  indifbi  30292  ntrclsfveq1  40763  ntrclsfveq2  40764  ntrclskb  40772  ntrclsk13  40774  ntrclsk4  40775
  Copyright terms: Public domain W3C validator