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

Theorem catcfuccl 14256
Description: The category of categories for a weak universe is closed under the functor category operation. (Contributed by Mario Carneiro, 12-Jan-2017.)
Hypotheses
Ref Expression
catcfuccl.c  |-  C  =  (CatCat `  U )
catcfuccl.b  |-  B  =  ( Base `  C
)
catcfuccl.o  |-  Q  =  ( X FuncCat  Y )
catcfuccl.u  |-  ( ph  ->  U  e. WUni )
catcfuccl.1  |-  ( ph  ->  om  e.  U )
catcfuccl.x  |-  ( ph  ->  X  e.  B )
catcfuccl.y  |-  ( ph  ->  Y  e.  B )
Assertion
Ref Expression
catcfuccl  |-  ( ph  ->  Q  e.  B )

Proof of Theorem catcfuccl
Dummy variables  a 
b  f  g  h  v  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 catcfuccl.o . . . . 5  |-  Q  =  ( X FuncCat  Y )
2 eqid 2435 . . . . 5  |-  ( X 
Func  Y )  =  ( X  Func  Y )
3 eqid 2435 . . . . 5  |-  ( X Nat 
Y )  =  ( X Nat  Y )
4 eqid 2435 . . . . 5  |-  ( Base `  X )  =  (
Base `  X )
5 eqid 2435 . . . . 5  |-  (comp `  Y )  =  (comp `  Y )
6 inss2 3554 . . . . . 6  |-  ( U  i^i  Cat )  C_  Cat
7 catcfuccl.x . . . . . . 7  |-  ( ph  ->  X  e.  B )
8 catcfuccl.c . . . . . . . 8  |-  C  =  (CatCat `  U )
9 catcfuccl.b . . . . . . . 8  |-  B  =  ( Base `  C
)
10 catcfuccl.u . . . . . . . 8  |-  ( ph  ->  U  e. WUni )
118, 9, 10catcbas 14244 . . . . . . 7  |-  ( ph  ->  B  =  ( U  i^i  Cat ) )
127, 11eleqtrd 2511 . . . . . 6  |-  ( ph  ->  X  e.  ( U  i^i  Cat ) )
136, 12sseldi 3338 . . . . 5  |-  ( ph  ->  X  e.  Cat )
14 catcfuccl.y . . . . . . 7  |-  ( ph  ->  Y  e.  B )
1514, 11eleqtrd 2511 . . . . . 6  |-  ( ph  ->  Y  e.  ( U  i^i  Cat ) )
166, 15sseldi 3338 . . . . 5  |-  ( ph  ->  Y  e.  Cat )
17 eqidd 2436 . . . . 5  |-  ( ph  ->  ( v  e.  ( ( X  Func  Y
)  X.  ( X 
Func  Y ) ) ,  h  e.  ( X 
Func  Y )  |->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) )  =  ( v  e.  ( ( X  Func  Y
)  X.  ( X 
Func  Y ) ) ,  h  e.  ( X 
Func  Y )  |->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) ) )
181, 2, 3, 4, 5, 13, 16, 17fucval 14147 . . . 4  |-  ( ph  ->  Q  =  { <. (
Base `  ndx ) ,  ( X  Func  Y
) >. ,  <. (  Hom  `  ndx ) ,  ( X Nat  Y )
>. ,  <. (comp `  ndx ) ,  ( v  e.  ( ( X 
Func  Y )  X.  ( X  Func  Y ) ) ,  h  e.  ( X  Func  Y )  |-> 
[_ ( 1st `  v
)  /  f ]_ [_ ( 2nd `  v
)  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) ) >. } )
19 df-base 13466 . . . . . . 7  |-  Base  = Slot  1
20 catcfuccl.1 . . . . . . . 8  |-  ( ph  ->  om  e.  U )
2110, 20wunndx 13477 . . . . . . 7  |-  ( ph  ->  ndx  e.  U )
2219, 10, 21wunstr 13480 . . . . . 6  |-  ( ph  ->  ( Base `  ndx )  e.  U )
23 inss1 3553 . . . . . . . 8  |-  ( U  i^i  Cat )  C_  U
2423, 12sseldi 3338 . . . . . . 7  |-  ( ph  ->  X  e.  U )
2523, 15sseldi 3338 . . . . . . 7  |-  ( ph  ->  Y  e.  U )
2610, 24, 25wunfunc 14088 . . . . . 6  |-  ( ph  ->  ( X  Func  Y
)  e.  U )
2710, 22, 26wunop 8589 . . . . 5  |-  ( ph  -> 
<. ( Base `  ndx ) ,  ( X  Func  Y ) >.  e.  U
)
28 df-hom 13545 . . . . . . 7  |-  Hom  = Slot ; 1 4
2928, 10, 21wunstr 13480 . . . . . 6  |-  ( ph  ->  (  Hom  `  ndx )  e.  U )
3010, 24, 25wunnat 14145 . . . . . 6  |-  ( ph  ->  ( X Nat  Y )  e.  U )
3110, 29, 30wunop 8589 . . . . 5  |-  ( ph  -> 
<. (  Hom  `  ndx ) ,  ( X Nat  Y ) >.  e.  U
)
32 df-cco 13546 . . . . . . 7  |- comp  = Slot ; 1 5
3332, 10, 21wunstr 13480 . . . . . 6  |-  ( ph  ->  (comp `  ndx )  e.  U )
3410, 26, 26wunxp 8591 . . . . . . . 8  |-  ( ph  ->  ( ( X  Func  Y )  X.  ( X 
Func  Y ) )  e.  U )
3510, 34, 26wunxp 8591 . . . . . . 7  |-  ( ph  ->  ( ( ( X 
Func  Y )  X.  ( X  Func  Y ) )  X.  ( X  Func  Y ) )  e.  U
)
3632, 10, 25wunstr 13480 . . . . . . . . . . . . . 14  |-  ( ph  ->  (comp `  Y )  e.  U )
3710, 36wunrn 8596 . . . . . . . . . . . . 13  |-  ( ph  ->  ran  (comp `  Y
)  e.  U )
3810, 37wununi 8573 . . . . . . . . . . . 12  |-  ( ph  ->  U. ran  (comp `  Y )  e.  U
)
3910, 38wunrn 8596 . . . . . . . . . . 11  |-  ( ph  ->  ran  U. ran  (comp `  Y )  e.  U
)
4010, 39wununi 8573 . . . . . . . . . 10  |-  ( ph  ->  U. ran  U. ran  (comp `  Y )  e.  U )
4110, 40wunpw 8574 . . . . . . . . 9  |-  ( ph  ->  ~P U. ran  U. ran  (comp `  Y )  e.  U )
4219, 10, 24wunstr 13480 . . . . . . . . 9  |-  ( ph  ->  ( Base `  X
)  e.  U )
4310, 41, 42wunmap 8593 . . . . . . . 8  |-  ( ph  ->  ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  e.  U
)
4410, 30wunrn 8596 . . . . . . . . . 10  |-  ( ph  ->  ran  ( X Nat  Y
)  e.  U )
4510, 44wununi 8573 . . . . . . . . 9  |-  ( ph  ->  U. ran  ( X Nat 
Y )  e.  U
)
4610, 45, 45wunxp 8591 . . . . . . . 8  |-  ( ph  ->  ( U. ran  ( X Nat  Y )  X.  U. ran  ( X Nat  Y ) )  e.  U )
4710, 43, 46wunpm 8592 . . . . . . 7  |-  ( ph  ->  ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) ) 
^pm  ( U. ran  ( X Nat  Y )  X.  U. ran  ( X Nat 
Y ) ) )  e.  U )
48 fvex 5734 . . . . . . . . . . 11  |-  ( 1st `  v )  e.  _V
49 fvex 5734 . . . . . . . . . . . . . 14  |-  ( 2nd `  v )  e.  _V
50 ovex 6098 . . . . . . . . . . . . . . . . 17  |-  ( ~P
U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )  e.  _V
51 ovex 6098 . . . . . . . . . . . . . . . . . . . 20  |-  ( X Nat 
Y )  e.  _V
5251rnex 5125 . . . . . . . . . . . . . . . . . . 19  |-  ran  ( X Nat  Y )  e.  _V
5352uniex 4697 . . . . . . . . . . . . . . . . . 18  |-  U. ran  ( X Nat  Y )  e.  _V
5453, 53xpex 4982 . . . . . . . . . . . . . . . . 17  |-  ( U. ran  ( X Nat  Y )  X.  U. ran  ( X Nat  Y ) )  e. 
_V
55 eqid 2435 . . . . . . . . . . . . . . . . . . . . 21  |-  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) )  =  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) )
56 ovssunirn 6099 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) )  C_  U.
ran  ( <. (
( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) )
57 ovssunirn 6099 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( <.
( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) )  C_  U. ran  (comp `  Y )
58 rnss 5090 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) )  C_  U. ran  (comp `  Y )  ->  ran  ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
)  C_  ran  U. ran  (comp `  Y ) )
59 uniss 4028 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ran  ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
)  C_  ran  U. ran  (comp `  Y )  ->  U. ran  ( <. (
( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) )  C_  U. ran  U.
ran  (comp `  Y )
)
6057, 58, 59mp2b 10 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  U. ran  ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
)  C_  U. ran  U. ran  (comp `  Y )
6156, 60sstri 3349 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) )  C_  U.
ran  U. ran  (comp `  Y )
62 ovex 6098 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) )  e. 
_V
6362elpw 3797 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( b `  x
) ( <. (
( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) )  e.  ~P U. ran  U.
ran  (comp `  Y )  <->  ( ( b `  x
) ( <. (
( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) 
C_  U. ran  U. ran  (comp `  Y ) )
6461, 63mpbir 201 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) )  e. 
~P U. ran  U. ran  (comp `  Y )
6564a1i 11 . . . . . . . . . . . . . . . . . . . . 21  |-  ( x  e.  ( Base `  X
)  ->  ( (
b `  x )
( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) )  e. 
~P U. ran  U. ran  (comp `  Y ) )
6655, 65fmpti 5884 . . . . . . . . . . . . . . . . . . . 20  |-  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) : ( Base `  X ) --> ~P U. ran  U. ran  (comp `  Y )
67 fvex 5734 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  (comp `  Y )  e.  _V
6867rnex 5125 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ran  (comp `  Y )  e.  _V
6968uniex 4697 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  U. ran  (comp `  Y )  e. 
_V
7069rnex 5125 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ran  U. ran  (comp `  Y )  e.  _V
7170uniex 4697 . . . . . . . . . . . . . . . . . . . . . 22  |-  U. ran  U.
ran  (comp `  Y )  e.  _V
7271pwex 4374 . . . . . . . . . . . . . . . . . . . . 21  |-  ~P U. ran  U. ran  (comp `  Y )  e.  _V
73 fvex 5734 . . . . . . . . . . . . . . . . . . . . 21  |-  ( Base `  X )  e.  _V
7472, 73elmap 7034 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( x  e.  ( Base `  X )  |->  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) ) )  e.  ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )  <-> 
( x  e.  (
Base `  X )  |->  ( ( b `  x ) ( <.
( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) : ( Base `  X ) --> ~P U. ran  U. ran  (comp `  Y ) )
7566, 74mpbir 201 . . . . . . . . . . . . . . . . . . 19  |-  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) )  e.  ( ~P
U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )
7675rgen2w 2766 . . . . . . . . . . . . . . . . . 18  |-  A. b  e.  ( g ( X Nat 
Y ) h ) A. a  e.  ( f ( X Nat  Y
) g ) ( x  e.  ( Base `  X )  |->  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) ) )  e.  ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )
77 eqid 2435 . . . . . . . . . . . . . . . . . . 19  |-  ( b  e.  ( g ( X Nat  Y ) h ) ,  a  e.  ( f ( X Nat 
Y ) g ) 
|->  ( x  e.  (
Base `  X )  |->  ( ( b `  x ) ( <.
( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  =  ( b  e.  ( g ( X Nat  Y ) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )
7877fmpt2 6410 . . . . . . . . . . . . . . . . . 18  |-  ( A. b  e.  ( g
( X Nat  Y ) h ) A. a  e.  ( f ( X Nat 
Y ) g ) ( x  e.  (
Base `  X )  |->  ( ( b `  x ) ( <.
( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) )  e.  ( ~P
U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )  <-> 
( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) : ( ( g ( X Nat 
Y ) h )  X.  ( f ( X Nat  Y ) g ) ) --> ( ~P
U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) ) )
7976, 78mpbi 200 . . . . . . . . . . . . . . . . 17  |-  ( b  e.  ( g ( X Nat  Y ) h ) ,  a  e.  ( f ( X Nat 
Y ) g ) 
|->  ( x  e.  (
Base `  X )  |->  ( ( b `  x ) ( <.
( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) : ( ( g ( X Nat 
Y ) h )  X.  ( f ( X Nat  Y ) g ) ) --> ( ~P
U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )
80 ovssunirn 6099 . . . . . . . . . . . . . . . . . 18  |-  ( g ( X Nat  Y ) h )  C_  U. ran  ( X Nat  Y )
81 ovssunirn 6099 . . . . . . . . . . . . . . . . . 18  |-  ( f ( X Nat  Y ) g )  C_  U. ran  ( X Nat  Y )
82 xpss12 4973 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( g ( X Nat 
Y ) h ) 
C_  U. ran  ( X Nat 
Y )  /\  (
f ( X Nat  Y
) g )  C_  U.
ran  ( X Nat  Y
) )  ->  (
( g ( X Nat 
Y ) h )  X.  ( f ( X Nat  Y ) g ) )  C_  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )
8380, 81, 82mp2an 654 . . . . . . . . . . . . . . . . 17  |-  ( ( g ( X Nat  Y
) h )  X.  ( f ( X Nat 
Y ) g ) )  C_  ( U. ran  ( X Nat  Y )  X.  U. ran  ( X Nat  Y ) )
84 elpm2r 7026 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )  e.  _V  /\  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
)  e.  _V )  /\  ( ( b  e.  ( g ( X Nat 
Y ) h ) ,  a  e.  ( f ( X Nat  Y
) g )  |->  ( x  e.  ( Base `  X )  |->  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) ) ) ) : ( ( g ( X Nat  Y
) h )  X.  ( f ( X Nat 
Y ) g ) ) --> ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X ) )  /\  ( ( g ( X Nat  Y ) h )  X.  (
f ( X Nat  Y
) g ) ) 
C_  ( U. ran  ( X Nat  Y )  X.  U. ran  ( X Nat 
Y ) ) ) )  ->  ( b  e.  ( g ( X Nat 
Y ) h ) ,  a  e.  ( f ( X Nat  Y
) g )  |->  ( x  e.  ( Base `  X )  |->  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) ) ) )  e.  ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) )
8550, 54, 79, 83, 84mp4an 655 . . . . . . . . . . . . . . . 16  |-  ( b  e.  ( g ( X Nat  Y ) h ) ,  a  e.  ( f ( X Nat 
Y ) g ) 
|->  ( x  e.  (
Base `  X )  |->  ( ( b `  x ) ( <.
( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )
8685sbcth 3167 . . . . . . . . . . . . . . 15  |-  ( ( 2nd `  v )  e.  _V  ->  [. ( 2nd `  v )  / 
g ]. ( b  e.  ( g ( X Nat 
Y ) h ) ,  a  e.  ( f ( X Nat  Y
) g )  |->  ( x  e.  ( Base `  X )  |->  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) ) ) )  e.  ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) )
87 sbcel1g 3262 . . . . . . . . . . . . . . 15  |-  ( ( 2nd `  v )  e.  _V  ->  ( [. ( 2nd `  v
)  /  g ]. ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )  <->  [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) ) )
8886, 87mpbid 202 . . . . . . . . . . . . . 14  |-  ( ( 2nd `  v )  e.  _V  ->  [_ ( 2nd `  v )  / 
g ]_ ( b  e.  ( g ( X Nat 
Y ) h ) ,  a  e.  ( f ( X Nat  Y
) g )  |->  ( x  e.  ( Base `  X )  |->  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) ) ) )  e.  ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) )
8949, 88ax-mp 8 . . . . . . . . . . . . 13  |-  [_ ( 2nd `  v )  / 
g ]_ ( b  e.  ( g ( X Nat 
Y ) h ) ,  a  e.  ( f ( X Nat  Y
) g )  |->  ( x  e.  ( Base `  X )  |->  ( ( b `  x ) ( <. ( ( 1st `  f ) `  x
) ,  ( ( 1st `  g ) `
 x ) >.
(comp `  Y )
( ( 1st `  h
) `  x )
) ( a `  x ) ) ) )  e.  ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )
9089sbcth 3167 . . . . . . . . . . . 12  |-  ( ( 1st `  v )  e.  _V  ->  [. ( 1st `  v )  / 
f ]. [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) )
91 sbcel1g 3262 . . . . . . . . . . . 12  |-  ( ( 1st `  v )  e.  _V  ->  ( [. ( 1st `  v
)  /  f ]. [_ ( 2nd `  v
)  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )  <->  [_ ( 1st `  v )  /  f ]_ [_ ( 2nd `  v
)  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) ) )
9290, 91mpbid 202 . . . . . . . . . . 11  |-  ( ( 1st `  v )  e.  _V  ->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) )
9348, 92ax-mp 8 . . . . . . . . . 10  |-  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )
9493rgen2w 2766 . . . . . . . . 9  |-  A. v  e.  ( ( X  Func  Y )  X.  ( X 
Func  Y ) ) A. h  e.  ( X  Func  Y ) [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )
95 eqid 2435 . . . . . . . . . 10  |-  ( v  e.  ( ( X 
Func  Y )  X.  ( X  Func  Y ) ) ,  h  e.  ( X  Func  Y )  |-> 
[_ ( 1st `  v
)  /  f ]_ [_ ( 2nd `  v
)  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) )  =  ( v  e.  ( ( X  Func  Y
)  X.  ( X 
Func  Y ) ) ,  h  e.  ( X 
Func  Y )  |->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) )
9695fmpt2 6410 . . . . . . . . 9  |-  ( A. v  e.  ( ( X  Func  Y )  X.  ( X  Func  Y
) ) A. h  e.  ( X  Func  Y
) [_ ( 1st `  v
)  /  f ]_ [_ ( 2nd `  v
)  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) )  e.  ( ( ~P U. ran  U.
ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )  <->  ( v  e.  ( ( X  Func  Y )  X.  ( X 
Func  Y ) ) ,  h  e.  ( X 
Func  Y )  |->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) ) : ( ( ( X 
Func  Y )  X.  ( X  Func  Y ) )  X.  ( X  Func  Y ) ) --> ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) )
9794, 96mpbi 200 . . . . . . . 8  |-  ( v  e.  ( ( X 
Func  Y )  X.  ( X  Func  Y ) ) ,  h  e.  ( X  Func  Y )  |-> 
[_ ( 1st `  v
)  /  f ]_ [_ ( 2nd `  v
)  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) ) : ( ( ( X 
Func  Y )  X.  ( X  Func  Y ) )  X.  ( X  Func  Y ) ) --> ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) )
9897a1i 11 . . . . . . 7  |-  ( ph  ->  ( v  e.  ( ( X  Func  Y
)  X.  ( X 
Func  Y ) ) ,  h  e.  ( X 
Func  Y )  |->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) ) : ( ( ( X 
Func  Y )  X.  ( X  Func  Y ) )  X.  ( X  Func  Y ) ) --> ( ( ~P U. ran  U. ran  (comp `  Y )  ^m  ( Base `  X
) )  ^pm  ( U. ran  ( X Nat  Y
)  X.  U. ran  ( X Nat  Y )
) ) )
9910, 35, 47, 98wunf 8594 . . . . . 6  |-  ( ph  ->  ( v  e.  ( ( X  Func  Y
)  X.  ( X 
Func  Y ) ) ,  h  e.  ( X 
Func  Y )  |->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) )  e.  U )
10010, 33, 99wunop 8589 . . . . 5  |-  ( ph  -> 
<. (comp `  ndx ) ,  ( v  e.  ( ( X  Func  Y
)  X.  ( X 
Func  Y ) ) ,  h  e.  ( X 
Func  Y )  |->  [_ ( 1st `  v )  / 
f ]_ [_ ( 2nd `  v )  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) ) >.  e.  U )
10110, 27, 31, 100wuntp 8578 . . . 4  |-  ( ph  ->  { <. ( Base `  ndx ) ,  ( X  Func  Y ) >. ,  <. (  Hom  `  ndx ) ,  ( X Nat  Y )
>. ,  <. (comp `  ndx ) ,  ( v  e.  ( ( X 
Func  Y )  X.  ( X  Func  Y ) ) ,  h  e.  ( X  Func  Y )  |-> 
[_ ( 1st `  v
)  /  f ]_ [_ ( 2nd `  v
)  /  g ]_ ( b  e.  ( g ( X Nat  Y
) h ) ,  a  e.  ( f ( X Nat  Y ) g )  |->  ( x  e.  ( Base `  X
)  |->  ( ( b `
 x ) (
<. ( ( 1st `  f
) `  x ) ,  ( ( 1st `  g ) `  x
) >. (comp `  Y
) ( ( 1st `  h ) `  x
) ) ( a `
 x ) ) ) ) ) >. }  e.  U )
10218, 101eqeltrd 2509 . . 3  |-  ( ph  ->  Q  e.  U )
1031, 13, 16fuccat 14159 . . 3  |-  ( ph  ->  Q  e.  Cat )
104 elin 3522 . . 3  |-  ( Q  e.  ( U  i^i  Cat )  <->  ( Q  e.  U  /\  Q  e. 
Cat ) )
105102, 103, 104sylanbrc 646 . 2  |-  ( ph  ->  Q  e.  ( U  i^i  Cat ) )
106105, 11eleqtrrd 2512 1  |-  ( ph  ->  Q  e.  B )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1652    e. wcel 1725   A.wral 2697   _Vcvv 2948   [.wsbc 3153   [_csb 3243    i^i cin 3311    C_ wss 3312   ~Pcpw 3791   {ctp 3808   <.cop 3809   U.cuni 4007    e. cmpt 4258   omcom 4837    X. cxp 4868   ran crn 4871   -->wf 5442   ` cfv 5446  (class class class)co 6073    e. cmpt2 6075   1stc1st 6339   2ndc2nd 6340    ^m cmap 7010    ^pm cpm 7011  WUnicwun 8567   1c1 8983   4c4 10043   5c5 10044  ;cdc 10374   ndxcnx 13458   Basecbs 13461    Hom chom 13532  compcco 13533   Catccat 13881    Func cfunc 14043   Nat cnat 14130   FuncCat cfuc 14131  CatCatccatc 14241
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-inf2 7588  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-int 4043  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-1o 6716  df-oadd 6720  df-omul 6721  df-er 6897  df-ec 6899  df-qs 6903  df-map 7012  df-pm 7013  df-ixp 7056  df-en 7102  df-dom 7103  df-sdom 7104  df-fin 7105  df-wun 8569  df-ni 8741  df-pli 8742  df-mi 8743  df-lti 8744  df-plpq 8777  df-mpq 8778  df-ltpq 8779  df-enq 8780  df-nq 8781  df-erq 8782  df-plq 8783  df-mq 8784  df-1nq 8785  df-rq 8786  df-ltnq 8787  df-np 8850  df-plp 8852  df-ltp 8854  df-enr 8926  df-nr 8927  df-c 8988  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-nn 9993  df-2 10050  df-3 10051  df-4 10052  df-5 10053  df-6 10054  df-7 10055  df-8 10056  df-9 10057  df-10 10058  df-n0 10214  df-z 10275  df-dec 10375  df-uz 10481  df-fz 11036  df-struct 13463  df-ndx 13464  df-slot 13465  df-base 13466  df-hom 13545  df-cco 13546  df-cat 13885  df-cid 13886  df-func 14047  df-nat 14132  df-fuc 14133  df-catc 14242
  Copyright terms: Public domain W3C validator