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

Theorem yonedalem4c 17911
Description: Lemma for yoneda 17917. (Contributed by Mario Carneiro, 29-Jan-2017.)
Hypotheses
Ref Expression
yoneda.y 𝑌 = (Yon‘𝐶)
yoneda.b 𝐵 = (Base‘𝐶)
yoneda.1 1 = (Id‘𝐶)
yoneda.o 𝑂 = (oppCat‘𝐶)
yoneda.s 𝑆 = (SetCat‘𝑈)
yoneda.t 𝑇 = (SetCat‘𝑉)
yoneda.q 𝑄 = (𝑂 FuncCat 𝑆)
yoneda.h 𝐻 = (HomF𝑄)
yoneda.r 𝑅 = ((𝑄 ×c 𝑂) FuncCat 𝑇)
yoneda.e 𝐸 = (𝑂 evalF 𝑆)
yoneda.z 𝑍 = (𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))
yoneda.c (𝜑𝐶 ∈ Cat)
yoneda.w (𝜑𝑉𝑊)
yoneda.u (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
yoneda.v (𝜑 → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
yonedalem21.f (𝜑𝐹 ∈ (𝑂 Func 𝑆))
yonedalem21.x (𝜑𝑋𝐵)
yonedalem4.n 𝑁 = (𝑓 ∈ (𝑂 Func 𝑆), 𝑥𝐵 ↦ (𝑢 ∈ ((1st𝑓)‘𝑥) ↦ (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑥) ↦ (((𝑥(2nd𝑓)𝑦)‘𝑔)‘𝑢)))))
yonedalem4.p (𝜑𝐴 ∈ ((1st𝐹)‘𝑋))
Assertion
Ref Expression
yonedalem4c (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ (((1st𝑌)‘𝑋)(𝑂 Nat 𝑆)𝐹))
Distinct variable groups:   𝑓,𝑔,𝑥,𝑦, 1   𝑢,𝑔,𝐴,𝑦   𝑢,𝑓,𝐶,𝑔,𝑥,𝑦   𝑓,𝐸,𝑔,𝑢,𝑦   𝑓,𝐹,𝑔,𝑢,𝑥,𝑦   𝐵,𝑓,𝑔,𝑢,𝑥,𝑦   𝑓,𝑂,𝑔,𝑢,𝑥,𝑦   𝑆,𝑓,𝑔,𝑢,𝑥,𝑦   𝑄,𝑓,𝑔,𝑢,𝑥   𝑇,𝑓,𝑔,𝑢,𝑦   𝜑,𝑓,𝑔,𝑢,𝑥,𝑦   𝑢,𝑅   𝑓,𝑌,𝑔,𝑢,𝑥,𝑦   𝑓,𝑍,𝑔,𝑢,𝑥,𝑦   𝑓,𝑋,𝑔,𝑢,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑓)   𝑄(𝑦)   𝑅(𝑥,𝑦,𝑓,𝑔)   𝑇(𝑥)   𝑈(𝑥,𝑦,𝑢,𝑓,𝑔)   1 (𝑢)   𝐸(𝑥)   𝐻(𝑥,𝑦,𝑢,𝑓,𝑔)   𝑁(𝑥,𝑦,𝑢,𝑓,𝑔)   𝑉(𝑥,𝑦,𝑢,𝑓,𝑔)   𝑊(𝑥,𝑦,𝑢,𝑓,𝑔)

Proof of Theorem yonedalem4c
Dummy variables 𝑘 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 yoneda.y . . . . 5 𝑌 = (Yon‘𝐶)
2 yoneda.b . . . . 5 𝐵 = (Base‘𝐶)
3 yoneda.1 . . . . 5 1 = (Id‘𝐶)
4 yoneda.o . . . . 5 𝑂 = (oppCat‘𝐶)
5 yoneda.s . . . . 5 𝑆 = (SetCat‘𝑈)
6 yoneda.t . . . . 5 𝑇 = (SetCat‘𝑉)
7 yoneda.q . . . . 5 𝑄 = (𝑂 FuncCat 𝑆)
8 yoneda.h . . . . 5 𝐻 = (HomF𝑄)
9 yoneda.r . . . . 5 𝑅 = ((𝑄 ×c 𝑂) FuncCat 𝑇)
10 yoneda.e . . . . 5 𝐸 = (𝑂 evalF 𝑆)
11 yoneda.z . . . . 5 𝑍 = (𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))
12 yoneda.c . . . . 5 (𝜑𝐶 ∈ Cat)
13 yoneda.w . . . . 5 (𝜑𝑉𝑊)
14 yoneda.u . . . . 5 (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
15 yoneda.v . . . . 5 (𝜑 → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
16 yonedalem21.f . . . . 5 (𝜑𝐹 ∈ (𝑂 Func 𝑆))
17 yonedalem21.x . . . . 5 (𝜑𝑋𝐵)
18 yonedalem4.n . . . . 5 𝑁 = (𝑓 ∈ (𝑂 Func 𝑆), 𝑥𝐵 ↦ (𝑢 ∈ ((1st𝑓)‘𝑥) ↦ (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑥) ↦ (((𝑥(2nd𝑓)𝑦)‘𝑔)‘𝑢)))))
19 yonedalem4.p . . . . 5 (𝜑𝐴 ∈ ((1st𝐹)‘𝑋))
201, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19yonedalem4a 17909 . . . 4 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))))
21 oveq1 7262 . . . . . 6 (𝑦 = 𝑧 → (𝑦(Hom ‘𝐶)𝑋) = (𝑧(Hom ‘𝐶)𝑋))
22 oveq2 7263 . . . . . . . 8 (𝑦 = 𝑧 → (𝑋(2nd𝐹)𝑦) = (𝑋(2nd𝐹)𝑧))
2322fveq1d 6758 . . . . . . 7 (𝑦 = 𝑧 → ((𝑋(2nd𝐹)𝑦)‘𝑔) = ((𝑋(2nd𝐹)𝑧)‘𝑔))
2423fveq1d 6758 . . . . . 6 (𝑦 = 𝑧 → (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴) = (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))
2521, 24mpteq12dv 5161 . . . . 5 (𝑦 = 𝑧 → (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴)) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2625cbvmptv 5183 . . . 4 (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2720, 26eqtrdi 2795 . . 3 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))))
284, 2oppcbas 17345 . . . . . . . . . . . . 13 𝐵 = (Base‘𝑂)
29 eqid 2738 . . . . . . . . . . . . 13 (Hom ‘𝑂) = (Hom ‘𝑂)
30 eqid 2738 . . . . . . . . . . . . 13 (Hom ‘𝑆) = (Hom ‘𝑆)
31 relfunc 17493 . . . . . . . . . . . . . . 15 Rel (𝑂 Func 𝑆)
32 1st2ndbr 7856 . . . . . . . . . . . . . . 15 ((Rel (𝑂 Func 𝑆) ∧ 𝐹 ∈ (𝑂 Func 𝑆)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3331, 16, 32sylancr 586 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3433adantr 480 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3517adantr 480 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑋𝐵)
36 simpr 484 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑧𝐵)
3728, 29, 30, 34, 35, 36funcf2 17499 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
3837adantr 480 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
39 simpr 484 . . . . . . . . . . . 12 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋))
40 eqid 2738 . . . . . . . . . . . . 13 (Hom ‘𝐶) = (Hom ‘𝐶)
4140, 4oppchom 17342 . . . . . . . . . . . 12 (𝑋(Hom ‘𝑂)𝑧) = (𝑧(Hom ‘𝐶)𝑋)
4239, 41eleqtrrdi 2850 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑋(Hom ‘𝑂)𝑧))
4338, 42ffvelrnd 6944 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
4415unssbd 4118 . . . . . . . . . . . . . 14 (𝜑𝑈𝑉)
4513, 44ssexd 5243 . . . . . . . . . . . . 13 (𝜑𝑈 ∈ V)
4645adantr 480 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → 𝑈 ∈ V)
4746adantr 480 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
48 eqid 2738 . . . . . . . . . . . . . . 15 (Base‘𝑆) = (Base‘𝑆)
4928, 48, 33funcf1 17497 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹):𝐵⟶(Base‘𝑆))
505, 45setcbas 17709 . . . . . . . . . . . . . . 15 (𝜑𝑈 = (Base‘𝑆))
5150feq3d 6571 . . . . . . . . . . . . . 14 (𝜑 → ((1st𝐹):𝐵𝑈 ↔ (1st𝐹):𝐵⟶(Base‘𝑆)))
5249, 51mpbird 256 . . . . . . . . . . . . 13 (𝜑 → (1st𝐹):𝐵𝑈)
5352, 17ffvelrnd 6944 . . . . . . . . . . . 12 (𝜑 → ((1st𝐹)‘𝑋) ∈ 𝑈)
5453ad2antrr 722 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
5552ffvelrnda 6943 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → ((1st𝐹)‘𝑧) ∈ 𝑈)
5655adantr 480 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
575, 47, 30, 54, 56elsetchom 17712 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧)))
5843, 57mpbid 231 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧))
5919ad2antrr 722 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
6058, 59ffvelrnd 6944 . . . . . . . 8 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴) ∈ ((1st𝐹)‘𝑧))
6160fmpttd 6971 . . . . . . 7 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):(𝑧(Hom ‘𝐶)𝑋)⟶((1st𝐹)‘𝑧))
6212adantr 480 . . . . . . . . 9 ((𝜑𝑧𝐵) → 𝐶 ∈ Cat)
631, 2, 62, 35, 40, 36yon11 17898 . . . . . . . 8 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
6463feq2d 6570 . . . . . . 7 ((𝜑𝑧𝐵) → ((𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):(𝑧(Hom ‘𝐶)𝑋)⟶((1st𝐹)‘𝑧)))
6561, 64mpbird 256 . . . . . 6 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
661, 2, 12, 17, 4, 5, 45, 14yon1cl 17897 . . . . . . . . . . 11 (𝜑 → ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆))
67 1st2ndbr 7856 . . . . . . . . . . 11 ((Rel (𝑂 Func 𝑆) ∧ ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆)) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
6831, 66, 67sylancr 586 . . . . . . . . . 10 (𝜑 → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
6928, 48, 68funcf1 17497 . . . . . . . . 9 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆))
7050feq3d 6571 . . . . . . . . 9 (𝜑 → ((1st ‘((1st𝑌)‘𝑋)):𝐵𝑈 ↔ (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆)))
7169, 70mpbird 256 . . . . . . . 8 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
7271ffvelrnda 6943 . . . . . . 7 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
735, 46, 30, 72, 55elsetchom 17712 . . . . . 6 ((𝜑𝑧𝐵) → ((𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
7465, 73mpbird 256 . . . . 5 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
7574ralrimiva 3107 . . . 4 (𝜑 → ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
762fvexi 6770 . . . . 5 𝐵 ∈ V
77 mptelixpg 8681 . . . . 5 (𝐵 ∈ V → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧))))
7876, 77ax-mp 5 . . . 4 ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
7975, 78sylibr 233 . . 3 (𝜑 → (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
8027, 79eqeltrd 2839 . 2 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
8112adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝐶 ∈ Cat)
8217adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑋𝐵)
83 simpr1 1192 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑧𝐵)
841, 2, 81, 82, 40, 83yon11 17898 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
8584eleq2d 2824 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↔ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)))
8685biimpa 476 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
87 eqid 2738 . . . . . . . . . . . 12 (comp‘𝑂) = (comp‘𝑂)
88 eqid 2738 . . . . . . . . . . . 12 (comp‘𝑆) = (comp‘𝑆)
8933adantr 480 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9089adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9182adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑋𝐵)
9283adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑧𝐵)
93 simpr2 1193 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑤𝐵)
9493adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑤𝐵)
95 simpr 484 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
9695, 41eleqtrrdi 2850 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑋(Hom ‘𝑂)𝑧))
97 simplr3 1215 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑧(Hom ‘𝑂)𝑤))
9828, 29, 87, 88, 90, 91, 92, 94, 96, 97funcco 17502 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)))
99 eqid 2738 . . . . . . . . . . . . 13 (comp‘𝐶) = (comp‘𝐶)
1002, 99, 4, 91, 92, 94oppcco 17344 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
101100fveq2d 6760 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
10245adantr 480 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑈 ∈ V)
103102adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
10453ad2antrr 722 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
105553ad2antr1 1186 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑧) ∈ 𝑈)
106105adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
10752adantr 480 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹):𝐵𝑈)
108107, 93ffvelrnd 6944 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑤) ∈ 𝑈)
109108adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑤) ∈ 𝑈)
11028, 29, 30, 89, 82, 83funcf2 17499 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
111110adantr 480 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
112111, 96ffvelrnd 6944 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑘) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
1135, 103, 30, 104, 106elsetchom 17712 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑘) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧)))
114112, 113mpbid 231 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧))
11528, 29, 30, 89, 83, 93funcf2 17499 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd𝐹)𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
116 simpr3 1194 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∈ (𝑧(Hom ‘𝑂)𝑤))
117115, 116ffvelrnd 6944 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
1185, 102, 30, 105, 108elsetchom 17712 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)) ↔ ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤)))
119117, 118mpbid 231 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
120119adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
1215, 103, 88, 104, 106, 109, 114, 120setcco 17714 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
12298, 101, 1213eqtr3d 2786 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
123122fveq1d 6758 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴))
12419ad2antrr 722 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
125 fvco3 6849 . . . . . . . . . 10 ((((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧) ∧ 𝐴 ∈ ((1st𝐹)‘𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
126114, 124, 125syl2anc 583 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
127123, 126eqtrd 2778 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
12881adantr 480 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐶 ∈ Cat)
12940, 4oppchom 17342 . . . . . . . . . . . 12 (𝑧(Hom ‘𝑂)𝑤) = (𝑤(Hom ‘𝐶)𝑧)
13097, 129eleqtrdi 2849 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑤(Hom ‘𝐶)𝑧))
1311, 2, 128, 91, 40, 92, 99, 94, 130, 95yon12 17899 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
132131fveq2d 6760 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
13313ad2antrr 722 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑉𝑊)
13414ad2antrr 722 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ran (Homf𝐶) ⊆ 𝑈)
13515ad2antrr 722 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
13616ad2antrr 722 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐹 ∈ (𝑂 Func 𝑆))
1372, 40, 99, 128, 94, 92, 91, 130, 95catcocl 17311 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)) ∈ (𝑤(Hom ‘𝐶)𝑋))
1381, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 128, 133, 134, 135, 136, 91, 18, 124, 94, 137yonedalem4b 17910 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))) = (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴))
139132, 138eqtrd 2778 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴))
1401, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 128, 133, 134, 135, 136, 91, 18, 124, 92, 95yonedalem4b 17910 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘) = (((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴))
141140fveq2d 6760 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
142127, 139, 1413eqtr4d 2788 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
14386, 142syldan 590 . . . . . 6 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
144143mpteq2dva 5170 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
145 fveq2 6756 . . . . . . . 8 (𝑧 = 𝑤 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (((𝐹𝑁𝑋)‘𝐴)‘𝑤))
146 fveq2 6756 . . . . . . . 8 (𝑧 = 𝑤 → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = ((1st ‘((1st𝑌)‘𝑋))‘𝑤))
147 fveq2 6756 . . . . . . . 8 (𝑧 = 𝑤 → ((1st𝐹)‘𝑧) = ((1st𝐹)‘𝑤))
148145, 146, 147feq123d 6573 . . . . . . 7 (𝑧 = 𝑤 → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤)))
14927fveq1d 6758 . . . . . . . . . . . 12 (𝜑 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧))
150 ovex 7288 . . . . . . . . . . . . . 14 (𝑧(Hom ‘𝐶)𝑋) ∈ V
151150mptex 7081 . . . . . . . . . . . . 13 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V
152 eqid 2738 . . . . . . . . . . . . . 14 (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
153152fvmpt2 6868 . . . . . . . . . . . . 13 ((𝑧𝐵 ∧ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V) → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
154151, 153mpan2 687 . . . . . . . . . . . 12 (𝑧𝐵 → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
155149, 154sylan9eq 2799 . . . . . . . . . . 11 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
156155feq1d 6569 . . . . . . . . . 10 ((𝜑𝑧𝐵) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
15765, 156mpbird 256 . . . . . . . . 9 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
158157ralrimiva 3107 . . . . . . . 8 (𝜑 → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
159158adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
160148, 159, 93rspcdva 3554 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤))
16168adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
16228, 29, 30, 161, 83, 93funcf2 17499 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
163162, 116ffvelrnd 6944 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
164723ad2antr1 1186 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
16571adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
166165, 93ffvelrnd 6944 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑤) ∈ 𝑈)
1675, 102, 30, 164, 166elsetchom 17712 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)) ↔ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
168163, 167mpbid 231 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤))
169 fcompt 6987 . . . . . 6 (((((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤) ∧ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
170160, 168, 169syl2anc 583 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
1711573ad2antr1 1186 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
172 fcompt 6987 . . . . . 6 ((((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤) ∧ (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
173119, 171, 172syl2anc 583 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
174144, 170, 1733eqtr4d 2788 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
1755, 102, 88, 164, 166, 108, 168, 160setcco 17714 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)))
1765, 102, 88, 164, 105, 108, 171, 119setcco 17714 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
177174, 175, 1763eqtr4d 2788 . . 3 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
178177ralrimivvva 3115 . 2 (𝜑 → ∀𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤)((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
179 eqid 2738 . . 3 (𝑂 Nat 𝑆) = (𝑂 Nat 𝑆)
180179, 28, 29, 30, 88, 66, 16isnat2 17580 . 2 (𝜑 → (((𝐹𝑁𝑋)‘𝐴) ∈ (((1st𝑌)‘𝑋)(𝑂 Nat 𝑆)𝐹) ↔ (((𝐹𝑁𝑋)‘𝐴) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ∧ ∀𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤)((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))))
18180, 178, 180mpbir2and 709 1 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ (((1st𝑌)‘𝑋)(𝑂 Nat 𝑆)𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cun 3881  wss 3883  cop 4564   class class class wbr 5070  cmpt 5153  ran crn 5581  ccom 5584  Rel wrel 5585  wf 6414  cfv 6418  (class class class)co 7255  cmpo 7257  1st c1st 7802  2nd c2nd 7803  tpos ctpos 8012  Xcixp 8643  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290  Idccid 17291  Homf chomf 17292  oppCatcoppc 17337   Func cfunc 17485  func ccofu 17487   Nat cnat 17573   FuncCat cfuc 17574  SetCatcsetc 17706   ×c cxpc 17801   1stF c1stf 17802   2ndF c2ndf 17803   ⟨,⟩F cprf 17804   evalF cevlf 17843  HomFchof 17882  Yoncyon 17883
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-comf 17297  df-oppc 17338  df-func 17489  df-nat 17575  df-fuc 17576  df-setc 17707  df-xpc 17805  df-curf 17848  df-hof 17884  df-yon 17885
This theorem is referenced by:  yonedainv  17915
  Copyright terms: Public domain W3C validator