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

Theorem dfco2 6149
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 6148 . 2 Rel (𝐴𝐵)
2 reliun 5726 . . 3 (Rel 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∀𝑥 ∈ V Rel ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
3 relxp 5607 . . . 4 Rel ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
43a1i 11 . . 3 (𝑥 ∈ V → Rel ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
52, 4mprgbir 3079 . 2 Rel 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
6 opelco2g 5776 . . . 4 ((𝑦 ∈ V ∧ 𝑧 ∈ V) → (⟨𝑦, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴)))
76el2v 3440 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
8 eliun 4928 . . . 4 (⟨𝑦, 𝑧⟩ ∈ 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ V ⟨𝑦, 𝑧⟩ ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
9 rexv 3457 . . . 4 (∃𝑥 ∈ V ⟨𝑦, 𝑧⟩ ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥𝑦, 𝑧⟩ ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
10 opelxp 5625 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (𝑦 ∈ (𝐵 “ {𝑥}) ∧ 𝑧 ∈ (𝐴 “ {𝑥})))
11 vex 3436 . . . . . . . . 9 𝑥 ∈ V
12 vex 3436 . . . . . . . . 9 𝑦 ∈ V
1311, 12elimasn 5997 . . . . . . . 8 (𝑦 ∈ (𝐵 “ {𝑥}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)
1411, 12opelcnv 5790 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1513, 14bitri 274 . . . . . . 7 (𝑦 ∈ (𝐵 “ {𝑥}) ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
16 vex 3436 . . . . . . . 8 𝑧 ∈ V
1711, 16elimasn 5997 . . . . . . 7 (𝑧 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐴)
1815, 17anbi12i 627 . . . . . 6 ((𝑦 ∈ (𝐵 “ {𝑥}) ∧ 𝑧 ∈ (𝐴 “ {𝑥})) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
1910, 18bitri 274 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
2019exbii 1850 . . . 4 (∃𝑥𝑦, 𝑧⟩ ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
218, 9, 203bitrri 298 . . 3 (∃𝑥(⟨𝑦, 𝑥⟩ ∈ 𝐵 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
227, 21bitri 274 . 2 (⟨𝑦, 𝑧⟩ ∈ (𝐴𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
231, 5, 22eqrelriiv 5700 1 (𝐴𝐵) = 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wrex 3065  Vcvv 3432  {csn 4561  cop 4567   ciun 4924   × cxp 5587  ccnv 5588  cima 5592  ccom 5593  Rel wrel 5594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-iun 4926  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602
This theorem is referenced by:  dfco2a  6150
  Copyright terms: Public domain W3C validator