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

Theorem iunxiun 4544
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 4460 . . . . . . . 8 (𝑥 𝑦𝐴 𝐵 ↔ ∃𝑦𝐴 𝑥𝐵)
21anbi1i 727 . . . . . . 7 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
3 r19.41v 3070 . . . . . . 7 (∃𝑦𝐴 (𝑥𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
42, 3bitr4i 266 . . . . . 6 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴 (𝑥𝐵𝑧𝐶))
54exbii 1764 . . . . 5 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
6 rexcom4 3198 . . . . 5 (∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
75, 6bitr4i 266 . . . 4 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
8 df-rex 2902 . . . 4 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶))
9 eliun 4460 . . . . . 6 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥𝐵 𝑧𝐶)
10 df-rex 2902 . . . . . 6 (∃𝑥𝐵 𝑧𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
119, 10bitri 263 . . . . 5 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
1211rexbii 3023 . . . 4 (∃𝑦𝐴 𝑧 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
137, 8, 123bitr4i 291 . . 3 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
14 eliun 4460 . . 3 (𝑧 𝑥 𝑦𝐴 𝐵𝐶 ↔ ∃𝑥 𝑦𝐴 𝐵𝑧𝐶)
15 eliun 4460 . . 3 (𝑧 𝑦𝐴 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
1613, 14, 153bitr4i 291 . 2 (𝑧 𝑥 𝑦𝐴 𝐵𝐶𝑧 𝑦𝐴 𝑥𝐵 𝐶)
1716eqriv 2607 1 𝑥 𝑦𝐴 𝐵𝐶 = 𝑦𝐴 𝑥𝐵 𝐶
Colors of variables: wff setvar class
Syntax hints:  wa 383   = wceq 1475  wex 1695  wcel 1977  wrex 2897   ciun 4455
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175  df-iun 4457
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator