ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  dmcosseq GIF version

Theorem dmcosseq 4875
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 4873 . . 3 dom (𝐴𝐵) ⊆ dom 𝐵
21a1i 9 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴𝐵) ⊆ dom 𝐵)
3 ssel 3136 . . . . . . . 8 (ran 𝐵 ⊆ dom 𝐴 → (𝑦 ∈ ran 𝐵𝑦 ∈ dom 𝐴))
4 vex 2729 . . . . . . . . . . 11 𝑦 ∈ V
54elrn 4847 . . . . . . . . . 10 (𝑦 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑦)
64eldm 4801 . . . . . . . . . 10 (𝑦 ∈ dom 𝐴 ↔ ∃𝑧 𝑦𝐴𝑧)
75, 6imbi12i 238 . . . . . . . . 9 ((𝑦 ∈ ran 𝐵𝑦 ∈ dom 𝐴) ↔ (∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
8 19.8a 1578 . . . . . . . . . . 11 (𝑥𝐵𝑦 → ∃𝑥 𝑥𝐵𝑦)
98imim1i 60 . . . . . . . . . 10 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
10 pm3.2 138 . . . . . . . . . . 11 (𝑥𝐵𝑦 → (𝑦𝐴𝑧 → (𝑥𝐵𝑦𝑦𝐴𝑧)))
1110eximdv 1868 . . . . . . . . . 10 (𝑥𝐵𝑦 → (∃𝑧 𝑦𝐴𝑧 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
129, 11sylcom 28 . . . . . . . . 9 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
137, 12sylbi 120 . . . . . . . 8 ((𝑦 ∈ ran 𝐵𝑦 ∈ dom 𝐴) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
143, 13syl 14 . . . . . . 7 (ran 𝐵 ⊆ dom 𝐴 → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
1514eximdv 1868 . . . . . 6 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑦𝑧(𝑥𝐵𝑦𝑦𝐴𝑧)))
16 excom 1652 . . . . . 6 (∃𝑧𝑦(𝑥𝐵𝑦𝑦𝐴𝑧) ↔ ∃𝑦𝑧(𝑥𝐵𝑦𝑦𝐴𝑧))
1715, 16syl6ibr 161 . . . . 5 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧𝑦(𝑥𝐵𝑦𝑦𝐴𝑧)))
18 vex 2729 . . . . . . 7 𝑥 ∈ V
19 vex 2729 . . . . . . 7 𝑧 ∈ V
2018, 19opelco 4776 . . . . . 6 (⟨𝑥, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑦(𝑥𝐵𝑦𝑦𝐴𝑧))
2120exbii 1593 . . . . 5 (∃𝑧𝑥, 𝑧⟩ ∈ (𝐴𝐵) ↔ ∃𝑧𝑦(𝑥𝐵𝑦𝑦𝐴𝑧))
2217, 21syl6ibr 161 . . . 4 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧𝑥, 𝑧⟩ ∈ (𝐴𝐵)))
2318eldm 4801 . . . 4 (𝑥 ∈ dom 𝐵 ↔ ∃𝑦 𝑥𝐵𝑦)
2418eldm2 4802 . . . 4 (𝑥 ∈ dom (𝐴𝐵) ↔ ∃𝑧𝑥, 𝑧⟩ ∈ (𝐴𝐵))
2522, 23, 243imtr4g 204 . . 3 (ran 𝐵 ⊆ dom 𝐴 → (𝑥 ∈ dom 𝐵𝑥 ∈ dom (𝐴𝐵)))
2625ssrdv 3148 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom 𝐵 ⊆ dom (𝐴𝐵))
272, 26eqssd 3159 1 (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴𝐵) = dom 𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1343  wex 1480  wcel 2136  wss 3116  cop 3579   class class class wbr 3982  dom cdm 4604  ran crn 4605  ccom 4608
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-v 2728  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615
This theorem is referenced by:  dmcoeq  4876  fnco  5296
  Copyright terms: Public domain W3C validator