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

Theorem uncf2 17964
Description: Value of the uncurry functor on a morphism. (Contributed by Mario Carneiro, 13-Jan-2017.)
Hypotheses
Ref Expression
uncfval.g 𝐹 = (⟨“𝐶𝐷𝐸”⟩ uncurryF 𝐺)
uncfval.c (𝜑𝐷 ∈ Cat)
uncfval.d (𝜑𝐸 ∈ Cat)
uncfval.f (𝜑𝐺 ∈ (𝐶 Func (𝐷 FuncCat 𝐸)))
uncf1.a 𝐴 = (Base‘𝐶)
uncf1.b 𝐵 = (Base‘𝐷)
uncf1.x (𝜑𝑋𝐴)
uncf1.y (𝜑𝑌𝐵)
uncf2.h 𝐻 = (Hom ‘𝐶)
uncf2.j 𝐽 = (Hom ‘𝐷)
uncf2.z (𝜑𝑍𝐴)
uncf2.w (𝜑𝑊𝐵)
uncf2.r (𝜑𝑅 ∈ (𝑋𝐻𝑍))
uncf2.s (𝜑𝑆 ∈ (𝑌𝐽𝑊))
Assertion
Ref Expression
uncf2 (𝜑 → (𝑅(⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩)𝑆) = ((((𝑋(2nd𝐺)𝑍)‘𝑅)‘𝑊)(⟨((1st ‘((1st𝐺)‘𝑋))‘𝑌), ((1st ‘((1st𝐺)‘𝑋))‘𝑊)⟩(comp‘𝐸)((1st ‘((1st𝐺)‘𝑍))‘𝑊))((𝑌(2nd ‘((1st𝐺)‘𝑋))𝑊)‘𝑆)))

Proof of Theorem uncf2
StepHypRef Expression
1 uncfval.g . . . . . . 7 𝐹 = (⟨“𝐶𝐷𝐸”⟩ uncurryF 𝐺)
2 uncfval.c . . . . . . 7 (𝜑𝐷 ∈ Cat)
3 uncfval.d . . . . . . 7 (𝜑𝐸 ∈ Cat)
4 uncfval.f . . . . . . 7 (𝜑𝐺 ∈ (𝐶 Func (𝐷 FuncCat 𝐸)))
51, 2, 3, 4uncfval 17961 . . . . . 6 (𝜑𝐹 = ((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))
65fveq2d 6787 . . . . 5 (𝜑 → (2nd𝐹) = (2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))))
76oveqd 7301 . . . 4 (𝜑 → (⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩) = (⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩))
87oveqd 7301 . . 3 (𝜑 → (𝑅(⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩)𝑆) = (𝑅(⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)𝑆))
9 df-ov 7287 . . . 4 (𝑅(⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)𝑆) = ((⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)
10 eqid 2739 . . . . . 6 (𝐶 ×c 𝐷) = (𝐶 ×c 𝐷)
11 uncf1.a . . . . . 6 𝐴 = (Base‘𝐶)
12 uncf1.b . . . . . 6 𝐵 = (Base‘𝐷)
1310, 11, 12xpcbas 17904 . . . . 5 (𝐴 × 𝐵) = (Base‘(𝐶 ×c 𝐷))
14 eqid 2739 . . . . . 6 ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)) = ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))
15 eqid 2739 . . . . . 6 ((𝐷 FuncCat 𝐸) ×c 𝐷) = ((𝐷 FuncCat 𝐸) ×c 𝐷)
16 funcrcl 17587 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func (𝐷 FuncCat 𝐸)) → (𝐶 ∈ Cat ∧ (𝐷 FuncCat 𝐸) ∈ Cat))
174, 16syl 17 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ (𝐷 FuncCat 𝐸) ∈ Cat))
1817simpld 495 . . . . . . . 8 (𝜑𝐶 ∈ Cat)
19 eqid 2739 . . . . . . . 8 (𝐶 1stF 𝐷) = (𝐶 1stF 𝐷)
2010, 18, 2, 191stfcl 17923 . . . . . . 7 (𝜑 → (𝐶 1stF 𝐷) ∈ ((𝐶 ×c 𝐷) Func 𝐶))
2120, 4cofucl 17612 . . . . . 6 (𝜑 → (𝐺func (𝐶 1stF 𝐷)) ∈ ((𝐶 ×c 𝐷) Func (𝐷 FuncCat 𝐸)))
22 eqid 2739 . . . . . . 7 (𝐶 2ndF 𝐷) = (𝐶 2ndF 𝐷)
2310, 18, 2, 222ndfcl 17924 . . . . . 6 (𝜑 → (𝐶 2ndF 𝐷) ∈ ((𝐶 ×c 𝐷) Func 𝐷))
2414, 15, 21, 23prfcl 17929 . . . . 5 (𝜑 → ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)) ∈ ((𝐶 ×c 𝐷) Func ((𝐷 FuncCat 𝐸) ×c 𝐷)))
25 eqid 2739 . . . . . 6 (𝐷 evalF 𝐸) = (𝐷 evalF 𝐸)
26 eqid 2739 . . . . . 6 (𝐷 FuncCat 𝐸) = (𝐷 FuncCat 𝐸)
2725, 26, 2, 3evlfcl 17949 . . . . 5 (𝜑 → (𝐷 evalF 𝐸) ∈ (((𝐷 FuncCat 𝐸) ×c 𝐷) Func 𝐸))
28 uncf1.x . . . . . 6 (𝜑𝑋𝐴)
29 uncf1.y . . . . . 6 (𝜑𝑌𝐵)
3028, 29opelxpd 5628 . . . . 5 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐴 × 𝐵))
31 uncf2.z . . . . . 6 (𝜑𝑍𝐴)
32 uncf2.w . . . . . 6 (𝜑𝑊𝐵)
3331, 32opelxpd 5628 . . . . 5 (𝜑 → ⟨𝑍, 𝑊⟩ ∈ (𝐴 × 𝐵))
34 eqid 2739 . . . . 5 (Hom ‘(𝐶 ×c 𝐷)) = (Hom ‘(𝐶 ×c 𝐷))
35 uncf2.r . . . . . . 7 (𝜑𝑅 ∈ (𝑋𝐻𝑍))
36 uncf2.s . . . . . . 7 (𝜑𝑆 ∈ (𝑌𝐽𝑊))
3735, 36opelxpd 5628 . . . . . 6 (𝜑 → ⟨𝑅, 𝑆⟩ ∈ ((𝑋𝐻𝑍) × (𝑌𝐽𝑊)))
38 uncf2.h . . . . . . 7 𝐻 = (Hom ‘𝐶)
39 uncf2.j . . . . . . 7 𝐽 = (Hom ‘𝐷)
4010, 11, 12, 38, 39, 28, 29, 31, 32, 34xpchom2 17912 . . . . . 6 (𝜑 → (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩) = ((𝑋𝐻𝑍) × (𝑌𝐽𝑊)))
4137, 40eleqtrrd 2843 . . . . 5 (𝜑 → ⟨𝑅, 𝑆⟩ ∈ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))
4213, 24, 27, 30, 33, 34, 41cofu2 17610 . . . 4 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩)(2nd ‘(𝐷 evalF 𝐸))((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)))
439, 42eqtrid 2791 . . 3 (𝜑 → (𝑅(⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)𝑆) = ((((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩)(2nd ‘(𝐷 evalF 𝐸))((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)))
448, 43eqtrd 2779 . 2 (𝜑 → (𝑅(⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩)𝑆) = ((((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩)(2nd ‘(𝐷 evalF 𝐸))((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)))
4514, 13, 34, 21, 23, 30prf1 17926 . . . . . 6 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩) = ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩)⟩)
4613, 20, 4, 30cofu1 17608 . . . . . . . 8 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩) = ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)))
4710, 13, 34, 18, 2, 19, 301stf1 17918 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩) = (1st ‘⟨𝑋, 𝑌⟩))
48 op1stg 7852 . . . . . . . . . . 11 ((𝑋𝐴𝑌𝐵) → (1st ‘⟨𝑋, 𝑌⟩) = 𝑋)
4928, 29, 48syl2anc 584 . . . . . . . . . 10 (𝜑 → (1st ‘⟨𝑋, 𝑌⟩) = 𝑋)
5047, 49eqtrd 2779 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩) = 𝑋)
5150fveq2d 6787 . . . . . . . 8 (𝜑 → ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)) = ((1st𝐺)‘𝑋))
5246, 51eqtrd 2779 . . . . . . 7 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩) = ((1st𝐺)‘𝑋))
5310, 13, 34, 18, 2, 22, 302ndf1 17921 . . . . . . . 8 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩) = (2nd ‘⟨𝑋, 𝑌⟩))
54 op2ndg 7853 . . . . . . . . 9 ((𝑋𝐴𝑌𝐵) → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
5528, 29, 54syl2anc 584 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
5653, 55eqtrd 2779 . . . . . . 7 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩) = 𝑌)
5752, 56opeq12d 4813 . . . . . 6 (𝜑 → ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩)⟩ = ⟨((1st𝐺)‘𝑋), 𝑌⟩)
5845, 57eqtrd 2779 . . . . 5 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩) = ⟨((1st𝐺)‘𝑋), 𝑌⟩)
5914, 13, 34, 21, 23, 33prf1 17926 . . . . . 6 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩) = ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩)⟩)
6013, 20, 4, 33cofu1 17608 . . . . . . . 8 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩) = ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩)))
6110, 13, 34, 18, 2, 19, 331stf1 17918 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩) = (1st ‘⟨𝑍, 𝑊⟩))
62 op1stg 7852 . . . . . . . . . . 11 ((𝑍𝐴𝑊𝐵) → (1st ‘⟨𝑍, 𝑊⟩) = 𝑍)
6331, 32, 62syl2anc 584 . . . . . . . . . 10 (𝜑 → (1st ‘⟨𝑍, 𝑊⟩) = 𝑍)
6461, 63eqtrd 2779 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩) = 𝑍)
6564fveq2d 6787 . . . . . . . 8 (𝜑 → ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩)) = ((1st𝐺)‘𝑍))
6660, 65eqtrd 2779 . . . . . . 7 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩) = ((1st𝐺)‘𝑍))
6710, 13, 34, 18, 2, 22, 332ndf1 17921 . . . . . . . 8 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩) = (2nd ‘⟨𝑍, 𝑊⟩))
68 op2ndg 7853 . . . . . . . . 9 ((𝑍𝐴𝑊𝐵) → (2nd ‘⟨𝑍, 𝑊⟩) = 𝑊)
6931, 32, 68syl2anc 584 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝑍, 𝑊⟩) = 𝑊)
7067, 69eqtrd 2779 . . . . . . 7 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩) = 𝑊)
7166, 70opeq12d 4813 . . . . . 6 (𝜑 → ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩)⟩ = ⟨((1st𝐺)‘𝑍), 𝑊⟩)
7259, 71eqtrd 2779 . . . . 5 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩) = ⟨((1st𝐺)‘𝑍), 𝑊⟩)
7358, 72oveq12d 7302 . . . 4 (𝜑 → (((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩)(2nd ‘(𝐷 evalF 𝐸))((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩)) = (⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩))
7414, 13, 34, 21, 23, 30, 33, 41prf2 17928 . . . . 5 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ⟨((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩), ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)⟩)
7513, 20, 4, 30, 33, 34, 41cofu2 17610 . . . . . . 7 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)(2nd𝐺)((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)))
7650, 64oveq12d 7302 . . . . . . . 8 (𝜑 → (((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)(2nd𝐺)((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩)) = (𝑋(2nd𝐺)𝑍))
7710, 13, 34, 18, 2, 19, 30, 331stf2 17919 . . . . . . . . . 10 (𝜑 → (⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩) = (1st ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩)))
7877fveq1d 6785 . . . . . . . . 9 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((1st ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩))
7941fvresd 6803 . . . . . . . . 9 (𝜑 → ((1st ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩) = (1st ‘⟨𝑅, 𝑆⟩))
80 op1stg 7852 . . . . . . . . . 10 ((𝑅 ∈ (𝑋𝐻𝑍) ∧ 𝑆 ∈ (𝑌𝐽𝑊)) → (1st ‘⟨𝑅, 𝑆⟩) = 𝑅)
8135, 36, 80syl2anc 584 . . . . . . . . 9 (𝜑 → (1st ‘⟨𝑅, 𝑆⟩) = 𝑅)
8278, 79, 813eqtrd 2783 . . . . . . . 8 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = 𝑅)
8376, 82fveq12d 6790 . . . . . . 7 (𝜑 → ((((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)(2nd𝐺)((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)) = ((𝑋(2nd𝐺)𝑍)‘𝑅))
8475, 83eqtrd 2779 . . . . . 6 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((𝑋(2nd𝐺)𝑍)‘𝑅))
8510, 13, 34, 18, 2, 22, 30, 332ndf2 17922 . . . . . . . 8 (𝜑 → (⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩) = (2nd ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩)))
8685fveq1d 6785 . . . . . . 7 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((2nd ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩))
8741fvresd 6803 . . . . . . 7 (𝜑 → ((2nd ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩) = (2nd ‘⟨𝑅, 𝑆⟩))
88 op2ndg 7853 . . . . . . . 8 ((𝑅 ∈ (𝑋𝐻𝑍) ∧ 𝑆 ∈ (𝑌𝐽𝑊)) → (2nd ‘⟨𝑅, 𝑆⟩) = 𝑆)
8935, 36, 88syl2anc 584 . . . . . . 7 (𝜑 → (2nd ‘⟨𝑅, 𝑆⟩) = 𝑆)
9086, 87, 893eqtrd 2783 . . . . . 6 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = 𝑆)
9184, 90opeq12d 4813 . . . . 5 (𝜑 → ⟨((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩), ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)⟩ = ⟨((𝑋(2nd𝐺)𝑍)‘𝑅), 𝑆⟩)
9274, 91eqtrd 2779 . . . 4 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ⟨((𝑋(2nd𝐺)𝑍)‘𝑅), 𝑆⟩)
9373, 92fveq12d 6790 . . 3 (𝜑 → ((((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩)(2nd ‘(𝐷 evalF 𝐸))((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)) = ((⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)‘⟨((𝑋(2nd𝐺)𝑍)‘𝑅), 𝑆⟩))
94 df-ov 7287 . . 3 (((𝑋(2nd𝐺)𝑍)‘𝑅)(⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)𝑆) = ((⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)‘⟨((𝑋(2nd𝐺)𝑍)‘𝑅), 𝑆⟩)
9593, 94eqtr4di 2797 . 2 (𝜑 → ((((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩)(2nd ‘(𝐷 evalF 𝐸))((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)) = (((𝑋(2nd𝐺)𝑍)‘𝑅)(⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)𝑆))
96 eqid 2739 . . 3 (comp‘𝐸) = (comp‘𝐸)
97 eqid 2739 . . 3 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
9826fucbas 17686 . . . . 5 (𝐷 Func 𝐸) = (Base‘(𝐷 FuncCat 𝐸))
99 relfunc 17586 . . . . . 6 Rel (𝐶 Func (𝐷 FuncCat 𝐸))
100 1st2ndbr 7892 . . . . . 6 ((Rel (𝐶 Func (𝐷 FuncCat 𝐸)) ∧ 𝐺 ∈ (𝐶 Func (𝐷 FuncCat 𝐸))) → (1st𝐺)(𝐶 Func (𝐷 FuncCat 𝐸))(2nd𝐺))
10199, 4, 100sylancr 587 . . . . 5 (𝜑 → (1st𝐺)(𝐶 Func (𝐷 FuncCat 𝐸))(2nd𝐺))
10211, 98, 101funcf1 17590 . . . 4 (𝜑 → (1st𝐺):𝐴⟶(𝐷 Func 𝐸))
103102, 28ffvelrnd 6971 . . 3 (𝜑 → ((1st𝐺)‘𝑋) ∈ (𝐷 Func 𝐸))
104102, 31ffvelrnd 6971 . . 3 (𝜑 → ((1st𝐺)‘𝑍) ∈ (𝐷 Func 𝐸))
105 eqid 2739 . . 3 (⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩) = (⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)
10626, 97fuchom 17687 . . . . 5 (𝐷 Nat 𝐸) = (Hom ‘(𝐷 FuncCat 𝐸))
10711, 38, 106, 101, 28, 31funcf2 17592 . . . 4 (𝜑 → (𝑋(2nd𝐺)𝑍):(𝑋𝐻𝑍)⟶(((1st𝐺)‘𝑋)(𝐷 Nat 𝐸)((1st𝐺)‘𝑍)))
108107, 35ffvelrnd 6971 . . 3 (𝜑 → ((𝑋(2nd𝐺)𝑍)‘𝑅) ∈ (((1st𝐺)‘𝑋)(𝐷 Nat 𝐸)((1st𝐺)‘𝑍)))
10925, 2, 3, 12, 39, 96, 97, 103, 104, 29, 32, 105, 108, 36evlf2val 17946 . 2 (𝜑 → (((𝑋(2nd𝐺)𝑍)‘𝑅)(⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)𝑆) = ((((𝑋(2nd𝐺)𝑍)‘𝑅)‘𝑊)(⟨((1st ‘((1st𝐺)‘𝑋))‘𝑌), ((1st ‘((1st𝐺)‘𝑋))‘𝑊)⟩(comp‘𝐸)((1st ‘((1st𝐺)‘𝑍))‘𝑊))((𝑌(2nd ‘((1st𝐺)‘𝑋))𝑊)‘𝑆)))
11044, 95, 1093eqtrd 2783 1 (𝜑 → (𝑅(⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩)𝑆) = ((((𝑋(2nd𝐺)𝑍)‘𝑅)‘𝑊)(⟨((1st ‘((1st𝐺)‘𝑋))‘𝑌), ((1st ‘((1st𝐺)‘𝑋))‘𝑊)⟩(comp‘𝐸)((1st ‘((1st𝐺)‘𝑍))‘𝑊))((𝑌(2nd ‘((1st𝐺)‘𝑋))𝑊)‘𝑆)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2107  cop 4568   class class class wbr 5075   × cxp 5588  cres 5592  Rel wrel 5595  cfv 6437  (class class class)co 7284  1st c1st 7838  2nd c2nd 7839  ⟨“cs3 14564  Basecbs 16921  Hom chom 16982  compcco 16983  Catccat 17382   Func cfunc 17578  func ccofu 17580   Nat cnat 17666   FuncCat cfuc 17667   ×c cxpc 17894   1stF c1stf 17895   2ndF c2ndf 17896   ⟨,⟩F cprf 17897   evalF cevlf 17936   uncurryF cuncf 17938
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-rep 5210  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597  ax-cnex 10936  ax-resscn 10937  ax-1cn 10938  ax-icn 10939  ax-addcl 10940  ax-addrcl 10941  ax-mulcl 10942  ax-mulrcl 10943  ax-mulcom 10944  ax-addass 10945  ax-mulass 10946  ax-distr 10947  ax-i2m1 10948  ax-1ne0 10949  ax-1rid 10950  ax-rnegex 10951  ax-rrecex 10952  ax-cnre 10953  ax-pre-lttri 10954  ax-pre-lttrn 10955  ax-pre-ltadd 10956  ax-pre-mulgt0 10957
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-rmo 3072  df-reu 3073  df-rab 3074  df-v 3435  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-tp 4567  df-op 4569  df-uni 4841  df-int 4881  df-iun 4927  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6395  df-fun 6439  df-fn 6440  df-f 6441  df-f1 6442  df-fo 6443  df-f1o 6444  df-fv 6445  df-riota 7241  df-ov 7287  df-oprab 7288  df-mpo 7289  df-om 7722  df-1st 7840  df-2nd 7841  df-frecs 8106  df-wrecs 8137  df-recs 8211  df-rdg 8250  df-1o 8306  df-er 8507  df-map 8626  df-ixp 8695  df-en 8743  df-dom 8744  df-sdom 8745  df-fin 8746  df-card 9706  df-pnf 11020  df-mnf 11021  df-xr 11022  df-ltxr 11023  df-le 11024  df-sub 11216  df-neg 11217  df-nn 11983  df-2 12045  df-3 12046  df-4 12047  df-5 12048  df-6 12049  df-7 12050  df-8 12051  df-9 12052  df-n0 12243  df-z 12329  df-dec 12447  df-uz 12592  df-fz 13249  df-fzo 13392  df-hash 14054  df-word 14227  df-concat 14283  df-s1 14310  df-s2 14570  df-s3 14571  df-struct 16857  df-slot 16892  df-ndx 16904  df-base 16922  df-hom 16995  df-cco 16996  df-cat 17386  df-cid 17387  df-func 17582  df-cofu 17584  df-nat 17668  df-fuc 17669  df-xpc 17898  df-1stf 17899  df-2ndf 17900  df-prf 17901  df-evlf 17940  df-uncf 17942
This theorem is referenced by:  curfuncf  17965  uncfcurf  17966
  Copyright terms: Public domain W3C validator