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

Theorem coiun 6258
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 6104 . 2 Rel (𝐴 ∘ ∪ 𝑥 ∈ 𝐶 𝐵)
2 reliun 5794 . . 3 (Rel ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵) ↔ ∀𝑥 ∈ 𝐶 Rel (𝐴 ∘ 𝐵))
3 relco 6104 . . . 4 Rel (𝐴 ∘ 𝐵)
43a1i 11 . . 3 (𝑥 ∈ 𝐶 → Rel (𝐴 ∘ 𝐵))
52, 4mprgbir 3084 . 2 Rel ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵)
6 eliun 4955 . . . . . . . . 9 (⟨𝑦, 𝑤⟩ ∈ ∪ 𝑥 ∈ 𝐶 𝐵 ↔ ∃𝑥 ∈ 𝐶 ⟨𝑦, 𝑤⟩ ∈ 𝐵)
7 df-br 5104 . . . . . . . . 9 (𝑦∪ 𝑥 ∈ 𝐶 𝐵𝑤 ↔ ⟨𝑦, 𝑤⟩ ∈ ∪ 𝑥 ∈ 𝐶 𝐵)
8 df-br 5104 . . . . . . . . . 10 (𝑦𝐵𝑤 ↔ ⟨𝑦, 𝑤⟩ ∈ 𝐵)
98rexbii 3110 . . . . . . . . 9 (∃𝑥 ∈ 𝐶 𝑦𝐵𝑤 ↔ ∃𝑥 ∈ 𝐶 ⟨𝑦, 𝑤⟩ ∈ 𝐵)
106, 7, 93bitr4i 306 . . . . . . . 8 (𝑦∪ 𝑥 ∈ 𝐶 𝐵𝑤 ↔ ∃𝑥 ∈ 𝐶 𝑦𝐵𝑤)
1110anbi1i 636 . . . . . . 7 ((𝑦∪ 𝑥 ∈ 𝐶 𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ (∃𝑥 ∈ 𝐶 𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
12 r19.41v 3193 . . . . . . 7 (∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ (∃𝑥 ∈ 𝐶 𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
1311, 12bitr4i 281 . . . . . 6 ((𝑦∪ 𝑥 ∈ 𝐶 𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ ∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
1413exbii 1881 . . . . 5 (∃𝑤(𝑦∪ 𝑥 ∈ 𝐶 𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ ∃𝑤∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
15 rexcom4 3290 . . . . 5 (∃𝑥 ∈ 𝐶 ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ ∃𝑤∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
1614, 15bitr4i 281 . . . 4 (∃𝑤(𝑦∪ 𝑥 ∈ 𝐶 𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ ∃𝑥 ∈ 𝐶 ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
17 vex 3455 . . . . 5 𝑦 ∈ V
18 vex 3455 . . . . 5 𝑧 ∈ V
1917, 18opelco 5849 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ ∪ 𝑥 ∈ 𝐶 𝐵) ↔ ∃𝑤(𝑦∪ 𝑥 ∈ 𝐶 𝐵𝑤 ∧ 𝑤𝐴𝑧))
2017, 18opelco 5849 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
2120rexbii 3110 . . . 4 (∃𝑥 ∈ 𝐶 ⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑥 ∈ 𝐶 ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
2216, 19, 213bitr4i 306 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ ∪ 𝑥 ∈ 𝐶 𝐵) ↔ ∃𝑥 ∈ 𝐶 ⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵))
23 eliun 4955 . . 3 (⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵) ↔ ∃𝑥 ∈ 𝐶 ⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵))
2422, 23bitr4i 281 . 2 (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ ∪ 𝑥 ∈ 𝐶 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵))
251, 5, 24eqrelriiv 5766 1 (𝐴 ∘ ∪ 𝑥 ∈ 𝐶 𝐵) = ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∃wrex 3087  ⟨cop 4590  ∪ ciun 4951   class class class wbr 5103   ∘ ccom 5655  Rel wrel 5656
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-11 2194  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-iun 4953  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-co 5660
This theorem is used by:  fparlem3  8125  fparlem4  8126  trclrelexplem  44710  trclfvcom  44722
  Copyright terms: Public domain W3C validator