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

Theorem dfco2 6249
Description: Alternate definition of a class composition, using only one bound variable. (Contributed by NM, 19-Dec-2008.)
Assertion
Ref Expression
dfco2 (𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem dfco2
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 6106 . 2 Rel (𝐴 ∘ 𝐵)
2 reliun 5795 . . 3 (Rel ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∀𝑥 ∈ V Rel ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
3 relxp 5669 . . . 4 Rel ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
43a1i 11 . . 3 (𝑥 ∈ V → Rel ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
52, 4mprgbir 3083 . 2 Rel ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
6 opelco2g 5846 . . . 4 ((𝑦 ∈ V ∧ 𝑧 ∈ V) → (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴)))
76el2v 3457 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
8 eliun 4954 . . . 4 (⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ V ⟨𝑦, 𝑧⟩ ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
9 rexv 3477 . . . 4 (∃𝑥 ∈ V ⟨𝑦, 𝑧⟩ ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥⟨𝑦, 𝑧⟩ ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
10 opelxp 5687 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (𝑦 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑧 ∈ (𝐴 “ {𝑥})))
11 vex 3454 . . . . . . . . 9 𝑥 ∈ V
12 vex 3454 . . . . . . . . 9 𝑦 ∈ V
1311, 12elimasn 6090 . . . . . . . 8 (𝑦 ∈ (◡𝐵 “ {𝑥}) ↔ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵)
1411, 12opelcnv 5860 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ ◡𝐵 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1513, 14bitri 278 . . . . . . 7 (𝑦 ∈ (◡𝐵 “ {𝑥}) ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
16 vex 3454 . . . . . . . 8 𝑧 ∈ V
1711, 16elimasn 6090 . . . . . . 7 (𝑧 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐴)
1815, 17anbi12i 640 . . . . . 6 ((𝑦 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑧 ∈ (𝐴 “ {𝑥})) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
1910, 18bitri 278 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
2019exbii 1880 . . . 4 (∃𝑥⟨𝑦, 𝑧⟩ ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
218, 9, 203bitrri 301 . . 3 (∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) ↔ ⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
227, 21bitri 278 . 2 (⟨𝑦, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
231, 5, 22eqrelriiv 5767 1 (𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∃wrex 3086  Vcvv 3450  {csn 4584  ⟨cop 4834  ∪ ciun 4950   × cxp 5649  ◡ccnv 5650   “ cima 5654   ∘ ccom 5655  Rel wrel 5656
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-11 2193  ax-ext 2732  ax-sep 5248  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-iun 4952  df-br 5103  df-opab 5167  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664
This theorem is used by:  dfco2a  6250
  Copyright terms: Public domain W3C validator