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

Theorem yonedalem22 15401
Description: Lemma for yoneda 15406. (Contributed by Mario Carneiro, 29-Jan-2017.)
Hypotheses
Ref Expression
yoneda.y  |-  Y  =  (Yon `  C )
yoneda.b  |-  B  =  ( Base `  C
)
yoneda.1  |-  .1.  =  ( Id `  C )
yoneda.o  |-  O  =  (oppCat `  C )
yoneda.s  |-  S  =  ( SetCat `  U )
yoneda.t  |-  T  =  ( SetCat `  V )
yoneda.q  |-  Q  =  ( O FuncCat  S )
yoneda.h  |-  H  =  (HomF
`  Q )
yoneda.r  |-  R  =  ( ( Q  X.c  O
) FuncCat  T )
yoneda.e  |-  E  =  ( O evalF  S )
yoneda.z  |-  Z  =  ( H  o.func  ( ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) )
yoneda.c  |-  ( ph  ->  C  e.  Cat )
yoneda.w  |-  ( ph  ->  V  e.  W )
yoneda.u  |-  ( ph  ->  ran  ( Hom f  `  C ) 
C_  U )
yoneda.v  |-  ( ph  ->  ( ran  ( Hom f  `  Q )  u.  U
)  C_  V )
yonedalem21.f  |-  ( ph  ->  F  e.  ( O 
Func  S ) )
yonedalem21.x  |-  ( ph  ->  X  e.  B )
yonedalem22.g  |-  ( ph  ->  G  e.  ( O 
Func  S ) )
yonedalem22.p  |-  ( ph  ->  P  e.  B )
yonedalem22.a  |-  ( ph  ->  A  e.  ( F ( O Nat  S ) G ) )
yonedalem22.k  |-  ( ph  ->  K  e.  ( P ( Hom  `  C
) X ) )
Assertion
Ref Expression
yonedalem22  |-  ( ph  ->  ( A ( <. F ,  X >. ( 2nd `  Z )
<. G ,  P >. ) K )  =  ( ( ( P ( 2nd `  Y ) X ) `  K
) ( <. (
( 1st `  Y
) `  X ) ,  F >. ( 2nd `  H
) <. ( ( 1st `  Y ) `  P
) ,  G >. ) A ) )

Proof of Theorem yonedalem22
StepHypRef Expression
1 yoneda.z . . . . . . 7  |-  Z  =  ( H  o.func  ( ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) )
21fveq2i 5867 . . . . . 6  |-  ( 2nd `  Z )  =  ( 2nd `  ( H  o.func  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) )
32oveqi 6295 . . . . 5  |-  ( <. F ,  X >. ( 2nd `  Z )
<. G ,  P >. )  =  ( <. F ,  X >. ( 2nd `  ( H  o.func  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) ) <. G ,  P >. )
43oveqi 6295 . . . 4  |-  ( A ( <. F ,  X >. ( 2nd `  Z
) <. G ,  P >. ) K )  =  ( A ( <. F ,  X >. ( 2nd `  ( H  o.func  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) ) <. G ,  P >. ) K )
5 df-ov 6285 . . . 4  |-  ( A ( <. F ,  X >. ( 2nd `  ( H  o.func  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) ) <. G ,  P >. ) K )  =  ( ( <. F ,  X >. ( 2nd `  ( H  o.func  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) ) <. G ,  P >. ) `  <. A ,  K >. )
64, 5eqtri 2496 . . 3  |-  ( A ( <. F ,  X >. ( 2nd `  Z
) <. G ,  P >. ) K )  =  ( ( <. F ,  X >. ( 2nd `  ( H  o.func  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) ) <. G ,  P >. ) `  <. A ,  K >. )
7 eqid 2467 . . . . 5  |-  ( Q  X.c  O )  =  ( Q  X.c  O )
8 yoneda.q . . . . . 6  |-  Q  =  ( O FuncCat  S )
98fucbas 15183 . . . . 5  |-  ( O 
Func  S )  =  (
Base `  Q )
10 yoneda.o . . . . . 6  |-  O  =  (oppCat `  C )
11 yoneda.b . . . . . 6  |-  B  =  ( Base `  C
)
1210, 11oppcbas 14970 . . . . 5  |-  B  =  ( Base `  O
)
137, 9, 12xpcbas 15301 . . . 4  |-  ( ( O  Func  S )  X.  B )  =  (
Base `  ( Q  X.c  O ) )
14 eqid 2467 . . . . 5  |-  ( (
<. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
)  =  ( (
<. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
)
15 eqid 2467 . . . . 5  |-  ( (oppCat `  Q )  X.c  Q )  =  ( (oppCat `  Q )  X.c  Q )
16 yoneda.c . . . . . . . . 9  |-  ( ph  ->  C  e.  Cat )
1710oppccat 14974 . . . . . . . . 9  |-  ( C  e.  Cat  ->  O  e.  Cat )
1816, 17syl 16 . . . . . . . 8  |-  ( ph  ->  O  e.  Cat )
19 yoneda.w . . . . . . . . . 10  |-  ( ph  ->  V  e.  W )
20 yoneda.v . . . . . . . . . . 11  |-  ( ph  ->  ( ran  ( Hom f  `  Q )  u.  U
)  C_  V )
2120unssbd 3682 . . . . . . . . . 10  |-  ( ph  ->  U  C_  V )
2219, 21ssexd 4594 . . . . . . . . 9  |-  ( ph  ->  U  e.  _V )
23 yoneda.s . . . . . . . . . 10  |-  S  =  ( SetCat `  U )
2423setccat 15266 . . . . . . . . 9  |-  ( U  e.  _V  ->  S  e.  Cat )
2522, 24syl 16 . . . . . . . 8  |-  ( ph  ->  S  e.  Cat )
268, 18, 25fuccat 15193 . . . . . . 7  |-  ( ph  ->  Q  e.  Cat )
27 eqid 2467 . . . . . . 7  |-  ( Q  2ndF  O )  =  ( Q  2ndF  O )
287, 26, 18, 272ndfcl 15321 . . . . . 6  |-  ( ph  ->  ( Q  2ndF  O )  e.  ( ( Q  X.c  O
)  Func  O )
)
29 eqid 2467 . . . . . . . 8  |-  (oppCat `  Q )  =  (oppCat `  Q )
30 relfunc 15085 . . . . . . . . 9  |-  Rel  ( C  Func  Q )
31 yoneda.y . . . . . . . . . 10  |-  Y  =  (Yon `  C )
32 yoneda.u . . . . . . . . . 10  |-  ( ph  ->  ran  ( Hom f  `  C ) 
C_  U )
3331, 16, 10, 23, 8, 22, 32yoncl 15385 . . . . . . . . 9  |-  ( ph  ->  Y  e.  ( C 
Func  Q ) )
34 1st2ndbr 6830 . . . . . . . . 9  |-  ( ( Rel  ( C  Func  Q )  /\  Y  e.  ( C  Func  Q
) )  ->  ( 1st `  Y ) ( C  Func  Q )
( 2nd `  Y
) )
3530, 33, 34sylancr 663 . . . . . . . 8  |-  ( ph  ->  ( 1st `  Y
) ( C  Func  Q ) ( 2nd `  Y
) )
3610, 29, 35funcoppc 15098 . . . . . . 7  |-  ( ph  ->  ( 1st `  Y
) ( O  Func  (oppCat `  Q ) )tpos  ( 2nd `  Y ) )
37 df-br 4448 . . . . . . 7  |-  ( ( 1st `  Y ) ( O  Func  (oppCat `  Q ) )tpos  ( 2nd `  Y )  <->  <. ( 1st `  Y ) , tpos  ( 2nd `  Y ) >.  e.  ( O  Func  (oppCat `  Q ) ) )
3836, 37sylib 196 . . . . . 6  |-  ( ph  -> 
<. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  e.  ( O  Func  (oppCat `  Q
) ) )
3928, 38cofucl 15111 . . . . 5  |-  ( ph  ->  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) )  e.  ( ( Q  X.c  O ) 
Func  (oppCat `  Q )
) )
40 eqid 2467 . . . . . 6  |-  ( Q  1stF  O )  =  ( Q  1stF  O )
417, 26, 18, 401stfcl 15320 . . . . 5  |-  ( ph  ->  ( Q  1stF  O )  e.  ( ( Q  X.c  O
)  Func  Q )
)
4214, 15, 39, 41prfcl 15326 . . . 4  |-  ( ph  ->  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) )  e.  ( ( Q  X.c  O
)  Func  ( (oppCat `  Q )  X.c  Q ) ) )
43 yoneda.h . . . . 5  |-  H  =  (HomF
`  Q )
44 yoneda.t . . . . 5  |-  T  =  ( SetCat `  V )
4520unssad 3681 . . . . 5  |-  ( ph  ->  ran  ( Hom f  `  Q ) 
C_  V )
4643, 29, 44, 26, 19, 45hofcl 15382 . . . 4  |-  ( ph  ->  H  e.  ( ( (oppCat `  Q )  X.c  Q )  Func  T
) )
47 yonedalem21.f . . . . 5  |-  ( ph  ->  F  e.  ( O 
Func  S ) )
48 yonedalem21.x . . . . 5  |-  ( ph  ->  X  e.  B )
49 opelxpi 5030 . . . . 5  |-  ( ( F  e.  ( O 
Func  S )  /\  X  e.  B )  ->  <. F ,  X >.  e.  ( ( O  Func  S )  X.  B ) )
5047, 48, 49syl2anc 661 . . . 4  |-  ( ph  -> 
<. F ,  X >.  e.  ( ( O  Func  S )  X.  B ) )
51 yonedalem22.g . . . . 5  |-  ( ph  ->  G  e.  ( O 
Func  S ) )
52 yonedalem22.p . . . . 5  |-  ( ph  ->  P  e.  B )
53 opelxpi 5030 . . . . 5  |-  ( ( G  e.  ( O 
Func  S )  /\  P  e.  B )  ->  <. G ,  P >.  e.  ( ( O  Func  S )  X.  B ) )
5451, 52, 53syl2anc 661 . . . 4  |-  ( ph  -> 
<. G ,  P >.  e.  ( ( O  Func  S )  X.  B ) )
55 eqid 2467 . . . 4  |-  ( Hom  `  ( Q  X.c  O ) )  =  ( Hom  `  ( Q  X.c  O ) )
56 yonedalem22.a . . . . . 6  |-  ( ph  ->  A  e.  ( F ( O Nat  S ) G ) )
57 yonedalem22.k . . . . . . 7  |-  ( ph  ->  K  e.  ( P ( Hom  `  C
) X ) )
58 eqid 2467 . . . . . . . 8  |-  ( Hom  `  C )  =  ( Hom  `  C )
5958, 10oppchom 14967 . . . . . . 7  |-  ( X ( Hom  `  O
) P )  =  ( P ( Hom  `  C ) X )
6057, 59syl6eleqr 2566 . . . . . 6  |-  ( ph  ->  K  e.  ( X ( Hom  `  O
) P ) )
61 opelxpi 5030 . . . . . 6  |-  ( ( A  e.  ( F ( O Nat  S ) G )  /\  K  e.  ( X ( Hom  `  O ) P ) )  ->  <. A ,  K >.  e.  ( ( F ( O Nat  S
) G )  X.  ( X ( Hom  `  O ) P ) ) )
6256, 60, 61syl2anc 661 . . . . 5  |-  ( ph  -> 
<. A ,  K >.  e.  ( ( F ( O Nat  S ) G )  X.  ( X ( Hom  `  O
) P ) ) )
63 eqid 2467 . . . . . . 7  |-  ( O Nat 
S )  =  ( O Nat  S )
648, 63fuchom 15184 . . . . . 6  |-  ( O Nat 
S )  =  ( Hom  `  Q )
65 eqid 2467 . . . . . 6  |-  ( Hom  `  O )  =  ( Hom  `  O )
667, 9, 12, 64, 65, 47, 48, 51, 52, 55xpchom2 15309 . . . . 5  |-  ( ph  ->  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. )  =  ( ( F ( O Nat  S ) G )  X.  ( X ( Hom  `  O
) P ) ) )
6762, 66eleqtrrd 2558 . . . 4  |-  ( ph  -> 
<. A ,  K >.  e.  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. ) )
6813, 42, 46, 50, 54, 55, 67cofu2 15109 . . 3  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  ( H  o.func  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) ) <. G ,  P >. ) `  <. A ,  K >. )  =  ( ( ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. F ,  X >. ) ( 2nd `  H
) ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. G ,  P >. ) ) `  (
( <. F ,  X >. ( 2nd `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) <. G ,  P >. ) `  <. A ,  K >. )
) )
696, 68syl5eq 2520 . 2  |-  ( ph  ->  ( A ( <. F ,  X >. ( 2nd `  Z )
<. G ,  P >. ) K )  =  ( ( ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. F ,  X >. ) ( 2nd `  H
) ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. G ,  P >. ) ) `  (
( <. F ,  X >. ( 2nd `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) <. G ,  P >. ) `  <. A ,  K >. )
) )
7014, 13, 55, 39, 41, 50prf1 15323 . . . . . 6  |-  ( ph  ->  ( ( 1st `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) `  <. F ,  X >. )  =  <. ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. F ,  X >. ) ,  ( ( 1st `  ( Q  1stF  O )
) `  <. F ,  X >. ) >. )
7113, 28, 38, 50cofu1 15107 . . . . . . . 8  |-  ( ph  ->  ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. F ,  X >. )  =  ( ( 1st `  <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >. ) `  ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) ) )
72 fvex 5874 . . . . . . . . . . 11  |-  ( 1st `  Y )  e.  _V
73 fvex 5874 . . . . . . . . . . . 12  |-  ( 2nd `  Y )  e.  _V
7473tposex 6986 . . . . . . . . . . 11  |- tpos  ( 2nd `  Y )  e.  _V
7572, 74op1st 6789 . . . . . . . . . 10  |-  ( 1st `  <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >. )  =  ( 1st `  Y
)
7675a1i 11 . . . . . . . . 9  |-  ( ph  ->  ( 1st `  <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >. )  =  ( 1st `  Y ) )
777, 13, 55, 26, 18, 27, 502ndf1 15318 . . . . . . . . . 10  |-  ( ph  ->  ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. )  =  ( 2nd `  <. F ,  X >. )
)
78 op2ndg 6794 . . . . . . . . . . 11  |-  ( ( F  e.  ( O 
Func  S )  /\  X  e.  B )  ->  ( 2nd `  <. F ,  X >. )  =  X )
7947, 48, 78syl2anc 661 . . . . . . . . . 10  |-  ( ph  ->  ( 2nd `  <. F ,  X >. )  =  X )
8077, 79eqtrd 2508 . . . . . . . . 9  |-  ( ph  ->  ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. )  =  X )
8176, 80fveq12d 5870 . . . . . . . 8  |-  ( ph  ->  ( ( 1st `  <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >. ) `  (
( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) )  =  ( ( 1st `  Y ) `
 X ) )
8271, 81eqtrd 2508 . . . . . . 7  |-  ( ph  ->  ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. F ,  X >. )  =  ( ( 1st `  Y ) `  X
) )
837, 13, 55, 26, 18, 40, 501stf1 15315 . . . . . . . 8  |-  ( ph  ->  ( ( 1st `  ( Q  1stF  O ) ) `  <. F ,  X >. )  =  ( 1st `  <. F ,  X >. )
)
84 op1stg 6793 . . . . . . . . 9  |-  ( ( F  e.  ( O 
Func  S )  /\  X  e.  B )  ->  ( 1st `  <. F ,  X >. )  =  F )
8547, 48, 84syl2anc 661 . . . . . . . 8  |-  ( ph  ->  ( 1st `  <. F ,  X >. )  =  F )
8683, 85eqtrd 2508 . . . . . . 7  |-  ( ph  ->  ( ( 1st `  ( Q  1stF  O ) ) `  <. F ,  X >. )  =  F )
8782, 86opeq12d 4221 . . . . . 6  |-  ( ph  -> 
<. ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. F ,  X >. ) ,  ( ( 1st `  ( Q  1stF  O )
) `  <. F ,  X >. ) >.  =  <. ( ( 1st `  Y
) `  X ) ,  F >. )
8870, 87eqtrd 2508 . . . . 5  |-  ( ph  ->  ( ( 1st `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) `  <. F ,  X >. )  =  <. ( ( 1st `  Y ) `  X
) ,  F >. )
8914, 13, 55, 39, 41, 54prf1 15323 . . . . . 6  |-  ( ph  ->  ( ( 1st `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) `  <. G ,  P >. )  =  <. ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. G ,  P >. ) ,  ( ( 1st `  ( Q  1stF  O )
) `  <. G ,  P >. ) >. )
9013, 28, 38, 54cofu1 15107 . . . . . . . 8  |-  ( ph  ->  ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. G ,  P >. )  =  ( ( 1st `  <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >. ) `  ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) ) )
917, 13, 55, 26, 18, 27, 542ndf1 15318 . . . . . . . . . 10  |-  ( ph  ->  ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. )  =  ( 2nd `  <. G ,  P >. )
)
92 op2ndg 6794 . . . . . . . . . . 11  |-  ( ( G  e.  ( O 
Func  S )  /\  P  e.  B )  ->  ( 2nd `  <. G ,  P >. )  =  P )
9351, 52, 92syl2anc 661 . . . . . . . . . 10  |-  ( ph  ->  ( 2nd `  <. G ,  P >. )  =  P )
9491, 93eqtrd 2508 . . . . . . . . 9  |-  ( ph  ->  ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. )  =  P )
9576, 94fveq12d 5870 . . . . . . . 8  |-  ( ph  ->  ( ( 1st `  <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >. ) `  (
( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) )  =  ( ( 1st `  Y ) `
 P ) )
9690, 95eqtrd 2508 . . . . . . 7  |-  ( ph  ->  ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. G ,  P >. )  =  ( ( 1st `  Y ) `  P
) )
977, 13, 55, 26, 18, 40, 541stf1 15315 . . . . . . . 8  |-  ( ph  ->  ( ( 1st `  ( Q  1stF  O ) ) `  <. G ,  P >. )  =  ( 1st `  <. G ,  P >. )
)
98 op1stg 6793 . . . . . . . . 9  |-  ( ( G  e.  ( O 
Func  S )  /\  P  e.  B )  ->  ( 1st `  <. G ,  P >. )  =  G )
9951, 52, 98syl2anc 661 . . . . . . . 8  |-  ( ph  ->  ( 1st `  <. G ,  P >. )  =  G )
10097, 99eqtrd 2508 . . . . . . 7  |-  ( ph  ->  ( ( 1st `  ( Q  1stF  O ) ) `  <. G ,  P >. )  =  G )
10196, 100opeq12d 4221 . . . . . 6  |-  ( ph  -> 
<. ( ( 1st `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) `  <. G ,  P >. ) ,  ( ( 1st `  ( Q  1stF  O )
) `  <. G ,  P >. ) >.  =  <. ( ( 1st `  Y
) `  P ) ,  G >. )
10289, 101eqtrd 2508 . . . . 5  |-  ( ph  ->  ( ( 1st `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) `  <. G ,  P >. )  =  <. ( ( 1st `  Y ) `  P
) ,  G >. )
10388, 102oveq12d 6300 . . . 4  |-  ( ph  ->  ( ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. F ,  X >. ) ( 2nd `  H
) ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. G ,  P >. ) )  =  (
<. ( ( 1st `  Y
) `  X ) ,  F >. ( 2nd `  H
) <. ( ( 1st `  Y ) `  P
) ,  G >. ) )
10414, 13, 55, 39, 41, 50, 54, 67prf2 15325 . . . . 5  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) <. G ,  P >. ) `  <. A ,  K >. )  =  <. ( ( <. F ,  X >. ( 2nd `  ( <.
( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) <. G ,  P >. ) `
 <. A ,  K >. ) ,  ( (
<. F ,  X >. ( 2nd `  ( Q  1stF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. ) >. )
10513, 28, 38, 50, 54, 55, 67cofu2 15109 . . . . . . 7  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) <. G ,  P >. ) `
 <. A ,  K >. )  =  ( ( ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) ( 2nd `  <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >. ) ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) ) `  ( (
<. F ,  X >. ( 2nd `  ( Q  2ndF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. ) ) )
10672, 74op2nd 6790 . . . . . . . . . . 11  |-  ( 2nd `  <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >. )  = tpos  ( 2nd `  Y
)
107106oveqi 6295 . . . . . . . . . 10  |-  ( ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) ( 2nd `  <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >. ) ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) )  =  ( ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. )tpos  ( 2nd `  Y
) ( ( 1st `  ( Q  2ndF  O )
) `  <. G ,  P >. ) )
108 ovtpos 6967 . . . . . . . . . 10  |-  ( ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. )tpos  ( 2nd `  Y
) ( ( 1st `  ( Q  2ndF  O )
) `  <. G ,  P >. ) )  =  ( ( ( 1st `  ( Q  2ndF  O )
) `  <. G ,  P >. ) ( 2nd `  Y ) ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) )
109107, 108eqtri 2496 . . . . . . . . 9  |-  ( ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) ( 2nd `  <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >. ) ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) )  =  ( ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) ( 2nd `  Y
) ( ( 1st `  ( Q  2ndF  O )
) `  <. F ,  X >. ) )
11094, 80oveq12d 6300 . . . . . . . . 9  |-  ( ph  ->  ( ( ( 1st `  ( Q  2ndF  O )
) `  <. G ,  P >. ) ( 2nd `  Y ) ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) )  =  ( P ( 2nd `  Y
) X ) )
111109, 110syl5eq 2520 . . . . . . . 8  |-  ( ph  ->  ( ( ( 1st `  ( Q  2ndF  O )
) `  <. F ,  X >. ) ( 2nd `  <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >. )
( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) )  =  ( P ( 2nd `  Y
) X ) )
1127, 13, 55, 26, 18, 27, 50, 542ndf2 15319 . . . . . . . . . 10  |-  ( ph  ->  ( <. F ,  X >. ( 2nd `  ( Q  2ndF  O ) ) <. G ,  P >. )  =  ( 2nd  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. ) ) )
113112fveq1d 5866 . . . . . . . . 9  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  ( Q  2ndF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. )  =  ( ( 2nd  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O
) ) <. G ,  P >. ) ) `  <. A ,  K >. ) )
114 fvres 5878 . . . . . . . . . 10  |-  ( <. A ,  K >.  e.  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. )  ->  ( ( 2nd  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. ) ) `  <. A ,  K >. )  =  ( 2nd `  <. A ,  K >. ) )
11567, 114syl 16 . . . . . . . . 9  |-  ( ph  ->  ( ( 2nd  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. ) ) `  <. A ,  K >. )  =  ( 2nd `  <. A ,  K >. ) )
116 op2ndg 6794 . . . . . . . . . 10  |-  ( ( A  e.  ( F ( O Nat  S ) G )  /\  K  e.  ( P ( Hom  `  C ) X ) )  ->  ( 2nd ` 
<. A ,  K >. )  =  K )
11756, 57, 116syl2anc 661 . . . . . . . . 9  |-  ( ph  ->  ( 2nd `  <. A ,  K >. )  =  K )
118113, 115, 1173eqtrd 2512 . . . . . . . 8  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  ( Q  2ndF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. )  =  K )
119111, 118fveq12d 5870 . . . . . . 7  |-  ( ph  ->  ( ( ( ( 1st `  ( Q  2ndF  O ) ) `  <. F ,  X >. ) ( 2nd `  <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >. ) ( ( 1st `  ( Q  2ndF  O ) ) `  <. G ,  P >. ) ) `  ( (
<. F ,  X >. ( 2nd `  ( Q  2ndF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. ) )  =  ( ( P ( 2nd `  Y ) X ) `
 K ) )
120105, 119eqtrd 2508 . . . . . 6  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) <. G ,  P >. ) `
 <. A ,  K >. )  =  ( ( P ( 2nd `  Y
) X ) `  K ) )
1217, 13, 55, 26, 18, 40, 50, 541stf2 15316 . . . . . . . 8  |-  ( ph  ->  ( <. F ,  X >. ( 2nd `  ( Q  1stF  O ) ) <. G ,  P >. )  =  ( 1st  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. ) ) )
122121fveq1d 5866 . . . . . . 7  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  ( Q  1stF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. )  =  ( ( 1st  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O
) ) <. G ,  P >. ) ) `  <. A ,  K >. ) )
123 fvres 5878 . . . . . . . 8  |-  ( <. A ,  K >.  e.  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. )  ->  ( ( 1st  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. ) ) `  <. A ,  K >. )  =  ( 1st `  <. A ,  K >. ) )
12467, 123syl 16 . . . . . . 7  |-  ( ph  ->  ( ( 1st  |`  ( <. F ,  X >. ( Hom  `  ( Q  X.c  O ) ) <. G ,  P >. ) ) `  <. A ,  K >. )  =  ( 1st `  <. A ,  K >. ) )
125 op1stg 6793 . . . . . . . 8  |-  ( ( A  e.  ( F ( O Nat  S ) G )  /\  K  e.  ( P ( Hom  `  C ) X ) )  ->  ( 1st ` 
<. A ,  K >. )  =  A )
12656, 57, 125syl2anc 661 . . . . . . 7  |-  ( ph  ->  ( 1st `  <. A ,  K >. )  =  A )
127122, 124, 1263eqtrd 2512 . . . . . 6  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  ( Q  1stF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. )  =  A )
128120, 127opeq12d 4221 . . . . 5  |-  ( ph  -> 
<. ( ( <. F ,  X >. ( 2nd `  ( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ) <. G ,  P >. ) `
 <. A ,  K >. ) ,  ( (
<. F ,  X >. ( 2nd `  ( Q  1stF  O ) ) <. G ,  P >. ) `
 <. A ,  K >. ) >.  =  <. ( ( P ( 2nd `  Y ) X ) `
 K ) ,  A >. )
129104, 128eqtrd 2508 . . . 4  |-  ( ph  ->  ( ( <. F ,  X >. ( 2nd `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) <. G ,  P >. ) `  <. A ,  K >. )  =  <. ( ( P ( 2nd `  Y
) X ) `  K ) ,  A >. )
130103, 129fveq12d 5870 . . 3  |-  ( ph  ->  ( ( ( ( 1st `  ( (
<. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) `  <. F ,  X >. )
( 2nd `  H
) ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. G ,  P >. ) ) `  (
( <. F ,  X >. ( 2nd `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) <. G ,  P >. ) `  <. A ,  K >. )
)  =  ( (
<. ( ( 1st `  Y
) `  X ) ,  F >. ( 2nd `  H
) <. ( ( 1st `  Y ) `  P
) ,  G >. ) `
 <. ( ( P ( 2nd `  Y
) X ) `  K ) ,  A >. ) )
131 df-ov 6285 . . 3  |-  ( ( ( P ( 2nd `  Y ) X ) `
 K ) (
<. ( ( 1st `  Y
) `  X ) ,  F >. ( 2nd `  H
) <. ( ( 1st `  Y ) `  P
) ,  G >. ) A )  =  ( ( <. ( ( 1st `  Y ) `  X
) ,  F >. ( 2nd `  H )
<. ( ( 1st `  Y
) `  P ) ,  G >. ) `  <. ( ( P ( 2nd `  Y ) X ) `
 K ) ,  A >. )
132130, 131syl6eqr 2526 . 2  |-  ( ph  ->  ( ( ( ( 1st `  ( (
<. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) `  <. F ,  X >. )
( 2nd `  H
) ( ( 1st `  ( ( <. ( 1st `  Y ) , tpos  ( 2nd `  Y
) >.  o.func  ( Q  2ndF  O )
) ⟨,⟩F  ( Q  1stF  O ) ) ) `
 <. G ,  P >. ) ) `  (
( <. F ,  X >. ( 2nd `  (
( <. ( 1st `  Y
) , tpos  ( 2nd `  Y ) >.  o.func  ( Q  2ndF  O ) ) ⟨,⟩F  ( Q  1stF  O )
) ) <. G ,  P >. ) `  <. A ,  K >. )
)  =  ( ( ( P ( 2nd `  Y ) X ) `
 K ) (
<. ( ( 1st `  Y
) `  X ) ,  F >. ( 2nd `  H
) <. ( ( 1st `  Y ) `  P
) ,  G >. ) A ) )
13369, 132eqtrd 2508 1  |-  ( ph  ->  ( A ( <. F ,  X >. ( 2nd `  Z )
<. G ,  P >. ) K )  =  ( ( ( P ( 2nd `  Y ) X ) `  K
) ( <. (
( 1st `  Y
) `  X ) ,  F >. ( 2nd `  H
) <. ( ( 1st `  Y ) `  P
) ,  G >. ) A ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    = wceq 1379    e. wcel 1767   _Vcvv 3113    u. cun 3474    C_ wss 3476   <.cop 4033   class class class wbr 4447    X. cxp 4997   ran crn 5000    |` cres 5001   Rel wrel 5004   ` cfv 5586  (class class class)co 6282   1stc1st 6779   2ndc2nd 6780  tpos ctpos 6951   Basecbs 14486   Hom chom 14562   Catccat 14915   Idccid 14916   Hom f chomf 14917  oppCatcoppc 14963    Func cfunc 15077    o.func ccofu 15079   Nat cnat 15164   FuncCat cfuc 15165   SetCatcsetc 15256    X.c cxpc 15291    1stF c1stf 15292    2ndF c2ndf 15293   ⟨,⟩F cprf 15294   evalF cevlf 15332  HomFchof 15371  Yoncyon 15372
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4558  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6574  ax-cnex 9544  ax-resscn 9545  ax-1cn 9546  ax-icn 9547  ax-addcl 9548  ax-addrcl 9549  ax-mulcl 9550  ax-mulrcl 9551  ax-mulcom 9552  ax-addass 9553  ax-mulass 9554  ax-distr 9555  ax-i2m1 9556  ax-1ne0 9557  ax-1rid 9558  ax-rnegex 9559  ax-rrecex 9560  ax-cnre 9561  ax-pre-lttri 9562  ax-pre-lttrn 9563  ax-pre-ltadd 9564  ax-pre-mulgt0 9565
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-fal 1385  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-nel 2665  df-ral 2819  df-rex 2820  df-reu 2821  df-rmo 2822  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-pss 3492  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-tp 4032  df-op 4034  df-uni 4246  df-int 4283  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-tr 4541  df-eprel 4791  df-id 4795  df-po 4800  df-so 4801  df-fr 4838  df-we 4840  df-ord 4881  df-on 4882  df-lim 4883  df-suc 4884  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5549  df-fun 5588  df-fn 5589  df-f 5590  df-f1 5591  df-fo 5592  df-f1o 5593  df-fv 5594  df-riota 6243  df-ov 6285  df-oprab 6286  df-mpt2 6287  df-om 6679  df-1st 6781  df-2nd 6782  df-tpos 6952  df-recs 7039  df-rdg 7073  df-1o 7127  df-oadd 7131  df-er 7308  df-map 7419  df-ixp 7467  df-en 7514  df-dom 7515  df-sdom 7516  df-fin 7517  df-pnf 9626  df-mnf 9627  df-xr 9628  df-ltxr 9629  df-le 9630  df-sub 9803  df-neg 9804  df-nn 10533  df-2 10590  df-3 10591  df-4 10592  df-5 10593  df-6 10594  df-7 10595  df-8 10596  df-9 10597  df-10 10598  df-n0 10792  df-z 10861  df-dec 10973  df-uz 11079  df-fz 11669  df-struct 14488  df-ndx 14489  df-slot 14490  df-base 14491  df-sets 14492  df-hom 14575  df-cco 14576  df-cat 14919  df-cid 14920  df-homf 14921  df-comf 14922  df-oppc 14964  df-func 15081  df-cofu 15083  df-nat 15166  df-fuc 15167  df-setc 15257  df-xpc 15295  df-1stf 15296  df-2ndf 15297  df-prf 15298  df-curf 15337  df-hof 15373  df-yon 15374
This theorem is referenced by:  yonedalem3b  15402
  Copyright terms: Public domain W3C validator