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

Theorem yonedalem4c 17785
Description: Lemma for yoneda 17791. (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 17783 . . . 4 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))))
21 oveq1 7220 . . . . . 6 (𝑦 = 𝑧 → (𝑦(Hom ‘𝐶)𝑋) = (𝑧(Hom ‘𝐶)𝑋))
22 oveq2 7221 . . . . . . . 8 (𝑦 = 𝑧 → (𝑋(2nd𝐹)𝑦) = (𝑋(2nd𝐹)𝑧))
2322fveq1d 6719 . . . . . . 7 (𝑦 = 𝑧 → ((𝑋(2nd𝐹)𝑦)‘𝑔) = ((𝑋(2nd𝐹)𝑧)‘𝑔))
2423fveq1d 6719 . . . . . 6 (𝑦 = 𝑧 → (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴) = (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))
2521, 24mpteq12dv 5140 . . . . 5 (𝑦 = 𝑧 → (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴)) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2625cbvmptv 5158 . . . 4 (𝑦𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑦)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
2720, 26eqtrdi 2794 . . 3 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))))
284, 2oppcbas 17222 . . . . . . . . . . . . 13 𝐵 = (Base‘𝑂)
29 eqid 2737 . . . . . . . . . . . . 13 (Hom ‘𝑂) = (Hom ‘𝑂)
30 eqid 2737 . . . . . . . . . . . . 13 (Hom ‘𝑆) = (Hom ‘𝑆)
31 relfunc 17368 . . . . . . . . . . . . . . 15 Rel (𝑂 Func 𝑆)
32 1st2ndbr 7813 . . . . . . . . . . . . . . 15 ((Rel (𝑂 Func 𝑆) ∧ 𝐹 ∈ (𝑂 Func 𝑆)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3331, 16, 32sylancr 590 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3433adantr 484 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
3517adantr 484 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑋𝐵)
36 simpr 488 . . . . . . . . . . . . 13 ((𝜑𝑧𝐵) → 𝑧𝐵)
3728, 29, 30, 34, 35, 36funcf2 17374 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
3837adantr 484 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
39 simpr 488 . . . . . . . . . . . 12 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋))
40 eqid 2737 . . . . . . . . . . . . 13 (Hom ‘𝐶) = (Hom ‘𝐶)
4140, 4oppchom 17219 . . . . . . . . . . . 12 (𝑋(Hom ‘𝑂)𝑧) = (𝑧(Hom ‘𝐶)𝑋)
4239, 41eleqtrrdi 2849 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑔 ∈ (𝑋(Hom ‘𝑂)𝑧))
4338, 42ffvelrnd 6905 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
4415unssbd 4102 . . . . . . . . . . . . . 14 (𝜑𝑈𝑉)
4513, 44ssexd 5217 . . . . . . . . . . . . 13 (𝜑𝑈 ∈ V)
4645adantr 484 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → 𝑈 ∈ V)
4746adantr 484 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
48 eqid 2737 . . . . . . . . . . . . . . 15 (Base‘𝑆) = (Base‘𝑆)
4928, 48, 33funcf1 17372 . . . . . . . . . . . . . 14 (𝜑 → (1st𝐹):𝐵⟶(Base‘𝑆))
505, 45setcbas 17584 . . . . . . . . . . . . . . 15 (𝜑𝑈 = (Base‘𝑆))
5150feq3d 6532 . . . . . . . . . . . . . 14 (𝜑 → ((1st𝐹):𝐵𝑈 ↔ (1st𝐹):𝐵⟶(Base‘𝑆)))
5249, 51mpbird 260 . . . . . . . . . . . . 13 (𝜑 → (1st𝐹):𝐵𝑈)
5352, 17ffvelrnd 6905 . . . . . . . . . . . 12 (𝜑 → ((1st𝐹)‘𝑋) ∈ 𝑈)
5453ad2antrr 726 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
5552ffvelrnda 6904 . . . . . . . . . . . 12 ((𝜑𝑧𝐵) → ((1st𝐹)‘𝑧) ∈ 𝑈)
5655adantr 484 . . . . . . . . . . 11 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
575, 47, 30, 54, 56elsetchom 17587 . . . . . . . . . 10 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧)))
5843, 57mpbid 235 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑔):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧))
5919ad2antrr 726 . . . . . . . . 9 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
6058, 59ffvelrnd 6905 . . . . . . . 8 (((𝜑𝑧𝐵) ∧ 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴) ∈ ((1st𝐹)‘𝑧))
6160fmpttd 6932 . . . . . . 7 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):(𝑧(Hom ‘𝐶)𝑋)⟶((1st𝐹)‘𝑧))
6212adantr 484 . . . . . . . . 9 ((𝜑𝑧𝐵) → 𝐶 ∈ Cat)
631, 2, 62, 35, 40, 36yon11 17772 . . . . . . . 8 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
6463feq2d 6531 . . . . . . 7 ((𝜑𝑧𝐵) → ((𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):(𝑧(Hom ‘𝐶)𝑋)⟶((1st𝐹)‘𝑧)))
6561, 64mpbird 260 . . . . . 6 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
661, 2, 12, 17, 4, 5, 45, 14yon1cl 17771 . . . . . . . . . . 11 (𝜑 → ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆))
67 1st2ndbr 7813 . . . . . . . . . . 11 ((Rel (𝑂 Func 𝑆) ∧ ((1st𝑌)‘𝑋) ∈ (𝑂 Func 𝑆)) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
6831, 66, 67sylancr 590 . . . . . . . . . 10 (𝜑 → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
6928, 48, 68funcf1 17372 . . . . . . . . 9 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆))
7050feq3d 6532 . . . . . . . . 9 (𝜑 → ((1st ‘((1st𝑌)‘𝑋)):𝐵𝑈 ↔ (1st ‘((1st𝑌)‘𝑋)):𝐵⟶(Base‘𝑆)))
7169, 70mpbird 260 . . . . . . . 8 (𝜑 → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
7271ffvelrnda 6904 . . . . . . 7 ((𝜑𝑧𝐵) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
735, 46, 30, 72, 55elsetchom 17587 . . . . . 6 ((𝜑𝑧𝐵) → ((𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
7465, 73mpbird 260 . . . . 5 ((𝜑𝑧𝐵) → (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
7574ralrimiva 3105 . . . 4 (𝜑 → ∀𝑧𝐵 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
762fvexi 6731 . . . . 5 𝐵 ∈ V
77 mptelixpg 8616 . . . . 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 237 . . 3 (𝜑 → (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
8027, 79eqeltrd 2838 . 2 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ X𝑧𝐵 (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
8112adantr 484 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝐶 ∈ Cat)
8217adantr 484 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑋𝐵)
83 simpr1 1196 . . . . . . . . . 10 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑧𝐵)
841, 2, 81, 82, 40, 83yon11 17772 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = (𝑧(Hom ‘𝐶)𝑋))
8584eleq2d 2823 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↔ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)))
8685biimpa 480 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
87 eqid 2737 . . . . . . . . . . . 12 (comp‘𝑂) = (comp‘𝑂)
88 eqid 2737 . . . . . . . . . . . 12 (comp‘𝑆) = (comp‘𝑆)
8933adantr 484 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9089adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (1st𝐹)(𝑂 Func 𝑆)(2nd𝐹))
9182adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑋𝐵)
9283adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑧𝐵)
93 simpr2 1197 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑤𝐵)
9493adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑤𝐵)
95 simpr 488 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋))
9695, 41eleqtrrdi 2849 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑘 ∈ (𝑋(Hom ‘𝑂)𝑧))
97 simplr3 1219 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑧(Hom ‘𝑂)𝑤))
9828, 29, 87, 88, 90, 91, 92, 94, 96, 97funcco 17377 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)))
99 eqid 2737 . . . . . . . . . . . . 13 (comp‘𝐶) = (comp‘𝐶)
1002, 99, 4, 91, 92, 94oppcco 17221 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
101100fveq2d 6721 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘((⟨𝑋, 𝑧⟩(comp‘𝑂)𝑤)𝑘)) = ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
10245adantr 484 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → 𝑈 ∈ V)
103102adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑈 ∈ V)
10453ad2antrr 726 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑋) ∈ 𝑈)
105553ad2antr1 1190 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑧) ∈ 𝑈)
106105adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑧) ∈ 𝑈)
10752adantr 484 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st𝐹):𝐵𝑈)
108107, 93ffvelrnd 6905 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st𝐹)‘𝑤) ∈ 𝑈)
109108adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((1st𝐹)‘𝑤) ∈ 𝑈)
11028, 29, 30, 89, 82, 83funcf2 17374 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
111110adantr 484 . . . . . . . . . . . . . 14 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (𝑋(2nd𝐹)𝑧):(𝑋(Hom ‘𝑂)𝑧)⟶(((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
112111, 96ffvelrnd 6905 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑘) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)))
1135, 103, 30, 104, 106elsetchom 17587 . . . . . . . . . . . . 13 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑧)‘𝑘) ∈ (((1st𝐹)‘𝑋)(Hom ‘𝑆)((1st𝐹)‘𝑧)) ↔ ((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧)))
114112, 113mpbid 235 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧))
11528, 29, 30, 89, 83, 93funcf2 17374 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd𝐹)𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
116 simpr3 1198 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∈ (𝑧(Hom ‘𝑂)𝑤))
117115, 116ffvelrnd 6905 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)))
1185, 102, 30, 105, 108elsetchom 17587 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∈ (((1st𝐹)‘𝑧)(Hom ‘𝑆)((1st𝐹)‘𝑤)) ↔ ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤)))
119117, 118mpbid 235 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
120119adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤))
1215, 103, 88, 104, 106, 109, 114, 120setcco 17589 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st𝐹)‘𝑋), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑋(2nd𝐹)𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
12298, 101, 1213eqtr3d 2785 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))) = (((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘)))
123122fveq1d 6719 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴))
12419ad2antrr 726 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐴 ∈ ((1st𝐹)‘𝑋))
125 fvco3 6810 . . . . . . . . . 10 ((((𝑋(2nd𝐹)𝑧)‘𝑘):((1st𝐹)‘𝑋)⟶((1st𝐹)‘𝑧) ∧ 𝐴 ∈ ((1st𝐹)‘𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
126114, 124, 125syl2anc 587 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝑧(2nd𝐹)𝑤)‘) ∘ ((𝑋(2nd𝐹)𝑧)‘𝑘))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
127123, 126eqtrd 2777 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
12881adantr 484 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐶 ∈ Cat)
12940, 4oppchom 17219 . . . . . . . . . . . 12 (𝑧(Hom ‘𝑂)𝑤) = (𝑤(Hom ‘𝐶)𝑧)
13097, 129eleqtrdi 2848 . . . . . . . . . . 11 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ∈ (𝑤(Hom ‘𝐶)𝑧))
1311, 2, 128, 91, 40, 92, 99, 94, 130, 95yon12 17773 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘) = (𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))
132131fveq2d 6721 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))))
13313ad2antrr 726 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝑉𝑊)
13414ad2antrr 726 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ran (Homf𝐶) ⊆ 𝑈)
13515ad2antrr 726 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
13616ad2antrr 726 . . . . . . . . . 10 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → 𝐹 ∈ (𝑂 Func 𝑆))
1372, 40, 99, 128, 94, 92, 91, 130, 95catcocl 17188 . . . . . . . . . 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 17784 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋))) = (((𝑋(2nd𝐹)𝑤)‘(𝑘(⟨𝑤, 𝑧⟩(comp‘𝐶)𝑋)))‘𝐴))
139132, 138eqtrd 2777 . . . . . . . 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 17784 . . . . . . . . 9 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘) = (((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴))
141140fveq2d 6721 . . . . . . . 8 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘(((𝑋(2nd𝐹)𝑧)‘𝑘)‘𝐴)))
142127, 139, 1413eqtr4d 2787 . . . . . . 7 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ (𝑧(Hom ‘𝐶)𝑋)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
14386, 142syldan 594 . . . . . 6 (((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) ∧ 𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘)) = (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘)))
144143mpteq2dva 5150 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
145 fveq2 6717 . . . . . . . 8 (𝑧 = 𝑤 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (((𝐹𝑁𝑋)‘𝐴)‘𝑤))
146 fveq2 6717 . . . . . . . 8 (𝑧 = 𝑤 → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) = ((1st ‘((1st𝑌)‘𝑋))‘𝑤))
147 fveq2 6717 . . . . . . . 8 (𝑧 = 𝑤 → ((1st𝐹)‘𝑧) = ((1st𝐹)‘𝑤))
148145, 146, 147feq123d 6534 . . . . . . 7 (𝑧 = 𝑤 → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤)))
14927fveq1d 6719 . . . . . . . . . . . 12 (𝜑 → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧))
150 ovex 7246 . . . . . . . . . . . . . 14 (𝑧(Hom ‘𝐶)𝑋) ∈ V
151150mptex 7039 . . . . . . . . . . . . 13 (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V
152 eqid 2737 . . . . . . . . . . . . . 14 (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴))) = (𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
153152fvmpt2 6829 . . . . . . . . . . . . 13 ((𝑧𝐵 ∧ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)) ∈ V) → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
154151, 153mpan2 691 . . . . . . . . . . . 12 (𝑧𝐵 → ((𝑧𝐵 ↦ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
155149, 154sylan9eq 2798 . . . . . . . . . . 11 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧) = (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)))
156155feq1d 6530 . . . . . . . . . 10 ((𝜑𝑧𝐵) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧) ↔ (𝑔 ∈ (𝑧(Hom ‘𝐶)𝑋) ↦ (((𝑋(2nd𝐹)𝑧)‘𝑔)‘𝐴)):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)))
15765, 156mpbird 260 . . . . . . . . 9 ((𝜑𝑧𝐵) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
158157ralrimiva 3105 . . . . . . . 8 (𝜑 → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
159158adantr 484 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ∀𝑧𝐵 (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
160148, 159, 93rspcdva 3539 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤))
16168adantr 484 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋))(𝑂 Func 𝑆)(2nd ‘((1st𝑌)‘𝑋)))
16228, 29, 30, 161, 83, 93funcf2 17374 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤):(𝑧(Hom ‘𝑂)𝑤)⟶(((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
163162, 116ffvelrnd 6905 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
164723ad2antr1 1190 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ∈ 𝑈)
16571adantr 484 . . . . . . . . 9 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (1st ‘((1st𝑌)‘𝑋)):𝐵𝑈)
166165, 93ffvelrnd 6905 . . . . . . . 8 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((1st ‘((1st𝑌)‘𝑋))‘𝑤) ∈ 𝑈)
1675, 102, 30, 164, 166elsetchom 17587 . . . . . . 7 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘) ∈ (((1st ‘((1st𝑌)‘𝑋))‘𝑧)(Hom ‘𝑆)((1st ‘((1st𝑌)‘𝑋))‘𝑤)) ↔ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤)))
168163, 167mpbid 235 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤))
169 fcompt 6948 . . . . . 6 (((((𝐹𝑁𝑋)‘𝐴)‘𝑤):((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟶((1st𝐹)‘𝑤) ∧ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st ‘((1st𝑌)‘𝑋))‘𝑤)) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
170160, 168, 169syl2anc 587 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)‘(((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)‘𝑘))))
1711573ad2antr1 1190 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧))
172 fcompt 6948 . . . . . 6 ((((𝑧(2nd𝐹)𝑤)‘):((1st𝐹)‘𝑧)⟶((1st𝐹)‘𝑤) ∧ (((𝐹𝑁𝑋)‘𝐴)‘𝑧):((1st ‘((1st𝑌)‘𝑋))‘𝑧)⟶((1st𝐹)‘𝑧)) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
173119, 171, 172syl2anc 587 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (𝑘 ∈ ((1st ‘((1st𝑌)‘𝑋))‘𝑧) ↦ (((𝑧(2nd𝐹)𝑤)‘)‘((((𝐹𝑁𝑋)‘𝐴)‘𝑧)‘𝑘))))
174144, 170, 1733eqtr4d 2787 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
1755, 102, 88, 164, 166, 108, 168, 160setcco 17589 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = ((((𝐹𝑁𝑋)‘𝐴)‘𝑤) ∘ ((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)))
1765, 102, 88, 164, 105, 108, 171, 119setcco 17589 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)) = (((𝑧(2nd𝐹)𝑤)‘) ∘ (((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
177174, 175, 1763eqtr4d 2787 . . 3 ((𝜑 ∧ (𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤))) → ((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
178177ralrimivvva 3113 . 2 (𝜑 → ∀𝑧𝐵𝑤𝐵 ∈ (𝑧(Hom ‘𝑂)𝑤)((((𝐹𝑁𝑋)‘𝐴)‘𝑤)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st ‘((1st𝑌)‘𝑋))‘𝑤)⟩(comp‘𝑆)((1st𝐹)‘𝑤))((𝑧(2nd ‘((1st𝑌)‘𝑋))𝑤)‘)) = (((𝑧(2nd𝐹)𝑤)‘)(⟨((1st ‘((1st𝑌)‘𝑋))‘𝑧), ((1st𝐹)‘𝑧)⟩(comp‘𝑆)((1st𝐹)‘𝑤))(((𝐹𝑁𝑋)‘𝐴)‘𝑧)))
179 eqid 2737 . . 3 (𝑂 Nat 𝑆) = (𝑂 Nat 𝑆)
180179, 28, 29, 30, 88, 66, 16isnat2 17455 . 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 713 1 (𝜑 → ((𝐹𝑁𝑋)‘𝐴) ∈ (((1st𝑌)‘𝑋)(𝑂 Nat 𝑆)𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wcel 2110  wral 3061  Vcvv 3408  cun 3864  wss 3866  cop 4547   class class class wbr 5053  cmpt 5135  ran crn 5552  ccom 5555  Rel wrel 5556  wf 6376  cfv 6380  (class class class)co 7213  cmpo 7215  1st c1st 7759  2nd c2nd 7760  tpos ctpos 7967  Xcixp 8578  Basecbs 16760  Hom chom 16813  compcco 16814  Catccat 17167  Idccid 17168  Homf chomf 17169  oppCatcoppc 17214   Func cfunc 17360  func ccofu 17362   Nat cnat 17448   FuncCat cfuc 17449  SetCatcsetc 17581   ×c cxpc 17675   1stF c1stf 17676   2ndF c2ndf 17677   ⟨,⟩F cprf 17678   evalF cevlf 17717  HomFchof 17756  Yoncyon 17757
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-1cn 10787  ax-icn 10788  ax-addcl 10789  ax-addrcl 10790  ax-mulcl 10791  ax-mulrcl 10792  ax-mulcom 10793  ax-addass 10794  ax-mulass 10795  ax-distr 10796  ax-i2m1 10797  ax-1ne0 10798  ax-1rid 10799  ax-rnegex 10800  ax-rrecex 10801  ax-cnre 10802  ax-pre-lttri 10803  ax-pre-lttrn 10804  ax-pre-ltadd 10805  ax-pre-mulgt0 10806
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-om 7645  df-1st 7761  df-2nd 7762  df-tpos 7968  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-1o 8202  df-er 8391  df-map 8510  df-ixp 8579  df-en 8627  df-dom 8628  df-sdom 8629  df-fin 8630  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-sub 11064  df-neg 11065  df-nn 11831  df-2 11893  df-3 11894  df-4 11895  df-5 11896  df-6 11897  df-7 11898  df-8 11899  df-9 11900  df-n0 12091  df-z 12177  df-dec 12294  df-uz 12439  df-fz 13096  df-struct 16700  df-sets 16717  df-slot 16735  df-ndx 16745  df-base 16761  df-hom 16826  df-cco 16827  df-cat 17171  df-cid 17172  df-homf 17173  df-comf 17174  df-oppc 17215  df-func 17364  df-nat 17450  df-fuc 17451  df-setc 17582  df-xpc 17679  df-curf 17722  df-hof 17758  df-yon 17759
This theorem is referenced by:  yonedainv  17789
  Copyright terms: Public domain W3C validator