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

Theorem uncf2 17871
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 17868 . . . . . 6 (𝜑𝐹 = ((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))
65fveq2d 6760 . . . . 5 (𝜑 → (2nd𝐹) = (2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))))
76oveqd 7272 . . . 4 (𝜑 → (⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩) = (⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩))
87oveqd 7272 . . 3 (𝜑 → (𝑅(⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩)𝑆) = (𝑅(⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)𝑆))
9 df-ov 7258 . . . 4 (𝑅(⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)𝑆) = ((⟨𝑋, 𝑌⟩(2nd ‘((𝐷 evalF 𝐸) ∘func ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)
10 eqid 2738 . . . . . 6 (𝐶 ×c 𝐷) = (𝐶 ×c 𝐷)
11 uncf1.a . . . . . 6 𝐴 = (Base‘𝐶)
12 uncf1.b . . . . . 6 𝐵 = (Base‘𝐷)
1310, 11, 12xpcbas 17811 . . . . 5 (𝐴 × 𝐵) = (Base‘(𝐶 ×c 𝐷))
14 eqid 2738 . . . . . 6 ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)) = ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷))
15 eqid 2738 . . . . . 6 ((𝐷 FuncCat 𝐸) ×c 𝐷) = ((𝐷 FuncCat 𝐸) ×c 𝐷)
16 funcrcl 17494 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func (𝐷 FuncCat 𝐸)) → (𝐶 ∈ Cat ∧ (𝐷 FuncCat 𝐸) ∈ Cat))
174, 16syl 17 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ (𝐷 FuncCat 𝐸) ∈ Cat))
1817simpld 494 . . . . . . . 8 (𝜑𝐶 ∈ Cat)
19 eqid 2738 . . . . . . . 8 (𝐶 1stF 𝐷) = (𝐶 1stF 𝐷)
2010, 18, 2, 191stfcl 17830 . . . . . . 7 (𝜑 → (𝐶 1stF 𝐷) ∈ ((𝐶 ×c 𝐷) Func 𝐶))
2120, 4cofucl 17519 . . . . . 6 (𝜑 → (𝐺func (𝐶 1stF 𝐷)) ∈ ((𝐶 ×c 𝐷) Func (𝐷 FuncCat 𝐸)))
22 eqid 2738 . . . . . . 7 (𝐶 2ndF 𝐷) = (𝐶 2ndF 𝐷)
2310, 18, 2, 222ndfcl 17831 . . . . . 6 (𝜑 → (𝐶 2ndF 𝐷) ∈ ((𝐶 ×c 𝐷) Func 𝐷))
2414, 15, 21, 23prfcl 17836 . . . . 5 (𝜑 → ((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)) ∈ ((𝐶 ×c 𝐷) Func ((𝐷 FuncCat 𝐸) ×c 𝐷)))
25 eqid 2738 . . . . . 6 (𝐷 evalF 𝐸) = (𝐷 evalF 𝐸)
26 eqid 2738 . . . . . 6 (𝐷 FuncCat 𝐸) = (𝐷 FuncCat 𝐸)
2725, 26, 2, 3evlfcl 17856 . . . . 5 (𝜑 → (𝐷 evalF 𝐸) ∈ (((𝐷 FuncCat 𝐸) ×c 𝐷) Func 𝐸))
28 uncf1.x . . . . . 6 (𝜑𝑋𝐴)
29 uncf1.y . . . . . 6 (𝜑𝑌𝐵)
3028, 29opelxpd 5618 . . . . 5 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐴 × 𝐵))
31 uncf2.z . . . . . 6 (𝜑𝑍𝐴)
32 uncf2.w . . . . . 6 (𝜑𝑊𝐵)
3331, 32opelxpd 5618 . . . . 5 (𝜑 → ⟨𝑍, 𝑊⟩ ∈ (𝐴 × 𝐵))
34 eqid 2738 . . . . 5 (Hom ‘(𝐶 ×c 𝐷)) = (Hom ‘(𝐶 ×c 𝐷))
35 uncf2.r . . . . . . 7 (𝜑𝑅 ∈ (𝑋𝐻𝑍))
36 uncf2.s . . . . . . 7 (𝜑𝑆 ∈ (𝑌𝐽𝑊))
3735, 36opelxpd 5618 . . . . . 6 (𝜑 → ⟨𝑅, 𝑆⟩ ∈ ((𝑋𝐻𝑍) × (𝑌𝐽𝑊)))
38 uncf2.h . . . . . . 7 𝐻 = (Hom ‘𝐶)
39 uncf2.j . . . . . . 7 𝐽 = (Hom ‘𝐷)
4010, 11, 12, 38, 39, 28, 29, 31, 32, 34xpchom2 17819 . . . . . 6 (𝜑 → (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩) = ((𝑋𝐻𝑍) × (𝑌𝐽𝑊)))
4137, 40eleqtrrd 2842 . . . . 5 (𝜑 → ⟨𝑅, 𝑆⟩ ∈ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))
4213, 24, 27, 30, 33, 34, 41cofu2 17517 . . . 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 2790 . . 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 2778 . 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 17833 . . . . . 6 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩) = ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩)⟩)
4613, 20, 4, 30cofu1 17515 . . . . . . . 8 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩) = ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)))
4710, 13, 34, 18, 2, 19, 301stf1 17825 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩) = (1st ‘⟨𝑋, 𝑌⟩))
48 op1stg 7816 . . . . . . . . . . 11 ((𝑋𝐴𝑌𝐵) → (1st ‘⟨𝑋, 𝑌⟩) = 𝑋)
4928, 29, 48syl2anc 583 . . . . . . . . . 10 (𝜑 → (1st ‘⟨𝑋, 𝑌⟩) = 𝑋)
5047, 49eqtrd 2778 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩) = 𝑋)
5150fveq2d 6760 . . . . . . . 8 (𝜑 → ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)) = ((1st𝐺)‘𝑋))
5246, 51eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩) = ((1st𝐺)‘𝑋))
5310, 13, 34, 18, 2, 22, 302ndf1 17828 . . . . . . . 8 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩) = (2nd ‘⟨𝑋, 𝑌⟩))
54 op2ndg 7817 . . . . . . . . 9 ((𝑋𝐴𝑌𝐵) → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
5528, 29, 54syl2anc 583 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
5653, 55eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩) = 𝑌)
5752, 56opeq12d 4809 . . . . . 6 (𝜑 → ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑋, 𝑌⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑋, 𝑌⟩)⟩ = ⟨((1st𝐺)‘𝑋), 𝑌⟩)
5845, 57eqtrd 2778 . . . . 5 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑋, 𝑌⟩) = ⟨((1st𝐺)‘𝑋), 𝑌⟩)
5914, 13, 34, 21, 23, 33prf1 17833 . . . . . 6 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩) = ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩)⟩)
6013, 20, 4, 33cofu1 17515 . . . . . . . 8 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩) = ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩)))
6110, 13, 34, 18, 2, 19, 331stf1 17825 . . . . . . . . . 10 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩) = (1st ‘⟨𝑍, 𝑊⟩))
62 op1stg 7816 . . . . . . . . . . 11 ((𝑍𝐴𝑊𝐵) → (1st ‘⟨𝑍, 𝑊⟩) = 𝑍)
6331, 32, 62syl2anc 583 . . . . . . . . . 10 (𝜑 → (1st ‘⟨𝑍, 𝑊⟩) = 𝑍)
6461, 63eqtrd 2778 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩) = 𝑍)
6564fveq2d 6760 . . . . . . . 8 (𝜑 → ((1st𝐺)‘((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩)) = ((1st𝐺)‘𝑍))
6660, 65eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩) = ((1st𝐺)‘𝑍))
6710, 13, 34, 18, 2, 22, 332ndf1 17828 . . . . . . . 8 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩) = (2nd ‘⟨𝑍, 𝑊⟩))
68 op2ndg 7817 . . . . . . . . 9 ((𝑍𝐴𝑊𝐵) → (2nd ‘⟨𝑍, 𝑊⟩) = 𝑊)
6931, 32, 68syl2anc 583 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝑍, 𝑊⟩) = 𝑊)
7067, 69eqtrd 2778 . . . . . . 7 (𝜑 → ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩) = 𝑊)
7166, 70opeq12d 4809 . . . . . 6 (𝜑 → ⟨((1st ‘(𝐺func (𝐶 1stF 𝐷)))‘⟨𝑍, 𝑊⟩), ((1st ‘(𝐶 2ndF 𝐷))‘⟨𝑍, 𝑊⟩)⟩ = ⟨((1st𝐺)‘𝑍), 𝑊⟩)
7259, 71eqtrd 2778 . . . . 5 (𝜑 → ((1st ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))‘⟨𝑍, 𝑊⟩) = ⟨((1st𝐺)‘𝑍), 𝑊⟩)
7358, 72oveq12d 7273 . . . 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 17835 . . . . 5 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ⟨((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩), ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)⟩)
7513, 20, 4, 30, 33, 34, 41cofu2 17517 . . . . . . 7 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)(2nd𝐺)((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)))
7650, 64oveq12d 7273 . . . . . . . 8 (𝜑 → (((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)(2nd𝐺)((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩)) = (𝑋(2nd𝐺)𝑍))
7710, 13, 34, 18, 2, 19, 30, 331stf2 17826 . . . . . . . . . 10 (𝜑 → (⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩) = (1st ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩)))
7877fveq1d 6758 . . . . . . . . 9 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((1st ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩))
7941fvresd 6776 . . . . . . . . 9 (𝜑 → ((1st ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩) = (1st ‘⟨𝑅, 𝑆⟩))
80 op1stg 7816 . . . . . . . . . 10 ((𝑅 ∈ (𝑋𝐻𝑍) ∧ 𝑆 ∈ (𝑌𝐽𝑊)) → (1st ‘⟨𝑅, 𝑆⟩) = 𝑅)
8135, 36, 80syl2anc 583 . . . . . . . . 9 (𝜑 → (1st ‘⟨𝑅, 𝑆⟩) = 𝑅)
8278, 79, 813eqtrd 2782 . . . . . . . 8 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = 𝑅)
8376, 82fveq12d 6763 . . . . . . 7 (𝜑 → ((((1st ‘(𝐶 1stF 𝐷))‘⟨𝑋, 𝑌⟩)(2nd𝐺)((1st ‘(𝐶 1stF 𝐷))‘⟨𝑍, 𝑊⟩))‘((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 1stF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)) = ((𝑋(2nd𝐺)𝑍)‘𝑅))
8475, 83eqtrd 2778 . . . . . 6 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((𝑋(2nd𝐺)𝑍)‘𝑅))
8510, 13, 34, 18, 2, 22, 30, 332ndf2 17829 . . . . . . . 8 (𝜑 → (⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩) = (2nd ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩)))
8685fveq1d 6758 . . . . . . 7 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ((2nd ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩))
8741fvresd 6776 . . . . . . 7 (𝜑 → ((2nd ↾ (⟨𝑋, 𝑌⟩(Hom ‘(𝐶 ×c 𝐷))⟨𝑍, 𝑊⟩))‘⟨𝑅, 𝑆⟩) = (2nd ‘⟨𝑅, 𝑆⟩))
88 op2ndg 7817 . . . . . . . 8 ((𝑅 ∈ (𝑋𝐻𝑍) ∧ 𝑆 ∈ (𝑌𝐽𝑊)) → (2nd ‘⟨𝑅, 𝑆⟩) = 𝑆)
8935, 36, 88syl2anc 583 . . . . . . 7 (𝜑 → (2nd ‘⟨𝑅, 𝑆⟩) = 𝑆)
9086, 87, 893eqtrd 2782 . . . . . 6 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = 𝑆)
9184, 90opeq12d 4809 . . . . 5 (𝜑 → ⟨((⟨𝑋, 𝑌⟩(2nd ‘(𝐺func (𝐶 1stF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩), ((⟨𝑋, 𝑌⟩(2nd ‘(𝐶 2ndF 𝐷))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩)⟩ = ⟨((𝑋(2nd𝐺)𝑍)‘𝑅), 𝑆⟩)
9274, 91eqtrd 2778 . . . 4 (𝜑 → ((⟨𝑋, 𝑌⟩(2nd ‘((𝐺func (𝐶 1stF 𝐷)) ⟨,⟩F (𝐶 2ndF 𝐷)))⟨𝑍, 𝑊⟩)‘⟨𝑅, 𝑆⟩) = ⟨((𝑋(2nd𝐺)𝑍)‘𝑅), 𝑆⟩)
9373, 92fveq12d 6763 . . 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 7258 . . 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 2738 . . 3 (comp‘𝐸) = (comp‘𝐸)
97 eqid 2738 . . 3 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
9826fucbas 17593 . . . . 5 (𝐷 Func 𝐸) = (Base‘(𝐷 FuncCat 𝐸))
99 relfunc 17493 . . . . . 6 Rel (𝐶 Func (𝐷 FuncCat 𝐸))
100 1st2ndbr 7856 . . . . . 6 ((Rel (𝐶 Func (𝐷 FuncCat 𝐸)) ∧ 𝐺 ∈ (𝐶 Func (𝐷 FuncCat 𝐸))) → (1st𝐺)(𝐶 Func (𝐷 FuncCat 𝐸))(2nd𝐺))
10199, 4, 100sylancr 586 . . . . 5 (𝜑 → (1st𝐺)(𝐶 Func (𝐷 FuncCat 𝐸))(2nd𝐺))
10211, 98, 101funcf1 17497 . . . 4 (𝜑 → (1st𝐺):𝐴⟶(𝐷 Func 𝐸))
103102, 28ffvelrnd 6944 . . 3 (𝜑 → ((1st𝐺)‘𝑋) ∈ (𝐷 Func 𝐸))
104102, 31ffvelrnd 6944 . . 3 (𝜑 → ((1st𝐺)‘𝑍) ∈ (𝐷 Func 𝐸))
105 eqid 2738 . . 3 (⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩) = (⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)
10626, 97fuchom 17594 . . . . 5 (𝐷 Nat 𝐸) = (Hom ‘(𝐷 FuncCat 𝐸))
10711, 38, 106, 101, 28, 31funcf2 17499 . . . 4 (𝜑 → (𝑋(2nd𝐺)𝑍):(𝑋𝐻𝑍)⟶(((1st𝐺)‘𝑋)(𝐷 Nat 𝐸)((1st𝐺)‘𝑍)))
108107, 35ffvelrnd 6944 . . 3 (𝜑 → ((𝑋(2nd𝐺)𝑍)‘𝑅) ∈ (((1st𝐺)‘𝑋)(𝐷 Nat 𝐸)((1st𝐺)‘𝑍)))
10925, 2, 3, 12, 39, 96, 97, 103, 104, 29, 32, 105, 108, 36evlf2val 17853 . 2 (𝜑 → (((𝑋(2nd𝐺)𝑍)‘𝑅)(⟨((1st𝐺)‘𝑋), 𝑌⟩(2nd ‘(𝐷 evalF 𝐸))⟨((1st𝐺)‘𝑍), 𝑊⟩)𝑆) = ((((𝑋(2nd𝐺)𝑍)‘𝑅)‘𝑊)(⟨((1st ‘((1st𝐺)‘𝑋))‘𝑌), ((1st ‘((1st𝐺)‘𝑋))‘𝑊)⟩(comp‘𝐸)((1st ‘((1st𝐺)‘𝑍))‘𝑊))((𝑌(2nd ‘((1st𝐺)‘𝑋))𝑊)‘𝑆)))
11044, 95, 1093eqtrd 2782 1 (𝜑 → (𝑅(⟨𝑋, 𝑌⟩(2nd𝐹)⟨𝑍, 𝑊⟩)𝑆) = ((((𝑋(2nd𝐺)𝑍)‘𝑅)‘𝑊)(⟨((1st ‘((1st𝐺)‘𝑋))‘𝑌), ((1st ‘((1st𝐺)‘𝑋))‘𝑊)⟩(comp‘𝐸)((1st ‘((1st𝐺)‘𝑍))‘𝑊))((𝑌(2nd ‘((1st𝐺)‘𝑋))𝑊)‘𝑆)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  cop 4564   class class class wbr 5070   × cxp 5578  cres 5582  Rel wrel 5585  cfv 6418  (class class class)co 7255  1st c1st 7802  2nd c2nd 7803  ⟨“cs3 14483  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290   Func cfunc 17485  func ccofu 17487   Nat cnat 17573   FuncCat cfuc 17574   ×c cxpc 17801   1stF c1stf 17802   2ndF c2ndf 17803   ⟨,⟩F cprf 17804   evalF cevlf 17843   uncurryF cuncf 17845
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-int 4877  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-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-card 9628  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-fzo 13312  df-hash 13973  df-word 14146  df-concat 14202  df-s1 14229  df-s2 14489  df-s3 14490  df-struct 16776  df-slot 16811  df-ndx 16823  df-base 16841  df-hom 16912  df-cco 16913  df-cat 17294  df-cid 17295  df-func 17489  df-cofu 17491  df-nat 17575  df-fuc 17576  df-xpc 17805  df-1stf 17806  df-2ndf 17807  df-prf 17808  df-evlf 17847  df-uncf 17849
This theorem is referenced by:  curfuncf  17872  uncfcurf  17873
  Copyright terms: Public domain W3C validator