Metamath Proof Explorer


Theorem xpcpropd

Description: If two categories have the same set of objects, morphisms, and compositions, then they have the same product category. (Contributed by Mario Carneiro, 17-Jan-2017)

Ref Expression
Hypotheses xpcpropd.1 ( 𝜑 → ( Homf𝐴 ) = ( Homf𝐵 ) )
xpcpropd.2 ( 𝜑 → ( compf𝐴 ) = ( compf𝐵 ) )
xpcpropd.3 ( 𝜑 → ( Homf𝐶 ) = ( Homf𝐷 ) )
xpcpropd.4 ( 𝜑 → ( compf𝐶 ) = ( compf𝐷 ) )
xpcpropd.a ( 𝜑𝐴𝑉 )
xpcpropd.b ( 𝜑𝐵𝑉 )
xpcpropd.c ( 𝜑𝐶𝑉 )
xpcpropd.d ( 𝜑𝐷𝑉 )
Assertion xpcpropd ( 𝜑 → ( 𝐴 ×c 𝐶 ) = ( 𝐵 ×c 𝐷 ) )

Proof

Step Hyp Ref Expression
1 xpcpropd.1 ( 𝜑 → ( Homf𝐴 ) = ( Homf𝐵 ) )
2 xpcpropd.2 ( 𝜑 → ( compf𝐴 ) = ( compf𝐵 ) )
3 xpcpropd.3 ( 𝜑 → ( Homf𝐶 ) = ( Homf𝐷 ) )
4 xpcpropd.4 ( 𝜑 → ( compf𝐶 ) = ( compf𝐷 ) )
5 xpcpropd.a ( 𝜑𝐴𝑉 )
6 xpcpropd.b ( 𝜑𝐵𝑉 )
7 xpcpropd.c ( 𝜑𝐶𝑉 )
8 xpcpropd.d ( 𝜑𝐷𝑉 )
9 eqid ( 𝐴 ×c 𝐶 ) = ( 𝐴 ×c 𝐶 )
10 eqid ( Base ‘ 𝐴 ) = ( Base ‘ 𝐴 )
11 eqid ( Base ‘ 𝐶 ) = ( Base ‘ 𝐶 )
12 eqid ( Hom ‘ 𝐴 ) = ( Hom ‘ 𝐴 )
13 eqid ( Hom ‘ 𝐶 ) = ( Hom ‘ 𝐶 )
14 eqid ( comp ‘ 𝐴 ) = ( comp ‘ 𝐴 )
15 eqid ( comp ‘ 𝐶 ) = ( comp ‘ 𝐶 )
16 eqidd ( 𝜑 → ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) = ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) )
17 9 10 11 xpcbas ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) = ( Base ‘ ( 𝐴 ×c 𝐶 ) )
18 eqid ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) = ( Hom ‘ ( 𝐴 ×c 𝐶 ) )
19 9 17 12 13 18 xpchomfval ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) = ( 𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) , 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( ( ( 1st𝑢 ) ( Hom ‘ 𝐴 ) ( 1st𝑣 ) ) × ( ( 2nd𝑢 ) ( Hom ‘ 𝐶 ) ( 2nd𝑣 ) ) ) )
20 19 a1i ( 𝜑 → ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) = ( 𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) , 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( ( ( 1st𝑢 ) ( Hom ‘ 𝐴 ) ( 1st𝑣 ) ) × ( ( 2nd𝑢 ) ( Hom ‘ 𝐶 ) ( 2nd𝑣 ) ) ) ) )
21 eqidd ( 𝜑 → ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) , 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) ) = ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) , 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) ) )
22 9 10 11 12 13 14 15 5 7 16 20 21 xpcval ( 𝜑 → ( 𝐴 ×c 𝐶 ) = { ⟨ ( Base ‘ ndx ) , ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ⟩ , ⟨ ( Hom ‘ ndx ) , ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ⟩ , ⟨ ( comp ‘ ndx ) , ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) , 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) ) ⟩ } )
23 eqid ( 𝐵 ×c 𝐷 ) = ( 𝐵 ×c 𝐷 )
24 eqid ( Base ‘ 𝐵 ) = ( Base ‘ 𝐵 )
25 eqid ( Base ‘ 𝐷 ) = ( Base ‘ 𝐷 )
26 eqid ( Hom ‘ 𝐵 ) = ( Hom ‘ 𝐵 )
27 eqid ( Hom ‘ 𝐷 ) = ( Hom ‘ 𝐷 )
28 eqid ( comp ‘ 𝐵 ) = ( comp ‘ 𝐵 )
29 eqid ( comp ‘ 𝐷 ) = ( comp ‘ 𝐷 )
30 1 homfeqbas ( 𝜑 → ( Base ‘ 𝐴 ) = ( Base ‘ 𝐵 ) )
31 3 homfeqbas ( 𝜑 → ( Base ‘ 𝐶 ) = ( Base ‘ 𝐷 ) )
32 30 31 xpeq12d ( 𝜑 → ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) = ( ( Base ‘ 𝐵 ) × ( Base ‘ 𝐷 ) ) )
33 1 3ad2ant1 ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( Homf𝐴 ) = ( Homf𝐵 ) )
34 xp1st ( 𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 1st𝑢 ) ∈ ( Base ‘ 𝐴 ) )
35 34 3ad2ant2 ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 1st𝑢 ) ∈ ( Base ‘ 𝐴 ) )
36 xp1st ( 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 1st𝑣 ) ∈ ( Base ‘ 𝐴 ) )
37 36 3ad2ant3 ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 1st𝑣 ) ∈ ( Base ‘ 𝐴 ) )
38 10 12 26 33 35 37 homfeqval ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( ( 1st𝑢 ) ( Hom ‘ 𝐴 ) ( 1st𝑣 ) ) = ( ( 1st𝑢 ) ( Hom ‘ 𝐵 ) ( 1st𝑣 ) ) )
39 3 3ad2ant1 ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( Homf𝐶 ) = ( Homf𝐷 ) )
40 xp2nd ( 𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 2nd𝑢 ) ∈ ( Base ‘ 𝐶 ) )
41 40 3ad2ant2 ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 2nd𝑢 ) ∈ ( Base ‘ 𝐶 ) )
42 xp2nd ( 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 2nd𝑣 ) ∈ ( Base ‘ 𝐶 ) )
43 42 3ad2ant3 ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 2nd𝑣 ) ∈ ( Base ‘ 𝐶 ) )
44 11 13 27 39 41 43 homfeqval ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( ( 2nd𝑢 ) ( Hom ‘ 𝐶 ) ( 2nd𝑣 ) ) = ( ( 2nd𝑢 ) ( Hom ‘ 𝐷 ) ( 2nd𝑣 ) ) )
45 38 44 xpeq12d ( ( 𝜑𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ∧ 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( ( ( 1st𝑢 ) ( Hom ‘ 𝐴 ) ( 1st𝑣 ) ) × ( ( 2nd𝑢 ) ( Hom ‘ 𝐶 ) ( 2nd𝑣 ) ) ) = ( ( ( 1st𝑢 ) ( Hom ‘ 𝐵 ) ( 1st𝑣 ) ) × ( ( 2nd𝑢 ) ( Hom ‘ 𝐷 ) ( 2nd𝑣 ) ) ) )
46 45 mpoeq3dva ( 𝜑 → ( 𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) , 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( ( ( 1st𝑢 ) ( Hom ‘ 𝐴 ) ( 1st𝑣 ) ) × ( ( 2nd𝑢 ) ( Hom ‘ 𝐶 ) ( 2nd𝑣 ) ) ) ) = ( 𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) , 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( ( ( 1st𝑢 ) ( Hom ‘ 𝐵 ) ( 1st𝑣 ) ) × ( ( 2nd𝑢 ) ( Hom ‘ 𝐷 ) ( 2nd𝑣 ) ) ) ) )
47 19 46 eqtrid ( 𝜑 → ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) = ( 𝑢 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) , 𝑣 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( ( ( 1st𝑢 ) ( Hom ‘ 𝐵 ) ( 1st𝑣 ) ) × ( ( 2nd𝑢 ) ( Hom ‘ 𝐷 ) ( 2nd𝑣 ) ) ) ) )
48 1 ad4antr ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( Homf𝐴 ) = ( Homf𝐵 ) )
49 2 ad4antr ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( compf𝐴 ) = ( compf𝐵 ) )
50 simp-4r ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) )
51 xp1st ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 1st𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) )
52 50 51 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 1st𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) )
53 xp1st ( ( 1st𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 1st ‘ ( 1st𝑥 ) ) ∈ ( Base ‘ 𝐴 ) )
54 52 53 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 1st ‘ ( 1st𝑥 ) ) ∈ ( Base ‘ 𝐴 ) )
55 xp2nd ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 2nd𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) )
56 50 55 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 2nd𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) )
57 xp1st ( ( 2nd𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 1st ‘ ( 2nd𝑥 ) ) ∈ ( Base ‘ 𝐴 ) )
58 56 57 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 1st ‘ ( 2nd𝑥 ) ) ∈ ( Base ‘ 𝐴 ) )
59 simpllr ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) )
60 xp1st ( 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 1st𝑦 ) ∈ ( Base ‘ 𝐴 ) )
61 59 60 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 1st𝑦 ) ∈ ( Base ‘ 𝐴 ) )
62 simpr ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) )
63 1st2nd2 ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → 𝑥 = ⟨ ( 1st𝑥 ) , ( 2nd𝑥 ) ⟩ )
64 50 63 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → 𝑥 = ⟨ ( 1st𝑥 ) , ( 2nd𝑥 ) ⟩ )
65 64 fveq2d ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) = ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ ⟨ ( 1st𝑥 ) , ( 2nd𝑥 ) ⟩ ) )
66 df-ov ( ( 1st𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ( 2nd𝑥 ) ) = ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ ⟨ ( 1st𝑥 ) , ( 2nd𝑥 ) ⟩ )
67 65 66 eqtr4di ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) = ( ( 1st𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ( 2nd𝑥 ) ) )
68 9 17 12 13 18 52 56 xpchom ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( ( 1st𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ( 2nd𝑥 ) ) = ( ( ( 1st ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st ‘ ( 2nd𝑥 ) ) ) × ( ( 2nd ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd ‘ ( 2nd𝑥 ) ) ) ) )
69 67 68 eqtrd ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) = ( ( ( 1st ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st ‘ ( 2nd𝑥 ) ) ) × ( ( 2nd ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd ‘ ( 2nd𝑥 ) ) ) ) )
70 62 69 eleqtrd ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → 𝑓 ∈ ( ( ( 1st ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st ‘ ( 2nd𝑥 ) ) ) × ( ( 2nd ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd ‘ ( 2nd𝑥 ) ) ) ) )
71 xp1st ( 𝑓 ∈ ( ( ( 1st ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st ‘ ( 2nd𝑥 ) ) ) × ( ( 2nd ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd ‘ ( 2nd𝑥 ) ) ) ) → ( 1st𝑓 ) ∈ ( ( 1st ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st ‘ ( 2nd𝑥 ) ) ) )
72 70 71 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 1st𝑓 ) ∈ ( ( 1st ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st ‘ ( 2nd𝑥 ) ) ) )
73 simplr ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) )
74 9 17 12 13 18 56 59 xpchom ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) = ( ( ( 1st ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st𝑦 ) ) × ( ( 2nd ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd𝑦 ) ) ) )
75 73 74 eleqtrd ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → 𝑔 ∈ ( ( ( 1st ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st𝑦 ) ) × ( ( 2nd ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd𝑦 ) ) ) )
76 xp1st ( 𝑔 ∈ ( ( ( 1st ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st𝑦 ) ) × ( ( 2nd ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd𝑦 ) ) ) → ( 1st𝑔 ) ∈ ( ( 1st ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st𝑦 ) ) )
77 75 76 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 1st𝑔 ) ∈ ( ( 1st ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st𝑦 ) ) )
78 10 12 14 28 48 49 54 58 61 72 77 comfeqval ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) = ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐵 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) )
79 3 ad4antr ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( Homf𝐶 ) = ( Homf𝐷 ) )
80 4 ad4antr ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( compf𝐶 ) = ( compf𝐷 ) )
81 xp2nd ( ( 1st𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 2nd ‘ ( 1st𝑥 ) ) ∈ ( Base ‘ 𝐶 ) )
82 52 81 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 2nd ‘ ( 1st𝑥 ) ) ∈ ( Base ‘ 𝐶 ) )
83 xp2nd ( ( 2nd𝑥 ) ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 2nd ‘ ( 2nd𝑥 ) ) ∈ ( Base ‘ 𝐶 ) )
84 56 83 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 2nd ‘ ( 2nd𝑥 ) ) ∈ ( Base ‘ 𝐶 ) )
85 xp2nd ( 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) → ( 2nd𝑦 ) ∈ ( Base ‘ 𝐶 ) )
86 59 85 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 2nd𝑦 ) ∈ ( Base ‘ 𝐶 ) )
87 xp2nd ( 𝑓 ∈ ( ( ( 1st ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st ‘ ( 2nd𝑥 ) ) ) × ( ( 2nd ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd ‘ ( 2nd𝑥 ) ) ) ) → ( 2nd𝑓 ) ∈ ( ( 2nd ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd ‘ ( 2nd𝑥 ) ) ) )
88 70 87 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 2nd𝑓 ) ∈ ( ( 2nd ‘ ( 1st𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd ‘ ( 2nd𝑥 ) ) ) )
89 xp2nd ( 𝑔 ∈ ( ( ( 1st ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐴 ) ( 1st𝑦 ) ) × ( ( 2nd ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd𝑦 ) ) ) → ( 2nd𝑔 ) ∈ ( ( 2nd ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd𝑦 ) ) )
90 75 89 syl ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( 2nd𝑔 ) ∈ ( ( 2nd ‘ ( 2nd𝑥 ) ) ( Hom ‘ 𝐶 ) ( 2nd𝑦 ) ) )
91 11 13 15 29 79 80 82 84 86 88 90 comfeqval ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) = ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) )
92 78 91 opeq12d ( ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ = ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐵 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ )
93 92 3impa ( ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) ∧ 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ) → ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ = ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐵 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ )
94 93 mpoeq3dva ( ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) = ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐵 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) )
95 94 3impa ( ( 𝜑𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) ∧ 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) → ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) = ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐵 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) )
96 95 mpoeq3dva ( 𝜑 → ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) , 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) ) = ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) , 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐵 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐷 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) ) )
97 23 24 25 26 27 28 29 6 8 32 47 96 xpcval ( 𝜑 → ( 𝐵 ×c 𝐷 ) = { ⟨ ( Base ‘ ndx ) , ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ⟩ , ⟨ ( Hom ‘ ndx ) , ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ⟩ , ⟨ ( comp ‘ ndx ) , ( 𝑥 ∈ ( ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) × ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ) , 𝑦 ∈ ( ( Base ‘ 𝐴 ) × ( Base ‘ 𝐶 ) ) ↦ ( 𝑔 ∈ ( ( 2nd𝑥 ) ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) 𝑦 ) , 𝑓 ∈ ( ( Hom ‘ ( 𝐴 ×c 𝐶 ) ) ‘ 𝑥 ) ↦ ⟨ ( ( 1st𝑔 ) ( ⟨ ( 1st ‘ ( 1st𝑥 ) ) , ( 1st ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐴 ) ( 1st𝑦 ) ) ( 1st𝑓 ) ) , ( ( 2nd𝑔 ) ( ⟨ ( 2nd ‘ ( 1st𝑥 ) ) , ( 2nd ‘ ( 2nd𝑥 ) ) ⟩ ( comp ‘ 𝐶 ) ( 2nd𝑦 ) ) ( 2nd𝑓 ) ) ⟩ ) ) ⟩ } )
98 22 97 eqtr4d ( 𝜑 → ( 𝐴 ×c 𝐶 ) = ( 𝐵 ×c 𝐷 ) )