Metamath Proof Explorer


Theorem xrnres

Description: Two ways to express restriction of range Cartesian product, see also xrnres2 , xrnres3 . (Contributed by Peter Mazsa, 5-Jun-2021)

Ref Expression
Assertion xrnres R S A = R A S

Proof

Step Hyp Ref Expression
1 resco 1 st V × V -1 R A = 1 st V × V -1 R A
2 1 ineq1i 1 st V × V -1 R A 2 nd V × V -1 S = 1 st V × V -1 R A 2 nd V × V -1 S
3 df-xrn R S = 1 st V × V -1 R 2 nd V × V -1 S
4 3 reseq1i R S A = 1 st V × V -1 R 2 nd V × V -1 S A
5 inres2 1 st V × V -1 R A 2 nd V × V -1 S = 1 st V × V -1 R 2 nd V × V -1 S A
6 4 5 eqtr4i R S A = 1 st V × V -1 R A 2 nd V × V -1 S
7 df-xrn R A S = 1 st V × V -1 R A 2 nd V × V -1 S
8 2 6 7 3eqtr4i R S A = R A S