Metamath Proof Explorer


Theorem coeq12d

Description: Equality deduction for composition of two classes. (Contributed by FL, 7-Jun-2012)

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

Proof

Step Hyp Ref Expression
1 coeq12d.1 ( 𝜑𝐴 = 𝐵 )
2 coeq12d.2 ( 𝜑𝐶 = 𝐷 )
3 1 coeq1d ( 𝜑 → ( 𝐴𝐶 ) = ( 𝐵𝐶 ) )
4 2 coeq2d ( 𝜑 → ( 𝐵𝐶 ) = ( 𝐵𝐷 ) )
5 3 4 eqtrd ( 𝜑 → ( 𝐴𝐶 ) = ( 𝐵𝐷 ) )