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

Theorem dfco2a 6266
Description: Generalization of dfco2 6265, 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 6265 . 2 (𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))
2 vex 3458 . . . . . . . . . . . . . . 15 𝑧 ∈ V
32eliniseg 6110 . . . . . . . . . . . . . 14 (𝑥 ∈ V → (𝑧 ∈ (◡𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥))
43elv 3459 . . . . . . . . . . . . 13 (𝑧 ∈ (◡𝐵 “ {𝑥}) ↔ 𝑧𝐵𝑥)
5 vex 3458 . . . . . . . . . . . . . 14 𝑥 ∈ V
62, 5brelrn 5936 . . . . . . . . . . . . 13 (𝑧𝐵𝑥 → 𝑥 ∈ ran 𝐵)
74, 6sylbi 220 . . . . . . . . . . . 12 (𝑧 ∈ (◡𝐵 “ {𝑥}) → 𝑥 ∈ ran 𝐵)
8 vex 3458 . . . . . . . . . . . . . 14 𝑤 ∈ V
95, 8elimasn 6106 . . . . . . . . . . . . 13 (𝑤 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐴)
105, 8opeldm 5901 . . . . . . . . . . . . 13 (⟨𝑥, 𝑤⟩ ∈ 𝐴 → 𝑥 ∈ dom 𝐴)
119, 10sylbi 220 . . . . . . . . . . . 12 (𝑤 ∈ (𝐴 “ {𝑥}) → 𝑥 ∈ dom 𝐴)
127, 11anim12ci 626 . . . . . . . . . . 11 ((𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥})) → (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
1312adantl 487 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
1413exlimivv 1967 . . . . . . . . 9 (∃𝑧∃𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))) → (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
15 elxp 5681 . . . . . . . . 9 (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑧∃𝑤(𝑦 = ⟨𝑧, 𝑤⟩ ∧ (𝑧 ∈ (◡𝐵 “ {𝑥}) ∧ 𝑤 ∈ (𝐴 “ {𝑥}))))
16 elin 4096 . . . . . . . . 9 (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) ↔ (𝑥 ∈ dom 𝐴 ∧ 𝑥 ∈ ran 𝐵))
1714, 15, 163imtr4i 295 . . . . . . . 8 (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥 ∈ (dom 𝐴 ∩ ran 𝐵))
18 ssel 3907 . . . . . . . 8 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑥 ∈ (dom 𝐴 ∩ ran 𝐵) → 𝑥 ∈ 𝐶))
1917, 18syl5 35 . . . . . . 7 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) → 𝑥 ∈ 𝐶))
2019pm4.71rd 572 . . . . . 6 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
2120exbidv 1956 . . . . 5 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥 ∈ 𝐶 ∧ 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))))
22 rexv 3481 . . . . 5 (∃𝑥 ∈ V 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
23 df-rex 3091 . . . . 5 (∃𝑥 ∈ 𝐶 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥(𝑥 ∈ 𝐶 ∧ 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2421, 22, 233bitr4g 317 . . . 4 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (∃𝑥 ∈ V 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ 𝐶 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
25 eliun 4960 . . . 4 (𝑦 ∈ ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ V 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
26 eliun 4960 . . . 4 (𝑦 ∈ ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ ∃𝑥 ∈ 𝐶 𝑦 ∈ ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
2724, 25, 263bitr4g 317 . . 3 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝑦 ∈ ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) ↔ 𝑦 ∈ ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥}))))
2827eqrdv 2761 . 2 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → ∪ 𝑥 ∈ V ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})) = ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
291, 28eqtrid 2810 1 ((dom 𝐴 ∩ ran 𝐵) ⊆ 𝐶 → (𝐴 ∘ 𝐵) = ∪ 𝑥 ∈ 𝐶 ((◡𝐵 “ {𝑥}) × (𝐴 “ {𝑥})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900   ∩ cin 4092  {csn 4588  ⟨cop 4840  ∪ ciun 4956   class class class wbr 5108   × cxp 5656  ◡ccnv 5657  dom cdm 5658  ran crn 5659   “ cima 5661   ∘ ccom 5662
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-11 2197  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-iun 4958  df-br 5109  df-opab 5174  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671
This theorem is used by:  fparlem3  8162  fparlem4  8163
  Copyright terms: Public domain W3C validator