Metamath Proof Explorer


Theorem xrneq2

Description: Equality theorem for the range Cartesian product. (Contributed by Peter Mazsa, 16-Dec-2020)

Ref Expression
Assertion xrneq2 ( 𝐴 = 𝐵 → ( 𝐶𝐴 ) = ( 𝐶𝐵 ) )

Proof

Step Hyp Ref Expression
1 coeq2 ( 𝐴 = 𝐵 → ( ( 2nd ↾ ( V × V ) ) ∘ 𝐴 ) = ( ( 2nd ↾ ( V × V ) ) ∘ 𝐵 ) )
2 1 ineq2d ( 𝐴 = 𝐵 → ( ( ( 1st ↾ ( V × V ) ) ∘ 𝐶 ) ∩ ( ( 2nd ↾ ( V × V ) ) ∘ 𝐴 ) ) = ( ( ( 1st ↾ ( V × V ) ) ∘ 𝐶 ) ∩ ( ( 2nd ↾ ( V × V ) ) ∘ 𝐵 ) ) )
3 df-xrn ( 𝐶𝐴 ) = ( ( ( 1st ↾ ( V × V ) ) ∘ 𝐶 ) ∩ ( ( 2nd ↾ ( V × V ) ) ∘ 𝐴 ) )
4 df-xrn ( 𝐶𝐵 ) = ( ( ( 1st ↾ ( V × V ) ) ∘ 𝐶 ) ∩ ( ( 2nd ↾ ( V × V ) ) ∘ 𝐵 ) )
5 2 3 4 3eqtr4g ( 𝐴 = 𝐵 → ( 𝐶𝐴 ) = ( 𝐶𝐵 ) )