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

Theorem dfco2a 6090
Description: Generalization of dfco2 6089, 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 6089 . 2 (𝐴𝐵) = 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
2 vex 3402 . . . . . . . . . . . . . . 15 𝑧 ∈ V
32eliniseg 5943 . . . . . . . . . . . . . 14 (𝑥 ∈ V → (𝑧 ∈ (𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥))
43elv 3404 . . . . . . . . . . . . 13 (𝑧 ∈ (𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥)
5 vex 3402 . . . . . . . . . . . . . 14 𝑥 ∈ V
62, 5brelrn 5796 . . . . . . . . . . . . 13 (𝑧𝐵𝑥𝑥 ∈ ran 𝐵)
74, 6sylbi 220 . . . . . . . . . . . 12 (𝑧 ∈ (𝐵 “ {𝑥}) → 𝑥 ∈ ran 𝐵)
8 vex 3402 . . . . . . . . . . . . . 14 𝑤 ∈ V
95, 8elimasn 5939 . . . . . . . . . . . . 13 (𝑤 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐴)
105, 8opeldm 5761 . . . . . . . . . . . . 13 (⟨𝑥, 𝑤⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
119, 10sylbi 220 . . . . . . . . . . . 12 (𝑤 ∈ (𝐴 “ {𝑥}) → 𝑥 ∈ dom 𝐴)
127, 11anim12ci 617 . . . . . . . . . . 11 ((𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥})) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1312adantl 485 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1413exlimivv 1940 . . . . . . . . 9 (∃𝑧𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
15 elxp 5559 . . . . . . . . 9 (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑧𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))))
16 elin 3869 . . . . . . . . 9 (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) ↔ (𝑥 ∈ dom 𝐴𝑥 ∈ ran 𝐵))
1714, 15, 163imtr4i 295 . . . . . . . 8 (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥 ∈ (dom 𝐴 ∩ ran 𝐵))
18 ssel 3880 . . . . . . . 8 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) → 𝑥𝐶))
1917, 18syl5 34 . . . . . . 7 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥𝐶))
2019pm4.71rd 566 . . . . . 6 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
2120exbidv 1929 . . . . 5 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
22 rexv 3423 . . . . 5 (∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
23 df-rex 3057 . . . . 5 (∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥𝐶𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2421, 22, 233bitr4g 317 . . . 4 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
25 eliun 4894 . . . 4 (𝑦 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ V 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
26 eliun 4894 . . . 4 (𝑦 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥𝐶 𝑦 ∈ ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
2724, 25, 263bitr4g 317 . . 3 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ 𝑦 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2827eqrdv 2734 . 2 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 𝑥 ∈ V ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) = 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
291, 28syl5eq 2783 1 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝐴𝐵) = 𝑥𝐶 ((𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wex 1787  wcel 2112  wrex 3052  Vcvv 3398  cin 3852  wss 3853  {csn 4527  cop 4533   ciun 4890   class class class wbr 5039   × cxp 5534  ccnv 5535  dom cdm 5536  ran crn 5537  cima 5539  ccom 5540
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-iun 4892  df-br 5040  df-opab 5102  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549
This theorem is referenced by:  fparlem3  7860  fparlem4  7861
  Copyright terms: Public domain W3C validator