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

Theorem yonedalem4c 16740
 Description: Lemma for yoneda 16746. (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 16738 . . . 4 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))))
21 oveq1 6556 . . . . . 6 (𝑦 = 𝑧 → (𝑦(Hom ‘𝐶)𝑋) = (𝑧(Hom ‘𝐶)𝑋))
22 oveq2 6557 . . . . . . . 8 (𝑦 = 𝑧 → (𝑋(2nd𝐹)𝑦) = (𝑋(2nd𝐹)𝑧))
2322fveq1d 6105 . . . . . . 7 (𝑦 = 𝑧 → ((𝑋(2nd𝐹)𝑦)‘𝑔) = ((𝑋(2nd𝐹)𝑧)‘𝑔))
2423fveq1d 6105 . . . . . 6 (𝑦 = 𝑧 → (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴) = (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))
2521, 24mpteq12dv 4663 . . . . 5 (𝑦 = 𝑧 → (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴)) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2625cbvmptv 4678 . . . 4 (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2720, 26syl6eq 2660 . . 3 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))))
284, 2oppcbas 16201 . . . . . . . . . . . . 13 𝐵 = (Base‘𝑂)
29 eqid 2610 . . . . . . . . . . . . 13 (Hom ‘𝑂) = (Hom ‘𝑂)
30 eqid 2610 . . . . . . . . . . . . 13 (Hom ‘𝑆) = (Hom ‘𝑆)
31 relfunc 16345 . . . . . . . . . . . . . . 15 Rel (𝑂 Func 𝑆)
32 1st2ndbr 7108 . . . . . . . . . . . . . . 15 ((Rel (𝑂 Func 𝑆) ∧ 𝐹 ∈ (𝑂 Func 𝑆)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3331, 16, 32sylancr 694 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3433adantr 480 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3517adantr 480 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑋𝐵)
36 simpr 476 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑧𝐵)
3728, 29, 30, 34, 35, 36funcf2 16351 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
3837adantr 480 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
39 simpr 476 . . . . . . . . . . . 12 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋))
40 eqid 2610 . . . . . . . . . . . . 13 (Hom ‘𝐶) = (Hom ‘𝐶)
4140, 4oppchom 16198 . . . . . . . . . . . 12 (𝑋(Hom ‘𝑂)𝑧) = (𝑧(Hom ‘𝐶)𝑋)
4239, 41syl6eleqr 2699 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑋(Hom ‘𝑂)𝑧))
4338, 42ffvelrnd 6268 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
4415unssbd 3753 . . . . . . . . . . . . . 14 (𝜑𝑈𝑉)
4513, 44ssexd 4733 . . . . . . . . . . . . 13 (𝜑𝑈 ∈ V)
4645adantr 480 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → 𝑈 ∈ V)
4746adantr 480 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
48 eqid 2610 . . . . . . . . . . . . . . 15 (Base‘𝑆) = (Base‘𝑆)
4928, 48, 33funcf1 16349 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹):𝐵⟶(Base‘𝑆))
505, 45setcbas 16551 . . . . . . . . . . . . . . 15 (𝜑𝑈 = (Base‘𝑆))
5150feq3d 5945 . . . . . . . . . . . . . 14 (𝜑 → ((1st𝐹):𝐵𝑈 ↔ (1st𝐹):𝐵⟶(Base‘𝑆)))
5249, 51mpbird 246 . . . . . . . . . . . . 13 (𝜑 → (1st𝐹):𝐵𝑈)
5352, 17ffvelrnd 6268 . . . . . . . . . . . 12 (𝜑 → ((1st𝐹)‘𝑋) ∈ 𝑈)
5453ad2antrr 758 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
5552ffvelrnda 6267 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → ((1st𝐹)‘𝑧) ∈ 𝑈)
5655adantr 480 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
575, 47, 30, 54, 56elsetchom 16554 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧)))
5843, 57mpbid 221 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧))
5919ad2antrr 758 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
6058, 59ffvelrnd 6268 . . . . . . . 8 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴) ∈ ((1st𝐹)‘𝑧))
61 eqid 2610 . . . . . . . 8 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))
6260, 61fmptd 6292 . . . . . . 7 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):(𝑧(Hom ‘𝐶)𝑋)⟶((1st𝐹)‘𝑧))
6312adantr 480 . . . . . . . . 9 ((𝜑𝑧𝐵) → 𝐶 ∈ Cat)
641, 2, 63, 35, 40, 36yon11 16727 . . . . . . . 8 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
6564feq2d 5944 . . . . . . 7 ((𝜑𝑧𝐵) → ((𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):(𝑧(Hom ‘𝐶)𝑋)⟶((1st𝐹)‘𝑧)))
6662, 65mpbird 246 . . . . . 6 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
671, 2, 12, 17, 4, 5, 45, 14yon1cl 16726 . . . . . . . . . . 11 (𝜑 → ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆))
68 1st2ndbr 7108 . . . . . . . . . . 11 ((Rel (𝑂 Func 𝑆) ∧ ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆)) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
6931, 67, 68sylancr 694 . . . . . . . . . 10 (𝜑 → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
7028, 48, 69funcf1 16349 . . . . . . . . 9 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆))
7150feq3d 5945 . . . . . . . . 9 (𝜑 → ((1st ‘((1st𝑌)‘𝑋)):𝐵𝑈 ↔ (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆)))
7270, 71mpbird 246 . . . . . . . 8 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
7372ffvelrnda 6267 . . . . . . 7 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
745, 46, 30, 73, 55elsetchom 16554 . . . . . 6 ((𝜑𝑧𝐵) → ((𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
7566, 74mpbird 246 . . . . 5 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
7675ralrimiva 2949 . . . 4 (𝜑 → ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
77 fvex 6113 . . . . . 6 (Base‘𝐶) ∈ V
782, 77eqeltri 2684 . . . . 5 𝐵 ∈ V
79 mptelixpg 7831 . . . . 5 (𝐵 ∈ V → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧))))
8078, 79ax-mp 5 . . . 4 ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
8176, 80sylibr 223 . . 3 (𝜑 → (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
8227, 81eqeltrd 2688 . 2 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
8312adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝐶 ∈ Cat)
8417adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑋𝐵)
85 simpr1 1060 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑧𝐵)
861, 2, 83, 84, 40, 85yon11 16727 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
8786eleq2d 2673 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↔ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)))
8887biimpa 500 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
89 eqid 2610 . . . . . . . . . . . 12 (comp‘𝑂) = (comp‘𝑂)
90 eqid 2610 . . . . . . . . . . . 12 (comp‘𝑆) = (comp‘𝑆)
9133adantr 480 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9291adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9384adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑋𝐵)
9485adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑧𝐵)
95 simpr2 1061 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑤𝐵)
9695adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑤𝐵)
97 simpr 476 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
9897, 41syl6eleqr 2699 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑋(Hom ‘𝑂)𝑧))
99 simplr3 1098 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑧(Hom ‘𝑂)𝑤))
10028, 29, 89, 90, 92, 93, 94, 96, 98, 99funcco 16354 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)))
101 eqid 2610 . . . . . . . . . . . . 13 (comp‘𝐶) = (comp‘𝐶)
1022, 101, 4, 93, 94, 96oppcco 16200 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
103102fveq2d 6107 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
10445adantr 480 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑈 ∈ V)
105104adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
10653ad2antrr 758 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
107553ad2antr1 1219 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑧) ∈ 𝑈)
108107adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
10952adantr 480 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹):𝐵𝑈)
110109, 95ffvelrnd 6268 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑤) ∈ 𝑈)
111110adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑤) ∈ 𝑈)
11228, 29, 30, 91, 84, 85funcf2 16351 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
113112adantr 480 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
114113, 98ffvelrnd 6268 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑘) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
1155, 105, 30, 106, 108elsetchom 16554 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑘) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧)))
116114, 115mpbid 221 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧))
11728, 29, 30, 91, 85, 95funcf2 16351 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd𝐹)𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
118 simpr3 1062 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∈ (𝑧(Hom ‘𝑂)𝑤))
119117, 118ffvelrnd 6268 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
1205, 104, 30, 107, 110elsetchom 16554 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)) ↔ ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤)))
121119, 120mpbid 221 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
122121adantr 480 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
1235, 105, 90, 106, 108, 111, 116, 122setcco 16556 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
124100, 103, 1233eqtr3d 2652 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
125124fveq1d 6105 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴))
12619ad2antrr 758 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
127 fvco3 6185 . . . . . . . . . 10 ((((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧) ∧ 𝐴 ∈ ((1st𝐹)‘𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
128116, 126, 127syl2anc 691 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
129125, 128eqtrd 2644 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
13083adantr 480 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐶 ∈ Cat)
13140, 4oppchom 16198 . . . . . . . . . . . 12 (𝑧(Hom ‘𝑂)𝑤) = (𝑤(Hom ‘𝐶)𝑧)
13299, 131syl6eleq 2698 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑤(Hom ‘𝐶)𝑧))
1331, 2, 130, 93, 40, 94, 101, 96, 132, 97yon12 16728 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
134133fveq2d 6107 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
13513ad2antrr 758 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑉𝑊)
13614ad2antrr 758 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ran (Homf𝐶) ⊆ 𝑈)
13715ad2antrr 758 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
13816ad2antrr 758 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐹 ∈ (𝑂 Func 𝑆))
1392, 40, 101, 130, 96, 94, 93, 132, 97catcocl 16169 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)) ∈ (𝑤(Hom ‘𝐶)𝑋))
1401, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 130, 135, 136, 137, 138, 93, 18, 126, 96, 139yonedalem4b 16739 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))) = (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴))
141134, 140eqtrd 2644 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴))
1421, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 130, 135, 136, 137, 138, 93, 18, 126, 94, 97yonedalem4b 16739 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘) = (((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴))
143142fveq2d 6107 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
144129, 141, 1433eqtr4d 2654 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
14588, 144syldan 486 . . . . . 6 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
146145mpteq2dva 4672 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
14727fveq1d 6105 . . . . . . . . . . . 12 (𝜑 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧))
148 ovex 6577 . . . . . . . . . . . . . 14 (𝑧(Hom ‘𝐶)𝑋) ∈ V
149148mptex 6390 . . . . . . . . . . . . 13 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V
150 eqid 2610 . . . . . . . . . . . . . 14 (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
151150fvmpt2 6200 . . . . . . . . . . . . 13 ((𝑧𝐵 ∧ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V) → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
152149, 151mpan2 703 . . . . . . . . . . . 12 (𝑧𝐵 → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
153147, 152sylan9eq 2664 . . . . . . . . . . 11 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
154153feq1d 5943 . . . . . . . . . 10 ((𝜑𝑧𝐵) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
15566, 154mpbird 246 . . . . . . . . 9 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
156155ralrimiva 2949 . . . . . . . 8 (𝜑 → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
157156adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
158 fveq2 6103 . . . . . . . . 9 (𝑧 = 𝑤 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (((𝐹𝑁𝑋)‘𝐴)‘𝑤))
159 fveq2 6103 . . . . . . . . 9 (𝑧 = 𝑤 → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = ((1st ‘((1st𝑌)‘𝑋))‘𝑤))
160 fveq2 6103 . . . . . . . . 9 (𝑧 = 𝑤 → ((1st𝐹)‘𝑧) = ((1st𝐹)‘𝑤))
161158, 159, 160feq123d 5947 . . . . . . . 8 (𝑧 = 𝑤 → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤)))
162161rspcv 3278 . . . . . . 7 (𝑤𝐵 → (∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) → (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤)))
16395, 157, 162sylc 63 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤))
16469adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
16528, 29, 30, 164, 85, 95funcf2 16351 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
166165, 118ffvelrnd 6268 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
167733ad2antr1 1219 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
16872adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
169168, 95ffvelrnd 6268 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑤) ∈ 𝑈)
1705, 104, 30, 167, 169elsetchom 16554 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)) ↔ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
171166, 170mpbid 221 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤))
172 fcompt 6306 . . . . . 6 (((((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤) ∧ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
173163, 171, 172syl2anc 691 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
1741553ad2antr1 1219 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
175 fcompt 6306 . . . . . 6 ((((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤) ∧ (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
176121, 174, 175syl2anc 691 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
177146, 173, 1763eqtr4d 2654 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
1785, 104, 90, 167, 169, 110, 171, 163setcco 16556 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)))
1795, 104, 90, 167, 107, 110, 174, 121setcco 16556 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
180177, 178, 1793eqtr4d 2654 . . 3 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
181180ralrimivvva 2955 . 2 (𝜑 → ∀𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤)((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
182 eqid 2610 . . 3 (𝑂 Nat 𝑆) = (𝑂 Nat 𝑆)
183182, 28, 29, 30, 90, 67, 16isnat2 16431 . 2 (𝜑 → (((𝐹𝑁𝑋)‘𝐴) ∈ (((1st𝑌)‘𝑋)(𝑂 Nat 𝑆)𝐹) ↔ (((𝐹𝑁𝑋)‘𝐴) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ∧ ∀𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤)((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))))
18482, 181, 183mpbir2and 959 1 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ (((1st𝑌)‘𝑋)(𝑂 Nat 𝑆)𝐹))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ∀wral 2896  Vcvv 3173   ∪ cun 3538   ⊆ wss 3540  ⟨cop 4131   class class class wbr 4583   ↦ cmpt 4643  ran crn 5039   ∘ ccom 5042  Rel wrel 5043  ⟶wf 5800  ‘cfv 5804  (class class class)co 6549   ↦ cmpt2 6551  1st c1st 7057  2nd c2nd 7058  tpos ctpos 7238  Xcixp 7794  Basecbs 15695  Hom chom 15779  compcco 15780  Catccat 16148  Idccid 16149  Homf chomf 16150  oppCatcoppc 16194   Func cfunc 16337   ∘func ccofu 16339   Nat cnat 16424   FuncCat cfuc 16425  SetCatcsetc 16548   ×c cxpc 16631   1stF c1stf 16632   2ndF c2ndf 16633   ⟨,⟩F cprf 16634   evalF cevlf 16672  HomFchof 16711  Yoncyon 16712 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-cnex 9871  ax-resscn 9872  ax-1cn 9873  ax-icn 9874  ax-addcl 9875  ax-addrcl 9876  ax-mulcl 9877  ax-mulrcl 9878  ax-mulcom 9879  ax-addass 9880  ax-mulass 9881  ax-distr 9882  ax-i2m1 9883  ax-1ne0 9884  ax-1rid 9885  ax-rnegex 9886  ax-rrecex 9887  ax-cnre 9888  ax-pre-lttri 9889  ax-pre-lttrn 9890  ax-pre-ltadd 9891  ax-pre-mulgt0 9892 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-fal 1481  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-riota 6511  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-1st 7059  df-2nd 7060  df-tpos 7239  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-oadd 7451  df-er 7629  df-map 7746  df-ixp 7795  df-en 7842  df-dom 7843  df-sdom 7844  df-fin 7845  df-pnf 9955  df-mnf 9956  df-xr 9957  df-ltxr 9958  df-le 9959  df-sub 10147  df-neg 10148  df-nn 10898  df-2 10956  df-3 10957  df-4 10958  df-5 10959  df-6 10960  df-7 10961  df-8 10962  df-9 10963  df-n0 11170  df-z 11255  df-dec 11370  df-uz 11564  df-fz 12198  df-struct 15697  df-ndx 15698  df-slot 15699  df-base 15700  df-sets 15701  df-hom 15793  df-cco 15794  df-cat 16152  df-cid 16153  df-homf 16154  df-comf 16155  df-oppc 16195  df-func 16341  df-nat 16426  df-fuc 16427  df-setc 16549  df-xpc 16635  df-curf 16677  df-hof 16713  df-yon 16714 This theorem is referenced by:  yonedainv  16744
 Copyright terms: Public domain W3C validator