Metamath Proof Explorer


Theorem xpcco1st

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 ( 𝜑𝐺 ∈ ( 𝑌 𝐾 𝑍 ) )
xpcco1st.1 · = ( comp ‘ 𝐶 )
Assertion xpcco1st ( 𝜑 → ( 1st ‘ ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) ) = ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ · ( 1st𝑍 ) ) ( 1st𝐹 ) ) )

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 xpcco1st.1 · = ( comp ‘ 𝐶 )
11 eqid ( comp ‘ 𝐷 ) = ( comp ‘ 𝐷 )
12 1 2 3 10 11 4 5 6 7 8 9 xpcco ( 𝜑 → ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) = ⟨ ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ · ( 1st𝑍 ) ) ( 1st𝐹 ) ) , ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) ⟩ )
13 ovex ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ · ( 1st𝑍 ) ) ( 1st𝐹 ) ) ∈ V
14 ovex ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) ∈ V
15 13 14 op1std ( ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) = ⟨ ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ · ( 1st𝑍 ) ) ( 1st𝐹 ) ) , ( ( 2nd𝐺 ) ( ⟨ ( 2nd𝑋 ) , ( 2nd𝑌 ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑍 ) ) ( 2nd𝐹 ) ) ⟩ → ( 1st ‘ ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) ) = ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ · ( 1st𝑍 ) ) ( 1st𝐹 ) ) )
16 12 15 syl ( 𝜑 → ( 1st ‘ ( 𝐺 ( ⟨ 𝑋 , 𝑌𝑂 𝑍 ) 𝐹 ) ) = ( ( 1st𝐺 ) ( ⟨ ( 1st𝑋 ) , ( 1st𝑌 ) ⟩ · ( 1st𝑍 ) ) ( 1st𝐹 ) ) )