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

Theorem iuncom4 4932
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 3070 . . . . . . 7 (∃𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(𝑧𝐵𝑦𝑧))
21rexbii 3181 . . . . . 6 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧))
3 rexcom4 3233 . . . . . 6 (∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧) ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
42, 3bitri 274 . . . . 5 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
5 r19.41v 3276 . . . . . 6 (∃𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
65exbii 1850 . . . . 5 (∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
74, 6bitri 274 . . . 4 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
8 eluni2 4843 . . . . 5 (𝑦 𝐵 ↔ ∃𝑧𝐵 𝑦𝑧)
98rexbii 3181 . . . 4 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑥𝐴𝑧𝐵 𝑦𝑧)
10 df-rex 3070 . . . . 5 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧))
11 eliun 4928 . . . . . . 7 (𝑧 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑧𝐵)
1211anbi1i 624 . . . . . 6 ((𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1312exbii 1850 . . . . 5 (∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1410, 13bitri 274 . . . 4 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
157, 9, 143bitr4i 303 . . 3 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
16 eliun 4928 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦 𝐵)
17 eluni2 4843 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
1815, 16, 173bitr4i 303 . 2 (𝑦 𝑥𝐴 𝐵𝑦 𝑥𝐴 𝐵)
1918eqriv 2735 1 𝑥𝐴 𝐵 = 𝑥𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1539  wex 1782  wcel 2106  wrex 3065   cuni 4839   ciun 4924
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-v 3434  df-uni 4840  df-iun 4926
This theorem is referenced by:  ituniiun  10178  tgidm  22130  txcmplem2  22793
  Copyright terms: Public domain W3C validator