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

Theorem rnco 6246
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 2194. (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 3455 . . . . . 6 𝑥 ∈ V
2 vex 3455 . . . . . 6 𝑦 ∈ V
31, 2brco 5848 . . . . 5 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
43exbii 1881 . . . 4 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
5 breq1 5106 . . . . . 6 (𝑥 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑤𝐵𝑧))
65anbi1d 643 . . . . 5 (𝑥 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑤𝐵𝑧 ∧ 𝑧𝐴𝑦)))
7 breq2 5107 . . . . . 6 (𝑧 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑥𝐵𝑤))
8 breq1 5106 . . . . . 6 (𝑧 = 𝑤 → (𝑧𝐴𝑦 ↔ 𝑤𝐴𝑦))
97, 8anbi12d 644 . . . . 5 (𝑧 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑥𝐵𝑤 ∧ 𝑤𝐴𝑦)))
106, 9excomw 2079 . . . 4 (∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
11 vex 3455 . . . . . . . 8 𝑧 ∈ V
1211elrn 5875 . . . . . . 7 (𝑧 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑧)
1312anbi1i 636 . . . . . 6 ((𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
142brresi 5979 . . . . . 6 (𝑧(𝐴 ↾ ran 𝐵)𝑦 ↔ (𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦))
15 19.41v 1982 . . . . . 6 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
1613, 14, 153bitr4ri 307 . . . . 5 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ 𝑧(𝐴 ↾ ran 𝐵)𝑦)
1716exbii 1881 . . . 4 (∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
184, 10, 173bitri 300 . . 3 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
192elrn 5875 . . 3 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ ∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦)
202elrn 5875 . . 3 (𝑦 ∈ ran (𝐴 ↾ ran 𝐵) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
2118, 19, 203bitr4i 306 . 2 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ 𝑦 ∈ ran (𝐴 ↾ ran 𝐵))
2221eqriv 2758 1 ran (𝐴 ∘ 𝐵) = ran (𝐴 ↾ ran 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145   class class class wbr 5103  ran crn 5652   ↾ cres 5653   ∘ 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-ral 3078  df-rex 3088  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-xp 5657  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663
This theorem is used by:  rnco2  6248  coeq0  6250  focofo  6801  cofunexg  7950  1stcof  8020  2ndcof  8021  smobeth  10652  cycpmconjv  33685  elmsubrn  36262  ftc1anclem3  38581
  Copyright terms: Public domain W3C validator