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

Theorem iunxiun 5022
Description: Separate an indexed union in the index of an indexed union. (Contributed by Mario Carneiro, 5-Dec-2016.)
Assertion
Ref Expression
iunxiun 𝑥 𝑦𝐴 𝐵𝐶 = 𝑦𝐴 𝑥𝐵 𝐶
Distinct variable groups:   𝑥,𝑦   𝑥,𝐴   𝑦,𝐶
Allowed substitution hints:   𝐴(𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥)

Proof of Theorem iunxiun
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eliun 4926 . . . . . . . 8 (𝑥 𝑦𝐴 𝐵 ↔ ∃𝑦𝐴 𝑥𝐵)
21anbi1i 625 . . . . . . 7 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
3 r19.41v 3350 . . . . . . 7 (∃𝑦𝐴 (𝑥𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
42, 3bitr4i 280 . . . . . 6 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴 (𝑥𝐵𝑧𝐶))
54exbii 1847 . . . . 5 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
6 rexcom4 3252 . . . . 5 (∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
75, 6bitr4i 280 . . . 4 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
8 df-rex 3147 . . . 4 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶))
9 eliun 4926 . . . . . 6 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥𝐵 𝑧𝐶)
10 df-rex 3147 . . . . . 6 (∃𝑥𝐵 𝑧𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
119, 10bitri 277 . . . . 5 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
1211rexbii 3250 . . . 4 (∃𝑦𝐴 𝑧 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
137, 8, 123bitr4i 305 . . 3 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
14 eliun 4926 . . 3 (𝑧 𝑥 𝑦𝐴 𝐵𝐶 ↔ ∃𝑥 𝑦𝐴 𝐵𝑧𝐶)
15 eliun 4926 . . 3 (𝑧 𝑦𝐴 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
1613, 14, 153bitr4i 305 . 2 (𝑧 𝑥 𝑦𝐴 𝐵𝐶𝑧 𝑦𝐴 𝑥𝐵 𝐶)
1716eqriv 2821 1 𝑥 𝑦𝐴 𝐵𝐶 = 𝑦𝐴 𝑥𝐵 𝐶
Colors of variables: wff setvar class
Syntax hints:  wa 398   = wceq 1536  wex 1779  wcel 2113  wrex 3142   ciun 4922
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ral 3146  df-rex 3147  df-v 3499  df-iun 4924
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator