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

Theorem dfco2a 6101
Description: Generalization of dfco2 6100, 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 6100 . 2 (𝐴𝐵) = 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
2 vex 3499 . . . . . . . . . . . . . . 15 𝑧 ∈ V
32eliniseg 5960 . . . . . . . . . . . . . 14 (𝑥 ∈ V → (𝑧 ∈ (𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥))
43elv 3501 . . . . . . . . . . . . 13 (𝑧 ∈ (𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥)
5 vex 3499 . . . . . . . . . . . . . 14 𝑥 ∈ V
62, 5brelrn 5814 . . . . . . . . . . . . 13 (𝑧𝐵𝑥𝑥 ∈ ran 𝐵)
74, 6sylbi 219 . . . . . . . . . . . 12 (𝑧 ∈ (𝐵 “ {𝑥}) → 𝑥 ∈ ran 𝐵)
8 vex 3499 . . . . . . . . . . . . . 14 𝑤 ∈ V
95, 8elimasn 5956 . . . . . . . . . . . . 13 (𝑤 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐴)
105, 8opeldm 5778 . . . . . . . . . . . . 13 (⟨𝑥, 𝑤⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
119, 10sylbi 219 . . . . . . . . . . . 12 (𝑤 ∈ (𝐴 “ {𝑥}) → 𝑥 ∈ dom 𝐴)
127, 11anim12ci 615 . . . . . . . . . . 11 ((𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥})) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1312adantl 484 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1413exlimivv 1933 . . . . . . . . 9 (∃𝑧𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
15 elxp 5580 . . . . . . . . 9 (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑧𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))))
16 elin 4171 . . . . . . . . 9 (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) ↔ (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1714, 15, 163imtr4i 294 . . . . . . . 8 (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥 ∈ (dom 𝐴 ∩ ran 𝐵))
18 ssel 3963 . . . . . . . 8 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) → 𝑥𝐶))
1917, 18syl5 34 . . . . . . 7 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥𝐶))
2019pm4.71rd 565 . . . . . 6 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
2120exbidv 1922 . . . . 5 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
22 rexv 3522 . . . . 5 (∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
23 df-rex 3146 . . . . 5 (∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2421, 22, 233bitr4g 316 . . . 4 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
25 eliun 4925 . . . 4 (𝑦 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
26 eliun 4925 . . . 4 (𝑦 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
2724, 25, 263bitr4g 316 . . 3 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ 𝑦 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2827eqrdv 2821 . 2 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) = 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
291, 28syl5eq 2870 1 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝐴𝐵) = 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wex 1780  wcel 2114  wrex 3141  Vcvv 3496  cin 3937  wss 3938  {csn 4569  cop 4575   ciun 4921   class class class wbr 5068   × cxp 5555  ccnv 5556  dom cdm 5557  ran crn 5558  cima 5560  ccom 5561
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-iun 4923  df-br 5069  df-opab 5131  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570
This theorem is referenced by:  fparlem3  7811  fparlem4  7812
  Copyright terms: Public domain W3C validator