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

Theorem rnco 6266
Description: The range of the composition of two classes. (Contributed by NM, 12-Dec-2006.) (Proof shortened by Peter Mazsa, 2-Oct-2022.) Avoid ax-11 2197. (Revised by TM, 24-Jan-2026.)
Assertion
Ref Expression
rnco ran (𝐴 ∘ 𝐵) = ran (𝐴 ↾ ran 𝐵)

Proof of Theorem rnco
Dummy variables 𝑥 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3458 . . . . . 6 𝑥 ∈ V
2 vex 3458 . . . . . 6 𝑦 ∈ V
31, 2brco 5855 . . . . 5 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
43exbii 1881 . . . 4 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
5 breq1 5109 . . . . . 6 (𝑥 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑤𝐵𝑧))
65anbi1d 643 . . . . 5 (𝑥 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑤𝐵𝑧 ∧ 𝑧𝐴𝑦)))
7 breq2 5110 . . . . . 6 (𝑧 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑥𝐵𝑤))
8 breq1 5109 . . . . . 6 (𝑧 = 𝑤 → (𝑧𝐴𝑦 ↔ 𝑤𝐴𝑦))
97, 8anbi12d 644 . . . . 5 (𝑧 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑥𝐵𝑤 ∧ 𝑤𝐴𝑦)))
106, 9excomw 2081 . . . 4 (∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
11 vex 3458 . . . . . . . 8 𝑧 ∈ V
1211elrn 5882 . . . . . . 7 (𝑧 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑧)
1312anbi1i 636 . . . . . 6 ((𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
142brresi 5990 . . . . . 6 (𝑧(𝐴 ↾ ran 𝐵)𝑦 ↔ (𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦))
15 19.41v 1984 . . . . . 6 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
1613, 14, 153bitr4ri 307 . . . . 5 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ 𝑧(𝐴 ↾ ran 𝐵)𝑦)
1716exbii 1881 . . . 4 (∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
184, 10, 173bitri 300 . . 3 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
192elrn 5882 . . 3 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ ∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦)
202elrn 5882 . . 3 (𝑦 ∈ ran (𝐴 ↾ ran 𝐵) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
2118, 19, 203bitr4i 306 . 2 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ 𝑦 ∈ ran (𝐴 ↾ ran 𝐵))
2221eqriv 2760 1 ran (𝐴 ∘ 𝐵) = ran (𝐴 ↾ ran 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147   class class class wbr 5106  ran crn 5656   ↾ cres 5657   ∘ 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-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 4839  df-br 5107  df-opab 5171  df-xp 5661  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667
This theorem is used by:  rnco2  6268  coeq0  6270  focofo  6831  cofunexg  7985  1stcof  8055  2ndcof  8056  smobeth  10698  cycpmconjv  33773  elmsubrn  36460  ftc1anclem3  38805
  Copyright terms: Public domain W3C validator