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

Theorem iuncom4 4528
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 2918 . . . . . . 7 (∃𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(𝑧𝐵𝑦𝑧))
21rexbii 3041 . . . . . 6 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧))
3 rexcom4 3225 . . . . . 6 (∃𝑥𝐴𝑧(𝑧𝐵𝑦𝑧) ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
42, 3bitri 264 . . . . 5 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧))
5 r19.41v 3089 . . . . . 6 (∃𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
65exbii 1774 . . . . 5 (∃𝑧𝑥𝐴 (𝑧𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
74, 6bitri 264 . . . 4 (∃𝑥𝐴𝑧𝐵 𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
8 eluni2 4440 . . . . 5 (𝑦 𝐵 ↔ ∃𝑧𝐵 𝑦𝑧)
98rexbii 3041 . . . 4 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑥𝐴𝑧𝐵 𝑦𝑧)
10 df-rex 2918 . . . . 5 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧))
11 eliun 4524 . . . . . . 7 (𝑧 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑧𝐵)
1211anbi1i 731 . . . . . 6 ((𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ (∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1312exbii 1774 . . . . 5 (∃𝑧(𝑧 𝑥𝐴 𝐵𝑦𝑧) ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
1410, 13bitri 264 . . . 4 (∃𝑧 𝑥𝐴 𝐵𝑦𝑧 ↔ ∃𝑧(∃𝑥𝐴 𝑧𝐵𝑦𝑧))
157, 9, 143bitr4i 292 . . 3 (∃𝑥𝐴 𝑦 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
16 eliun 4524 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦 𝐵)
17 eluni2 4440 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑧 𝑥𝐴 𝐵𝑦𝑧)
1815, 16, 173bitr4i 292 . 2 (𝑦 𝑥𝐴 𝐵𝑦 𝑥𝐴 𝐵)
1918eqriv 2619 1 𝑥𝐴 𝐵 = 𝑥𝐴 𝐵
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1483  wex 1704  wcel 1990  wrex 2913   cuni 4436   ciun 4520
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-v 3202  df-uni 4437  df-iun 4522
This theorem is referenced by:  ituniiun  9244  tgidm  20784  txcmplem2  21445
  Copyright terms: Public domain W3C validator