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

Theorem compleq 4098
Description: Two classes are equal if and only if their complements are equal. (Contributed by BJ, 19-Mar-2021.)
Assertion
Ref Expression
compleq (𝐴 = 𝐵 ↔ (V ∖ 𝐴) = (V ∖ 𝐵))

Proof of Theorem compleq
StepHypRef Expression
1 complss 4097 . . 3 (𝐴 ⊆ 𝐵 ↔ (V ∖ 𝐵) ⊆ (V ∖ 𝐴))
2 complss 4097 . . 3 (𝐵 ⊆ 𝐴 ↔ (V ∖ 𝐴) ⊆ (V ∖ 𝐵))
31, 2anbi12ci 641 . 2 ((𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴) ↔ ((V ∖ 𝐴) ⊆ (V ∖ 𝐵) ∧ (V ∖ 𝐵) ⊆ (V ∖ 𝐴)))
4 eqss 3935 . 2 (𝐴 = 𝐵 ↔ (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴))
5 eqss 3935 . 2 ((V ∖ 𝐴) = (V ∖ 𝐵) ↔ ((V ∖ 𝐴) ⊆ (V ∖ 𝐵) ∧ (V ∖ 𝐵) ⊆ (V ∖ 𝐴)))
63, 4, 53bitr4i 306 1 (𝐴 = 𝐵 ↔ (V ∖ 𝐴) = (V ∖ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572  Vcvv 3461   ⊆ 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-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-v 3463  df-ss 3908  df-dif 4057
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator