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

Theorem iunxiun 5021
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 4925 . . . . . . . 8 (𝑥 𝑦𝐴 𝐵 ↔ ∃𝑦𝐴 𝑥𝐵)
21anbi1i 625 . . . . . . 7 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
3 r19.41v 3349 . . . . . . 7 (∃𝑦𝐴 (𝑥𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
42, 3bitr4i 280 . . . . . 6 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴 (𝑥𝐵𝑧𝐶))
54exbii 1848 . . . . 5 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
6 rexcom4 3251 . . . . 5 (∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
75, 6bitr4i 280 . . . 4 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
8 df-rex 3146 . . . 4 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶))
9 eliun 4925 . . . . . 6 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥𝐵 𝑧𝐶)
10 df-rex 3146 . . . . . 6 (∃𝑥𝐵 𝑧𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
119, 10bitri 277 . . . . 5 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
1211rexbii 3249 . . . 4 (∃𝑦𝐴 𝑧 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
137, 8, 123bitr4i 305 . . 3 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
14 eliun 4925 . . 3 (𝑧 𝑥 𝑦𝐴 𝐵𝐶 ↔ ∃𝑥 𝑦𝐴 𝐵𝑧𝐶)
15 eliun 4925 . . 3 (𝑧 𝑦𝐴 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
1613, 14, 153bitr4i 305 . 2 (𝑧 𝑥 𝑦𝐴 𝐵𝐶𝑧 𝑦𝐴 𝑥𝐵 𝐶)
1716eqriv 2820 1 𝑥 𝑦𝐴 𝐵𝐶 = 𝑦𝐴 𝑥𝐵 𝐶
Colors of variables: wff setvar class
Syntax hints:  wa 398   = wceq 1537  wex 1780  wcel 2114  wrex 3141   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-iun 4923
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator