Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  coiun1 Structured version   Visualization version   GIF version

Theorem coiun1 44973
Description: Composition with an indexed union. Proof analogous to that of coiun 6276. (Contributed by RP, 20-Jun-2020.)
Assertion
Ref Expression
coiun1 (∪ 𝑥 ∈ 𝐶 𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵)
Distinct variable group:   𝑥,𝐵
Allowed substitution hints:   𝐴(𝑥)   𝐶(𝑥)

Proof of Theorem coiun1
Dummy variables 𝑦 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 6121 . 2 Rel (∪ 𝑥 ∈ 𝐶 𝐴 ∘ 𝐵)
2 reliun 5802 . . 3 (Rel ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵) ↔ ∀𝑥 ∈ 𝐶 Rel (𝐴 ∘ 𝐵))
3 relco 6121 . . . 4 Rel (𝐴 ∘ 𝐵)
43a1i 11 . . 3 (𝑥 ∈ 𝐶 → Rel (𝐴 ∘ 𝐵))
52, 4mprgbir 3090 . 2 Rel ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵)
6 eliun 4959 . . . . . . . 8 (⟨𝑤, 𝑧⟩ ∈ ∪ 𝑥 ∈ 𝐶 𝐴 ↔ ∃𝑥 ∈ 𝐶 ⟨𝑤, 𝑧⟩ ∈ 𝐴)
7 df-br 5108 . . . . . . . 8 (𝑤∪ 𝑥 ∈ 𝐶 𝐴𝑧 ↔ ⟨𝑤, 𝑧⟩ ∈ ∪ 𝑥 ∈ 𝐶 𝐴)
8 df-br 5108 . . . . . . . . 9 (𝑤𝐴𝑧 ↔ ⟨𝑤, 𝑧⟩ ∈ 𝐴)
98rexbii 3116 . . . . . . . 8 (∃𝑥 ∈ 𝐶 𝑤𝐴𝑧 ↔ ∃𝑥 ∈ 𝐶 ⟨𝑤, 𝑧⟩ ∈ 𝐴)
106, 7, 93bitr4i 306 . . . . . . 7 (𝑤∪ 𝑥 ∈ 𝐶 𝐴𝑧 ↔ ∃𝑥 ∈ 𝐶 𝑤𝐴𝑧)
1110anbi2i 635 . . . . . 6 ((𝑦𝐵𝑤 ∧ 𝑤∪ 𝑥 ∈ 𝐶 𝐴𝑧) ↔ (𝑦𝐵𝑤 ∧ ∃𝑥 ∈ 𝐶 𝑤𝐴𝑧))
12 r19.42v 3201 . . . . . 6 (∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ (𝑦𝐵𝑤 ∧ ∃𝑥 ∈ 𝐶 𝑤𝐴𝑧))
1311, 12bitr4i 281 . . . . 5 ((𝑦𝐵𝑤 ∧ 𝑤∪ 𝑥 ∈ 𝐶 𝐴𝑧) ↔ ∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
1413exbii 1883 . . . 4 (∃𝑤(𝑦𝐵𝑤 ∧ 𝑤∪ 𝑥 ∈ 𝐶 𝐴𝑧) ↔ ∃𝑤∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
15 rexcom4 3293 . . . 4 (∃𝑥 ∈ 𝐶 ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧) ↔ ∃𝑤∃𝑥 ∈ 𝐶 (𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
1614, 15bitr4i 281 . . 3 (∃𝑤(𝑦𝐵𝑤 ∧ 𝑤∪ 𝑥 ∈ 𝐶 𝐴𝑧) ↔ ∃𝑥 ∈ 𝐶 ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
17 vex 3457 . . . 4 𝑦 ∈ V
18 vex 3457 . . . 4 𝑧 ∈ V
1917, 18opelco 5860 . . 3 (⟨𝑦, 𝑧⟩ ∈ (∪ 𝑥 ∈ 𝐶 𝐴 ∘ 𝐵) ↔ ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤∪ 𝑥 ∈ 𝐶 𝐴𝑧))
20 eliun 4959 . . . 4 (⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵) ↔ ∃𝑥 ∈ 𝐶 ⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵))
2117, 18opelco 5860 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
2221rexbii 3116 . . . 4 (∃𝑥 ∈ 𝐶 ⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑥 ∈ 𝐶 ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
2320, 22bitri 278 . . 3 (⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵) ↔ ∃𝑥 ∈ 𝐶 ∃𝑤(𝑦𝐵𝑤 ∧ 𝑤𝐴𝑧))
2416, 19, 233bitr4i 306 . 2 (⟨𝑦, 𝑧⟩ ∈ (∪ 𝑥 ∈ 𝐶 𝐴 ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵))
251, 5, 24eqrelriiv 5774 1 (∪ 𝑥 ∈ 𝐶 𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ 𝐶 (𝐴 ∘ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2150  ∃wrex 3093  ⟨cop 4839  ∪ ciun 4955   class class class wbr 5107   ∘ ccom 5661  Rel wrel 5662
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-11 2200  ax-ext 2738  ax-sep 5254  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-iun 4957  df-br 5108  df-opab 5173  df-xp 5663  df-rel 5664  df-co 5666
This theorem is used by:  trclfvcom  45044  trclfvdecomr  45049  cotrclrcl  45063
  Copyright terms: Public domain W3C validator