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

Theorem yonedalem22 17912
Description: Lemma for yoneda 17917. (Contributed by Mario Carneiro, 29-Jan-2017.)
Hypotheses
Ref Expression
yoneda.y 𝑌 = (Yon‘𝐶)
yoneda.b 𝐵 = (Base‘𝐶)
yoneda.1 1 = (Id‘𝐶)
yoneda.o 𝑂 = (oppCat‘𝐶)
yoneda.s 𝑆 = (SetCat‘𝑈)
yoneda.t 𝑇 = (SetCat‘𝑉)
yoneda.q 𝑄 = (𝑂 FuncCat 𝑆)
yoneda.h 𝐻 = (HomF𝑄)
yoneda.r 𝑅 = ((𝑄 ×c 𝑂) FuncCat 𝑇)
yoneda.e 𝐸 = (𝑂 evalF 𝑆)
yoneda.z 𝑍 = (𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))
yoneda.c (𝜑𝐶 ∈ Cat)
yoneda.w (𝜑𝑉𝑊)
yoneda.u (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
yoneda.v (𝜑 → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
yonedalem21.f (𝜑𝐹 ∈ (𝑂 Func 𝑆))
yonedalem21.x (𝜑𝑋𝐵)
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 6759 . . . . . 6 (2nd𝑍) = (2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))
32oveqi 7268 . . . . 5 (⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩) = (⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)
43oveqi 7268 . . . 4 (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = (𝐴(⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)𝐾)
5 df-ov 7258 . . . 4 (𝐴(⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)𝐾) = ((⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)
64, 5eqtri 2766 . . 3 (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = ((⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)
7 eqid 2738 . . . . 5 (𝑄 ×c 𝑂) = (𝑄 ×c 𝑂)
8 yoneda.q . . . . . 6 𝑄 = (𝑂 FuncCat 𝑆)
98fucbas 17593 . . . . 5 (𝑂 Func 𝑆) = (Base‘𝑄)
10 yoneda.o . . . . . 6 𝑂 = (oppCat‘𝐶)
11 yoneda.b . . . . . 6 𝐵 = (Base‘𝐶)
1210, 11oppcbas 17345 . . . . 5 𝐵 = (Base‘𝑂)
137, 9, 12xpcbas 17811 . . . 4 ((𝑂 Func 𝑆) × 𝐵) = (Base‘(𝑄 ×c 𝑂))
14 eqid 2738 . . . . 5 ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) = ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))
15 eqid 2738 . . . . 5 ((oppCat‘𝑄) ×c 𝑄) = ((oppCat‘𝑄) ×c 𝑄)
16 yoneda.c . . . . . . . . 9 (𝜑𝐶 ∈ Cat)
1710oppccat 17350 . . . . . . . . 9 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
1816, 17syl 17 . . . . . . . 8 (𝜑𝑂 ∈ Cat)
19 yoneda.w . . . . . . . . . 10 (𝜑𝑉𝑊)
20 yoneda.v . . . . . . . . . . 11 (𝜑 → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
2120unssbd 4118 . . . . . . . . . 10 (𝜑𝑈𝑉)
2219, 21ssexd 5243 . . . . . . . . 9 (𝜑𝑈 ∈ V)
23 yoneda.s . . . . . . . . . 10 𝑆 = (SetCat‘𝑈)
2423setccat 17716 . . . . . . . . 9 (𝑈 ∈ V → 𝑆 ∈ Cat)
2522, 24syl 17 . . . . . . . 8 (𝜑𝑆 ∈ Cat)
268, 18, 25fuccat 17604 . . . . . . 7 (𝜑𝑄 ∈ Cat)
27 eqid 2738 . . . . . . 7 (𝑄 2ndF 𝑂) = (𝑄 2ndF 𝑂)
287, 26, 18, 272ndfcl 17831 . . . . . 6 (𝜑 → (𝑄 2ndF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑂))
29 eqid 2738 . . . . . . . 8 (oppCat‘𝑄) = (oppCat‘𝑄)
30 relfunc 17493 . . . . . . . . 9 Rel (𝐶 Func 𝑄)
31 yoneda.y . . . . . . . . . 10 𝑌 = (Yon‘𝐶)
32 yoneda.u . . . . . . . . . 10 (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
3331, 16, 10, 23, 8, 22, 32yoncl 17896 . . . . . . . . 9 (𝜑𝑌 ∈ (𝐶 Func 𝑄))
34 1st2ndbr 7856 . . . . . . . . 9 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3530, 33, 34sylancr 586 . . . . . . . 8 (𝜑 → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3610, 29, 35funcoppc 17506 . . . . . . 7 (𝜑 → (1st𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd𝑌))
37 df-br 5071 . . . . . . 7 ((1st𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd𝑌) ↔ ⟨(1st𝑌), tpos (2nd𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
3836, 37sylib 217 . . . . . 6 (𝜑 → ⟨(1st𝑌), tpos (2nd𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
3928, 38cofucl 17519 . . . . 5 (𝜑 → (⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func (oppCat‘𝑄)))
40 eqid 2738 . . . . . 6 (𝑄 1stF 𝑂) = (𝑄 1stF 𝑂)
417, 26, 18, 401stfcl 17830 . . . . 5 (𝜑 → (𝑄 1stF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑄))
4214, 15, 39, 41prfcl 17836 . . . 4 (𝜑 → ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func ((oppCat‘𝑄) ×c 𝑄)))
43 yoneda.h . . . . 5 𝐻 = (HomF𝑄)
44 yoneda.t . . . . 5 𝑇 = (SetCat‘𝑉)
4520unssad 4117 . . . . 5 (𝜑 → ran (Homf𝑄) ⊆ 𝑉)
4643, 29, 44, 26, 19, 45hofcl 17893 . . . 4 (𝜑𝐻 ∈ (((oppCat‘𝑄) ×c 𝑄) Func 𝑇))
47 yonedalem21.f . . . . 5 (𝜑𝐹 ∈ (𝑂 Func 𝑆))
48 yonedalem21.x . . . . 5 (𝜑𝑋𝐵)
4947, 48opelxpd 5618 . . . 4 (𝜑 → ⟨𝐹, 𝑋⟩ ∈ ((𝑂 Func 𝑆) × 𝐵))
50 yonedalem22.g . . . . 5 (𝜑𝐺 ∈ (𝑂 Func 𝑆))
51 yonedalem22.p . . . . 5 (𝜑𝑃𝐵)
5250, 51opelxpd 5618 . . . 4 (𝜑 → ⟨𝐺, 𝑃⟩ ∈ ((𝑂 Func 𝑆) × 𝐵))
53 eqid 2738 . . . 4 (Hom ‘(𝑄 ×c 𝑂)) = (Hom ‘(𝑄 ×c 𝑂))
54 yonedalem22.a . . . . . 6 (𝜑𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺))
55 yonedalem22.k . . . . . . 7 (𝜑𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋))
56 eqid 2738 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
5756, 10oppchom 17342 . . . . . . 7 (𝑋(Hom ‘𝑂)𝑃) = (𝑃(Hom ‘𝐶)𝑋)
5855, 57eleqtrrdi 2850 . . . . . 6 (𝜑𝐾 ∈ (𝑋(Hom ‘𝑂)𝑃))
5954, 58opelxpd 5618 . . . . 5 (𝜑 → ⟨𝐴, 𝐾⟩ ∈ ((𝐹(𝑂 Nat 𝑆)𝐺) × (𝑋(Hom ‘𝑂)𝑃)))
60 eqid 2738 . . . . . . 7 (𝑂 Nat 𝑆) = (𝑂 Nat 𝑆)
618, 60fuchom 17594 . . . . . 6 (𝑂 Nat 𝑆) = (Hom ‘𝑄)
62 eqid 2738 . . . . . 6 (Hom ‘𝑂) = (Hom ‘𝑂)
637, 9, 12, 61, 62, 47, 48, 50, 51, 53xpchom2 17819 . . . . 5 (𝜑 → (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩) = ((𝐹(𝑂 Nat 𝑆)𝐺) × (𝑋(Hom ‘𝑂)𝑃)))
6459, 63eleqtrrd 2842 . . . 4 (𝜑 → ⟨𝐴, 𝐾⟩ ∈ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))
6513, 42, 46, 49, 52, 53, 64cofu2 17517 . . 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, 65eqtrid 2790 . 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 17833 . . . . . 6 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩) = ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩)⟩)
6813, 28, 38, 49cofu1 17515 . . . . . . . 8 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩) = ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)))
69 fvex 6769 . . . . . . . . . . 11 (1st𝑌) ∈ V
70 fvex 6769 . . . . . . . . . . . 12 (2nd𝑌) ∈ V
7170tposex 8047 . . . . . . . . . . 11 tpos (2nd𝑌) ∈ V
7269, 71op1st 7812 . . . . . . . . . 10 (1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = (1st𝑌)
7372a1i 11 . . . . . . . . 9 (𝜑 → (1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = (1st𝑌))
747, 13, 53, 26, 18, 27, 492ndf1 17828 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩) = (2nd ‘⟨𝐹, 𝑋⟩))
75 op2ndg 7817 . . . . . . . . . . 11 ((𝐹 ∈ (𝑂 Func 𝑆) ∧ 𝑋𝐵) → (2nd ‘⟨𝐹, 𝑋⟩) = 𝑋)
7647, 48, 75syl2anc 583 . . . . . . . . . 10 (𝜑 → (2nd ‘⟨𝐹, 𝑋⟩) = 𝑋)
7774, 76eqtrd 2778 . . . . . . . . 9 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩) = 𝑋)
7873, 77fveq12d 6763 . . . . . . . 8 (𝜑 → ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)) = ((1st𝑌)‘𝑋))
7968, 78eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩) = ((1st𝑌)‘𝑋))
807, 13, 53, 26, 18, 40, 491stf1 17825 . . . . . . . 8 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩) = (1st ‘⟨𝐹, 𝑋⟩))
81 op1stg 7816 . . . . . . . . 9 ((𝐹 ∈ (𝑂 Func 𝑆) ∧ 𝑋𝐵) → (1st ‘⟨𝐹, 𝑋⟩) = 𝐹)
8247, 48, 81syl2anc 583 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐹, 𝑋⟩) = 𝐹)
8380, 82eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩) = 𝐹)
8479, 83opeq12d 4809 . . . . . 6 (𝜑 → ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩)⟩ = ⟨((1st𝑌)‘𝑋), 𝐹⟩)
8567, 84eqtrd 2778 . . . . 5 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩) = ⟨((1st𝑌)‘𝑋), 𝐹⟩)
8614, 13, 53, 39, 41, 52prf1 17833 . . . . . 6 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩) = ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩)⟩)
8713, 28, 38, 52cofu1 17515 . . . . . . . 8 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩) = ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)))
887, 13, 53, 26, 18, 27, 522ndf1 17828 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩) = (2nd ‘⟨𝐺, 𝑃⟩))
89 op2ndg 7817 . . . . . . . . . . 11 ((𝐺 ∈ (𝑂 Func 𝑆) ∧ 𝑃𝐵) → (2nd ‘⟨𝐺, 𝑃⟩) = 𝑃)
9050, 51, 89syl2anc 583 . . . . . . . . . 10 (𝜑 → (2nd ‘⟨𝐺, 𝑃⟩) = 𝑃)
9188, 90eqtrd 2778 . . . . . . . . 9 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩) = 𝑃)
9273, 91fveq12d 6763 . . . . . . . 8 (𝜑 → ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = ((1st𝑌)‘𝑃))
9387, 92eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩) = ((1st𝑌)‘𝑃))
947, 13, 53, 26, 18, 40, 521stf1 17825 . . . . . . . 8 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩) = (1st ‘⟨𝐺, 𝑃⟩))
95 op1stg 7816 . . . . . . . . 9 ((𝐺 ∈ (𝑂 Func 𝑆) ∧ 𝑃𝐵) → (1st ‘⟨𝐺, 𝑃⟩) = 𝐺)
9650, 51, 95syl2anc 583 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐺, 𝑃⟩) = 𝐺)
9794, 96eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩) = 𝐺)
9893, 97opeq12d 4809 . . . . . 6 (𝜑 → ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩)⟩ = ⟨((1st𝑌)‘𝑃), 𝐺⟩)
9986, 98eqtrd 2778 . . . . 5 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩) = ⟨((1st𝑌)‘𝑃), 𝐺⟩)
10085, 99oveq12d 7273 . . . 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 17835 . . . . 5 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ⟨((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩), ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)⟩)
10213, 28, 38, 49, 52, 53, 64cofu2 17517 . . . . . . 7 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)))
10369, 71op2nd 7813 . . . . . . . . . . 11 (2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = tpos (2nd𝑌)
104103oveqi 7268 . . . . . . . . . 10 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)tpos (2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))
105 ovtpos 8028 . . . . . . . . . 10 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)tpos (2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩))
106104, 105eqtri 2766 . . . . . . . . 9 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩))
10791, 77oveq12d 7273 . . . . . . . . 9 (𝜑 → (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)) = (𝑃(2nd𝑌)𝑋))
108106, 107eqtrid 2790 . . . . . . . 8 (𝜑 → (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (𝑃(2nd𝑌)𝑋))
1097, 13, 53, 26, 18, 27, 49, 522ndf2 17829 . . . . . . . . . 10 (𝜑 → (⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩) = (2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩)))
110109fveq1d 6758 . . . . . . . . 9 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩))
11164fvresd 6776 . . . . . . . . 9 (𝜑 → ((2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩) = (2nd ‘⟨𝐴, 𝐾⟩))
112 op2ndg 7817 . . . . . . . . . 10 ((𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺) ∧ 𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋)) → (2nd ‘⟨𝐴, 𝐾⟩) = 𝐾)
11354, 55, 112syl2anc 583 . . . . . . . . 9 (𝜑 → (2nd ‘⟨𝐴, 𝐾⟩) = 𝐾)
114110, 111, 1133eqtrd 2782 . . . . . . . 8 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = 𝐾)
115108, 114fveq12d 6763 . . . . . . 7 (𝜑 → ((((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)) = ((𝑃(2nd𝑌)𝑋)‘𝐾))
116102, 115eqtrd 2778 . . . . . 6 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((𝑃(2nd𝑌)𝑋)‘𝐾))
1177, 13, 53, 26, 18, 40, 49, 521stf2 17826 . . . . . . . 8 (𝜑 → (⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩) = (1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩)))
118117fveq1d 6758 . . . . . . 7 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩))
11964fvresd 6776 . . . . . . 7 (𝜑 → ((1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩) = (1st ‘⟨𝐴, 𝐾⟩))
120 op1stg 7816 . . . . . . . 8 ((𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺) ∧ 𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋)) → (1st ‘⟨𝐴, 𝐾⟩) = 𝐴)
12154, 55, 120syl2anc 583 . . . . . . 7 (𝜑 → (1st ‘⟨𝐴, 𝐾⟩) = 𝐴)
122118, 119, 1213eqtrd 2782 . . . . . 6 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = 𝐴)
123116, 122opeq12d 4809 . . . . 5 (𝜑 → ⟨((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩), ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)⟩ = ⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
124101, 123eqtrd 2778 . . . 4 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
125100, 124fveq12d 6763 . . 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 7258 . . 3 (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴) = ((⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)‘⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
127125, 126eqtr4di 2797 . 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 2778 1 (𝜑 → (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2108  Vcvv 3422  cun 3881  wss 3883  cop 4564   class class class wbr 5070   × cxp 5578  ran crn 5581  cres 5582  Rel wrel 5585  cfv 6418  (class class class)co 7255  1st c1st 7802  2nd c2nd 7803  tpos ctpos 8012  Basecbs 16840  Hom chom 16899  Catccat 17290  Idccid 17291  Homf chomf 17292  oppCatcoppc 17337   Func cfunc 17485  func ccofu 17487   Nat cnat 17573   FuncCat cfuc 17574  SetCatcsetc 17706   ×c cxpc 17801   1stF c1stf 17802   2ndF c2ndf 17803   ⟨,⟩F cprf 17804   evalF cevlf 17843  HomFchof 17882  Yoncyon 17883
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-tpos 8013  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-map 8575  df-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-z 12250  df-dec 12367  df-uz 12512  df-fz 13169  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-hom 16912  df-cco 16913  df-cat 17294  df-cid 17295  df-homf 17296  df-comf 17297  df-oppc 17338  df-func 17489  df-cofu 17491  df-nat 17575  df-fuc 17576  df-setc 17707  df-xpc 17805  df-1stf 17806  df-2ndf 17807  df-prf 17808  df-curf 17848  df-hof 17884  df-yon 17885
This theorem is referenced by:  yonedalem3b  17913
  Copyright terms: Public domain W3C validator