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

Theorem dfco2a 6249
Description: Generalization of dfco2 6248, 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 6248 . 2 (𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
2 vex 3454 . . . . . . . . . . . . . . 15 𝑧 ∈ V
32eliniseg 6093 . . . . . . . . . . . . . 14 (𝑥 ∈ V → (𝑧 ∈ (◡𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥))
43elv 3455 . . . . . . . . . . . . 13 (𝑧 ∈ (◡𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥)
5 vex 3454 . . . . . . . . . . . . . 14 𝑥 ∈ V
62, 5brelrn 5924 . . . . . . . . . . . . 13 (𝑧𝐵𝑥 → 𝑥 ∈ ran 𝐵)
74, 6sylbi 220 . . . . . . . . . . . 12 (𝑧 ∈ (◡𝐵 “ {𝑥}) → 𝑥 ∈ ran 𝐵)
8 vex 3454 . . . . . . . . . . . . . 14 𝑤 ∈ V
95, 8elimasn 6089 . . . . . . . . . . . . 13 (𝑤 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐴)
105, 8opeldm 5889 . . . . . . . . . . . . 13 (⟨𝑥, 𝑤⟩ ∈ 𝐴 → 𝑥 ∈ dom 𝐴)
119, 10sylbi 220 . . . . . . . . . . . 12 (𝑤 ∈ (𝐴 “ {𝑥}) → 𝑥 ∈ dom 𝐴)
127, 11anim12ci 626 . . . . . . . . . . 11 ((𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥})) → (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
1312adantl 487 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
1413exlimivv 1964 . . . . . . . . 9 (∃𝑧∃𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
15 elxp 5673 . . . . . . . . 9 (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑧∃𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))))
16 elin 4092 . . . . . . . . 9 (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) ↔ (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
1714, 15, 163imtr4i 295 . . . . . . . 8 (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥 ∈ (dom 𝐴 ∩ ran 𝐵))
18 ssel 3903 . . . . . . . 8 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) → 𝑥 ∈ 𝐶))
1917, 18syl5 35 . . . . . . 7 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥 ∈ 𝐶))
2019pm4.71rd 572 . . . . . 6 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
2120exbidv 1953 . . . . 5 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥 ∈ 𝐶 ∧ 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
22 rexv 3477 . . . . 5 (∃𝑥 ∈ V 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
23 df-rex 3087 . . . . 5 (∃𝑥 ∈ 𝐶 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥 ∈ 𝐶 ∧ 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2421, 22, 233bitr4g 317 . . . 4 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 ∈ V 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ 𝐶 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
25 eliun 4954 . . . 4 (𝑦 ∈ ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ V 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
26 eliun 4954 . . . 4 (𝑦 ∈ ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ 𝐶 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
2724, 25, 263bitr4g 317 . . 3 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ 𝑦 ∈ ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2827eqrdv 2758 . 2 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) = ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
291, 28eqtrid 2807 1 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∃wrex 3086  Vcvv 3450   ⊆ wss 3896   ∩ cin 4088  {csn 4584  ⟨cop 4834  ∪ ciun 4950   class class class wbr 5102   × cxp 5648  ◡ccnv 5649  dom cdm 5650  ran crn 5651   “ cima 5653   ∘ ccom 5654
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 5390
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 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663
This theorem is used by:  fparlem3  8129  fparlem4  8130
  Copyright terms: Public domain W3C validator