Metamath Proof Explorer


Theorem prodeq12dv

Description: Equality deduction for product. (Contributed by Scott Fenton, 4-Dec-2017)

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

Proof

Step Hyp Ref Expression
1 prodeq12dv.1 ( 𝜑𝐴 = 𝐵 )
2 prodeq12dv.2 ( ( 𝜑𝑘𝐴 ) → 𝐶 = 𝐷 )
3 2 prodeq2dv ( 𝜑 → ∏ 𝑘𝐴 𝐶 = ∏ 𝑘𝐴 𝐷 )
4 1 prodeq1d ( 𝜑 → ∏ 𝑘𝐴 𝐷 = ∏ 𝑘𝐵 𝐷 )
5 3 4 eqtrd ( 𝜑 → ∏ 𝑘𝐴 𝐶 = ∏ 𝑘𝐵 𝐷 )