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

Theorem rnco 6279
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 2201. (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 3460 . . . . . 6 𝑥 ∈ V
2 vex 3460 . . . . . 6 𝑦 ∈ V
31, 2brco 5863 . . . . 5 (𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
43exbii 1883 . . . 4 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
5 breq1 5114 . . . . . 6 (𝑥 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑤𝐵𝑧))
65anbi1d 643 . . . . 5 (𝑥 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑤𝐵𝑧 ∧ 𝑧𝐴𝑦)))
7 breq2 5115 . . . . . 6 (𝑧 = 𝑤 → (𝑥𝐵𝑧 ↔ 𝑥𝐵𝑤))
8 breq1 5114 . . . . . 6 (𝑧 = 𝑤 → (𝑧𝐴𝑦 ↔ 𝑤𝐴𝑦))
97, 8anbi12d 644 . . . . 5 (𝑧 = 𝑤 → ((𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (𝑥𝐵𝑤 ∧ 𝑤𝐴𝑦)))
106, 9excomw 2083 . . . 4 (∃𝑥∃𝑧(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
11 vex 3460 . . . . . . . 8 𝑧 ∈ V
1211elrn 5890 . . . . . . 7 (𝑧 ∈ ran 𝐵 ↔ ∃𝑥 𝑥𝐵𝑧)
1312anbi1i 636 . . . . . 6 ((𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
142brresi 5998 . . . . . 6 (𝑧(𝐴 ↾ ran 𝐵)𝑦 ↔ (𝑧 ∈ ran 𝐵 ∧ 𝑧𝐴𝑦))
15 19.41v 1986 . . . . . 6 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ (∃𝑥 𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦))
1613, 14, 153bitr4ri 307 . . . . 5 (∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ 𝑧(𝐴 ↾ ran 𝐵)𝑦)
1716exbii 1883 . . . 4 (∃𝑧∃𝑥(𝑥𝐵𝑧 ∧ 𝑧𝐴𝑦) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
184, 10, 173bitri 300 . . 3 (∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦 ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
192elrn 5890 . . 3 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ ∃𝑥 𝑥(𝐴 ∘ 𝐵)𝑦)
202elrn 5890 . . 3 (𝑦 ∈ ran (𝐴 ↾ ran 𝐵) ↔ ∃𝑧 𝑧(𝐴 ↾ ran 𝐵)𝑦)
2118, 19, 203bitr4i 306 . 2 (𝑦 ∈ ran (𝐴 ∘ 𝐵) ↔ 𝑦 ∈ ran (𝐴 ↾ ran 𝐵))
2221eqriv 2766 1 ran (𝐴 ∘ 𝐵) = ran (𝐴 ↾ ran 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151   class class class wbr 5111  ran crn 5662   ↾ cres 5663   ∘ ccom 5665
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-xp 5667  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673
This theorem is used by:  rnco2  6281  coeq0  6283  focofo  6849  cofunexg  8005  1stcof  8075  2ndcof  8076  smobeth  10720  cycpmconjv  33819  elmsubrn  36526  ftc1anclem3  38907
  Copyright terms: Public domain W3C validator