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

Theorem rnco 6253
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 2193. (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 3454 . . . . . 6 𝑥 ∈ V
2 vex 3454 . . . . . 6 𝑦 ∈ V
31, 2brco 5847 . . . . 5 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
43exbii 1880 . . . 4 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
5 breq1 5105 . . . . . 6 (𝑥 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑤𝐵𝑧))
65anbi1d 643 . . . . 5 (𝑥 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑤𝐵𝑧 ∧ 𝑧𝐴𝑦)))
7 breq2 5106 . . . . . 6 (𝑧 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑥𝐵𝑤))
8 breq1 5105 . . . . . 6 (𝑧 = 𝑤 → (𝑧𝐴𝑦 ↔ 𝑤𝐴𝑦))
97, 8anbi12d 644 . . . . 5 (𝑧 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑥𝐵𝑤 ∧ 𝑤𝐴𝑦)))
106, 9excomw 2078 . . . 4 (∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
11 vex 3454 . . . . . . . 8 𝑧 ∈ V
1211elrn 5874 . . . . . . 7 (𝑧 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑧)
1312anbi1i 636 . . . . . 6 ((𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
142brresi 5978 . . . . . 6 (𝑧(𝐴 ↾ ran 𝐵)𝑦 ↔ (𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦))
15 19.41v 1981 . . . . . 6 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
1613, 14, 153bitr4ri 307 . . . . 5 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ 𝑧(𝐴 ↾ ran 𝐵)𝑦)
1716exbii 1880 . . . 4 (∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
184, 10, 173bitri 300 . . 3 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
192elrn 5874 . . 3 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ ∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦)
202elrn 5874 . . 3 (𝑦 ∈ ran (𝐴 ↾ ran 𝐵) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
2118, 19, 203bitr4i 306 . 2 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ 𝑦 ∈ ran (𝐴 ↾ ran 𝐵))
2221eqriv 2757 1 ran (𝐴 ∘ 𝐵) = ran (𝐴 ↾ ran 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144   class class class wbr 5102  ran crn 5651   ↾ cres 5652   ∘ ccom 5654
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5656  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662
This theorem is used by:  rnco2  6255  coeq0  6257  focofo  6809  cofunexg  7961  1stcof  8031  2ndcof  8032  smobeth  10674  cycpmconjv  33749  elmsubrn  36379  ftc1anclem3  38706
  Copyright terms: Public domain W3C validator