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

Theorem dmcosseq 5960
Description: Domain of a composition. (Contributed by NM, 28-May-1998.) (Proof shortened by Andrew Salmon, 27-Aug-2011.) Avoid ax-11 2194. (Revised by BTernaryTau, 23-Jun-2025.) Avoid ax-10 2178 and ax-12 2213. (Revised by TM, 31-Dec-2025.)
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 5957 . . 3 dom (𝐴 ∘ 𝐵) ⊆ dom 𝐵
21a1i 11 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴 ∘ 𝐵) ⊆ dom 𝐵)
3 ssel 3925 . . . . . . . 8 (ran 𝐵 ⊆ dom 𝐴 → (𝑦 ∈ ran 𝐵 → 𝑦 ∈ dom 𝐴))
4 vex 3455 . . . . . . . . . . 11 𝑦 ∈ V
54elrn 5875 . . . . . . . . . 10 (𝑦 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑦)
64eldm 5882 . . . . . . . . . 10 (𝑦 ∈ dom 𝐴 ↔ ∃𝑧 𝑦𝐴𝑧)
75, 6imbi12i 353 . . . . . . . . 9 ((𝑦 ∈ ran 𝐵 → 𝑦 ∈ dom 𝐴) ↔ (∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
8 breq1 5106 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝑥𝐵𝑦 ↔ 𝑧𝐵𝑦))
9819.8aw 2085 . . . . . . . . . . 11 (𝑥𝐵𝑦 → ∃𝑥 𝑥𝐵𝑦)
109imim1i 64 . . . . . . . . . 10 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
11 pm3.2 475 . . . . . . . . . . 11 (𝑥𝐵𝑦 → (𝑦𝐴𝑧 → (𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
1211eximdv 1950 . . . . . . . . . 10 (𝑥𝐵𝑦 → (∃𝑧 𝑦𝐴𝑧 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
1310, 12sylcom 31 . . . . . . . . 9 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
147, 13sylbi 220 . . . . . . . 8 ((𝑦 ∈ ran 𝐵 → 𝑦 ∈ dom 𝐴) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
153, 14syl 18 . . . . . . 7 (ran 𝐵 ⊆ dom 𝐴 → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
1615eximdv 1950 . . . . . 6 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑦∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
17 breq2 5107 . . . . . . . 8 (𝑦 = 𝑤 → (𝑥𝐵𝑦 ↔ 𝑥𝐵𝑤))
18 breq1 5106 . . . . . . . 8 (𝑦 = 𝑤 → (𝑦𝐴𝑧 ↔ 𝑤𝐴𝑧))
1917, 18anbi12d 644 . . . . . . 7 (𝑦 = 𝑤 → ((𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧) ↔ (𝑥𝐵𝑤 ∧ 𝑤𝐴𝑧)))
2019excomimw 2077 . . . . . 6 (∃𝑦∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧) → ∃𝑧∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧))
2116, 20syl6 36 . . . . 5 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
22 vex 3455 . . . . . . 7 𝑥 ∈ V
23 vex 3455 . . . . . . 7 𝑧 ∈ V
2422, 23opelco 5849 . . . . . 6 (⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧))
2524exbii 1881 . . . . 5 (∃𝑧⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑧∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧))
2621, 25imbitrrdi 255 . . . 4 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵)))
2722eldm 5882 . . . 4 (𝑥 ∈ dom 𝐵 ↔ ∃𝑦 𝑥𝐵𝑦)
2822eldm2 5883 . . . 4 (𝑥 ∈ dom (𝐴 ∘ 𝐵) ↔ ∃𝑧⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵))
2926, 27, 283imtr4g 299 . . 3 (ran 𝐵 ⊆ dom 𝐴 → (𝑥 ∈ dom 𝐵 → 𝑥 ∈ dom (𝐴 ∘ 𝐵)))
3029ssrdv 3937 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom 𝐵 ⊆ dom (𝐴 ∘ 𝐵))
312, 30eqssd 3948 1 (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴 ∘ 𝐵) = dom 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145   ⊆ wss 3899  ⟨cop 4590   class class class wbr 5103  dom cdm 5651  ran crn 5652   ∘ ccom 5655
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662
This theorem is used by:  dmcoeq  5962  cycpmconjv  33685  dmcoss3  39443  comptiunov2i  44665  dvsinax  46867  hoicvr  47502  chnsubseqwl  47833  fnresfnco  48055
  Copyright terms: Public domain W3C validator