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

Theorem funcres 17527
Description: A functor restricted to a subcategory is a functor. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
funcres.f (𝜑𝐹 ∈ (𝐶 Func 𝐷))
funcres.h (𝜑𝐻 ∈ (Subcat‘𝐶))
Assertion
Ref Expression
funcres (𝜑 → (𝐹f 𝐻) ∈ ((𝐶cat 𝐻) Func 𝐷))

Proof of Theorem funcres
Dummy variables 𝑓 𝑔 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 funcres.f . . . 4 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
2 funcres.h . . . 4 (𝜑𝐻 ∈ (Subcat‘𝐶))
31, 2resfval 17523 . . 3 (𝜑 → (𝐹f 𝐻) = ⟨((1st𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧)))⟩)
43fveq2d 6760 . . . . 5 (𝜑 → (2nd ‘(𝐹f 𝐻)) = (2nd ‘⟨((1st𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧)))⟩))
5 fvex 6769 . . . . . . 7 (1st𝐹) ∈ V
65resex 5928 . . . . . 6 ((1st𝐹) ↾ dom dom 𝐻) ∈ V
7 dmexg 7724 . . . . . . 7 (𝐻 ∈ (Subcat‘𝐶) → dom 𝐻 ∈ V)
8 mptexg 7079 . . . . . . 7 (dom 𝐻 ∈ V → (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))) ∈ V)
92, 7, 83syl 18 . . . . . 6 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))) ∈ V)
10 op2ndg 7817 . . . . . 6 ((((1st𝐹) ↾ dom dom 𝐻) ∈ V ∧ (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))) ∈ V) → (2nd ‘⟨((1st𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧)))⟩) = (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))))
116, 9, 10sylancr 586 . . . . 5 (𝜑 → (2nd ‘⟨((1st𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧)))⟩) = (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))))
124, 11eqtrd 2778 . . . 4 (𝜑 → (2nd ‘(𝐹f 𝐻)) = (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))))
1312opeq2d 4808 . . 3 (𝜑 → ⟨((1st𝐹) ↾ dom dom 𝐻), (2nd ‘(𝐹f 𝐻))⟩ = ⟨((1st𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧)))⟩)
143, 13eqtr4d 2781 . 2 (𝜑 → (𝐹f 𝐻) = ⟨((1st𝐹) ↾ dom dom 𝐻), (2nd ‘(𝐹f 𝐻))⟩)
15 eqid 2738 . . . 4 (Base‘(𝐶cat 𝐻)) = (Base‘(𝐶cat 𝐻))
16 eqid 2738 . . . 4 (Base‘𝐷) = (Base‘𝐷)
17 eqid 2738 . . . 4 (Hom ‘(𝐶cat 𝐻)) = (Hom ‘(𝐶cat 𝐻))
18 eqid 2738 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
19 eqid 2738 . . . 4 (Id‘(𝐶cat 𝐻)) = (Id‘(𝐶cat 𝐻))
20 eqid 2738 . . . 4 (Id‘𝐷) = (Id‘𝐷)
21 eqid 2738 . . . 4 (comp‘(𝐶cat 𝐻)) = (comp‘(𝐶cat 𝐻))
22 eqid 2738 . . . 4 (comp‘𝐷) = (comp‘𝐷)
23 eqid 2738 . . . . 5 (𝐶cat 𝐻) = (𝐶cat 𝐻)
2423, 2subccat 17479 . . . 4 (𝜑 → (𝐶cat 𝐻) ∈ Cat)
25 funcrcl 17494 . . . . . 6 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
261, 25syl 17 . . . . 5 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
2726simprd 495 . . . 4 (𝜑𝐷 ∈ Cat)
28 eqid 2738 . . . . . . 7 (Base‘𝐶) = (Base‘𝐶)
29 relfunc 17493 . . . . . . . 8 Rel (𝐶 Func 𝐷)
30 1st2ndbr 7856 . . . . . . . 8 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
3129, 1, 30sylancr 586 . . . . . . 7 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
3228, 16, 31funcf1 17497 . . . . . 6 (𝜑 → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
33 eqidd 2739 . . . . . . . 8 (𝜑 → dom dom 𝐻 = dom dom 𝐻)
342, 33subcfn 17472 . . . . . . 7 (𝜑𝐻 Fn (dom dom 𝐻 × dom dom 𝐻))
352, 34, 28subcss1 17473 . . . . . 6 (𝜑 → dom dom 𝐻 ⊆ (Base‘𝐶))
3632, 35fssresd 6625 . . . . 5 (𝜑 → ((1st𝐹) ↾ dom dom 𝐻):dom dom 𝐻⟶(Base‘𝐷))
3726simpld 494 . . . . . . 7 (𝜑𝐶 ∈ Cat)
3823, 28, 37, 34, 35rescbas 17458 . . . . . 6 (𝜑 → dom dom 𝐻 = (Base‘(𝐶cat 𝐻)))
3938feq2d 6570 . . . . 5 (𝜑 → (((1st𝐹) ↾ dom dom 𝐻):dom dom 𝐻⟶(Base‘𝐷) ↔ ((1st𝐹) ↾ dom dom 𝐻):(Base‘(𝐶cat 𝐻))⟶(Base‘𝐷)))
4036, 39mpbid 231 . . . 4 (𝜑 → ((1st𝐹) ↾ dom dom 𝐻):(Base‘(𝐶cat 𝐻))⟶(Base‘𝐷))
41 fvex 6769 . . . . . . 7 ((2nd𝐹)‘𝑧) ∈ V
4241resex 5928 . . . . . 6 (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧)) ∈ V
43 eqid 2738 . . . . . 6 (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))) = (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧)))
4442, 43fnmpti 6560 . . . . 5 (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))) Fn dom 𝐻
4512eqcomd 2744 . . . . . 6 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))) = (2nd ‘(𝐹f 𝐻)))
46 fndm 6520 . . . . . . . 8 (𝐻 Fn (dom dom 𝐻 × dom dom 𝐻) → dom 𝐻 = (dom dom 𝐻 × dom dom 𝐻))
4734, 46syl 17 . . . . . . 7 (𝜑 → dom 𝐻 = (dom dom 𝐻 × dom dom 𝐻))
4838sqxpeqd 5612 . . . . . . 7 (𝜑 → (dom dom 𝐻 × dom dom 𝐻) = ((Base‘(𝐶cat 𝐻)) × (Base‘(𝐶cat 𝐻))))
4947, 48eqtrd 2778 . . . . . 6 (𝜑 → dom 𝐻 = ((Base‘(𝐶cat 𝐻)) × (Base‘(𝐶cat 𝐻))))
5045, 49fneq12d 6512 . . . . 5 (𝜑 → ((𝑧 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑧) ↾ (𝐻𝑧))) Fn dom 𝐻 ↔ (2nd ‘(𝐹f 𝐻)) Fn ((Base‘(𝐶cat 𝐻)) × (Base‘(𝐶cat 𝐻)))))
5144, 50mpbii 232 . . . 4 (𝜑 → (2nd ‘(𝐹f 𝐻)) Fn ((Base‘(𝐶cat 𝐻)) × (Base‘(𝐶cat 𝐻))))
52 eqid 2738 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
5331adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
5435adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → dom dom 𝐻 ⊆ (Base‘𝐶))
55 simprl 767 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝑥 ∈ (Base‘(𝐶cat 𝐻)))
5638adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → dom dom 𝐻 = (Base‘(𝐶cat 𝐻)))
5755, 56eleqtrrd 2842 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝑥 ∈ dom dom 𝐻)
5854, 57sseldd 3918 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝑥 ∈ (Base‘𝐶))
59 simprr 769 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝑦 ∈ (Base‘(𝐶cat 𝐻)))
6059, 56eleqtrrd 2842 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝑦 ∈ dom dom 𝐻)
6154, 60sseldd 3918 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝑦 ∈ (Base‘𝐶))
6228, 52, 18, 53, 58, 61funcf2 17499 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (𝑥(2nd𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
632adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝐻 ∈ (Subcat‘𝐶))
6434adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝐻 Fn (dom dom 𝐻 × dom dom 𝐻))
6563, 64, 52, 57, 60subcss2 17474 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (𝑥𝐻𝑦) ⊆ (𝑥(Hom ‘𝐶)𝑦))
6662, 65fssresd 6625 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → ((𝑥(2nd𝐹)𝑦) ↾ (𝑥𝐻𝑦)):(𝑥𝐻𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
671adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝐹 ∈ (𝐶 Func 𝐷))
6867, 63, 64, 57, 60resf2nd 17526 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (𝑥(2nd ‘(𝐹f 𝐻))𝑦) = ((𝑥(2nd𝐹)𝑦) ↾ (𝑥𝐻𝑦)))
6968feq1d 6569 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑦):(𝑥𝐻𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)) ↔ ((𝑥(2nd𝐹)𝑦) ↾ (𝑥𝐻𝑦)):(𝑥𝐻𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦))))
7066, 69mpbird 256 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (𝑥(2nd ‘(𝐹f 𝐻))𝑦):(𝑥𝐻𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
7123, 28, 37, 34, 35reschom 17460 . . . . . . . 8 (𝜑𝐻 = (Hom ‘(𝐶cat 𝐻)))
7271adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → 𝐻 = (Hom ‘(𝐶cat 𝐻)))
7372oveqd 7272 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (𝑥𝐻𝑦) = (𝑥(Hom ‘(𝐶cat 𝐻))𝑦))
7457fvresd 6776 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (((1st𝐹) ↾ dom dom 𝐻)‘𝑥) = ((1st𝐹)‘𝑥))
7560fvresd 6776 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (((1st𝐹) ↾ dom dom 𝐻)‘𝑦) = ((1st𝐹)‘𝑦))
7674, 75oveq12d 7273 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → ((((1st𝐹) ↾ dom dom 𝐻)‘𝑥)(Hom ‘𝐷)(((1st𝐹) ↾ dom dom 𝐻)‘𝑦)) = (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
7776eqcomd 2744 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)) = ((((1st𝐹) ↾ dom dom 𝐻)‘𝑥)(Hom ‘𝐷)(((1st𝐹) ↾ dom dom 𝐻)‘𝑦)))
7873, 77feq23d 6579 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑦):(𝑥𝐻𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)) ↔ (𝑥(2nd ‘(𝐹f 𝐻))𝑦):(𝑥(Hom ‘(𝐶cat 𝐻))𝑦)⟶((((1st𝐹) ↾ dom dom 𝐻)‘𝑥)(Hom ‘𝐷)(((1st𝐹) ↾ dom dom 𝐻)‘𝑦))))
7970, 78mpbid 231 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)))) → (𝑥(2nd ‘(𝐹f 𝐻))𝑦):(𝑥(Hom ‘(𝐶cat 𝐻))𝑦)⟶((((1st𝐹) ↾ dom dom 𝐻)‘𝑥)(Hom ‘𝐷)(((1st𝐹) ↾ dom dom 𝐻)‘𝑦)))
801adantr 480 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → 𝐹 ∈ (𝐶 Func 𝐷))
812adantr 480 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → 𝐻 ∈ (Subcat‘𝐶))
8234adantr 480 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → 𝐻 Fn (dom dom 𝐻 × dom dom 𝐻))
8338eleq2d 2824 . . . . . . . 8 (𝜑 → (𝑥 ∈ dom dom 𝐻𝑥 ∈ (Base‘(𝐶cat 𝐻))))
8483biimpar 477 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → 𝑥 ∈ dom dom 𝐻)
8580, 81, 82, 84, 84resf2nd 17526 . . . . . 6 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → (𝑥(2nd ‘(𝐹f 𝐻))𝑥) = ((𝑥(2nd𝐹)𝑥) ↾ (𝑥𝐻𝑥)))
86 eqid 2738 . . . . . . . 8 (Id‘𝐶) = (Id‘𝐶)
8723, 81, 82, 86, 84subcid 17478 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → ((Id‘𝐶)‘𝑥) = ((Id‘(𝐶cat 𝐻))‘𝑥))
8887eqcomd 2744 . . . . . 6 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → ((Id‘(𝐶cat 𝐻))‘𝑥) = ((Id‘𝐶)‘𝑥))
8985, 88fveq12d 6763 . . . . 5 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑥)‘((Id‘(𝐶cat 𝐻))‘𝑥)) = (((𝑥(2nd𝐹)𝑥) ↾ (𝑥𝐻𝑥))‘((Id‘𝐶)‘𝑥)))
9031adantr 480 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
9138, 35eqsstrrd 3956 . . . . . . . 8 (𝜑 → (Base‘(𝐶cat 𝐻)) ⊆ (Base‘𝐶))
9291sselda 3917 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → 𝑥 ∈ (Base‘𝐶))
9328, 86, 20, 90, 92funcid 17501 . . . . . 6 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → ((𝑥(2nd𝐹)𝑥)‘((Id‘𝐶)‘𝑥)) = ((Id‘𝐷)‘((1st𝐹)‘𝑥)))
9481, 82, 84, 86subcidcl 17475 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → ((Id‘𝐶)‘𝑥) ∈ (𝑥𝐻𝑥))
9594fvresd 6776 . . . . . 6 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → (((𝑥(2nd𝐹)𝑥) ↾ (𝑥𝐻𝑥))‘((Id‘𝐶)‘𝑥)) = ((𝑥(2nd𝐹)𝑥)‘((Id‘𝐶)‘𝑥)))
9684fvresd 6776 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → (((1st𝐹) ↾ dom dom 𝐻)‘𝑥) = ((1st𝐹)‘𝑥))
9796fveq2d 6760 . . . . . 6 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → ((Id‘𝐷)‘(((1st𝐹) ↾ dom dom 𝐻)‘𝑥)) = ((Id‘𝐷)‘((1st𝐹)‘𝑥)))
9893, 95, 973eqtr4d 2788 . . . . 5 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → (((𝑥(2nd𝐹)𝑥) ↾ (𝑥𝐻𝑥))‘((Id‘𝐶)‘𝑥)) = ((Id‘𝐷)‘(((1st𝐹) ↾ dom dom 𝐻)‘𝑥)))
9989, 98eqtrd 2778 . . . 4 ((𝜑𝑥 ∈ (Base‘(𝐶cat 𝐻))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑥)‘((Id‘(𝐶cat 𝐻))‘𝑥)) = ((Id‘𝐷)‘(((1st𝐹) ↾ dom dom 𝐻)‘𝑥)))
10023ad2ant1 1131 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝐻 ∈ (Subcat‘𝐶))
101343ad2ant1 1131 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝐻 Fn (dom dom 𝐻 × dom dom 𝐻))
102 simp21 1204 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑥 ∈ (Base‘(𝐶cat 𝐻)))
103383ad2ant1 1131 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → dom dom 𝐻 = (Base‘(𝐶cat 𝐻)))
104102, 103eleqtrrd 2842 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑥 ∈ dom dom 𝐻)
105 eqid 2738 . . . . . . . 8 (comp‘𝐶) = (comp‘𝐶)
106 simp22 1205 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑦 ∈ (Base‘(𝐶cat 𝐻)))
107106, 103eleqtrrd 2842 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑦 ∈ dom dom 𝐻)
108 simp23 1206 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑧 ∈ (Base‘(𝐶cat 𝐻)))
109108, 103eleqtrrd 2842 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑧 ∈ dom dom 𝐻)
110 simp3l 1199 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦))
111713ad2ant1 1131 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝐻 = (Hom ‘(𝐶cat 𝐻)))
112111oveqd 7272 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑥𝐻𝑦) = (𝑥(Hom ‘(𝐶cat 𝐻))𝑦))
113110, 112eleqtrrd 2842 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑓 ∈ (𝑥𝐻𝑦))
114 simp3r 1200 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))
115111oveqd 7272 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑦𝐻𝑧) = (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))
116114, 115eleqtrrd 2842 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑔 ∈ (𝑦𝐻𝑧))
117100, 101, 104, 105, 107, 109, 113, 116subccocl 17476 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓) ∈ (𝑥𝐻𝑧))
118117fvresd 6776 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((𝑥(2nd𝐹)𝑧) ↾ (𝑥𝐻𝑧))‘(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓)) = ((𝑥(2nd𝐹)𝑧)‘(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓)))
119313ad2ant1 1131 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
120353ad2ant1 1131 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → dom dom 𝐻 ⊆ (Base‘𝐶))
121120, 104sseldd 3918 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑥 ∈ (Base‘𝐶))
122120, 107sseldd 3918 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑦 ∈ (Base‘𝐶))
123120, 109sseldd 3918 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑧 ∈ (Base‘𝐶))
124100, 101, 52, 104, 107subcss2 17474 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑥𝐻𝑦) ⊆ (𝑥(Hom ‘𝐶)𝑦))
125124, 113sseldd 3918 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
126100, 101, 52, 107, 109subcss2 17474 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑦𝐻𝑧) ⊆ (𝑦(Hom ‘𝐶)𝑧))
127126, 116sseldd 3918 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝑔 ∈ (𝑦(Hom ‘𝐶)𝑧))
12828, 52, 105, 22, 119, 121, 122, 123, 125, 127funcco 17502 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ((𝑥(2nd𝐹)𝑧)‘(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓)) = (((𝑦(2nd𝐹)𝑧)‘𝑔)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑧))((𝑥(2nd𝐹)𝑦)‘𝑓)))
129118, 128eqtrd 2778 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((𝑥(2nd𝐹)𝑧) ↾ (𝑥𝐻𝑧))‘(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓)) = (((𝑦(2nd𝐹)𝑧)‘𝑔)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑧))((𝑥(2nd𝐹)𝑦)‘𝑓)))
13013ad2ant1 1131 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → 𝐹 ∈ (𝐶 Func 𝐷))
131130, 100, 101, 104, 109resf2nd 17526 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑥(2nd ‘(𝐹f 𝐻))𝑧) = ((𝑥(2nd𝐹)𝑧) ↾ (𝑥𝐻𝑧)))
13223, 28, 37, 34, 35, 105rescco 17462 . . . . . . . . . 10 (𝜑 → (comp‘𝐶) = (comp‘(𝐶cat 𝐻)))
1331323ad2ant1 1131 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (comp‘𝐶) = (comp‘(𝐶cat 𝐻)))
134133eqcomd 2744 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (comp‘(𝐶cat 𝐻)) = (comp‘𝐶))
135134oveqd 7272 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (⟨𝑥, 𝑦⟩(comp‘(𝐶cat 𝐻))𝑧) = (⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧))
136135oveqd 7272 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶cat 𝐻))𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓))
137131, 136fveq12d 6763 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑧)‘(𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶cat 𝐻))𝑧)𝑓)) = (((𝑥(2nd𝐹)𝑧) ↾ (𝑥𝐻𝑧))‘(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓)))
138104fvresd 6776 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((1st𝐹) ↾ dom dom 𝐻)‘𝑥) = ((1st𝐹)‘𝑥))
139107fvresd 6776 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((1st𝐹) ↾ dom dom 𝐻)‘𝑦) = ((1st𝐹)‘𝑦))
140138, 139opeq12d 4809 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ⟨(((1st𝐹) ↾ dom dom 𝐻)‘𝑥), (((1st𝐹) ↾ dom dom 𝐻)‘𝑦)⟩ = ⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩)
141109fvresd 6776 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((1st𝐹) ↾ dom dom 𝐻)‘𝑧) = ((1st𝐹)‘𝑧))
142140, 141oveq12d 7273 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (⟨(((1st𝐹) ↾ dom dom 𝐻)‘𝑥), (((1st𝐹) ↾ dom dom 𝐻)‘𝑦)⟩(comp‘𝐷)(((1st𝐹) ↾ dom dom 𝐻)‘𝑧)) = (⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑧)))
143130, 100, 101, 107, 109resf2nd 17526 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑦(2nd ‘(𝐹f 𝐻))𝑧) = ((𝑦(2nd𝐹)𝑧) ↾ (𝑦𝐻𝑧)))
144143fveq1d 6758 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ((𝑦(2nd ‘(𝐹f 𝐻))𝑧)‘𝑔) = (((𝑦(2nd𝐹)𝑧) ↾ (𝑦𝐻𝑧))‘𝑔))
145116fvresd 6776 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((𝑦(2nd𝐹)𝑧) ↾ (𝑦𝐻𝑧))‘𝑔) = ((𝑦(2nd𝐹)𝑧)‘𝑔))
146144, 145eqtrd 2778 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ((𝑦(2nd ‘(𝐹f 𝐻))𝑧)‘𝑔) = ((𝑦(2nd𝐹)𝑧)‘𝑔))
147130, 100, 101, 104, 107resf2nd 17526 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (𝑥(2nd ‘(𝐹f 𝐻))𝑦) = ((𝑥(2nd𝐹)𝑦) ↾ (𝑥𝐻𝑦)))
148147fveq1d 6758 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑦)‘𝑓) = (((𝑥(2nd𝐹)𝑦) ↾ (𝑥𝐻𝑦))‘𝑓))
149113fvresd 6776 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((𝑥(2nd𝐹)𝑦) ↾ (𝑥𝐻𝑦))‘𝑓) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
150148, 149eqtrd 2778 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑦)‘𝑓) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
151142, 146, 150oveq123d 7276 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → (((𝑦(2nd ‘(𝐹f 𝐻))𝑧)‘𝑔)(⟨(((1st𝐹) ↾ dom dom 𝐻)‘𝑥), (((1st𝐹) ↾ dom dom 𝐻)‘𝑦)⟩(comp‘𝐷)(((1st𝐹) ↾ dom dom 𝐻)‘𝑧))((𝑥(2nd ‘(𝐹f 𝐻))𝑦)‘𝑓)) = (((𝑦(2nd𝐹)𝑧)‘𝑔)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑧))((𝑥(2nd𝐹)𝑦)‘𝑓)))
152129, 137, 1513eqtr4d 2788 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑦 ∈ (Base‘(𝐶cat 𝐻)) ∧ 𝑧 ∈ (Base‘(𝐶cat 𝐻))) ∧ (𝑓 ∈ (𝑥(Hom ‘(𝐶cat 𝐻))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(𝐶cat 𝐻))𝑧))) → ((𝑥(2nd ‘(𝐹f 𝐻))𝑧)‘(𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶cat 𝐻))𝑧)𝑓)) = (((𝑦(2nd ‘(𝐹f 𝐻))𝑧)‘𝑔)(⟨(((1st𝐹) ↾ dom dom 𝐻)‘𝑥), (((1st𝐹) ↾ dom dom 𝐻)‘𝑦)⟩(comp‘𝐷)(((1st𝐹) ↾ dom dom 𝐻)‘𝑧))((𝑥(2nd ‘(𝐹f 𝐻))𝑦)‘𝑓)))
15315, 16, 17, 18, 19, 20, 21, 22, 24, 27, 40, 51, 79, 99, 152isfuncd 17496 . . 3 (𝜑 → ((1st𝐹) ↾ dom dom 𝐻)((𝐶cat 𝐻) Func 𝐷)(2nd ‘(𝐹f 𝐻)))
154 df-br 5071 . . 3 (((1st𝐹) ↾ dom dom 𝐻)((𝐶cat 𝐻) Func 𝐷)(2nd ‘(𝐹f 𝐻)) ↔ ⟨((1st𝐹) ↾ dom dom 𝐻), (2nd ‘(𝐹f 𝐻))⟩ ∈ ((𝐶cat 𝐻) Func 𝐷))
155153, 154sylib 217 . 2 (𝜑 → ⟨((1st𝐹) ↾ dom dom 𝐻), (2nd ‘(𝐹f 𝐻))⟩ ∈ ((𝐶cat 𝐻) Func 𝐷))
15614, 155eqeltrd 2839 1 (𝜑 → (𝐹f 𝐻) ∈ ((𝐶cat 𝐻) Func 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  Vcvv 3422  wss 3883  cop 4564   class class class wbr 5070  cmpt 5153   × cxp 5578  dom cdm 5580  cres 5582  Rel wrel 5585   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  1st c1st 7802  2nd c2nd 7803  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290  Idccid 17291  cat cresc 17437  Subcatcsubc 17438   Func cfunc 17485  f cresf 17488
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-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-map 8575  df-pm 8576  df-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  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-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-hom 16912  df-cco 16913  df-cat 17294  df-cid 17295  df-homf 17296  df-ssc 17439  df-resc 17440  df-subc 17441  df-func 17489  df-resf 17492
This theorem is referenced by:  funcrngcsetc  45444  funcringcsetc  45481
  Copyright terms: Public domain W3C validator