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

Theorem coiun 5609
 Description: Composition with an indexed union. (Contributed by NM, 21-Dec-2008.)
Assertion
Ref Expression
coiun (𝐴 𝑥𝐶 𝐵) = 𝑥𝐶 (𝐴𝐵)
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)

Proof of Theorem coiun
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 5597 . 2 Rel (𝐴 𝑥𝐶 𝐵)
2 reliun 5205 . . 3 (Rel 𝑥𝐶 (𝐴𝐵) ↔ ∀𝑥𝐶 Rel (𝐴𝐵))
3 relco 5597 . . . 4 Rel (𝐴𝐵)
43a1i 11 . . 3 (𝑥𝐶 → Rel (𝐴𝐵))
52, 4mprgbir 2922 . 2 Rel 𝑥𝐶 (𝐴𝐵)
6 eliun 4495 . . . . . . . . 9 (⟨𝑦, 𝑤⟩ ∈ 𝑥𝐶 𝐵 ↔ ∃𝑥𝐶𝑦, 𝑤⟩ ∈ 𝐵)
7 df-br 4619 . . . . . . . . 9 (𝑦 𝑥𝐶 𝐵𝑤 ↔ ⟨𝑦, 𝑤⟩ ∈ 𝑥𝐶 𝐵)
8 df-br 4619 . . . . . . . . . 10 (𝑦𝐵𝑤 ↔ ⟨𝑦, 𝑤⟩ ∈ 𝐵)
98rexbii 3035 . . . . . . . . 9 (∃𝑥𝐶 𝑦𝐵𝑤 ↔ ∃𝑥𝐶𝑦, 𝑤⟩ ∈ 𝐵)
106, 7, 93bitr4i 292 . . . . . . . 8 (𝑦 𝑥𝐶 𝐵𝑤 ↔ ∃𝑥𝐶 𝑦𝐵𝑤)
1110anbi1i 730 . . . . . . 7 ((𝑦 𝑥𝐶 𝐵𝑤𝑤𝐴𝑧) ↔ (∃𝑥𝐶 𝑦𝐵𝑤𝑤𝐴𝑧))
12 r19.41v 3082 . . . . . . 7 (∃𝑥𝐶 (𝑦𝐵𝑤𝑤𝐴𝑧) ↔ (∃𝑥𝐶 𝑦𝐵𝑤𝑤𝐴𝑧))
1311, 12bitr4i 267 . . . . . 6 ((𝑦 𝑥𝐶 𝐵𝑤𝑤𝐴𝑧) ↔ ∃𝑥𝐶 (𝑦𝐵𝑤𝑤𝐴𝑧))
1413exbii 1771 . . . . 5 (∃𝑤(𝑦 𝑥𝐶 𝐵𝑤𝑤𝐴𝑧) ↔ ∃𝑤𝑥𝐶 (𝑦𝐵𝑤𝑤𝐴𝑧))
15 rexcom4 3214 . . . . 5 (∃𝑥𝐶𝑤(𝑦𝐵𝑤𝑤𝐴𝑧) ↔ ∃𝑤𝑥𝐶 (𝑦𝐵𝑤𝑤𝐴𝑧))
1614, 15bitr4i 267 . . . 4 (∃𝑤(𝑦 𝑥𝐶 𝐵𝑤𝑤𝐴𝑧) ↔ ∃𝑥𝐶𝑤(𝑦𝐵𝑤𝑤𝐴𝑧))
17 vex 3192 . . . . 5 𝑦 ∈ V
18 vex 3192 . . . . 5 𝑧 ∈ V
1917, 18opelco 5258 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐴 𝑥𝐶 𝐵) ↔ ∃𝑤(𝑦 𝑥𝐶 𝐵𝑤𝑤𝐴𝑧))
2017, 18opelco 5258 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑤(𝑦𝐵𝑤𝑤𝐴𝑧))
2120rexbii 3035 . . . 4 (∃𝑥𝐶𝑦, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑥𝐶𝑤(𝑦𝐵𝑤𝑤𝐴𝑧))
2216, 19, 213bitr4i 292 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐴 𝑥𝐶 𝐵) ↔ ∃𝑥𝐶𝑦, 𝑧⟩ ∈ (𝐴𝐵))
23 eliun 4495 . . 3 (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐶 (𝐴𝐵) ↔ ∃𝑥𝐶𝑦, 𝑧⟩ ∈ (𝐴𝐵))
2422, 23bitr4i 267 . 2 (⟨𝑦, 𝑧⟩ ∈ (𝐴 𝑥𝐶 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑥𝐶 (𝐴𝐵))
251, 5, 24eqrelriiv 5180 1 (𝐴 𝑥𝐶 𝐵) = 𝑥𝐶 (𝐴𝐵)
 Colors of variables: wff setvar class Syntax hints:   ∧ wa 384   = wceq 1480  ∃wex 1701   ∈ wcel 1987  ∃wrex 2908  ⟨cop 4159  ∪ ciun 4490   class class class wbr 4618   ∘ ccom 5083  Rel wrel 5084 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4746  ax-nul 4754  ax-pr 4872 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3191  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-iun 4492  df-br 4619  df-opab 4679  df-xp 5085  df-rel 5086  df-co 5088 This theorem is referenced by:  fparlem3  7231  fparlem4  7232  trclrelexplem  37519  trclfvcom  37531
 Copyright terms: Public domain W3C validator