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

Theorem yonedalem22 17522
Description: Lemma for yoneda 17527. (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 (𝜑𝑋𝐵)
yonedalem22.g (𝜑𝐺 ∈ (𝑂 Func 𝑆))
yonedalem22.p (𝜑𝑃𝐵)
yonedalem22.a (𝜑𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺))
yonedalem22.k (𝜑𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋))
Assertion
Ref Expression
yonedalem22 (𝜑 → (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴))

Proof of Theorem yonedalem22
StepHypRef Expression
1 yoneda.z . . . . . . 7 𝑍 = (𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))
21fveq2i 6667 . . . . . 6 (2nd𝑍) = (2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))
32oveqi 7163 . . . . 5 (⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩) = (⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)
43oveqi 7163 . . . 4 (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = (𝐴(⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)𝐾)
5 df-ov 7153 . . . 4 (𝐴(⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)𝐾) = ((⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)
64, 5eqtri 2844 . . 3 (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = ((⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)
7 eqid 2821 . . . . 5 (𝑄 ×c 𝑂) = (𝑄 ×c 𝑂)
8 yoneda.q . . . . . 6 𝑄 = (𝑂 FuncCat 𝑆)
98fucbas 17224 . . . . 5 (𝑂 Func 𝑆) = (Base‘𝑄)
10 yoneda.o . . . . . 6 𝑂 = (oppCat‘𝐶)
11 yoneda.b . . . . . 6 𝐵 = (Base‘𝐶)
1210, 11oppcbas 16982 . . . . 5 𝐵 = (Base‘𝑂)
137, 9, 12xpcbas 17422 . . . 4 ((𝑂 Func 𝑆) × 𝐵) = (Base‘(𝑄 ×c 𝑂))
14 eqid 2821 . . . . 5 ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) = ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))
15 eqid 2821 . . . . 5 ((oppCat‘𝑄) ×c 𝑄) = ((oppCat‘𝑄) ×c 𝑄)
16 yoneda.c . . . . . . . . 9 (𝜑𝐶 ∈ Cat)
1710oppccat 16986 . . . . . . . . 9 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
1816, 17syl 17 . . . . . . . 8 (𝜑𝑂 ∈ Cat)
19 yoneda.w . . . . . . . . . 10 (𝜑𝑉𝑊)
20 yoneda.v . . . . . . . . . . 11 (𝜑 → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
2120unssbd 4163 . . . . . . . . . 10 (𝜑𝑈𝑉)
2219, 21ssexd 5220 . . . . . . . . 9 (𝜑𝑈 ∈ V)
23 yoneda.s . . . . . . . . . 10 𝑆 = (SetCat‘𝑈)
2423setccat 17339 . . . . . . . . 9 (𝑈 ∈ V → 𝑆 ∈ Cat)
2522, 24syl 17 . . . . . . . 8 (𝜑𝑆 ∈ Cat)
268, 18, 25fuccat 17234 . . . . . . 7 (𝜑𝑄 ∈ Cat)
27 eqid 2821 . . . . . . 7 (𝑄 2ndF 𝑂) = (𝑄 2ndF 𝑂)
287, 26, 18, 272ndfcl 17442 . . . . . 6 (𝜑 → (𝑄 2ndF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑂))
29 eqid 2821 . . . . . . . 8 (oppCat‘𝑄) = (oppCat‘𝑄)
30 relfunc 17126 . . . . . . . . 9 Rel (𝐶 Func 𝑄)
31 yoneda.y . . . . . . . . . 10 𝑌 = (Yon‘𝐶)
32 yoneda.u . . . . . . . . . 10 (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
3331, 16, 10, 23, 8, 22, 32yoncl 17506 . . . . . . . . 9 (𝜑𝑌 ∈ (𝐶 Func 𝑄))
34 1st2ndbr 7735 . . . . . . . . 9 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3530, 33, 34sylancr 589 . . . . . . . 8 (𝜑 → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3610, 29, 35funcoppc 17139 . . . . . . 7 (𝜑 → (1st𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd𝑌))
37 df-br 5059 . . . . . . 7 ((1st𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd𝑌) ↔ ⟨(1st𝑌), tpos (2nd𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
3836, 37sylib 220 . . . . . 6 (𝜑 → ⟨(1st𝑌), tpos (2nd𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
3928, 38cofucl 17152 . . . . 5 (𝜑 → (⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func (oppCat‘𝑄)))
40 eqid 2821 . . . . . 6 (𝑄 1stF 𝑂) = (𝑄 1stF 𝑂)
417, 26, 18, 401stfcl 17441 . . . . 5 (𝜑 → (𝑄 1stF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑄))
4214, 15, 39, 41prfcl 17447 . . . 4 (𝜑 → ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func ((oppCat‘𝑄) ×c 𝑄)))
43 yoneda.h . . . . 5 𝐻 = (HomF𝑄)
44 yoneda.t . . . . 5 𝑇 = (SetCat‘𝑉)
4520unssad 4162 . . . . 5 (𝜑 → ran (Homf𝑄) ⊆ 𝑉)
4643, 29, 44, 26, 19, 45hofcl 17503 . . . 4 (𝜑𝐻 ∈ (((oppCat‘𝑄) ×c 𝑄) Func 𝑇))
47 yonedalem21.f . . . . 5 (𝜑𝐹 ∈ (𝑂 Func 𝑆))
48 yonedalem21.x . . . . 5 (𝜑𝑋𝐵)
4947, 48opelxpd 5587 . . . 4 (𝜑 → ⟨𝐹, 𝑋⟩ ∈ ((𝑂 Func 𝑆) × 𝐵))
50 yonedalem22.g . . . . 5 (𝜑𝐺 ∈ (𝑂 Func 𝑆))
51 yonedalem22.p . . . . 5 (𝜑𝑃𝐵)
5250, 51opelxpd 5587 . . . 4 (𝜑 → ⟨𝐺, 𝑃⟩ ∈ ((𝑂 Func 𝑆) × 𝐵))
53 eqid 2821 . . . 4 (Hom ‘(𝑄 ×c 𝑂)) = (Hom ‘(𝑄 ×c 𝑂))
54 yonedalem22.a . . . . . 6 (𝜑𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺))
55 yonedalem22.k . . . . . . 7 (𝜑𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋))
56 eqid 2821 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
5756, 10oppchom 16979 . . . . . . 7 (𝑋(Hom ‘𝑂)𝑃) = (𝑃(Hom ‘𝐶)𝑋)
5855, 57eleqtrrdi 2924 . . . . . 6 (𝜑𝐾 ∈ (𝑋(Hom ‘𝑂)𝑃))
5954, 58opelxpd 5587 . . . . 5 (𝜑 → ⟨𝐴, 𝐾⟩ ∈ ((𝐹(𝑂 Nat 𝑆)𝐺) × (𝑋(Hom ‘𝑂)𝑃)))
60 eqid 2821 . . . . . . 7 (𝑂 Nat 𝑆) = (𝑂 Nat 𝑆)
618, 60fuchom 17225 . . . . . 6 (𝑂 Nat 𝑆) = (Hom ‘𝑄)
62 eqid 2821 . . . . . 6 (Hom ‘𝑂) = (Hom ‘𝑂)
637, 9, 12, 61, 62, 47, 48, 50, 51, 53xpchom2 17430 . . . . 5 (𝜑 → (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩) = ((𝐹(𝑂 Nat 𝑆)𝐺) × (𝑋(Hom ‘𝑂)𝑃)))
6459, 63eleqtrrd 2916 . . . 4 (𝜑 → ⟨𝐴, 𝐾⟩ ∈ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))
6513, 42, 46, 49, 52, 53, 64cofu2 17150 . . 3 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩)(2nd𝐻)((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)))
666, 65syl5eq 2868 . 2 (𝜑 → (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = ((((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩)(2nd𝐻)((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)))
6714, 13, 53, 39, 41, 49prf1 17444 . . . . . 6 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩) = ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩)⟩)
6813, 28, 38, 49cofu1 17148 . . . . . . . 8 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩) = ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)))
69 fvex 6677 . . . . . . . . . . 11 (1st𝑌) ∈ V
70 fvex 6677 . . . . . . . . . . . 12 (2nd𝑌) ∈ V
7170tposex 7920 . . . . . . . . . . 11 tpos (2nd𝑌) ∈ V
7269, 71op1st 7691 . . . . . . . . . 10 (1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = (1st𝑌)
7372a1i 11 . . . . . . . . 9 (𝜑 → (1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = (1st𝑌))
747, 13, 53, 26, 18, 27, 492ndf1 17439 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩) = (2nd ‘⟨𝐹, 𝑋⟩))
75 op2ndg 7696 . . . . . . . . . . 11 ((𝐹 ∈ (𝑂 Func 𝑆) ∧ 𝑋𝐵) → (2nd ‘⟨𝐹, 𝑋⟩) = 𝑋)
7647, 48, 75syl2anc 586 . . . . . . . . . 10 (𝜑 → (2nd ‘⟨𝐹, 𝑋⟩) = 𝑋)
7774, 76eqtrd 2856 . . . . . . . . 9 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩) = 𝑋)
7873, 77fveq12d 6671 . . . . . . . 8 (𝜑 → ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)) = ((1st𝑌)‘𝑋))
7968, 78eqtrd 2856 . . . . . . 7 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩) = ((1st𝑌)‘𝑋))
807, 13, 53, 26, 18, 40, 491stf1 17436 . . . . . . . 8 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩) = (1st ‘⟨𝐹, 𝑋⟩))
81 op1stg 7695 . . . . . . . . 9 ((𝐹 ∈ (𝑂 Func 𝑆) ∧ 𝑋𝐵) → (1st ‘⟨𝐹, 𝑋⟩) = 𝐹)
8247, 48, 81syl2anc 586 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐹, 𝑋⟩) = 𝐹)
8380, 82eqtrd 2856 . . . . . . 7 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩) = 𝐹)
8479, 83opeq12d 4804 . . . . . 6 (𝜑 → ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩)⟩ = ⟨((1st𝑌)‘𝑋), 𝐹⟩)
8567, 84eqtrd 2856 . . . . 5 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩) = ⟨((1st𝑌)‘𝑋), 𝐹⟩)
8614, 13, 53, 39, 41, 52prf1 17444 . . . . . 6 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩) = ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩)⟩)
8713, 28, 38, 52cofu1 17148 . . . . . . . 8 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩) = ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)))
887, 13, 53, 26, 18, 27, 522ndf1 17439 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩) = (2nd ‘⟨𝐺, 𝑃⟩))
89 op2ndg 7696 . . . . . . . . . . 11 ((𝐺 ∈ (𝑂 Func 𝑆) ∧ 𝑃𝐵) → (2nd ‘⟨𝐺, 𝑃⟩) = 𝑃)
9050, 51, 89syl2anc 586 . . . . . . . . . 10 (𝜑 → (2nd ‘⟨𝐺, 𝑃⟩) = 𝑃)
9188, 90eqtrd 2856 . . . . . . . . 9 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩) = 𝑃)
9273, 91fveq12d 6671 . . . . . . . 8 (𝜑 → ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = ((1st𝑌)‘𝑃))
9387, 92eqtrd 2856 . . . . . . 7 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩) = ((1st𝑌)‘𝑃))
947, 13, 53, 26, 18, 40, 521stf1 17436 . . . . . . . 8 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩) = (1st ‘⟨𝐺, 𝑃⟩))
95 op1stg 7695 . . . . . . . . 9 ((𝐺 ∈ (𝑂 Func 𝑆) ∧ 𝑃𝐵) → (1st ‘⟨𝐺, 𝑃⟩) = 𝐺)
9650, 51, 95syl2anc 586 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐺, 𝑃⟩) = 𝐺)
9794, 96eqtrd 2856 . . . . . . 7 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩) = 𝐺)
9893, 97opeq12d 4804 . . . . . 6 (𝜑 → ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩)⟩ = ⟨((1st𝑌)‘𝑃), 𝐺⟩)
9986, 98eqtrd 2856 . . . . 5 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩) = ⟨((1st𝑌)‘𝑃), 𝐺⟩)
10085, 99oveq12d 7168 . . . 4 (𝜑 → (((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩)(2nd𝐻)((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩)) = (⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩))
10114, 13, 53, 39, 41, 49, 52, 64prf2 17446 . . . . 5 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ⟨((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩), ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)⟩)
10213, 28, 38, 49, 52, 53, 64cofu2 17150 . . . . . . 7 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)))
10369, 71op2nd 7692 . . . . . . . . . . 11 (2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = tpos (2nd𝑌)
104103oveqi 7163 . . . . . . . . . 10 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)tpos (2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))
105 ovtpos 7901 . . . . . . . . . 10 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)tpos (2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩))
106104, 105eqtri 2844 . . . . . . . . 9 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩))
10791, 77oveq12d 7168 . . . . . . . . 9 (𝜑 → (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)) = (𝑃(2nd𝑌)𝑋))
108106, 107syl5eq 2868 . . . . . . . 8 (𝜑 → (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (𝑃(2nd𝑌)𝑋))
1097, 13, 53, 26, 18, 27, 49, 522ndf2 17440 . . . . . . . . . 10 (𝜑 → (⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩) = (2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩)))
110109fveq1d 6666 . . . . . . . . 9 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩))
11164fvresd 6684 . . . . . . . . 9 (𝜑 → ((2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩) = (2nd ‘⟨𝐴, 𝐾⟩))
112 op2ndg 7696 . . . . . . . . . 10 ((𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺) ∧ 𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋)) → (2nd ‘⟨𝐴, 𝐾⟩) = 𝐾)
11354, 55, 112syl2anc 586 . . . . . . . . 9 (𝜑 → (2nd ‘⟨𝐴, 𝐾⟩) = 𝐾)
114110, 111, 1133eqtrd 2860 . . . . . . . 8 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = 𝐾)
115108, 114fveq12d 6671 . . . . . . 7 (𝜑 → ((((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)) = ((𝑃(2nd𝑌)𝑋)‘𝐾))
116102, 115eqtrd 2856 . . . . . 6 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((𝑃(2nd𝑌)𝑋)‘𝐾))
1177, 13, 53, 26, 18, 40, 49, 521stf2 17437 . . . . . . . 8 (𝜑 → (⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩) = (1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩)))
118117fveq1d 6666 . . . . . . 7 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩))
11964fvresd 6684 . . . . . . 7 (𝜑 → ((1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩) = (1st ‘⟨𝐴, 𝐾⟩))
120 op1stg 7695 . . . . . . . 8 ((𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺) ∧ 𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋)) → (1st ‘⟨𝐴, 𝐾⟩) = 𝐴)
12154, 55, 120syl2anc 586 . . . . . . 7 (𝜑 → (1st ‘⟨𝐴, 𝐾⟩) = 𝐴)
122118, 119, 1213eqtrd 2860 . . . . . 6 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = 𝐴)
123116, 122opeq12d 4804 . . . . 5 (𝜑 → ⟨((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩), ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)⟩ = ⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
124101, 123eqtrd 2856 . . . 4 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
125100, 124fveq12d 6671 . . 3 (𝜑 → ((((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩)(2nd𝐻)((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)) = ((⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)‘⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩))
126 df-ov 7153 . . 3 (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴) = ((⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)‘⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
127125, 126syl6eqr 2874 . 2 (𝜑 → ((((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩)(2nd𝐻)((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)) = (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴))
12866, 127eqtrd 2856 1 (𝜑 → (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1533  wcel 2110  Vcvv 3494  cun 3933  wss 3935  cop 4566   class class class wbr 5058   × cxp 5547  ran crn 5550  cres 5551  Rel wrel 5554  cfv 6349  (class class class)co 7150  1st c1st 7681  2nd c2nd 7682  tpos ctpos 7885  Basecbs 16477  Hom chom 16570  Catccat 16929  Idccid 16930  Homf chomf 16931  oppCatcoppc 16975   Func cfunc 17118  func ccofu 17120   Nat cnat 17205   FuncCat cfuc 17206  SetCatcsetc 17329   ×c cxpc 17412   1stF c1stf 17413   2ndF c2ndf 17414   ⟨,⟩F cprf 17415   evalF cevlf 17453  HomFchof 17492  Yoncyon 17493
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-fal 1546  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-tp 4565  df-op 4567  df-uni 4832  df-int 4869  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-om 7575  df-1st 7683  df-2nd 7684  df-tpos 7886  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-1o 8096  df-oadd 8100  df-er 8283  df-map 8402  df-ixp 8456  df-en 8504  df-dom 8505  df-sdom 8506  df-fin 8507  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867  df-nn 11633  df-2 11694  df-3 11695  df-4 11696  df-5 11697  df-6 11698  df-7 11699  df-8 11700  df-9 11701  df-n0 11892  df-z 11976  df-dec 12093  df-uz 12238  df-fz 12887  df-struct 16479  df-ndx 16480  df-slot 16481  df-base 16483  df-sets 16484  df-hom 16583  df-cco 16584  df-cat 16933  df-cid 16934  df-homf 16935  df-comf 16936  df-oppc 16976  df-func 17122  df-cofu 17124  df-nat 17207  df-fuc 17208  df-setc 17330  df-xpc 17416  df-1stf 17417  df-2ndf 17418  df-prf 17419  df-curf 17458  df-hof 17494  df-yon 17495
This theorem is referenced by:  yonedalem3b  17523
  Copyright terms: Public domain W3C validator