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

Theorem yonedalem4c 17995
Description: Lemma for yoneda 18001. (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 17993 . . . 4 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))))
21 oveq1 7282 . . . . . 6 (𝑦 = 𝑧 → (𝑦(Hom ‘𝐶)𝑋) = (𝑧(Hom ‘𝐶)𝑋))
22 oveq2 7283 . . . . . . . 8 (𝑦 = 𝑧 → (𝑋(2nd𝐹)𝑦) = (𝑋(2nd𝐹)𝑧))
2322fveq1d 6776 . . . . . . 7 (𝑦 = 𝑧 → ((𝑋(2nd𝐹)𝑦)‘𝑔) = ((𝑋(2nd𝐹)𝑧)‘𝑔))
2423fveq1d 6776 . . . . . 6 (𝑦 = 𝑧 → (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴) = (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))
2521, 24mpteq12dv 5165 . . . . 5 (𝑦 = 𝑧 → (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴)) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2625cbvmptv 5187 . . . 4 (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2720, 26eqtrdi 2794 . . 3 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))))
284, 2oppcbas 17428 . . . . . . . . . . . . 13 𝐵 = (Base‘𝑂)
29 eqid 2738 . . . . . . . . . . . . 13 (Hom ‘𝑂) = (Hom ‘𝑂)
30 eqid 2738 . . . . . . . . . . . . 13 (Hom ‘𝑆) = (Hom ‘𝑆)
31 relfunc 17577 . . . . . . . . . . . . . . 15 Rel (𝑂 Func 𝑆)
32 1st2ndbr 7883 . . . . . . . . . . . . . . 15 ((Rel (𝑂 Func 𝑆) ∧ 𝐹 ∈ (𝑂 Func 𝑆)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3331, 16, 32sylancr 587 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3433adantr 481 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3517adantr 481 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑋𝐵)
36 simpr 485 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑧𝐵)
3728, 29, 30, 34, 35, 36funcf2 17583 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
3837adantr 481 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
39 simpr 485 . . . . . . . . . . . 12 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋))
40 eqid 2738 . . . . . . . . . . . . 13 (Hom ‘𝐶) = (Hom ‘𝐶)
4140, 4oppchom 17425 . . . . . . . . . . . 12 (𝑋(Hom ‘𝑂)𝑧) = (𝑧(Hom ‘𝐶)𝑋)
4239, 41eleqtrrdi 2850 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑋(Hom ‘𝑂)𝑧))
4338, 42ffvelrnd 6962 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
4415unssbd 4122 . . . . . . . . . . . . . 14 (𝜑𝑈𝑉)
4513, 44ssexd 5248 . . . . . . . . . . . . 13 (𝜑𝑈 ∈ V)
4645adantr 481 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → 𝑈 ∈ V)
4746adantr 481 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
48 eqid 2738 . . . . . . . . . . . . . . 15 (Base‘𝑆) = (Base‘𝑆)
4928, 48, 33funcf1 17581 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹):𝐵⟶(Base‘𝑆))
505, 45setcbas 17793 . . . . . . . . . . . . . . 15 (𝜑𝑈 = (Base‘𝑆))
5150feq3d 6587 . . . . . . . . . . . . . 14 (𝜑 → ((1st𝐹):𝐵𝑈 ↔ (1st𝐹):𝐵⟶(Base‘𝑆)))
5249, 51mpbird 256 . . . . . . . . . . . . 13 (𝜑 → (1st𝐹):𝐵𝑈)
5352, 17ffvelrnd 6962 . . . . . . . . . . . 12 (𝜑 → ((1st𝐹)‘𝑋) ∈ 𝑈)
5453ad2antrr 723 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
5552ffvelrnda 6961 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → ((1st𝐹)‘𝑧) ∈ 𝑈)
5655adantr 481 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
575, 47, 30, 54, 56elsetchom 17796 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧)))
5843, 57mpbid 231 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧))
5919ad2antrr 723 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
6058, 59ffvelrnd 6962 . . . . . . . 8 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴) ∈ ((1st𝐹)‘𝑧))
6160fmpttd 6989 . . . . . . 7 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):(𝑧(Hom ‘𝐶)𝑋)⟶((1st𝐹)‘𝑧))
6212adantr 481 . . . . . . . . 9 ((𝜑𝑧𝐵) → 𝐶 ∈ Cat)
631, 2, 62, 35, 40, 36yon11 17982 . . . . . . . 8 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
6463feq2d 6586 . . . . . . 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 17981 . . . . . . . . . . 11 (𝜑 → ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆))
67 1st2ndbr 7883 . . . . . . . . . . 11 ((Rel (𝑂 Func 𝑆) ∧ ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆)) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
6831, 66, 67sylancr 587 . . . . . . . . . 10 (𝜑 → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
6928, 48, 68funcf1 17581 . . . . . . . . 9 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆))
7050feq3d 6587 . . . . . . . . 9 (𝜑 → ((1st ‘((1st𝑌)‘𝑋)):𝐵𝑈 ↔ (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆)))
7169, 70mpbird 256 . . . . . . . 8 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
7271ffvelrnda 6961 . . . . . . 7 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
735, 46, 30, 72, 55elsetchom 17796 . . . . . 6 ((𝜑𝑧𝐵) → ((𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
7465, 73mpbird 256 . . . . 5 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
7574ralrimiva 3103 . . . 4 (𝜑 → ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
762fvexi 6788 . . . . 5 𝐵 ∈ V
77 mptelixpg 8723 . . . . 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 481 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝐶 ∈ Cat)
8217adantr 481 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑋𝐵)
83 simpr1 1193 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑧𝐵)
841, 2, 81, 82, 40, 83yon11 17982 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
8584eleq2d 2824 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↔ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)))
8685biimpa 477 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
87 eqid 2738 . . . . . . . . . . . 12 (comp‘𝑂) = (comp‘𝑂)
88 eqid 2738 . . . . . . . . . . . 12 (comp‘𝑆) = (comp‘𝑆)
8933adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9089adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9182adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑋𝐵)
9283adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑧𝐵)
93 simpr2 1194 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑤𝐵)
9493adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑤𝐵)
95 simpr 485 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
9695, 41eleqtrrdi 2850 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑋(Hom ‘𝑂)𝑧))
97 simplr3 1216 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑧(Hom ‘𝑂)𝑤))
9828, 29, 87, 88, 90, 91, 92, 94, 96, 97funcco 17586 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)))
99 eqid 2738 . . . . . . . . . . . . 13 (comp‘𝐶) = (comp‘𝐶)
1002, 99, 4, 91, 92, 94oppcco 17427 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
101100fveq2d 6778 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
10245adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑈 ∈ V)
103102adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
10453ad2antrr 723 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
105553ad2antr1 1187 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑧) ∈ 𝑈)
106105adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
10752adantr 481 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹):𝐵𝑈)
108107, 93ffvelrnd 6962 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑤) ∈ 𝑈)
109108adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑤) ∈ 𝑈)
11028, 29, 30, 89, 82, 83funcf2 17583 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
111110adantr 481 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
112111, 96ffvelrnd 6962 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑘) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
1135, 103, 30, 104, 106elsetchom 17796 . . . . . . . . . . . . 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 17583 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd𝐹)𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
116 simpr3 1195 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∈ (𝑧(Hom ‘𝑂)𝑤))
117115, 116ffvelrnd 6962 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
1185, 102, 30, 105, 108elsetchom 17796 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)) ↔ ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤)))
119117, 118mpbid 231 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
120119adantr 481 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
1215, 103, 88, 104, 106, 109, 114, 120setcco 17798 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
12298, 101, 1213eqtr3d 2786 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
123122fveq1d 6776 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴))
12419ad2antrr 723 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
125 fvco3 6867 . . . . . . . . . 10 ((((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧) ∧ 𝐴 ∈ ((1st𝐹)‘𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
126114, 124, 125syl2anc 584 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
127123, 126eqtrd 2778 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
12881adantr 481 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐶 ∈ Cat)
12940, 4oppchom 17425 . . . . . . . . . . . 12 (𝑧(Hom ‘𝑂)𝑤) = (𝑤(Hom ‘𝐶)𝑧)
13097, 129eleqtrdi 2849 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑤(Hom ‘𝐶)𝑧))
1311, 2, 128, 91, 40, 92, 99, 94, 130, 95yon12 17983 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
132131fveq2d 6778 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
13313ad2antrr 723 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑉𝑊)
13414ad2antrr 723 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ran (Homf𝐶) ⊆ 𝑈)
13515ad2antrr 723 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
13616ad2antrr 723 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐹 ∈ (𝑂 Func 𝑆))
1372, 40, 99, 128, 94, 92, 91, 130, 95catcocl 17394 . . . . . . . . . 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 17994 . . . . . . . . 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 17994 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘) = (((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴))
141140fveq2d 6778 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
142127, 139, 1413eqtr4d 2788 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
14386, 142syldan 591 . . . . . 6 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
144143mpteq2dva 5174 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
145 fveq2 6774 . . . . . . . 8 (𝑧 = 𝑤 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (((𝐹𝑁𝑋)‘𝐴)‘𝑤))
146 fveq2 6774 . . . . . . . 8 (𝑧 = 𝑤 → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = ((1st ‘((1st𝑌)‘𝑋))‘𝑤))
147 fveq2 6774 . . . . . . . 8 (𝑧 = 𝑤 → ((1st𝐹)‘𝑧) = ((1st𝐹)‘𝑤))
148145, 146, 147feq123d 6589 . . . . . . 7 (𝑧 = 𝑤 → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤)))
14927fveq1d 6776 . . . . . . . . . . . 12 (𝜑 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧))
150 ovex 7308 . . . . . . . . . . . . . 14 (𝑧(Hom ‘𝐶)𝑋) ∈ V
151150mptex 7099 . . . . . . . . . . . . 13 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V
152 eqid 2738 . . . . . . . . . . . . . 14 (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
153152fvmpt2 6886 . . . . . . . . . . . . 13 ((𝑧𝐵 ∧ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V) → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
154151, 153mpan2 688 . . . . . . . . . . . 12 (𝑧𝐵 → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
155149, 154sylan9eq 2798 . . . . . . . . . . 11 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
156155feq1d 6585 . . . . . . . . . 10 ((𝜑𝑧𝐵) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
15765, 156mpbird 256 . . . . . . . . 9 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
158157ralrimiva 3103 . . . . . . . 8 (𝜑 → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
159158adantr 481 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
160148, 159, 93rspcdva 3562 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤))
16168adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
16228, 29, 30, 161, 83, 93funcf2 17583 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
163162, 116ffvelrnd 6962 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
164723ad2antr1 1187 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
16571adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
166165, 93ffvelrnd 6962 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑤) ∈ 𝑈)
1675, 102, 30, 164, 166elsetchom 17796 . . . . . . 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 7005 . . . . . 6 (((((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤) ∧ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
170160, 168, 169syl2anc 584 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
1711573ad2antr1 1187 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
172 fcompt 7005 . . . . . 6 ((((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤) ∧ (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
173119, 171, 172syl2anc 584 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
174144, 170, 1733eqtr4d 2788 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
1755, 102, 88, 164, 166, 108, 168, 160setcco 17798 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)))
1765, 102, 88, 164, 105, 108, 171, 119setcco 17798 . . . 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 3127 . 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 17664 . 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 710 1 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ (((1st𝑌)‘𝑋)(𝑂 Nat 𝑆)𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cun 3885  wss 3887  cop 4567   class class class wbr 5074  cmpt 5157  ran crn 5590  ccom 5593  Rel wrel 5594  wf 6429  cfv 6433  (class class class)co 7275  cmpo 7277  1st c1st 7829  2nd c2nd 7830  tpos ctpos 8041  Xcixp 8685  Basecbs 16912  Hom chom 16973  compcco 16974  Catccat 17373  Idccid 17374  Homf chomf 17375  oppCatcoppc 17420   Func cfunc 17569  func ccofu 17571   Nat cnat 17657   FuncCat cfuc 17658  SetCatcsetc 17790   ×c cxpc 17885   1stF c1stf 17886   2ndF c2ndf 17887   ⟨,⟩F cprf 17888   evalF cevlf 17927  HomFchof 17966  Yoncyon 17967
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  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  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-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  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-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  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-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  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-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-tpos 8042  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-er 8498  df-map 8617  df-ixp 8686  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-2 12036  df-3 12037  df-4 12038  df-5 12039  df-6 12040  df-7 12041  df-8 12042  df-9 12043  df-n0 12234  df-z 12320  df-dec 12438  df-uz 12583  df-fz 13240  df-struct 16848  df-sets 16865  df-slot 16883  df-ndx 16895  df-base 16913  df-hom 16986  df-cco 16987  df-cat 17377  df-cid 17378  df-homf 17379  df-comf 17380  df-oppc 17421  df-func 17573  df-nat 17659  df-fuc 17660  df-setc 17791  df-xpc 17889  df-curf 17932  df-hof 17968  df-yon 17969
This theorem is referenced by:  yonedainv  17999
  Copyright terms: Public domain W3C validator