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

Theorem uneqin 4242
Description: Equality of union and intersection is equivalent to equality of the arguments. (Contributed by NM, 16-Apr-2006.) (Proof shortened by Andrew Salmon, 26-Jun-2011.)
Assertion
Ref Expression
uneqin ((𝐴𝐵) = (𝐴𝐵) ↔ 𝐴 = 𝐵)

Proof of Theorem uneqin
StepHypRef Expression
1 eqimss 3996 . . . 4 ((𝐴𝐵) = (𝐴𝐵) → (𝐴𝐵) ⊆ (𝐴𝐵))
2 unss 4143 . . . . 5 ((𝐴 ⊆ (𝐴𝐵) ∧ 𝐵 ⊆ (𝐴𝐵)) ↔ (𝐴𝐵) ⊆ (𝐴𝐵))
3 ssin 4191 . . . . . . 7 ((𝐴𝐴𝐴𝐵) ↔ 𝐴 ⊆ (𝐴𝐵))
4 sstr 3946 . . . . . . 7 ((𝐴𝐴𝐴𝐵) → 𝐴𝐵)
53, 4sylbir 238 . . . . . 6 (𝐴 ⊆ (𝐴𝐵) → 𝐴𝐵)
6 ssin 4191 . . . . . . 7 ((𝐵𝐴𝐵𝐵) ↔ 𝐵 ⊆ (𝐴𝐵))
7 simpl 488 . . . . . . 7 ((𝐵𝐴𝐵𝐵) → 𝐵𝐴)
86, 7sylbir 238 . . . . . 6 (𝐵 ⊆ (𝐴𝐵) → 𝐵𝐴)
95, 8anim12i 625 . . . . 5 ((𝐴 ⊆ (𝐴𝐵) ∧ 𝐵 ⊆ (𝐴𝐵)) → (𝐴𝐵𝐵𝐴))
102, 9sylbir 238 . . . 4 ((𝐴𝐵) ⊆ (𝐴𝐵) → (𝐴𝐵𝐵𝐴))
111, 10syl 18 . . 3 ((𝐴𝐵) = (𝐴𝐵) → (𝐴𝐵𝐵𝐴))
12 eqss 3953 . . 3 (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴))
1311, 12sylibr 237 . 2 ((𝐴𝐵) = (𝐴𝐵) → 𝐴 = 𝐵)
14 unidm 4111 . . . 4 (𝐴𝐴) = 𝐴
15 inidm 4179 . . . 4 (𝐴𝐴) = 𝐴
1614, 15eqtr4i 2791 . . 3 (𝐴𝐴) = (𝐴𝐴)
17 uneq2 4116 . . 3 (𝐴 = 𝐵 → (𝐴𝐴) = (𝐴𝐵))
18 ineq2 4167 . . 3 (𝐴 = 𝐵 → (𝐴𝐴) = (𝐴𝐵))
1916, 17, 183eqtr3a 2824 . 2 (𝐴 = 𝐵 → (𝐴𝐵) = (𝐴𝐵))
2013, 19impbii 212 1 ((𝐴𝐵) = (𝐴𝐵) ↔ 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 401   = wceq 1570  cun 3904  cin 3905  wss 3906
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 2148  ax-9 2156  ax-ext 2737
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2744  df-cleq 2757  df-clel 2840  df-rab 3419  df-v 3459  df-un 3911  df-in 3913  df-ss 3923
This theorem is used by:  uniintsn  4952
  Copyright terms: Public domain W3C validator