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

Theorem iuncom4 4929
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 3069 . . . . . . 7 (∃𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(𝑧𝐵𝑦𝑧))
21rexbii 3177 . . . . . 6 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧))
3 rexcom4 3179 . . . . . 6 (∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧) ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
42, 3bitri 274 . . . . 5 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
5 r19.41v 3273 . . . . . 6 (∃𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
65exbii 1851 . . . . 5 (∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
74, 6bitri 274 . . . 4 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
8 eluni2 4840 . . . . 5 (𝑦 𝐵 ↔ ∃𝑧𝐵 𝑦𝑧)
98rexbii 3177 . . . 4 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑥𝐴𝑧𝐵 𝑦𝑧)
10 df-rex 3069 . . . . 5 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧))
11 eliun 4925 . . . . . . 7 (𝑧 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑧𝐵)
1211anbi1i 623 . . . . . 6 ((𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1312exbii 1851 . . . . 5 (∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1410, 13bitri 274 . . . 4 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
157, 9, 143bitr4i 302 . . 3 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
16 eliun 4925 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦 𝐵)
17 eluni2 4840 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
1815, 16, 173bitr4i 302 . 2 (𝑦 𝑥𝐴 𝐵𝑦 𝑥𝐴 𝐵)
1918eqriv 2735 1 𝑥𝐴 𝐵 = 𝑥𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wex 1783  wcel 2108  wrex 3064   cuni 4836   ciun 4921
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-v 3424  df-uni 4837  df-iun 4923
This theorem is referenced by:  ituniiun  10109  tgidm  22038  txcmplem2  22701
  Copyright terms: Public domain W3C validator