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

Theorem yonedalem22 17531
Description: Lemma for yoneda 17536. (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 6676 . . . . . 6 (2nd𝑍) = (2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))
32oveqi 7172 . . . . 5 (⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩) = (⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)
43oveqi 7172 . . . 4 (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = (𝐴(⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)𝐾)
5 df-ov 7162 . . . 4 (𝐴(⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)𝐾) = ((⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)
64, 5eqtri 2847 . . 3 (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = ((⟨𝐹, 𝑋⟩(2nd ‘(𝐻func ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)
7 eqid 2824 . . . . 5 (𝑄 ×c 𝑂) = (𝑄 ×c 𝑂)
8 yoneda.q . . . . . 6 𝑄 = (𝑂 FuncCat 𝑆)
98fucbas 17233 . . . . 5 (𝑂 Func 𝑆) = (Base‘𝑄)
10 yoneda.o . . . . . 6 𝑂 = (oppCat‘𝐶)
11 yoneda.b . . . . . 6 𝐵 = (Base‘𝐶)
1210, 11oppcbas 16991 . . . . 5 𝐵 = (Base‘𝑂)
137, 9, 12xpcbas 17431 . . . 4 ((𝑂 Func 𝑆) × 𝐵) = (Base‘(𝑄 ×c 𝑂))
14 eqid 2824 . . . . 5 ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) = ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))
15 eqid 2824 . . . . 5 ((oppCat‘𝑄) ×c 𝑄) = ((oppCat‘𝑄) ×c 𝑄)
16 yoneda.c . . . . . . . . 9 (𝜑𝐶 ∈ Cat)
1710oppccat 16995 . . . . . . . . 9 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
1816, 17syl 17 . . . . . . . 8 (𝜑𝑂 ∈ Cat)
19 yoneda.w . . . . . . . . . 10 (𝜑𝑉𝑊)
20 yoneda.v . . . . . . . . . . 11 (𝜑 → (ran (Homf𝑄) ∪ 𝑈) ⊆ 𝑉)
2120unssbd 4167 . . . . . . . . . 10 (𝜑𝑈𝑉)
2219, 21ssexd 5231 . . . . . . . . 9 (𝜑𝑈 ∈ V)
23 yoneda.s . . . . . . . . . 10 𝑆 = (SetCat‘𝑈)
2423setccat 17348 . . . . . . . . 9 (𝑈 ∈ V → 𝑆 ∈ Cat)
2522, 24syl 17 . . . . . . . 8 (𝜑𝑆 ∈ Cat)
268, 18, 25fuccat 17243 . . . . . . 7 (𝜑𝑄 ∈ Cat)
27 eqid 2824 . . . . . . 7 (𝑄 2ndF 𝑂) = (𝑄 2ndF 𝑂)
287, 26, 18, 272ndfcl 17451 . . . . . 6 (𝜑 → (𝑄 2ndF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑂))
29 eqid 2824 . . . . . . . 8 (oppCat‘𝑄) = (oppCat‘𝑄)
30 relfunc 17135 . . . . . . . . 9 Rel (𝐶 Func 𝑄)
31 yoneda.y . . . . . . . . . 10 𝑌 = (Yon‘𝐶)
32 yoneda.u . . . . . . . . . 10 (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
3331, 16, 10, 23, 8, 22, 32yoncl 17515 . . . . . . . . 9 (𝜑𝑌 ∈ (𝐶 Func 𝑄))
34 1st2ndbr 7744 . . . . . . . . 9 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3530, 33, 34sylancr 589 . . . . . . . 8 (𝜑 → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3610, 29, 35funcoppc 17148 . . . . . . 7 (𝜑 → (1st𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd𝑌))
37 df-br 5070 . . . . . . 7 ((1st𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd𝑌) ↔ ⟨(1st𝑌), tpos (2nd𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
3836, 37sylib 220 . . . . . 6 (𝜑 → ⟨(1st𝑌), tpos (2nd𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
3928, 38cofucl 17161 . . . . 5 (𝜑 → (⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func (oppCat‘𝑄)))
40 eqid 2824 . . . . . 6 (𝑄 1stF 𝑂) = (𝑄 1stF 𝑂)
417, 26, 18, 401stfcl 17450 . . . . 5 (𝜑 → (𝑄 1stF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑄))
4214, 15, 39, 41prfcl 17456 . . . 4 (𝜑 → ((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func ((oppCat‘𝑄) ×c 𝑄)))
43 yoneda.h . . . . 5 𝐻 = (HomF𝑄)
44 yoneda.t . . . . 5 𝑇 = (SetCat‘𝑉)
4520unssad 4166 . . . . 5 (𝜑 → ran (Homf𝑄) ⊆ 𝑉)
4643, 29, 44, 26, 19, 45hofcl 17512 . . . 4 (𝜑𝐻 ∈ (((oppCat‘𝑄) ×c 𝑄) Func 𝑇))
47 yonedalem21.f . . . . 5 (𝜑𝐹 ∈ (𝑂 Func 𝑆))
48 yonedalem21.x . . . . 5 (𝜑𝑋𝐵)
4947, 48opelxpd 5596 . . . 4 (𝜑 → ⟨𝐹, 𝑋⟩ ∈ ((𝑂 Func 𝑆) × 𝐵))
50 yonedalem22.g . . . . 5 (𝜑𝐺 ∈ (𝑂 Func 𝑆))
51 yonedalem22.p . . . . 5 (𝜑𝑃𝐵)
5250, 51opelxpd 5596 . . . 4 (𝜑 → ⟨𝐺, 𝑃⟩ ∈ ((𝑂 Func 𝑆) × 𝐵))
53 eqid 2824 . . . 4 (Hom ‘(𝑄 ×c 𝑂)) = (Hom ‘(𝑄 ×c 𝑂))
54 yonedalem22.a . . . . . 6 (𝜑𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺))
55 yonedalem22.k . . . . . . 7 (𝜑𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋))
56 eqid 2824 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
5756, 10oppchom 16988 . . . . . . 7 (𝑋(Hom ‘𝑂)𝑃) = (𝑃(Hom ‘𝐶)𝑋)
5855, 57eleqtrrdi 2927 . . . . . 6 (𝜑𝐾 ∈ (𝑋(Hom ‘𝑂)𝑃))
5954, 58opelxpd 5596 . . . . 5 (𝜑 → ⟨𝐴, 𝐾⟩ ∈ ((𝐹(𝑂 Nat 𝑆)𝐺) × (𝑋(Hom ‘𝑂)𝑃)))
60 eqid 2824 . . . . . . 7 (𝑂 Nat 𝑆) = (𝑂 Nat 𝑆)
618, 60fuchom 17234 . . . . . 6 (𝑂 Nat 𝑆) = (Hom ‘𝑄)
62 eqid 2824 . . . . . 6 (Hom ‘𝑂) = (Hom ‘𝑂)
637, 9, 12, 61, 62, 47, 48, 50, 51, 53xpchom2 17439 . . . . 5 (𝜑 → (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩) = ((𝐹(𝑂 Nat 𝑆)𝐺) × (𝑋(Hom ‘𝑂)𝑃)))
6459, 63eleqtrrd 2919 . . . 4 (𝜑 → ⟨𝐴, 𝐾⟩ ∈ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))
6513, 42, 46, 49, 52, 53, 64cofu2 17159 . . 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 2871 . 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 17453 . . . . . 6 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩) = ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩)⟩)
6813, 28, 38, 49cofu1 17157 . . . . . . . 8 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩) = ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)))
69 fvex 6686 . . . . . . . . . . 11 (1st𝑌) ∈ V
70 fvex 6686 . . . . . . . . . . . 12 (2nd𝑌) ∈ V
7170tposex 7929 . . . . . . . . . . 11 tpos (2nd𝑌) ∈ V
7269, 71op1st 7700 . . . . . . . . . 10 (1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = (1st𝑌)
7372a1i 11 . . . . . . . . 9 (𝜑 → (1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = (1st𝑌))
747, 13, 53, 26, 18, 27, 492ndf1 17448 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩) = (2nd ‘⟨𝐹, 𝑋⟩))
75 op2ndg 7705 . . . . . . . . . . 11 ((𝐹 ∈ (𝑂 Func 𝑆) ∧ 𝑋𝐵) → (2nd ‘⟨𝐹, 𝑋⟩) = 𝑋)
7647, 48, 75syl2anc 586 . . . . . . . . . 10 (𝜑 → (2nd ‘⟨𝐹, 𝑋⟩) = 𝑋)
7774, 76eqtrd 2859 . . . . . . . . 9 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩) = 𝑋)
7873, 77fveq12d 6680 . . . . . . . 8 (𝜑 → ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)) = ((1st𝑌)‘𝑋))
7968, 78eqtrd 2859 . . . . . . 7 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩) = ((1st𝑌)‘𝑋))
807, 13, 53, 26, 18, 40, 491stf1 17445 . . . . . . . 8 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩) = (1st ‘⟨𝐹, 𝑋⟩))
81 op1stg 7704 . . . . . . . . 9 ((𝐹 ∈ (𝑂 Func 𝑆) ∧ 𝑋𝐵) → (1st ‘⟨𝐹, 𝑋⟩) = 𝐹)
8247, 48, 81syl2anc 586 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐹, 𝑋⟩) = 𝐹)
8380, 82eqtrd 2859 . . . . . . 7 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩) = 𝐹)
8479, 83opeq12d 4814 . . . . . 6 (𝜑 → ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐹, 𝑋⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐹, 𝑋⟩)⟩ = ⟨((1st𝑌)‘𝑋), 𝐹⟩)
8567, 84eqtrd 2859 . . . . 5 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐹, 𝑋⟩) = ⟨((1st𝑌)‘𝑋), 𝐹⟩)
8614, 13, 53, 39, 41, 52prf1 17453 . . . . . 6 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩) = ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩)⟩)
8713, 28, 38, 52cofu1 17157 . . . . . . . 8 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩) = ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)))
887, 13, 53, 26, 18, 27, 522ndf1 17448 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩) = (2nd ‘⟨𝐺, 𝑃⟩))
89 op2ndg 7705 . . . . . . . . . . 11 ((𝐺 ∈ (𝑂 Func 𝑆) ∧ 𝑃𝐵) → (2nd ‘⟨𝐺, 𝑃⟩) = 𝑃)
9050, 51, 89syl2anc 586 . . . . . . . . . 10 (𝜑 → (2nd ‘⟨𝐺, 𝑃⟩) = 𝑃)
9188, 90eqtrd 2859 . . . . . . . . 9 (𝜑 → ((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩) = 𝑃)
9273, 91fveq12d 6680 . . . . . . . 8 (𝜑 → ((1st ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)‘((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = ((1st𝑌)‘𝑃))
9387, 92eqtrd 2859 . . . . . . 7 (𝜑 → ((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩) = ((1st𝑌)‘𝑃))
947, 13, 53, 26, 18, 40, 521stf1 17445 . . . . . . . 8 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩) = (1st ‘⟨𝐺, 𝑃⟩))
95 op1stg 7704 . . . . . . . . 9 ((𝐺 ∈ (𝑂 Func 𝑆) ∧ 𝑃𝐵) → (1st ‘⟨𝐺, 𝑃⟩) = 𝐺)
9650, 51, 95syl2anc 586 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐺, 𝑃⟩) = 𝐺)
9794, 96eqtrd 2859 . . . . . . 7 (𝜑 → ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩) = 𝐺)
9893, 97opeq12d 4814 . . . . . 6 (𝜑 → ⟨((1st ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))‘⟨𝐺, 𝑃⟩), ((1st ‘(𝑄 1stF 𝑂))‘⟨𝐺, 𝑃⟩)⟩ = ⟨((1st𝑌)‘𝑃), 𝐺⟩)
9986, 98eqtrd 2859 . . . . 5 (𝜑 → ((1st ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))‘⟨𝐺, 𝑃⟩) = ⟨((1st𝑌)‘𝑃), 𝐺⟩)
10085, 99oveq12d 7177 . . . 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 17455 . . . . 5 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ⟨((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩), ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)⟩)
10213, 28, 38, 49, 52, 53, 64cofu2 17159 . . . . . . 7 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)))
10369, 71op2nd 7701 . . . . . . . . . . 11 (2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩) = tpos (2nd𝑌)
104103oveqi 7172 . . . . . . . . . 10 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)tpos (2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))
105 ovtpos 7910 . . . . . . . . . 10 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)tpos (2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩))
106104, 105eqtri 2847 . . . . . . . . 9 (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩))
10791, 77oveq12d 7177 . . . . . . . . 9 (𝜑 → (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)(2nd𝑌)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)) = (𝑃(2nd𝑌)𝑋))
108106, 107syl5eq 2871 . . . . . . . 8 (𝜑 → (((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩)) = (𝑃(2nd𝑌)𝑋))
1097, 13, 53, 26, 18, 27, 49, 522ndf2 17449 . . . . . . . . . 10 (𝜑 → (⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩) = (2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩)))
110109fveq1d 6675 . . . . . . . . 9 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩))
11164fvresd 6693 . . . . . . . . 9 (𝜑 → ((2nd ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩) = (2nd ‘⟨𝐴, 𝐾⟩))
112 op2ndg 7705 . . . . . . . . . 10 ((𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺) ∧ 𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋)) → (2nd ‘⟨𝐴, 𝐾⟩) = 𝐾)
11354, 55, 112syl2anc 586 . . . . . . . . 9 (𝜑 → (2nd ‘⟨𝐴, 𝐾⟩) = 𝐾)
114110, 111, 1133eqtrd 2863 . . . . . . . 8 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = 𝐾)
115108, 114fveq12d 6680 . . . . . . 7 (𝜑 → ((((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐹, 𝑋⟩)(2nd ‘⟨(1st𝑌), tpos (2nd𝑌)⟩)((1st ‘(𝑄 2ndF 𝑂))‘⟨𝐺, 𝑃⟩))‘((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 2ndF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)) = ((𝑃(2nd𝑌)𝑋)‘𝐾))
116102, 115eqtrd 2859 . . . . . 6 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((𝑃(2nd𝑌)𝑋)‘𝐾))
1177, 13, 53, 26, 18, 40, 49, 521stf2 17446 . . . . . . . 8 (𝜑 → (⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩) = (1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩)))
118117fveq1d 6675 . . . . . . 7 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ((1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩))
11964fvresd 6693 . . . . . . 7 (𝜑 → ((1st ↾ (⟨𝐹, 𝑋⟩(Hom ‘(𝑄 ×c 𝑂))⟨𝐺, 𝑃⟩))‘⟨𝐴, 𝐾⟩) = (1st ‘⟨𝐴, 𝐾⟩))
120 op1stg 7704 . . . . . . . 8 ((𝐴 ∈ (𝐹(𝑂 Nat 𝑆)𝐺) ∧ 𝐾 ∈ (𝑃(Hom ‘𝐶)𝑋)) → (1st ‘⟨𝐴, 𝐾⟩) = 𝐴)
12154, 55, 120syl2anc 586 . . . . . . 7 (𝜑 → (1st ‘⟨𝐴, 𝐾⟩) = 𝐴)
122118, 119, 1213eqtrd 2863 . . . . . 6 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = 𝐴)
123116, 122opeq12d 4814 . . . . 5 (𝜑 → ⟨((⟨𝐹, 𝑋⟩(2nd ‘(⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩), ((⟨𝐹, 𝑋⟩(2nd ‘(𝑄 1stF 𝑂))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩)⟩ = ⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
124101, 123eqtrd 2859 . . . 4 (𝜑 → ((⟨𝐹, 𝑋⟩(2nd ‘((⟨(1st𝑌), tpos (2nd𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))⟨𝐺, 𝑃⟩)‘⟨𝐴, 𝐾⟩) = ⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
125100, 124fveq12d 6680 . . 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 7162 . . 3 (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴) = ((⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)‘⟨((𝑃(2nd𝑌)𝑋)‘𝐾), 𝐴⟩)
127125, 126syl6eqr 2877 . 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 2859 1 (𝜑 → (𝐴(⟨𝐹, 𝑋⟩(2nd𝑍)⟨𝐺, 𝑃⟩)𝐾) = (((𝑃(2nd𝑌)𝑋)‘𝐾)(⟨((1st𝑌)‘𝑋), 𝐹⟩(2nd𝐻)⟨((1st𝑌)‘𝑃), 𝐺⟩)𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1536  wcel 2113  Vcvv 3497  cun 3937  wss 3939  cop 4576   class class class wbr 5069   × cxp 5556  ran crn 5559  cres 5560  Rel wrel 5563  cfv 6358  (class class class)co 7159  1st c1st 7690  2nd c2nd 7691  tpos ctpos 7894  Basecbs 16486  Hom chom 16579  Catccat 16938  Idccid 16939  Homf chomf 16940  oppCatcoppc 16984   Func cfunc 17127  func ccofu 17129   Nat cnat 17214   FuncCat cfuc 17215  SetCatcsetc 17338   ×c cxpc 17421   1stF c1stf 17422   2ndF c2ndf 17423   ⟨,⟩F cprf 17424   evalF cevlf 17462  HomFchof 17501  Yoncyon 17502
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-rep 5193  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464  ax-cnex 10596  ax-resscn 10597  ax-1cn 10598  ax-icn 10599  ax-addcl 10600  ax-addrcl 10601  ax-mulcl 10602  ax-mulrcl 10603  ax-mulcom 10604  ax-addass 10605  ax-mulass 10606  ax-distr 10607  ax-i2m1 10608  ax-1ne0 10609  ax-1rid 10610  ax-rnegex 10611  ax-rrecex 10612  ax-cnre 10613  ax-pre-lttri 10614  ax-pre-lttrn 10615  ax-pre-ltadd 10616  ax-pre-mulgt0 10617
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1539  df-fal 1549  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-nel 3127  df-ral 3146  df-rex 3147  df-reu 3148  df-rmo 3149  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-pss 3957  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-tp 4575  df-op 4577  df-uni 4842  df-int 4880  df-iun 4924  df-br 5070  df-opab 5132  df-mpt 5150  df-tr 5176  df-id 5463  df-eprel 5468  df-po 5477  df-so 5478  df-fr 5517  df-we 5519  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-pred 6151  df-ord 6197  df-on 6198  df-lim 6199  df-suc 6200  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7117  df-ov 7162  df-oprab 7163  df-mpo 7164  df-om 7584  df-1st 7692  df-2nd 7693  df-tpos 7895  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-1o 8105  df-oadd 8109  df-er 8292  df-map 8411  df-ixp 8465  df-en 8513  df-dom 8514  df-sdom 8515  df-fin 8516  df-pnf 10680  df-mnf 10681  df-xr 10682  df-ltxr 10683  df-le 10684  df-sub 10875  df-neg 10876  df-nn 11642  df-2 11703  df-3 11704  df-4 11705  df-5 11706  df-6 11707  df-7 11708  df-8 11709  df-9 11710  df-n0 11901  df-z 11985  df-dec 12102  df-uz 12247  df-fz 12896  df-struct 16488  df-ndx 16489  df-slot 16490  df-base 16492  df-sets 16493  df-hom 16592  df-cco 16593  df-cat 16942  df-cid 16943  df-homf 16944  df-comf 16945  df-oppc 16985  df-func 17131  df-cofu 17133  df-nat 17216  df-fuc 17217  df-setc 17339  df-xpc 17425  df-1stf 17426  df-2ndf 17427  df-prf 17428  df-curf 17467  df-hof 17503  df-yon 17504
This theorem is referenced by:  yonedalem3b  17532
  Copyright terms: Public domain W3C validator