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

Theorem dfco2a 6139
Description: Generalization of dfco2 6138, where 𝐶 can have any value between dom 𝐴 ∩ ran 𝐵 and V. (Contributed by NM, 21-Dec-2008.) (Proof shortened by Andrew Salmon, 27-Aug-2011.)
Assertion
Ref Expression
dfco2a ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝐴𝐵) = 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶

Proof of Theorem dfco2a
Dummy variables 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfco2 6138 . 2 (𝐴𝐵) = 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
2 vex 3426 . . . . . . . . . . . . . . 15 𝑧 ∈ V
32eliniseg 5991 . . . . . . . . . . . . . 14 (𝑥 ∈ V → (𝑧 ∈ (𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥))
43elv 3428 . . . . . . . . . . . . 13 (𝑧 ∈ (𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥)
5 vex 3426 . . . . . . . . . . . . . 14 𝑥 ∈ V
62, 5brelrn 5840 . . . . . . . . . . . . 13 (𝑧𝐵𝑥𝑥 ∈ ran 𝐵)
74, 6sylbi 216 . . . . . . . . . . . 12 (𝑧 ∈ (𝐵 “ {𝑥}) → 𝑥 ∈ ran 𝐵)
8 vex 3426 . . . . . . . . . . . . . 14 𝑤 ∈ V
95, 8elimasn 5986 . . . . . . . . . . . . 13 (𝑤 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐴)
105, 8opeldm 5805 . . . . . . . . . . . . 13 (⟨𝑥, 𝑤⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
119, 10sylbi 216 . . . . . . . . . . . 12 (𝑤 ∈ (𝐴 “ {𝑥}) → 𝑥 ∈ dom 𝐴)
127, 11anim12ci 613 . . . . . . . . . . 11 ((𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥})) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1312adantl 481 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1413exlimivv 1936 . . . . . . . . 9 (∃𝑧𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
15 elxp 5603 . . . . . . . . 9 (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑧𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))))
16 elin 3899 . . . . . . . . 9 (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) ↔ (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1714, 15, 163imtr4i 291 . . . . . . . 8 (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥 ∈ (dom 𝐴 ∩ ran 𝐵))
18 ssel 3910 . . . . . . . 8 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) → 𝑥𝐶))
1917, 18syl5 34 . . . . . . 7 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥𝐶))
2019pm4.71rd 562 . . . . . 6 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
2120exbidv 1925 . . . . 5 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
22 rexv 3447 . . . . 5 (∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
23 df-rex 3069 . . . . 5 (∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2421, 22, 233bitr4g 313 . . . 4 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
25 eliun 4925 . . . 4 (𝑦 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
26 eliun 4925 . . . 4 (𝑦 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
2724, 25, 263bitr4g 313 . . 3 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ 𝑦 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2827eqrdv 2736 . 2 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) = 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
291, 28eqtrid 2790 1 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝐴𝐵) = 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wrex 3064  Vcvv 3422  cin 3882  wss 3883  {csn 4558  cop 4564   ciun 4921   class class class wbr 5070   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  cima 5583  ccom 5584
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-iun 4923  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593
This theorem is referenced by:  fparlem3  7925  fparlem4  7926
  Copyright terms: Public domain W3C validator