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

Theorem hofpropd 17985
Description: If two categories have the same set of objects, morphisms, and compositions, then they have the same Hom functor. (Contributed by Mario Carneiro, 26-Jan-2017.)
Hypotheses
Ref Expression
hofpropd.1 (𝜑 → (Homf𝐶) = (Homf𝐷))
hofpropd.2 (𝜑 → (compf𝐶) = (compf𝐷))
hofpropd.c (𝜑𝐶 ∈ Cat)
hofpropd.d (𝜑𝐷 ∈ Cat)
Assertion
Ref Expression
hofpropd (𝜑 → (HomF𝐶) = (HomF𝐷))

Proof of Theorem hofpropd
Dummy variables 𝑓 𝑔 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 hofpropd.1 . . 3 (𝜑 → (Homf𝐶) = (Homf𝐷))
21homfeqbas 17405 . . . . 5 (𝜑 → (Base‘𝐶) = (Base‘𝐷))
32sqxpeqd 5621 . . . 4 (𝜑 → ((Base‘𝐶) × (Base‘𝐶)) = ((Base‘𝐷) × (Base‘𝐷)))
43adantr 481 . . . 4 ((𝜑𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶))) → ((Base‘𝐶) × (Base‘𝐶)) = ((Base‘𝐷) × (Base‘𝐷)))
5 eqid 2738 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
6 eqid 2738 . . . . . 6 (Hom ‘𝐶) = (Hom ‘𝐶)
7 eqid 2738 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
81adantr 481 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (Homf𝐶) = (Homf𝐷))
9 xp1st 7863 . . . . . . 7 (𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (1st𝑦) ∈ (Base‘𝐶))
109ad2antll 726 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (1st𝑦) ∈ (Base‘𝐶))
11 xp1st 7863 . . . . . . 7 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (1st𝑥) ∈ (Base‘𝐶))
1211ad2antrl 725 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (1st𝑥) ∈ (Base‘𝐶))
135, 6, 7, 8, 10, 12homfeqval 17406 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) = ((1st𝑦)(Hom ‘𝐷)(1st𝑥)))
14 xp2nd 7864 . . . . . . . 8 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (2nd𝑥) ∈ (Base‘𝐶))
1514ad2antrl 725 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (2nd𝑥) ∈ (Base‘𝐶))
16 xp2nd 7864 . . . . . . . 8 (𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) → (2nd𝑦) ∈ (Base‘𝐶))
1716ad2antll 726 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → (2nd𝑦) ∈ (Base‘𝐶))
185, 6, 7, 8, 15, 17homfeqval 17406 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) = ((2nd𝑥)(Hom ‘𝐷)(2nd𝑦)))
1918adantr 481 . . . . 5 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ 𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥))) → ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) = ((2nd𝑥)(Hom ‘𝐷)(2nd𝑦)))
205, 6, 7, 8, 12, 15homfeqval 17406 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) = ((1st𝑥)(Hom ‘𝐷)(2nd𝑥)))
21 df-ov 7278 . . . . . . . . 9 ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)) = ((Hom ‘𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩)
22 df-ov 7278 . . . . . . . . 9 ((1st𝑥)(Hom ‘𝐷)(2nd𝑥)) = ((Hom ‘𝐷)‘⟨(1st𝑥), (2nd𝑥)⟩)
2320, 21, 223eqtr3g 2801 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((Hom ‘𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩) = ((Hom ‘𝐷)‘⟨(1st𝑥), (2nd𝑥)⟩))
24 1st2nd2 7870 . . . . . . . . . 10 (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
2524ad2antrl 725 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
2625fveq2d 6778 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((Hom ‘𝐶)‘𝑥) = ((Hom ‘𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩))
2725fveq2d 6778 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((Hom ‘𝐷)‘𝑥) = ((Hom ‘𝐷)‘⟨(1st𝑥), (2nd𝑥)⟩))
2823, 26, 273eqtr4d 2788 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) → ((Hom ‘𝐶)‘𝑥) = ((Hom ‘𝐷)‘𝑥))
2928adantr 481 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑥) = ((Hom ‘𝐷)‘𝑥))
30 eqid 2738 . . . . . . . 8 (comp‘𝐶) = (comp‘𝐶)
31 eqid 2738 . . . . . . . 8 (comp‘𝐷) = (comp‘𝐷)
328ad2antrr 723 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (Homf𝐶) = (Homf𝐷))
33 hofpropd.2 . . . . . . . . 9 (𝜑 → (compf𝐶) = (compf𝐷))
3433ad3antrrr 727 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (compf𝐶) = (compf𝐷))
3510ad2antrr 723 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (1st𝑦) ∈ (Base‘𝐶))
3612ad2antrr 723 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (1st𝑥) ∈ (Base‘𝐶))
3717ad2antrr 723 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (2nd𝑦) ∈ (Base‘𝐶))
38 simplrl 774 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)))
3925ad2antrr 723 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
4039oveq1d 7290 . . . . . . . . . 10 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑥(comp‘𝐶)(2nd𝑦)) = (⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑦)))
4140oveqd 7292 . . . . . . . . 9 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(𝑥(comp‘𝐶)(2nd𝑦))) = (𝑔(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑦))))
42 hofpropd.c . . . . . . . . . . 11 (𝜑𝐶 ∈ Cat)
4342ad3antrrr 727 . . . . . . . . . 10 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝐶 ∈ Cat)
4415ad2antrr 723 . . . . . . . . . 10 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (2nd𝑥) ∈ (Base‘𝐶))
4526adantr 481 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑥) = ((Hom ‘𝐶)‘⟨(1st𝑥), (2nd𝑥)⟩))
4645, 21eqtr4di 2796 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ((Hom ‘𝐶)‘𝑥) = ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
4746eleq2d 2824 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ( ∈ ((Hom ‘𝐶)‘𝑥) ↔ ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥))))
4847biimpa 477 . . . . . . . . . 10 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑥)))
49 simplrr 775 . . . . . . . . . 10 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))
505, 6, 30, 43, 36, 44, 37, 48, 49catcocl 17394 . . . . . . . . 9 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑦))) ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑦)))
5141, 50eqeltrd 2839 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(𝑥(comp‘𝐶)(2nd𝑦))) ∈ ((1st𝑥)(Hom ‘𝐶)(2nd𝑦)))
525, 6, 30, 31, 32, 34, 35, 36, 37, 38, 51comfeqval 17417 . . . . . . 7 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓) = ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐷)(2nd𝑦))𝑓))
535, 6, 30, 31, 32, 34, 36, 44, 37, 48, 49comfeqval 17417 . . . . . . . . 9 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐶)(2nd𝑦))) = (𝑔(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐷)(2nd𝑦))))
5439oveq1d 7290 . . . . . . . . . 10 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑥(comp‘𝐷)(2nd𝑦)) = (⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐷)(2nd𝑦)))
5554oveqd 7292 . . . . . . . . 9 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(𝑥(comp‘𝐷)(2nd𝑦))) = (𝑔(⟨(1st𝑥), (2nd𝑥)⟩(comp‘𝐷)(2nd𝑦))))
5653, 41, 553eqtr4d 2788 . . . . . . . 8 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → (𝑔(𝑥(comp‘𝐶)(2nd𝑦))) = (𝑔(𝑥(comp‘𝐷)(2nd𝑦))))
5756oveq1d 7290 . . . . . . 7 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐷)(2nd𝑦))𝑓) = ((𝑔(𝑥(comp‘𝐷)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐷)(2nd𝑦))𝑓))
5852, 57eqtrd 2778 . . . . . 6 ((((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) ∧ ∈ ((Hom ‘𝐶)‘𝑥)) → ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓) = ((𝑔(𝑥(comp‘𝐷)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐷)(2nd𝑦))𝑓))
5929, 58mpteq12dva 5163 . . . . 5 (((𝜑 ∧ (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)) ∧ 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)))) ∧ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)) ∧ 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)))) → ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓)) = ( ∈ ((Hom ‘𝐷)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐷)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐷)(2nd𝑦))𝑓)))
6013, 19, 59mpoeq123dva 7349 . . . 4 ((𝜑 ∧ (𝑥 ∈ ((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𝑦))𝑓))))
613, 4, 60mpoeq123dva 7349 . . 3 (𝜑 → (𝑥 ∈ ((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𝑦))𝑓)))))
621, 61opeq12d 4812 . 2 (𝜑 → ⟨(Homf𝐶), (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))⟩ = ⟨(Homf𝐷), (𝑥 ∈ ((Base‘𝐷) × (Base‘𝐷)), 𝑦 ∈ ((Base‘𝐷) × (Base‘𝐷)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐷)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐷)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐷)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐷)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐷)(2nd𝑦))𝑓))))⟩)
63 eqid 2738 . . 3 (HomF𝐶) = (HomF𝐶)
6463, 42, 5, 6, 30hofval 17970 . 2 (𝜑 → (HomF𝐶) = ⟨(Homf𝐶), (𝑥 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑦 ∈ ((Base‘𝐶) × (Base‘𝐶)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐶)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐶)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐶)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐶)(2nd𝑦))𝑓))))⟩)
65 eqid 2738 . . 3 (HomF𝐷) = (HomF𝐷)
66 hofpropd.d . . 3 (𝜑𝐷 ∈ Cat)
67 eqid 2738 . . 3 (Base‘𝐷) = (Base‘𝐷)
6865, 66, 67, 7, 31hofval 17970 . 2 (𝜑 → (HomF𝐷) = ⟨(Homf𝐷), (𝑥 ∈ ((Base‘𝐷) × (Base‘𝐷)), 𝑦 ∈ ((Base‘𝐷) × (Base‘𝐷)) ↦ (𝑓 ∈ ((1st𝑦)(Hom ‘𝐷)(1st𝑥)), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐷)(2nd𝑦)) ↦ ( ∈ ((Hom ‘𝐷)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝐷)(2nd𝑦)))(⟨(1st𝑦), (1st𝑥)⟩(comp‘𝐷)(2nd𝑦))𝑓))))⟩)
6962, 64, 683eqtr4d 2788 1 (𝜑 → (HomF𝐶) = (HomF𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  cop 4567  cmpt 5157   × cxp 5587  cfv 6433  (class class class)co 7275  cmpo 7277  1st c1st 7829  2nd c2nd 7830  Basecbs 16912  Hom chom 16973  compcco 16974  Catccat 17373  Homf chomf 17375  compfccomf 17376  HomFchof 17966
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-cat 17377  df-homf 17379  df-comf 17380  df-hof 17968
This theorem is referenced by:  yonpropd  17986  oppcyon  17987
  Copyright terms: Public domain W3C validator