NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  uneqin GIF version

Theorem uneqin 3507
Description: Equality of union and intersection implies equality of their arguments. (Contributed by NM, 16-Apr-2006.) (Proof shortened by Andrew Salmon, 26-Jun-2011.)
Assertion
Ref Expression
uneqin ⊢ ((A ∪ B) = (A ∩ B) ↔ A = B)

Proof of Theorem uneqin
StepHypRef Expression
1 eqimss 3324 . . . 4 ⊢ ((A ∪ B) = (A ∩ B) → (A ∪ B) ⊆ (A ∩ B))
2 unss 3438 . . . . 5 ⊢ ((A ⊆ (A ∩ B) ∧ B ⊆ (A ∩ B)) ↔ (A ∪ B) ⊆ (A ∩ B))
3 ssin 3478 . . . . . . 7 ⊢ ((A ⊆ A ∧ A ⊆ B) ↔ A ⊆ (A ∩ B))
4 sstr 3281 . . . . . . 7 ⊢ ((A ⊆ A ∧ A ⊆ B) → A ⊆ B)
53, 4sylbir 204 . . . . . 6 ⊢ (A ⊆ (A ∩ B) → A ⊆ B)
6 ssin 3478 . . . . . . 7 ⊢ ((B ⊆ A ∧ B ⊆ B) ↔ B ⊆ (A ∩ B))
7 simpl 443 . . . . . . 7 ⊢ ((B ⊆ A ∧ B ⊆ B) → B ⊆ A)
86, 7sylbir 204 . . . . . 6 ⊢ (B ⊆ (A ∩ B) → B ⊆ A)
95, 8anim12i 549 . . . . 5 ⊢ ((A ⊆ (A ∩ B) ∧ B ⊆ (A ∩ B)) → (A ⊆ B ∧ B ⊆ A))
102, 9sylbir 204 . . . 4 ⊢ ((A ∪ B) ⊆ (A ∩ B) → (A ⊆ B ∧ B ⊆ A))
111, 10syl 15 . . 3 ⊢ ((A ∪ B) = (A ∩ B) → (A ⊆ B ∧ B ⊆ A))
12 eqss 3288 . . 3 ⊢ (A = B ↔ (A ⊆ B ∧ B ⊆ A))
1311, 12sylibr 203 . 2 ⊢ ((A ∪ B) = (A ∩ B) → A = B)
14 unidm 3408 . . . 4 ⊢ (A ∪ A) = A
15 inidm 3465 . . . 4 ⊢ (A ∩ A) = A
1614, 15eqtr4i 2376 . . 3 ⊢ (A ∪ A) = (A ∩ A)
17 uneq2 3413 . . 3 ⊢ (A = B → (A ∪ A) = (A ∪ B))
18 ineq2 3452 . . 3 ⊢ (A = B → (A ∩ A) = (A ∩ B))
1916, 17, 183eqtr3a 2409 . 2 ⊢ (A = B → (A ∪ B) = (A ∩ B))
2013, 19impbii 180 1 ⊢ ((A ∪ B) = (A ∩ B) ↔ A = B)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 176   ∧ wa 358   = wceq 1642   ∪ cun 3208   ∩ cin 3209   ⊆ wss 3258
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334
This proof depends on definitions:  df-bi 177  df-or 359  df-an 360  df-nan 1288  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2479  df-v 2862  df-nin 3212  df-compl 3213  df-in 3214  df-un 3215  df-ss 3260
This theorem is used by:  uniintsn  3964
  Copyright terms: Public domain W3C validator