MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  hofcl Structured version   Visualization version   GIF version

Theorem hofcl 17893
Description: Closure of the Hom functor. Note that the codomain is the category SetCat‘𝑈 for any universe 𝑈 which contains each Hom-set. This corresponds to the assertion that 𝐶 be locally small (with respect to 𝑈). (Contributed by Mario Carneiro, 15-Jan-2017.)
Hypotheses
Ref Expression
hofcl.m 𝑀 = (HomF𝐶)
hofcl.o 𝑂 = (oppCat‘𝐶)
hofcl.d 𝐷 = (SetCat‘𝑈)
hofcl.c (𝜑𝐶 ∈ Cat)
hofcl.u (𝜑𝑈𝑉)
hofcl.h (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
Assertion
Ref Expression
hofcl (𝜑𝑀 ∈ ((𝑂 ×c 𝐶) Func 𝐷))

Proof of Theorem hofcl
Dummy variables 𝑓 𝑔 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 hofcl.m . . . 4 𝑀 = (HomF𝐶)
2 hofcl.c . . . 4 (𝜑𝐶 ∈ Cat)
3 eqid 2738 . . . 4 (Base‘𝐶) = (Base‘𝐶)
4 eqid 2738 . . . 4 (Hom ‘𝐶) = (Hom ‘𝐶)
5 eqid 2738 . . . 4 (comp‘𝐶) = (comp‘𝐶)
61, 2, 3, 4, 5hofval 17886 . . 3 (𝜑𝑀 = ⟨(Homf𝐶), (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))⟩)
7 fvex 6769 . . . . . 6 (Homf𝐶) ∈ V
8 fvex 6769 . . . . . . . 8 (Base‘𝐶) ∈ V
98, 8xpex 7581 . . . . . . 7 ((Base‘𝐶) × (Base‘𝐶)) ∈ V
109, 9mpoex 7893 . . . . . 6 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)))) ∈ V
117, 10op2ndd 7815 . . . . 5 (𝑀 = ⟨(Homf𝐶), (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))⟩ → (2nd𝑀) = (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)))))
126, 11syl 17 . . . 4 (𝜑 → (2nd𝑀) = (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)))))
1312opeq2d 4808 . . 3 (𝜑 → ⟨(Homf𝐶), (2nd𝑀)⟩ = ⟨(Homf𝐶), (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))⟩)
146, 13eqtr4d 2781 . 2 (𝜑𝑀 = ⟨(Homf𝐶), (2nd𝑀)⟩)
15 eqid 2738 . . . . 5 (𝑂 ×c 𝐶) = (𝑂 ×c 𝐶)
16 hofcl.o . . . . . 6 𝑂 = (oppCat‘𝐶)
1716, 3oppcbas 17345 . . . . 5 (Base‘𝐶) = (Base‘𝑂)
1815, 17, 3xpcbas 17811 . . . 4 ((Base‘𝐶) × (Base‘𝐶)) = (Base‘(𝑂 ×c 𝐶))
19 eqid 2738 . . . 4 (Base‘𝐷) = (Base‘𝐷)
20 eqid 2738 . . . 4 (Hom ‘(𝑂 ×c 𝐶)) = (Hom ‘(𝑂 ×c 𝐶))
21 eqid 2738 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
22 eqid 2738 . . . 4 (Id‘(𝑂 ×c 𝐶)) = (Id‘(𝑂 ×c 𝐶))
23 eqid 2738 . . . 4 (Id‘𝐷) = (Id‘𝐷)
24 eqid 2738 . . . 4 (comp‘(𝑂 ×c 𝐶)) = (comp‘(𝑂 ×c 𝐶))
25 eqid 2738 . . . 4 (comp‘𝐷) = (comp‘𝐷)
2616oppccat 17350 . . . . . 6 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
272, 26syl 17 . . . . 5 (𝜑𝑂 ∈ Cat)
2815, 27, 2xpccat 17823 . . . 4 (𝜑 → (𝑂 ×c 𝐶) ∈ Cat)
29 hofcl.u . . . . 5 (𝜑𝑈𝑉)
30 hofcl.d . . . . . 6 𝐷 = (SetCat‘𝑈)
3130setccat 17716 . . . . 5 (𝑈𝑉𝐷 ∈ Cat)
3229, 31syl 17 . . . 4 (𝜑𝐷 ∈ Cat)
33 eqid 2738 . . . . . . . 8 (Homf𝐶) = (Homf𝐶)
3433, 3homffn 17319 . . . . . . 7 (Homf𝐶) Fn ((Base‘𝐶) × (Base‘𝐶))
3534a1i 11 . . . . . 6 (𝜑 → (Homf𝐶) Fn ((Base‘𝐶) × (Base‘𝐶)))
36 hofcl.h . . . . . 6 (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
37 df-f 6422 . . . . . 6 ((Homf𝐶):((Base‘𝐶) × (Base‘𝐶))⟶𝑈 ↔ ((Homf𝐶) Fn ((Base‘𝐶) × (Base‘𝐶)) ∧ ran (Homf𝐶) ⊆ 𝑈))
3835, 36, 37sylanbrc 582 . . . . 5 (𝜑 → (Homf𝐶):((Base‘𝐶) × (Base‘𝐶))⟶𝑈)
3930, 29setcbas 17709 . . . . . 6 (𝜑𝑈 = (Base‘𝐷))
4039feq3d 6571 . . . . 5 (𝜑 → ((Homf𝐶):((Base‘𝐶) × (Base‘𝐶))⟶𝑈 ↔ (Homf𝐶):((Base‘𝐶) × (Base‘𝐶))⟶(Base‘𝐷)))
4138, 40mpbid 231 . . . 4 (𝜑 → (Homf𝐶):((Base‘𝐶) × (Base‘𝐶))⟶(Base‘𝐷))
42 eqid 2738 . . . . . 6 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)))) = (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))
43 ovex 7288 . . . . . . 7 ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∈ V
44 ovex 7288 . . . . . . 7 ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ∈ V
4543, 44mpoex 7893 . . . . . 6 (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))) ∈ V
4642, 45fnmpoi 7883 . . . . 5 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)))) Fn (((Base‘𝐶) × (Base‘𝐶)) × ((Base‘𝐶) × (Base‘𝐶)))
4712fneq1d 6510 . . . . 5 (𝜑 → ((2nd𝑀) Fn (((Base‘𝐶) × (Base‘𝐶)) × ((Base‘𝐶) × (Base‘𝐶))) ↔ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)))) Fn (((Base‘𝐶) × (Base‘𝐶)) × ((Base‘𝐶) × (Base‘𝐶)))))
4846, 47mpbiri 257 . . . 4 (𝜑 → (2nd𝑀) Fn (((Base‘𝐶) × (Base‘𝐶)) × ((Base‘𝐶) × (Base‘𝐶))))
492ad3antrrr 726 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝐶 ∈ Cat)
50 simplrr 774 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))
51 xp1st 7836 . . . . . . . . . . . . . 14 (𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (1st𝑦) ∈ (Base‘𝐶))
5250, 51syl 17 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → (1st𝑦) ∈ (Base‘𝐶))
5352adantr 480 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (1st𝑦) ∈ (Base‘𝐶))
54 simplrl 773 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → 𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)))
55 xp1st 7836 . . . . . . . . . . . . . 14 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (1st𝑥) ∈ (Base‘𝐶))
5654, 55syl 17 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → (1st𝑥) ∈ (Base‘𝐶))
5756adantr 480 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (1st𝑥) ∈ (Base‘𝐶))
58 xp2nd 7837 . . . . . . . . . . . . . 14 (𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (2nd𝑦) ∈ (Base‘𝐶))
5950, 58syl 17 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → (2nd𝑦) ∈ (Base‘𝐶))
6059adantr 480 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (2nd𝑦) ∈ (Base‘𝐶))
61 simplrl 773 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)))
62 1st2nd2 7843 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
6354, 62syl 17 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
6463adantr 480 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
6564oveq1d 7270 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑥(comp‘𝐶)(2nd𝑦)) = (⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑦)))
6665oveqd 7272 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(𝑥(comp‘𝐶)(2nd𝑦))) = (𝑔(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑦))))
67 xp2nd 7837 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (2nd𝑥) ∈ (Base‘𝐶))
6854, 67syl 17 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → (2nd𝑥) ∈ (Base‘𝐶))
6968adantr 480 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (2nd𝑥) ∈ (Base‘𝐶))
7063fveq2d 6760 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑥) = ((Hom ‘𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩))
71 df-ov 7258 . . . . . . . . . . . . . . . . 17 ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) = ((Hom ‘𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩)
7270, 71eqtr4di 2797 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑥) = ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
7372eleq2d 2824 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ( ∈ ((Hom ‘𝐶)‘𝑥) ↔ ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))))
7473biimpa 476 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
75 simplrr 774 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))
763, 4, 5, 49, 57, 69, 60, 74, 75catcocl 17311 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑦))) ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑦)))
7766, 76eqeltrd 2839 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(𝑥(comp‘𝐶)(2nd𝑦))) ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑦)))
783, 4, 5, 49, 53, 57, 60, 61, 77catcocl 17311 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓) ∈ ((1st𝑦)(Hom ‘𝐶)(2nd𝑦)))
79 1st2nd2 7843 . . . . . . . . . . . . . . 15 (𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
8050, 79syl 17 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
8180fveq2d 6760 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑦) = ((Hom ‘𝐶)‘⟨(1st𝑦), (2nd𝑦)⟩))
82 df-ov 7258 . . . . . . . . . . . . 13 ((1st𝑦)(Hom ‘𝐶)(2nd𝑦)) = ((Hom ‘𝐶)‘⟨(1st𝑦), (2nd𝑦)⟩)
8381, 82eqtr4di 2797 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑦) = ((1st𝑦)(Hom ‘𝐶)(2nd𝑦)))
8483adantr 480 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ((Hom ‘𝐶)‘𝑦) = ((1st𝑦)(Hom ‘𝐶)(2nd𝑦)))
8578, 84eleqtrrd 2842 . . . . . . . . . 10 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓) ∈ ((Hom ‘𝐶)‘𝑦))
8685fmpttd 6971 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)):((Hom ‘𝐶)‘𝑥)⟶((Hom ‘𝐶)‘𝑦))
8729ad2antrr 722 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → 𝑈𝑉)
8833, 3, 4, 56, 68homfval 17318 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((1st𝑥)(Homf𝐶)(2nd𝑥)) = ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
8963fveq2d 6760 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑥) = ((Homf𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩))
90 df-ov 7258 . . . . . . . . . . . . 13 ((1st𝑥)(Homf𝐶)(2nd𝑥)) = ((Homf𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩)
9189, 90eqtr4di 2797 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑥) = ((1st𝑥)(Homf𝐶)(2nd𝑥)))
9288, 91, 723eqtr4d 2788 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑥) = ((Hom ‘𝐶)‘𝑥))
9338ad2antrr 722 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → (Homf𝐶):((Base‘𝐶) × (Base‘𝐶))⟶𝑈)
9493, 54ffvelrnd 6944 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑥) ∈ 𝑈)
9592, 94eqeltrrd 2840 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑥) ∈ 𝑈)
9633, 3, 4, 52, 59homfval 17318 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((1st𝑦)(Homf𝐶)(2nd𝑦)) = ((1st𝑦)(Hom ‘𝐶)(2nd𝑦)))
9780fveq2d 6760 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑦) = ((Homf𝐶)‘⟨(1st𝑦), (2nd𝑦)⟩))
98 df-ov 7258 . . . . . . . . . . . . 13 ((1st𝑦)(Homf𝐶)(2nd𝑦)) = ((Homf𝐶)‘⟨(1st𝑦), (2nd𝑦)⟩)
9997, 98eqtr4di 2797 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑦) = ((1st𝑦)(Homf𝐶)(2nd𝑦)))
10096, 99, 833eqtr4d 2788 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑦) = ((Hom ‘𝐶)‘𝑦))
10193, 50ffvelrnd 6944 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Homf𝐶)‘𝑦) ∈ 𝑈)
102100, 101eqeltrrd 2840 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑦) ∈ 𝑈)
10330, 87, 21, 95, 102elsetchom 17712 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → (( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)) ∈ (((Hom ‘𝐶)‘𝑥)(Hom ‘𝐷)((Hom ‘𝐶)‘𝑦)) ↔ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)):((Hom ‘𝐶)‘𝑥)⟶((Hom ‘𝐶)‘𝑦)))
10486, 103mpbird 256 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)) ∈ (((Hom ‘𝐶)‘𝑥)(Hom ‘𝐷)((Hom ‘𝐶)‘𝑦)))
10592, 100oveq12d 7273 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → (((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)) = (((Hom ‘𝐶)‘𝑥)(Hom ‘𝐷)((Hom ‘𝐶)‘𝑦)))
106104, 105eleqtrrd 2842 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)) ∈ (((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)))
107106ralrimivva 3114 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ∀𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥))∀𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)) ∈ (((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)))
108 eqid 2738 . . . . . . 7 (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))) = (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)))
109108fmpo 7881 . . . . . 6 (∀𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥))∀𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)) ∈ (((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)) ↔ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))):(((1st𝑦)(Hom ‘𝐶)(1st𝑥)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))⟶(((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)))
110107, 109sylib 217 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))):(((1st𝑦)(Hom ‘𝐶)(1st𝑥)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))⟶(((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)))
11112oveqd 7272 . . . . . . 7 (𝜑 → (𝑥(2nd𝑀)𝑦) = (𝑥(𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))𝑦))
11242ovmpt4g 7398 . . . . . . . 8 ((𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))) ∈ V) → (𝑥(𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))𝑦) = (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))
11345, 112mp3an3 1448 . . . . . . 7 ((𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶))) → (𝑥(𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))𝑦) = (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))
114111, 113sylan9eq 2799 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (𝑥(2nd𝑀)𝑦) = (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))
115 eqid 2738 . . . . . . . 8 (Hom ‘𝑂) = (Hom ‘𝑂)
116 simprl 767 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → 𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)))
117 simprr 769 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))
11815, 18, 115, 4, 20, 116, 117xpchom 17813 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) = (((1st𝑥)(Hom ‘𝑂)(1st𝑦)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))))
1194, 16oppchom 17342 . . . . . . . 8 ((1st𝑥)(Hom ‘𝑂)(1st𝑦)) = ((1st𝑦)(Hom ‘𝐶)(1st𝑥))
120119xpeq1i 5606 . . . . . . 7 (((1st𝑥)(Hom ‘𝑂)(1st𝑦)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))) = (((1st𝑦)(Hom ‘𝐶)(1st𝑥)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))
121118, 120eqtrdi 2795 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) = (((1st𝑦)(Hom ‘𝐶)(1st𝑥)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))))
122114, 121feq12d 6572 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((𝑥(2nd𝑀)𝑦):(𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦)⟶(((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)) ↔ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))):(((1st𝑦)(Hom ‘𝐶)(1st𝑥)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))⟶(((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦))))
123110, 122mpbird 256 . . . 4 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (𝑥(2nd𝑀)𝑦):(𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦)⟶(((Homf𝐶)‘𝑥)(Hom ‘𝐷)((Homf𝐶)‘𝑦)))
124 eqid 2738 . . . . . . . . . 10 (Id‘𝐶) = (Id‘𝐶)
1252ad2antrr 722 . . . . . . . . . 10 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → 𝐶 ∈ Cat)
12655adantl 481 . . . . . . . . . . 11 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → (1st𝑥) ∈ (Base‘𝐶))
127126adantr 480 . . . . . . . . . 10 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → (1st𝑥) ∈ (Base‘𝐶))
12867adantl 481 . . . . . . . . . . 11 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → (2nd𝑥) ∈ (Base‘𝐶))
129128adantr 480 . . . . . . . . . 10 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → (2nd𝑥) ∈ (Base‘𝐶))
130 simpr 484 . . . . . . . . . 10 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
1313, 4, 124, 125, 127, 5, 129, 130catlid 17309 . . . . . . . . 9 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → (((Id‘𝐶)‘(2nd𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑥))𝑓) = 𝑓)
132131oveq1d 7270 . . . . . . . 8 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → ((((Id‘𝐶)‘(2nd𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑥))𝑓)(⟨(1st𝑥), (1st𝑥)⟩(comp‘𝐶)(2nd𝑥))((Id‘𝐶)‘(1st𝑥))) = (𝑓(⟨(1st𝑥), (1st𝑥)⟩(comp‘𝐶)(2nd𝑥))((Id‘𝐶)‘(1st𝑥))))
1333, 4, 124, 125, 127, 5, 129, 130catrid 17310 . . . . . . . 8 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → (𝑓(⟨(1st𝑥), (1st𝑥)⟩(comp‘𝐶)(2nd𝑥))((Id‘𝐶)‘(1st𝑥))) = 𝑓)
134132, 133eqtrd 2778 . . . . . . 7 (((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ 𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) → ((((Id‘𝐶)‘(2nd𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑥))𝑓)(⟨(1st𝑥), (1st𝑥)⟩(comp‘𝐶)(2nd𝑥))((Id‘𝐶)‘(1st𝑥))) = 𝑓)
135134mpteq2dva 5170 . . . . . 6 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → (𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) ↦ ((((Id‘𝐶)‘(2nd𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑥))𝑓)(⟨(1st𝑥), (1st𝑥)⟩(comp‘𝐶)(2nd𝑥))((Id‘𝐶)‘(1st𝑥)))) = (𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) ↦ 𝑓))
136 df-ov 7258 . . . . . . 7 (((Id‘𝐶)‘(1st𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑥), (2nd𝑥)⟩)((Id‘𝐶)‘(2nd𝑥))) = ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑥), (2nd𝑥)⟩)‘⟨((Id‘𝐶)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩)
1372adantr 480 . . . . . . . 8 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → 𝐶 ∈ Cat)
1383, 4, 124, 137, 126catidcl 17308 . . . . . . . 8 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Id‘𝐶)‘(1st𝑥)) ∈ ((1st𝑥)(Hom ‘𝐶)(1st𝑥)))
1393, 4, 124, 137, 128catidcl 17308 . . . . . . . 8 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Id‘𝐶)‘(2nd𝑥)) ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑥)))
1401, 137, 3, 4, 126, 128, 126, 128, 5, 138, 139hof2val 17890 . . . . . . 7 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → (((Id‘𝐶)‘(1st𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑥), (2nd𝑥)⟩)((Id‘𝐶)‘(2nd𝑥))) = (𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) ↦ ((((Id‘𝐶)‘(2nd𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑥))𝑓)(⟨(1st𝑥), (1st𝑥)⟩(comp‘𝐶)(2nd𝑥))((Id‘𝐶)‘(1st𝑥)))))
141136, 140eqtr3id 2793 . . . . . 6 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑥), (2nd𝑥)⟩)‘⟨((Id‘𝐶)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩) = (𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) ↦ ((((Id‘𝐶)‘(2nd𝑥))(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑥))𝑓)(⟨(1st𝑥), (1st𝑥)⟩(comp‘𝐶)(2nd𝑥))((Id‘𝐶)‘(1st𝑥)))))
14262adantl 481 . . . . . . . . . . 11 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
143142fveq2d 6760 . . . . . . . . . 10 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Homf𝐶)‘𝑥) = ((Homf𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩))
144143, 90eqtr4di 2797 . . . . . . . . 9 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Homf𝐶)‘𝑥) = ((1st𝑥)(Homf𝐶)(2nd𝑥)))
14533, 3, 4, 126, 128homfval 17318 . . . . . . . . 9 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((1st𝑥)(Homf𝐶)(2nd𝑥)) = ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
146144, 145eqtrd 2778 . . . . . . . 8 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Homf𝐶)‘𝑥) = ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
147146reseq2d 5880 . . . . . . 7 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ( I ↾ ((Homf𝐶)‘𝑥)) = ( I ↾ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))))
148 mptresid 5947 . . . . . . 7 ( I ↾ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))) = (𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) ↦ 𝑓)
149147, 148eqtrdi 2795 . . . . . 6 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ( I ↾ ((Homf𝐶)‘𝑥)) = (𝑓 ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) ↦ 𝑓))
150135, 141, 1493eqtr4d 2788 . . . . 5 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑥), (2nd𝑥)⟩)‘⟨((Id‘𝐶)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩) = ( I ↾ ((Homf𝐶)‘𝑥)))
151142, 142oveq12d 7273 . . . . . 6 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → (𝑥(2nd𝑀)𝑥) = (⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑥), (2nd𝑥)⟩))
152142fveq2d 6760 . . . . . . 7 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Id‘(𝑂 ×c 𝐶))‘𝑥) = ((Id‘(𝑂 ×c 𝐶))‘⟨(1st𝑥), (2nd𝑥)⟩))
15327adantr 480 . . . . . . . 8 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → 𝑂 ∈ Cat)
154 eqid 2738 . . . . . . . 8 (Id‘𝑂) = (Id‘𝑂)
15515, 153, 137, 17, 3, 154, 124, 22, 126, 128xpcid 17822 . . . . . . 7 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Id‘(𝑂 ×c 𝐶))‘⟨(1st𝑥), (2nd𝑥)⟩) = ⟨((Id‘𝑂)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩)
15616, 124oppcid 17349 . . . . . . . . . 10 (𝐶 ∈ Cat → (Id‘𝑂) = (Id‘𝐶))
157137, 156syl 17 . . . . . . . . 9 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → (Id‘𝑂) = (Id‘𝐶))
158157fveq1d 6758 . . . . . . . 8 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Id‘𝑂)‘(1st𝑥)) = ((Id‘𝐶)‘(1st𝑥)))
159158opeq1d 4807 . . . . . . 7 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ⟨((Id‘𝑂)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩ = ⟨((Id‘𝐶)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩)
160152, 155, 1593eqtrd 2782 . . . . . 6 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Id‘(𝑂 ×c 𝐶))‘𝑥) = ⟨((Id‘𝐶)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩)
161151, 160fveq12d 6763 . . . . 5 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((𝑥(2nd𝑀)𝑥)‘((Id‘(𝑂 ×c 𝐶))‘𝑥)) = ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑥), (2nd𝑥)⟩)‘⟨((Id‘𝐶)‘(1st𝑥)), ((Id‘𝐶)‘(2nd𝑥))⟩))
16229adantr 480 . . . . . 6 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → 𝑈𝑉)
16338ffvelrnda 6943 . . . . . 6 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Homf𝐶)‘𝑥) ∈ 𝑈)
16430, 23, 162, 163setcid 17717 . . . . 5 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Id‘𝐷)‘((Homf𝐶)‘𝑥)) = ( I ↾ ((Homf𝐶)‘𝑥)))
165150, 161, 1643eqtr4d 2788 . . . 4 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((𝑥(2nd𝑀)𝑥)‘((Id‘(𝑂 ×c 𝐶))‘𝑥)) = ((Id‘𝐷)‘((Homf𝐶)‘𝑥)))
16623ad2ant1 1131 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝐶 ∈ Cat)
167293ad2ant1 1131 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑈𝑉)
168363ad2ant1 1131 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ran (Homf𝐶) ⊆ 𝑈)
169 simp21 1204 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)))
170169, 55syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (1st𝑥) ∈ (Base‘𝐶))
171169, 67syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (2nd𝑥) ∈ (Base‘𝐶))
172 simp22 1205 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))
173172, 51syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (1st𝑦) ∈ (Base‘𝐶))
174172, 58syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (2nd𝑦) ∈ (Base‘𝐶))
175 simp23 1206 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶)))
176 xp1st 7836 . . . . . . 7 (𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (1st𝑧) ∈ (Base‘𝐶))
177175, 176syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (1st𝑧) ∈ (Base‘𝐶))
178 xp2nd 7837 . . . . . . 7 (𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (2nd𝑧) ∈ (Base‘𝐶))
179175, 178syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (2nd𝑧) ∈ (Base‘𝐶))
180 simp3l 1199 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦))
18115, 18, 115, 4, 20, 169, 172xpchom 17813 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) = (((1st𝑥)(Hom ‘𝑂)(1st𝑦)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))))
182180, 181eleqtrd 2841 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑓 ∈ (((1st𝑥)(Hom ‘𝑂)(1st𝑦)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))))
183 xp1st 7836 . . . . . . . 8 (𝑓 ∈ (((1st𝑥)(Hom ‘𝑂)(1st𝑦)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))) → (1st𝑓) ∈ ((1st𝑥)(Hom ‘𝑂)(1st𝑦)))
184182, 183syl 17 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (1st𝑓) ∈ ((1st𝑥)(Hom ‘𝑂)(1st𝑦)))
185184, 119eleqtrdi 2849 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (1st𝑓) ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)))
186 xp2nd 7837 . . . . . . 7 (𝑓 ∈ (((1st𝑥)(Hom ‘𝑂)(1st𝑦)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))) → (2nd𝑓) ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))
187182, 186syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (2nd𝑓) ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))
188 simp3r 1200 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))
18915, 18, 115, 4, 20, 172, 175xpchom 17813 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧) = (((1st𝑦)(Hom ‘𝑂)(1st𝑧)) × ((2nd𝑦)(Hom ‘𝐶)(2nd𝑧))))
190188, 189eleqtrd 2841 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑔 ∈ (((1st𝑦)(Hom ‘𝑂)(1st𝑧)) × ((2nd𝑦)(Hom ‘𝐶)(2nd𝑧))))
191 xp1st 7836 . . . . . . . 8 (𝑔 ∈ (((1st𝑦)(Hom ‘𝑂)(1st𝑧)) × ((2nd𝑦)(Hom ‘𝐶)(2nd𝑧))) → (1st𝑔) ∈ ((1st𝑦)(Hom ‘𝑂)(1st𝑧)))
192190, 191syl 17 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (1st𝑔) ∈ ((1st𝑦)(Hom ‘𝑂)(1st𝑧)))
1934, 16oppchom 17342 . . . . . . 7 ((1st𝑦)(Hom ‘𝑂)(1st𝑧)) = ((1st𝑧)(Hom ‘𝐶)(1st𝑦))
194192, 193eleqtrdi 2849 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (1st𝑔) ∈ ((1st𝑧)(Hom ‘𝐶)(1st𝑦)))
195 xp2nd 7837 . . . . . . 7 (𝑔 ∈ (((1st𝑦)(Hom ‘𝑂)(1st𝑧)) × ((2nd𝑦)(Hom ‘𝐶)(2nd𝑧))) → (2nd𝑔) ∈ ((2nd𝑦)(Hom ‘𝐶)(2nd𝑧)))
196190, 195syl 17 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (2nd𝑔) ∈ ((2nd𝑦)(Hom ‘𝐶)(2nd𝑧)))
1971, 16, 30, 166, 167, 168, 3, 4, 170, 171, 173, 174, 177, 179, 185, 187, 194, 196hofcllem 17892 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔))(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))) = (((1st𝑔)(⟨(1st𝑦), (2nd𝑦)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)(2nd𝑔))(⟨((1st𝑥)(Hom ‘𝐶)(2nd𝑥)), ((1st𝑦)(Hom ‘𝐶)(2nd𝑦))⟩(comp‘𝐷)((1st𝑧)(Hom ‘𝐶)(2nd𝑧)))((1st𝑓)(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑦), (2nd𝑦)⟩)(2nd𝑓))))
198169, 62syl 17 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
199 1st2nd2 7843 . . . . . . . . 9 (𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶)) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
200175, 199syl 17 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑧 = ⟨(1st𝑧), (2nd𝑧)⟩)
201198, 200oveq12d 7273 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (𝑥(2nd𝑀)𝑧) = (⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩))
202172, 79syl 17 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑦 = ⟨(1st𝑦), (2nd𝑦)⟩)
203198, 202opeq12d 4809 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ⟨𝑥, 𝑦⟩ = ⟨⟨(1st𝑥), (2nd𝑥)⟩, ⟨(1st𝑦), (2nd𝑦)⟩⟩)
204203, 200oveq12d 7273 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (⟨𝑥, 𝑦⟩(comp‘(𝑂 ×c 𝐶))𝑧) = (⟨⟨(1st𝑥), (2nd𝑥)⟩, ⟨(1st𝑦), (2nd𝑦)⟩⟩(comp‘(𝑂 ×c 𝐶))⟨(1st𝑧), (2nd𝑧)⟩))
205 1st2nd2 7843 . . . . . . . . . 10 (𝑔 ∈ (((1st𝑦)(Hom ‘𝑂)(1st𝑧)) × ((2nd𝑦)(Hom ‘𝐶)(2nd𝑧))) → 𝑔 = ⟨(1st𝑔), (2nd𝑔)⟩)
206190, 205syl 17 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑔 = ⟨(1st𝑔), (2nd𝑔)⟩)
207 1st2nd2 7843 . . . . . . . . . 10 (𝑓 ∈ (((1st𝑥)(Hom ‘𝑂)(1st𝑦)) × ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦))) → 𝑓 = ⟨(1st𝑓), (2nd𝑓)⟩)
208182, 207syl 17 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → 𝑓 = ⟨(1st𝑓), (2nd𝑓)⟩)
209204, 206, 208oveq123d 7276 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝑂 ×c 𝐶))𝑧)𝑓) = (⟨(1st𝑔), (2nd𝑔)⟩(⟨⟨(1st𝑥), (2nd𝑥)⟩, ⟨(1st𝑦), (2nd𝑦)⟩⟩(comp‘(𝑂 ×c 𝐶))⟨(1st𝑧), (2nd𝑧)⟩)⟨(1st𝑓), (2nd𝑓)⟩))
210 eqid 2738 . . . . . . . . 9 (comp‘𝑂) = (comp‘𝑂)
21115, 17, 3, 115, 4, 170, 171, 173, 174, 210, 5, 24, 177, 179, 184, 187, 192, 196xpcco2 17820 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (⟨(1st𝑔), (2nd𝑔)⟩(⟨⟨(1st𝑥), (2nd𝑥)⟩, ⟨(1st𝑦), (2nd𝑦)⟩⟩(comp‘(𝑂 ×c 𝐶))⟨(1st𝑧), (2nd𝑧)⟩)⟨(1st𝑓), (2nd𝑓)⟩) = ⟨((1st𝑔)(⟨(1st𝑥), (1st𝑦)⟩(comp‘𝑂)(1st𝑧))(1st𝑓)), ((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))⟩)
2123, 5, 16, 170, 173, 177oppcco 17344 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((1st𝑔)(⟨(1st𝑥), (1st𝑦)⟩(comp‘𝑂)(1st𝑧))(1st𝑓)) = ((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔)))
213212opeq1d 4807 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ⟨((1st𝑔)(⟨(1st𝑥), (1st𝑦)⟩(comp‘𝑂)(1st𝑧))(1st𝑓)), ((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))⟩ = ⟨((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔)), ((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))⟩)
214209, 211, 2133eqtrd 2782 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝑂 ×c 𝐶))𝑧)𝑓) = ⟨((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔)), ((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))⟩)
215201, 214fveq12d 6763 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((𝑥(2nd𝑀)𝑧)‘(𝑔(⟨𝑥, 𝑦⟩(comp‘(𝑂 ×c 𝐶))𝑧)𝑓)) = ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)‘⟨((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔)), ((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))⟩))
216 df-ov 7258 . . . . . 6 (((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔))(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))) = ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)‘⟨((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔)), ((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))⟩)
217215, 216eqtr4di 2797 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((𝑥(2nd𝑀)𝑧)‘(𝑔(⟨𝑥, 𝑦⟩(comp‘(𝑂 ×c 𝐶))𝑧)𝑓)) = (((1st𝑓)(⟨(1st𝑧), (1st𝑦)⟩(comp‘𝐶)(1st𝑥))(1st𝑔))(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)((2nd𝑔)(⟨(2nd𝑥), (2nd𝑦)⟩(comp‘𝐶)(2nd𝑧))(2nd𝑓))))
218198fveq2d 6760 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑥) = ((Homf𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩))
219218, 90eqtr4di 2797 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑥) = ((1st𝑥)(Homf𝐶)(2nd𝑥)))
22033, 3, 4, 170, 171homfval 17318 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((1st𝑥)(Homf𝐶)(2nd𝑥)) = ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
221219, 220eqtrd 2778 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑥) = ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
222202fveq2d 6760 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑦) = ((Homf𝐶)‘⟨(1st𝑦), (2nd𝑦)⟩))
223222, 98eqtr4di 2797 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑦) = ((1st𝑦)(Homf𝐶)(2nd𝑦)))
22433, 3, 4, 173, 174homfval 17318 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((1st𝑦)(Homf𝐶)(2nd𝑦)) = ((1st𝑦)(Hom ‘𝐶)(2nd𝑦)))
225223, 224eqtrd 2778 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑦) = ((1st𝑦)(Hom ‘𝐶)(2nd𝑦)))
226221, 225opeq12d 4809 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ⟨((Homf𝐶)‘𝑥), ((Homf𝐶)‘𝑦)⟩ = ⟨((1st𝑥)(Hom ‘𝐶)(2nd𝑥)), ((1st𝑦)(Hom ‘𝐶)(2nd𝑦))⟩)
227200fveq2d 6760 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑧) = ((Homf𝐶)‘⟨(1st𝑧), (2nd𝑧)⟩))
228 df-ov 7258 . . . . . . . . 9 ((1st𝑧)(Homf𝐶)(2nd𝑧)) = ((Homf𝐶)‘⟨(1st𝑧), (2nd𝑧)⟩)
229227, 228eqtr4di 2797 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑧) = ((1st𝑧)(Homf𝐶)(2nd𝑧)))
23033, 3, 4, 177, 179homfval 17318 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((1st𝑧)(Homf𝐶)(2nd𝑧)) = ((1st𝑧)(Hom ‘𝐶)(2nd𝑧)))
231229, 230eqtrd 2778 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((Homf𝐶)‘𝑧) = ((1st𝑧)(Hom ‘𝐶)(2nd𝑧)))
232226, 231oveq12d 7273 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (⟨((Homf𝐶)‘𝑥), ((Homf𝐶)‘𝑦)⟩(comp‘𝐷)((Homf𝐶)‘𝑧)) = (⟨((1st𝑥)(Hom ‘𝐶)(2nd𝑥)), ((1st𝑦)(Hom ‘𝐶)(2nd𝑦))⟩(comp‘𝐷)((1st𝑧)(Hom ‘𝐶)(2nd𝑧))))
233202, 200oveq12d 7273 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (𝑦(2nd𝑀)𝑧) = (⟨(1st𝑦), (2nd𝑦)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩))
234233, 206fveq12d 6763 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((𝑦(2nd𝑀)𝑧)‘𝑔) = ((⟨(1st𝑦), (2nd𝑦)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)‘⟨(1st𝑔), (2nd𝑔)⟩))
235 df-ov 7258 . . . . . . 7 ((1st𝑔)(⟨(1st𝑦), (2nd𝑦)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)(2nd𝑔)) = ((⟨(1st𝑦), (2nd𝑦)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)‘⟨(1st𝑔), (2nd𝑔)⟩)
236234, 235eqtr4di 2797 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((𝑦(2nd𝑀)𝑧)‘𝑔) = ((1st𝑔)(⟨(1st𝑦), (2nd𝑦)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)(2nd𝑔)))
237198, 202oveq12d 7273 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (𝑥(2nd𝑀)𝑦) = (⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑦), (2nd𝑦)⟩))
238237, 208fveq12d 6763 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((𝑥(2nd𝑀)𝑦)‘𝑓) = ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑦), (2nd𝑦)⟩)‘⟨(1st𝑓), (2nd𝑓)⟩))
239 df-ov 7258 . . . . . . 7 ((1st𝑓)(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑦), (2nd𝑦)⟩)(2nd𝑓)) = ((⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑦), (2nd𝑦)⟩)‘⟨(1st𝑓), (2nd𝑓)⟩)
240238, 239eqtr4di 2797 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((𝑥(2nd𝑀)𝑦)‘𝑓) = ((1st𝑓)(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑦), (2nd𝑦)⟩)(2nd𝑓)))
241232, 236, 240oveq123d 7276 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → (((𝑦(2nd𝑀)𝑧)‘𝑔)(⟨((Homf𝐶)‘𝑥), ((Homf𝐶)‘𝑦)⟩(comp‘𝐷)((Homf𝐶)‘𝑧))((𝑥(2nd𝑀)𝑦)‘𝑓)) = (((1st𝑔)(⟨(1st𝑦), (2nd𝑦)⟩(2nd𝑀)⟨(1st𝑧), (2nd𝑧)⟩)(2nd𝑔))(⟨((1st𝑥)(Hom ‘𝐶)(2nd𝑥)), ((1st𝑦)(Hom ‘𝐶)(2nd𝑦))⟩(comp‘𝐷)((1st𝑧)(Hom ‘𝐶)(2nd𝑧)))((1st𝑓)(⟨(1st𝑥), (2nd𝑥)⟩(2nd𝑀)⟨(1st𝑦), (2nd𝑦)⟩)(2nd𝑓))))
242197, 217, 2413eqtr4d 2788 . . . 4 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝑂 ×c 𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝑂 ×c 𝐶))𝑧))) → ((𝑥(2nd𝑀)𝑧)‘(𝑔(⟨𝑥, 𝑦⟩(comp‘(𝑂 ×c 𝐶))𝑧)𝑓)) = (((𝑦(2nd𝑀)𝑧)‘𝑔)(⟨((Homf𝐶)‘𝑥), ((Homf𝐶)‘𝑦)⟩(comp‘𝐷)((Homf𝐶)‘𝑧))((𝑥(2nd𝑀)𝑦)‘𝑓)))
24318, 19, 20, 21, 22, 23, 24, 25, 28, 32, 41, 48, 123, 165, 242isfuncd 17496 . . 3 (𝜑 → (Homf𝐶)((𝑂 ×c 𝐶) Func 𝐷)(2nd𝑀))
244 df-br 5071 . . 3 ((Homf𝐶)((𝑂 ×c 𝐶) Func 𝐷)(2nd𝑀) ↔ ⟨(Homf𝐶), (2nd𝑀)⟩ ∈ ((𝑂 ×c 𝐶) Func 𝐷))
245243, 244sylib 217 . 2 (𝜑 → ⟨(Homf𝐶), (2nd𝑀)⟩ ∈ ((𝑂 ×c 𝐶) Func 𝐷))
24614, 245eqeltrd 2839 1 (𝜑𝑀 ∈ ((𝑂 ×c 𝐶) Func 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  wss 3883  cop 4564   class class class wbr 5070  cmpt 5153   I cid 5479   × cxp 5578  ran crn 5581  cres 5582   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  cmpo 7257  1st c1st 7802  2nd c2nd 7803  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290  Idccid 17291  Homf chomf 17292  oppCatcoppc 17337   Func cfunc 17485  SetCatcsetc 17706   ×c cxpc 17801  HomFchof 17882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-tpos 8013  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-map 8575  df-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-z 12250  df-dec 12367  df-uz 12512  df-fz 13169  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-hom 16912  df-cco 16913  df-cat 17294  df-cid 17295  df-homf 17296  df-oppc 17338  df-func 17489  df-setc 17707  df-xpc 17805  df-hof 17884
This theorem is referenced by:  oppchofcl  17894  oppcyon  17903  yonedalem1  17906  yonedalem21  17907  yonedalem22  17912
  Copyright terms: Public domain W3C validator