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 3146 . . . . . . 7 (∃𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(𝑧𝐵𝑦𝑧))
21rexbii 3249 . . . . . 6 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧))
3 rexcom4 3251 . . . . . 6 (∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧) ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
42, 3bitri 277 . . . . 5 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
5 r19.41v 3349 . . . . . 6 (∃𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
65exbii 1848 . . . . 5 (∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
74, 6bitri 277 . . . 4 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
8 eluni2 4844 . . . . 5 (𝑦 𝐵 ↔ ∃𝑧𝐵 𝑦𝑧)
98rexbii 3249 . . . 4 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑥𝐴𝑧𝐵 𝑦𝑧)
10 df-rex 3146 . . . . 5 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧))
11 eliun 4925 . . . . . . 7 (𝑧 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑧𝐵)
1211anbi1i 625 . . . . . 6 ((𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1312exbii 1848 . . . . 5 (∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1410, 13bitri 277 . . . 4 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
157, 9, 143bitr4i 305 . . 3 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
16 eliun 4925 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦 𝐵)
17 eluni2 4844 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
1815, 16, 173bitr4i 305 . 2 (𝑦 𝑥𝐴 𝐵𝑦 𝑥𝐴 𝐵)
1918eqriv 2820 1 𝑥𝐴 𝐵 = 𝑥𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 398   = wceq 1537  wex 1780  wcel 2114  wrex 3141   cuni 4840   ciun 4921
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-v 3498  df-uni 4841  df-iun 4923
This theorem is referenced by:  ituniiun  9846  tgidm  21590  txcmplem2  22252
  Copyright terms: Public domain W3C validator