Metamath Proof Explorer


Theorem reseq12d

Description: Equality deduction for restrictions. (Contributed by NM, 21-Oct-2014)

Ref Expression
Hypotheses reseqd.1 ( 𝜑𝐴 = 𝐵 )
reseqd.2 ( 𝜑𝐶 = 𝐷 )
Assertion reseq12d ( 𝜑 → ( 𝐴𝐶 ) = ( 𝐵𝐷 ) )

Proof

Step Hyp Ref Expression
1 reseqd.1 ( 𝜑𝐴 = 𝐵 )
2 reseqd.2 ( 𝜑𝐶 = 𝐷 )
3 1 reseq1d ( 𝜑 → ( 𝐴𝐶 ) = ( 𝐵𝐶 ) )
4 2 reseq2d ( 𝜑 → ( 𝐵𝐶 ) = ( 𝐵𝐷 ) )
5 3 4 eqtrd ( 𝜑 → ( 𝐴𝐶 ) = ( 𝐵𝐷 ) )