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

Theorem uneqin 4244
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 3978 . . . 4 ((𝐴 ∪ 𝐵) = (𝐴 ∩ 𝐵) → (𝐴 ∪ 𝐵) ⊆ (𝐴 ∩ 𝐵))
2 unss 4198 . . . . 5 ((𝐴 ⊆ (𝐴 ∩ 𝐵) ∧ 𝐵 ⊆ (𝐴 ∩ 𝐵)) ↔ (𝐴 ∪ 𝐵) ⊆ (𝐴 ∩ 𝐵))
3 ssin 4145 . . . . . . 7 ((𝐴 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐵) ↔ 𝐴 ⊆ (𝐴 ∩ 𝐵))
4 sstr 3928 . . . . . . 7 ((𝐴 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐵) → 𝐴 ⊆ 𝐵)
53, 4sylbir 238 . . . . . 6 (𝐴 ⊆ (𝐴 ∩ 𝐵) → 𝐴 ⊆ 𝐵)
6 ssin 4145 . . . . . . 7 ((𝐵 ⊆ 𝐴 ∧ 𝐵 ⊆ 𝐵) ↔ 𝐵 ⊆ (𝐴 ∩ 𝐵))
7 simpl 488 . . . . . . 7 ((𝐵 ⊆ 𝐴 ∧ 𝐵 ⊆ 𝐵) → 𝐵 ⊆ 𝐴)
86, 7sylbir 238 . . . . . 6 (𝐵 ⊆ (𝐴 ∩ 𝐵) → 𝐵 ⊆ 𝐴)
95, 8anim12i 625 . . . . 5 ((𝐴 ⊆ (𝐴 ∩ 𝐵) ∧ 𝐵 ⊆ (𝐴 ∩ 𝐵)) → (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴))
102, 9sylbir 238 . . . 4 ((𝐴 ∪ 𝐵) ⊆ (𝐴 ∩ 𝐵) → (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴))
111, 10syl 18 . . 3 ((𝐴 ∪ 𝐵) = (𝐴 ∩ 𝐵) → (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴))
12 eqss 3935 . . 3 (𝐴 = 𝐵 ↔ (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴))
1311, 12sylibr 237 . 2 ((𝐴 ∪ 𝐵) = (𝐴 ∩ 𝐵) → 𝐴 = 𝐵)
14 unidm 4166 . . . 4 (𝐴 ∪ 𝐴) = 𝐴
15 inidm 4133 . . . 4 (𝐴 ∩ 𝐴) = 𝐴
1614, 15eqtr4i 2800 . . 3 (𝐴 ∪ 𝐴) = (𝐴 ∩ 𝐴)
17 uneq2 4171 . . 3 (𝐴 = 𝐵 → (𝐴 ∪ 𝐴) = (𝐴 ∪ 𝐵))
18 ineq2 4121 . . 3 (𝐴 = 𝐵 → (𝐴 ∩ 𝐴) = (𝐴 ∩ 𝐵))
1916, 17, 183eqtr3a 2833 . 2 (𝐴 = 𝐵 → (𝐴 ∪ 𝐵) = (𝐴 ∩ 𝐵))
2013, 19impbii 212 1 ((𝐴 ∪ 𝐵) = (𝐴 ∩ 𝐵) ↔ 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572   ⊆ wss 3907   ∩ cin 4099   ∪ cun 4159
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-or 862  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-in 4101  df-un 4161
This theorem is used by:  uniintsn  4958
  Copyright terms: Public domain W3C validator