Metamath Proof Explorer


Theorem xpcco2nd

Description: Value of composition in the binary product of categories. (Contributed by Mario Carneiro, 11-Jan-2017)

Ref Expression
Hypotheses xpcco1st.t 𝑇 = ( 𝐶 ×c 𝐷 )
xpcco1st.b 𝐵 = ( Base ‘ 𝑇 )
xpcco1st.k 𝐾 = ( Hom ‘ 𝑇 )
xpcco1st.o 𝑂 = ( comp ‘ 𝑇 )
xpcco1st.x ( 𝜑𝑋𝐵 )
xpcco1st.y ( 𝜑𝑌𝐵 )
xpcco1st.z ( 𝜑𝑍𝐵 )
xpcco1st.f ( 𝜑𝐹 ∈ ( 𝑋 𝐾 𝑌 ) )
xpcco1st.g ( 𝜑𝐺 ∈ ( 𝑌 𝐾 𝑍 ) )
xpcco2nd.1 · = ( comp ‘ 𝐷 )
Assertion xpcco2nd ( 𝜑 → ( 2nd ‘ ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) ) = ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ · ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) )

Proof

Step Hyp Ref Expression
1 xpcco1st.t 𝑇 = ( 𝐶 ×c 𝐷 )
2 xpcco1st.b 𝐵 = ( Base ‘ 𝑇 )
3 xpcco1st.k 𝐾 = ( Hom ‘ 𝑇 )
4 xpcco1st.o 𝑂 = ( comp ‘ 𝑇 )
5 xpcco1st.x ( 𝜑𝑋𝐵 )
6 xpcco1st.y ( 𝜑𝑌𝐵 )
7 xpcco1st.z ( 𝜑𝑍𝐵 )
8 xpcco1st.f ( 𝜑𝐹 ∈ ( 𝑋 𝐾 𝑌 ) )
9 xpcco1st.g ( 𝜑𝐺 ∈ ( 𝑌 𝐾 𝑍 ) )
10 xpcco2nd.1 · = ( comp ‘ 𝐷 )
11 eqid ( comp ‘ 𝐶 ) = ( comp ‘ 𝐶 )
12 1 2 3 11 10 4 5 6 7 8 9 xpcco ( 𝜑 → ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) = ⟨ ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ ( comp ‘ 𝐶 ) ( 1st𝑍 ) ) ( 1st𝐹 ) ) , ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ · ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) ⟩ )
13 ovex ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ ( comp ‘ 𝐶 ) ( 1st𝑍 ) ) ( 1st𝐹 ) ) ∈ V
14 ovex ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ · ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) ∈ V
15 13 14 op2ndd ( ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) = ⟨ ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ ( comp ‘ 𝐶 ) ( 1st𝑍 ) ) ( 1st𝐹 ) ) , ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ · ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) ⟩ → ( 2nd ‘ ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) ) = ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ · ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) )
16 12 15 syl ( 𝜑 → ( 2nd ‘ ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) ) = ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ · ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) )