Metamath Proof Explorer


Theorem rnco

Description: The range of the composition of two classes. (Contributed by NM, 12-Dec-2006) (Proof shortened by Peter Mazsa, 2-Oct-2022)

Ref Expression
Assertion rnco ranAB=ranAranB

Proof

Step Hyp Ref Expression
1 vex xV
2 vex yV
3 1 2 brco xAByzxBzzAy
4 3 exbii xxAByxzxBzzAy
5 excom xzxBzzAyzxxBzzAy
6 vex zV
7 6 elrn zranBxxBz
8 7 anbi1i zranBzAyxxBzzAy
9 2 brresi zAranByzranBzAy
10 19.41v xxBzzAyxxBzzAy
11 8 9 10 3bitr4ri xxBzzAyzAranBy
12 11 exbii zxxBzzAyzzAranBy
13 4 5 12 3bitri xxAByzzAranBy
14 2 elrn yranABxxABy
15 2 elrn yranAranBzzAranBy
16 13 14 15 3bitr4i yranAByranAranB
17 16 eqriv ranAB=ranAranB