Metamath Proof Explorer


Theorem resima2

Description: Image under a restricted class. (Contributed by FL, 31-Aug-2009) (Proof shortened by JJ, 25-Aug-2021)

Ref Expression
Assertion resima2 ( 𝐵𝐶 → ( ( 𝐴𝐶 ) “ 𝐵 ) = ( 𝐴𝐵 ) )

Proof

Step Hyp Ref Expression
1 sseqin2 ( 𝐵𝐶 ↔ ( 𝐶𝐵 ) = 𝐵 )
2 reseq2 ( ( 𝐶𝐵 ) = 𝐵 → ( 𝐴 ↾ ( 𝐶𝐵 ) ) = ( 𝐴𝐵 ) )
3 1 2 sylbi ( 𝐵𝐶 → ( 𝐴 ↾ ( 𝐶𝐵 ) ) = ( 𝐴𝐵 ) )
4 3 rneqd ( 𝐵𝐶 → ran ( 𝐴 ↾ ( 𝐶𝐵 ) ) = ran ( 𝐴𝐵 ) )
5 df-ima ( ( 𝐴𝐶 ) “ 𝐵 ) = ran ( ( 𝐴𝐶 ) ↾ 𝐵 )
6 resres ( ( 𝐴𝐶 ) ↾ 𝐵 ) = ( 𝐴 ↾ ( 𝐶𝐵 ) )
7 6 rneqi ran ( ( 𝐴𝐶 ) ↾ 𝐵 ) = ran ( 𝐴 ↾ ( 𝐶𝐵 ) )
8 5 7 eqtri ( ( 𝐴𝐶 ) “ 𝐵 ) = ran ( 𝐴 ↾ ( 𝐶𝐵 ) )
9 df-ima ( 𝐴𝐵 ) = ran ( 𝐴𝐵 )
10 4 8 9 3eqtr4g ( 𝐵𝐶 → ( ( 𝐴𝐶 ) “ 𝐵 ) = ( 𝐴𝐵 ) )