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

Theorem dmcosseq 5967
Description: Domain of a composition. (Contributed by NM, 28-May-1998.) (Proof shortened by Andrew Salmon, 27-Aug-2011.) Avoid ax-11 2197. (Revised by BTernaryTau, 23-Jun-2025.) Avoid ax-10 2180 and ax-12 2216. (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 5964 . . 3 dom (𝐴 ∘ 𝐵) ⊆ dom 𝐵
21a1i 11 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom (𝐴 ∘ 𝐵) ⊆ dom 𝐵)
3 ssel 3907 . . . . . . . 8 (ran 𝐵 ⊆ dom 𝐴 → (𝑦 ∈ ran 𝐵 → 𝑦 ∈ dom 𝐴))
4 vex 3458 . . . . . . . . . . 11 𝑦 ∈ V
54elrn 5882 . . . . . . . . . 10 (𝑦 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑦)
64eldm 5889 . . . . . . . . . 10 (𝑦 ∈ dom 𝐴 ↔ ∃𝑧 𝑦𝐴𝑧)
75, 6imbi12i 353 . . . . . . . . 9 ((𝑦 ∈ ran 𝐵 → 𝑦 ∈ dom 𝐴) ↔ (∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
8 breq1 5109 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝑥𝐵𝑦 ↔ 𝑧𝐵𝑦))
9819.8aw 2087 . . . . . . . . . . 11 (𝑥𝐵𝑦 → ∃𝑥 𝑥𝐵𝑦)
109imim1i 64 . . . . . . . . . 10 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧))
11 pm3.2 475 . . . . . . . . . . 11 (𝑥𝐵𝑦 → (𝑦𝐴𝑧 → (𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
1211eximdv 1952 . . . . . . . . . 10 (𝑥𝐵𝑦 → (∃𝑧 𝑦𝐴𝑧 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
1310, 12sylcom 31 . . . . . . . . 9 ((∃𝑥 𝑥𝐵𝑦 → ∃𝑧 𝑦𝐴𝑧) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
147, 13sylbi 220 . . . . . . . 8 ((𝑦 ∈ ran 𝐵 → 𝑦 ∈ dom 𝐴) → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
153, 14syl 18 . . . . . . 7 (ran 𝐵 ⊆ dom 𝐴 → (𝑥𝐵𝑦 → ∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
1615eximdv 1952 . . . . . 6 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑦∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
17 breq2 5110 . . . . . . . 8 (𝑦 = 𝑤 → (𝑥𝐵𝑦 ↔ 𝑥𝐵𝑤))
18 breq1 5109 . . . . . . . 8 (𝑦 = 𝑤 → (𝑦𝐴𝑧 ↔ 𝑤𝐴𝑧))
1917, 18anbi12d 644 . . . . . . 7 (𝑦 = 𝑤 → ((𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧) ↔ (𝑥𝐵𝑤 ∧ 𝑤𝐴𝑧)))
2019excomimw 2079 . . . . . 6 (∃𝑦∃𝑧(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧) → ∃𝑧∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧))
2116, 20syl6 36 . . . . 5 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧)))
22 vex 3458 . . . . . . 7 𝑥 ∈ V
23 vex 3458 . . . . . . 7 𝑧 ∈ V
2422, 23opelco 5856 . . . . . 6 (⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧))
2524exbii 1881 . . . . 5 (∃𝑧⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵) ↔ ∃𝑧∃𝑦(𝑥𝐵𝑦 ∧ 𝑦𝐴𝑧))
2621, 25imbitrrdi 255 . . . 4 (ran 𝐵 ⊆ dom 𝐴 → (∃𝑦 𝑥𝐵𝑦 → ∃𝑧⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵)))
2722eldm 5889 . . . 4 (𝑥 ∈ dom 𝐵 ↔ ∃𝑦 𝑥𝐵𝑦)
2822eldm2 5890 . . . 4 (𝑥 ∈ dom (𝐴 ∘ 𝐵) ↔ ∃𝑧⟨𝑥, 𝑧⟩ ∈ (𝐴 ∘ 𝐵))
2926, 27, 283imtr4g 299 . . 3 (ran 𝐵 ⊆ dom 𝐴 → (𝑥 ∈ dom 𝐵 → 𝑥 ∈ dom (𝐴 ∘ 𝐵)))
3029ssrdv 3919 . 2 (ran 𝐵 ⊆ dom 𝐴 → dom 𝐵 ⊆ dom (𝐴 ∘ 𝐵))
312, 30eqssd 3930 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 2147   ⊆ wss 3900  ⟨cop 4838   class class class wbr 5106  dom cdm 5655  ran crn 5656   ∘ ccom 5659
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-ext 2735  ax-sep 5252  ax-pr 5395
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-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 4839  df-br 5107  df-opab 5171  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666
This theorem is used by:  dmcoeq  5969  cycpmconjv  33773  dmcoss3  39667  comptiunov2i  44898  dvsinax  47128  hoicvr  47763  chnsubseqwl  48094  fnresfnco  48316
  Copyright terms: Public domain W3C validator