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

Theorem dmcosseq 5882
Description: Domain of a composition. (Contributed by NM, 28-May-1998.) (Proof shortened by Andrew Salmon, 27-Aug-2011.)
Assertion
Ref Expression
dmcosseq (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴𝐵) = dom 𝐵)

Proof of Theorem dmcosseq
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmcoss 5880 . . 3 dom (𝐴𝐵) ⊆ dom 𝐵
21a1i 11 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴𝐵) ⊆ dom 𝐵)
3 ssel 3914 . . . . . . . 8 (ran 𝐵 ⊆ dom 𝐴 → (𝑦 ∈ ran 𝐵𝑦 ∈ dom 𝐴))
4 vex 3436 . . . . . . . . . . 11 𝑦 ∈ V
54elrn 5802 . . . . . . . . . 10 (𝑦 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑦)
64eldm 5809 . . . . . . . . . 10 (𝑦 ∈ dom 𝐴 ↔ ∃𝑧 𝑦𝐴𝑧)
75, 6imbi12i 351 . . . . . . . . 9 ((𝑦 ∈ ran 𝐵𝑦 ∈ dom 𝐴) ↔ (∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
8 19.8a 2174 . . . . . . . . . . 11 (𝑥𝐵𝑦 → ∃𝑥 𝑥𝐵𝑦)
98imim1i 63 . . . . . . . . . 10 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
10 pm3.2 470 . . . . . . . . . . 11 (𝑥𝐵𝑦 → (𝑦𝐴𝑧 → (𝑥𝐵𝑦𝑦𝐴𝑧)))
1110eximdv 1920 . . . . . . . . . 10 (𝑥𝐵𝑦 → (∃𝑧 𝑦𝐴𝑧 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
129, 11sylcom 30 . . . . . . . . 9 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
137, 12sylbi 216 . . . . . . . 8 ((𝑦 ∈ ran 𝐵𝑦 ∈ dom 𝐴) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
143, 13syl 17 . . . . . . 7 (ran 𝐵 ⊆ dom 𝐴 → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
1514eximdv 1920 . . . . . 6 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑦𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
16 excom 2162 . . . . . 6 (∃𝑧𝑦(𝑥𝐵𝑦𝑦𝐴𝑧) ↔ ∃𝑦𝑧(𝑥𝐵𝑦𝑦𝐴𝑧))
1715, 16syl6ibr 251 . . . . 5 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧𝑦(𝑥𝐵𝑦𝑦𝐴𝑧)))
18 vex 3436 . . . . . . 7 𝑥 ∈ V
19 vex 3436 . . . . . . 7 𝑧 ∈ V
2018, 19opelco 5780 . . . . . 6 (⟨𝑥, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑦(𝑥𝐵𝑦𝑦𝐴𝑧))
2120exbii 1850 . . . . 5 (∃𝑧𝑥, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑧𝑦(𝑥𝐵𝑦𝑦𝐴𝑧))
2217, 21syl6ibr 251 . . . 4 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧𝑥, 𝑧⟩ ∈ (𝐴𝐵)))
2318eldm 5809 . . . 4 (𝑥 ∈ dom 𝐵 ↔ ∃𝑦 𝑥𝐵𝑦)
2418eldm2 5810 . . . 4 (𝑥 ∈ dom (𝐴𝐵) ↔ ∃𝑧𝑥, 𝑧⟩ ∈ (𝐴𝐵))
2522, 23, 243imtr4g 296 . . 3 (ran 𝐵 ⊆ dom 𝐴 → (𝑥 ∈ dom 𝐵𝑥 ∈ dom (𝐴𝐵)))
2625ssrdv 3927 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom 𝐵 ⊆ dom (𝐴𝐵))
272, 26eqssd 3938 1 (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴𝐵) = dom 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wex 1782  wcel 2106  wss 3887  cop 4567   class class class wbr 5074  dom cdm 5589  ran crn 5590  ccom 5593
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600
This theorem is referenced by:  dmcoeq  5883  fncoOLD  6550  cycpmconjv  31409  dmcoss3  36571  comptiunov2i  41314  dvsinax  43454  hoicvr  44086  fnresfnco  44535
  Copyright terms: Public domain W3C validator