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

Theorem iuncom4 4959
Description: Commutation of union with indexed union. (Contributed by Mario Carneiro, 18-Jan-2014.)
Assertion
Ref Expression
iuncom4 ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 = ∪ ∪ 𝑥 ∈ 𝐴 𝐵

Proof of Theorem iuncom4
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-rex 3087 . . . . . . 7 (∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
21rexbii 3109 . . . . . 6 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝐴 ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
3 rexcom4 3289 . . . . . 6 (∃𝑥 ∈ 𝐴 ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
42, 3bitri 278 . . . . 5 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
5 r19.41v 3192 . . . . . 6 (∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
65exbii 1880 . . . . 5 (∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
74, 6bitri 278 . . . 4 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
8 eluni2 4870 . . . . 5 (𝑦 ∈ ∪ 𝐵 ↔ ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧)
98rexbii 3109 . . . 4 (∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵 ↔ ∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧)
10 df-rex 3087 . . . . 5 (∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧 ↔ ∃𝑧(𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧))
11 eliun 4954 . . . . . . 7 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
1211anbi1i 636 . . . . . 6 ((𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
1312exbii 1880 . . . . 5 (∃𝑧(𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
1410, 13bitri 278 . . . 4 (∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧 ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
157, 9, 143bitr4i 306 . . 3 (∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵 ↔ ∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧)
16 eliun 4954 . . 3 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵)
17 eluni2 4870 . . 3 (𝑦 ∈ ∪ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧)
1815, 16, 173bitr4i 306 . 2 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 ↔ 𝑦 ∈ ∪ ∪ 𝑥 ∈ 𝐴 𝐵)
1918eqriv 2757 1 ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 = ∪ ∪ 𝑥 ∈ 𝐴 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∃wrex 3086  ∪ cuni 4866  ∪ ciun 4950
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-11 2193  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rex 3087  df-v 3452  df-uni 4867  df-iun 4952
This theorem is used by:  ituniiun  10500  tgidm  23298  txcmplem2  23961
  Copyright terms: Public domain W3C validator