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

Theorem iunxiun 4608
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 4524 . . . . . . . 8 (𝑥 𝑦𝐴 𝐵 ↔ ∃𝑦𝐴 𝑥𝐵)
21anbi1i 731 . . . . . . 7 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
3 r19.41v 3089 . . . . . . 7 (∃𝑦𝐴 (𝑥𝐵𝑧𝐶) ↔ (∃𝑦𝐴 𝑥𝐵𝑧𝐶))
42, 3bitr4i 267 . . . . . 6 ((𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴 (𝑥𝐵𝑧𝐶))
54exbii 1774 . . . . 5 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
6 rexcom4 3225 . . . . 5 (∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶) ↔ ∃𝑥𝑦𝐴 (𝑥𝐵𝑧𝐶))
75, 6bitr4i 267 . . . 4 (∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶) ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
8 df-rex 2918 . . . 4 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑥(𝑥 𝑦𝐴 𝐵𝑧𝐶))
9 eliun 4524 . . . . . 6 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥𝐵 𝑧𝐶)
10 df-rex 2918 . . . . . 6 (∃𝑥𝐵 𝑧𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
119, 10bitri 264 . . . . 5 (𝑧 𝑥𝐵 𝐶 ↔ ∃𝑥(𝑥𝐵𝑧𝐶))
1211rexbii 3041 . . . 4 (∃𝑦𝐴 𝑧 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴𝑥(𝑥𝐵𝑧𝐶))
137, 8, 123bitr4i 292 . . 3 (∃𝑥 𝑦𝐴 𝐵𝑧𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
14 eliun 4524 . . 3 (𝑧 𝑥 𝑦𝐴 𝐵𝐶 ↔ ∃𝑥 𝑦𝐴 𝐵𝑧𝐶)
15 eliun 4524 . . 3 (𝑧 𝑦𝐴 𝑥𝐵 𝐶 ↔ ∃𝑦𝐴 𝑧 𝑥𝐵 𝐶)
1613, 14, 153bitr4i 292 . 2 (𝑧 𝑥 𝑦𝐴 𝐵𝐶𝑧 𝑦𝐴 𝑥𝐵 𝐶)
1716eqriv 2619 1 𝑥 𝑦𝐴 𝐵𝐶 = 𝑦𝐴 𝑥𝐵 𝐶
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1483  wex 1704  wcel 1990  wrex 2913   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-iun 4522
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator