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

Theorem prdsval 15069
Description: Value of the structure product. (Contributed by Stefan O'Rear, 3-Jan-2015.) (Revised by Mario Carneiro, 7-Jan-2017.) (Revised by Thierry Arnoux, 16-Jun-2019.)
Hypotheses
Ref Expression
prdsval.p  |-  P  =  ( S X_s R )
prdsval.k  |-  K  =  ( Base `  S
)
prdsval.i  |-  ( ph  ->  dom  R  =  I )
prdsval.b  |-  ( ph  ->  B  =  X_ x  e.  I  ( Base `  ( R `  x
) ) )
prdsval.a  |-  ( ph  ->  .+  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( +g  `  ( R `  x )
) ( g `  x ) ) ) ) )
prdsval.t  |-  ( ph  ->  .X.  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( .r `  ( R `  x )
) ( g `  x ) ) ) ) )
prdsval.m  |-  ( ph  ->  .x.  =  ( f  e.  K ,  g  e.  B  |->  ( x  e.  I  |->  ( f ( .s `  ( R `  x )
) ( g `  x ) ) ) ) )
prdsval.j  |-  ( ph  ->  .,  =  ( f  e.  B ,  g  e.  B  |->  ( S 
gsumg  ( x  e.  I  |->  ( ( f `  x ) ( .i
`  ( R `  x ) ) ( g `  x ) ) ) ) ) )
prdsval.o  |-  ( ph  ->  O  =  ( Xt_ `  ( TopOpen  o.  R )
) )
prdsval.l  |-  ( ph  -> 
.<_  =  { <. f ,  g >.  |  ( { f ,  g }  C_  B  /\  A. x  e.  I  ( f `  x ) ( le `  ( R `  x )
) ( g `  x ) ) } )
prdsval.d  |-  ( ph  ->  D  =  ( f  e.  B ,  g  e.  B  |->  sup (
( ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x )
) ( g `  x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) )
prdsval.h  |-  ( ph  ->  H  =  ( f  e.  B ,  g  e.  B  |->  X_ x  e.  I  ( (
f `  x )
( Hom  `  ( R `
 x ) ) ( g `  x
) ) ) )
prdsval.x  |-  ( ph  -> 
.xb  =  ( a  e.  ( B  X.  B ) ,  c  e.  B  |->  ( d  e.  ( c H ( 2nd `  a
) ) ,  e  e.  ( H `  a )  |->  ( x  e.  I  |->  ( ( d `  x ) ( <. ( ( 1st `  a ) `  x
) ,  ( ( 2nd `  a ) `
 x ) >.
(comp `  ( R `  x ) ) ( c `  x ) ) ( e `  x ) ) ) ) ) )
prdsval.s  |-  ( ph  ->  S  e.  W )
prdsval.r  |-  ( ph  ->  R  e.  Z )
Assertion
Ref Expression
prdsval  |-  ( ph  ->  P  =  ( ( { <. ( Base `  ndx ) ,  B >. , 
<. ( +g  `  ndx ) ,  .+  >. ,  <. ( .r `  ndx ) ,  .X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) ) )
Distinct variable groups:    a, c,
d, e, f, g, B    H, a, c, d, e    x, a, ph, c, d, e, f, g   
x, I    R, a,
c, d, e, f, g, x    S, a, c, d, e, f, g, x
Allowed substitution hints:    B( x)    D( x, e, f, g, a, c, d)    P( x, e, f, g, a, c, d)    .+ ( x, e, f, g, a, c, d)    .xb ( x, e, f, g, a, c, d)    .x. ( x, e, f, g, a, c, d)    .X. ( x, e, f, g, a, c, d)    H( x, f, g)    ., ( x, e, f, g, a, c, d)    I(
e, f, g, a, c, d)    K( x, e, f, g, a, c, d)    .<_ ( x, e, f, g, a, c, d)    O( x, e, f, g, a, c, d)    W( x, e, f, g, a, c, d)    Z( x, e, f, g, a, c, d)

Proof of Theorem prdsval
Dummy variables  h  r  s  v are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prdsval.p . 2  |-  P  =  ( S X_s R )
2 df-prds 15062 . . . 4  |-  X_s  =  (
s  e.  _V , 
r  e.  _V  |->  [_ X_ x  e.  dom  r
( Base `  ( r `  x ) )  / 
v ]_ [_ ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) ) )  /  h ]_ (
( { <. ( Base `  ndx ) ,  v >. ,  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>. ,  <. ( .r
`  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) ) >. }  u.  { <. (Scalar ` 
ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. } ) ) )
32a1i 11 . . 3  |-  ( ph  -> 
X_s 
=  ( s  e. 
_V ,  r  e. 
_V  |->  [_ X_ x  e.  dom  r ( Base `  (
r `  x )
)  /  v ]_ [_ ( f  e.  v ,  g  e.  v 
|->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) )  /  h ]_ ( ( { <. (
Base `  ndx ) ,  v >. ,  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>. ,  <. ( .r
`  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) ) >. }  u.  { <. (Scalar ` 
ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. } ) ) ) )
4 vex 3062 . . . . . . . . . . . 12  |-  r  e. 
_V
54rnex 6718 . . . . . . . . . . 11  |-  ran  r  e.  _V
65uniex 6578 . . . . . . . . . 10  |-  U. ran  r  e.  _V
76rnex 6718 . . . . . . . . 9  |-  ran  U. ran  r  e.  _V
87uniex 6578 . . . . . . . 8  |-  U. ran  U.
ran  r  e.  _V
9 baseid 14889 . . . . . . . . . . . 12  |-  Base  = Slot  ( Base `  ndx )
109strfvss 14859 . . . . . . . . . . 11  |-  ( Base `  ( r `  x
) )  C_  U. ran  ( r `  x
)
11 fvssunirn 5872 . . . . . . . . . . . 12  |-  ( r `
 x )  C_  U.
ran  r
12 rnss 5052 . . . . . . . . . . . 12  |-  ( ( r `  x ) 
C_  U. ran  r  ->  ran  ( r `  x
)  C_  ran  U. ran  r )
13 uniss 4212 . . . . . . . . . . . 12  |-  ( ran  ( r `  x
)  C_  ran  U. ran  r  ->  U. ran  ( r `
 x )  C_  U.
ran  U. ran  r )
1411, 12, 13mp2b 10 . . . . . . . . . . 11  |-  U. ran  ( r `  x
)  C_  U. ran  U. ran  r
1510, 14sstri 3451 . . . . . . . . . 10  |-  ( Base `  ( r `  x
) )  C_  U. ran  U.
ran  r
1615rgenw 2765 . . . . . . . . 9  |-  A. x  e.  dom  r ( Base `  ( r `  x
) )  C_  U. ran  U.
ran  r
17 iunss 4312 . . . . . . . . 9  |-  ( U_ x  e.  dom  r (
Base `  ( r `  x ) )  C_  U.
ran  U. ran  r  <->  A. x  e.  dom  r ( Base `  ( r `  x
) )  C_  U. ran  U.
ran  r )
1816, 17mpbir 209 . . . . . . . 8  |-  U_ x  e.  dom  r ( Base `  ( r `  x
) )  C_  U. ran  U.
ran  r
198, 18ssexi 4539 . . . . . . 7  |-  U_ x  e.  dom  r ( Base `  ( r `  x
) )  e.  _V
20 ixpssmap2g 7536 . . . . . . 7  |-  ( U_ x  e.  dom  r (
Base `  ( r `  x ) )  e. 
_V  ->  X_ x  e.  dom  r ( Base `  (
r `  x )
)  C_  ( U_ x  e.  dom  r (
Base `  ( r `  x ) )  ^m  dom  r ) )
2119, 20ax-mp 5 . . . . . 6  |-  X_ x  e.  dom  r ( Base `  ( r `  x
) )  C_  ( U_ x  e.  dom  r ( Base `  (
r `  x )
)  ^m  dom  r )
22 ovex 6306 . . . . . . 7  |-  ( U_ x  e.  dom  r (
Base `  ( r `  x ) )  ^m  dom  r )  e.  _V
2322ssex 4538 . . . . . 6  |-  ( X_ x  e.  dom  r (
Base `  ( r `  x ) )  C_  ( U_ x  e.  dom  r ( Base `  (
r `  x )
)  ^m  dom  r )  ->  X_ x  e.  dom  r ( Base `  (
r `  x )
)  e.  _V )
2421, 23mp1i 13 . . . . 5  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  X_ x  e.  dom  r ( Base `  ( r `  x
) )  e.  _V )
25 simpr 459 . . . . . . . . 9  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  r  =  R )
2625fveq1d 5851 . . . . . . . 8  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
r `  x )  =  ( R `  x ) )
2726fveq2d 5853 . . . . . . 7  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( Base `  ( r `  x ) )  =  ( Base `  ( R `  x )
) )
2827ixpeq2dv 7523 . . . . . 6  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  X_ x  e.  I  ( Base `  ( r `  x
) )  =  X_ x  e.  I  ( Base `  ( R `  x ) ) )
2925dmeqd 5026 . . . . . . . 8  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  dom  r  =  dom  R )
30 prdsval.i . . . . . . . . 9  |-  ( ph  ->  dom  R  =  I )
3130ad2antrr 724 . . . . . . . 8  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  dom  R  =  I )
3229, 31eqtrd 2443 . . . . . . 7  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  dom  r  =  I )
3332ixpeq1d 7519 . . . . . 6  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  X_ x  e.  dom  r ( Base `  ( r `  x
) )  =  X_ x  e.  I  ( Base `  ( r `  x ) ) )
34 prdsval.b . . . . . . 7  |-  ( ph  ->  B  =  X_ x  e.  I  ( Base `  ( R `  x
) ) )
3534ad2antrr 724 . . . . . 6  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  B  =  X_ x  e.  I 
( Base `  ( R `  x ) ) )
3628, 33, 353eqtr4d 2453 . . . . 5  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  X_ x  e.  dom  r ( Base `  ( r `  x
) )  =  B )
37 ovssunirn 6307 . . . . . . . . . . . . . . 15  |-  ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  C_  U.
ran  ( Hom  `  (
r `  x )
)
38 df-hom 14933 . . . . . . . . . . . . . . . . . 18  |-  Hom  = Slot ; 1 4
3938strfvss 14859 . . . . . . . . . . . . . . . . 17  |-  ( Hom  `  ( r `  x
) )  C_  U. ran  ( r `  x
)
4039, 14sstri 3451 . . . . . . . . . . . . . . . 16  |-  ( Hom  `  ( r `  x
) )  C_  U. ran  U.
ran  r
41 rnss 5052 . . . . . . . . . . . . . . . 16  |-  ( ( Hom  `  ( r `  x ) )  C_  U.
ran  U. ran  r  ->  ran  ( Hom  `  (
r `  x )
)  C_  ran  U. ran  U.
ran  r )
42 uniss 4212 . . . . . . . . . . . . . . . 16  |-  ( ran  ( Hom  `  (
r `  x )
)  C_  ran  U. ran  U.
ran  r  ->  U. ran  ( Hom  `  ( r `  x ) )  C_  U.
ran  U. ran  U. ran  r )
4340, 41, 42mp2b 10 . . . . . . . . . . . . . . 15  |-  U. ran  ( Hom  `  ( r `  x ) )  C_  U.
ran  U. ran  U. ran  r
4437, 43sstri 3451 . . . . . . . . . . . . . 14  |-  ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  C_  U.
ran  U. ran  U. ran  r
4544rgenw 2765 . . . . . . . . . . . . 13  |-  A. x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  C_  U.
ran  U. ran  U. ran  r
46 ss2ixp 7520 . . . . . . . . . . . . 13  |-  ( A. x  e.  dom  r ( ( f `  x
) ( Hom  `  (
r `  x )
) ( g `  x ) )  C_  U.
ran  U. ran  U. ran  r  ->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) )  C_  X_ x  e. 
dom  r U. ran  U.
ran  U. ran  r )
4745, 46ax-mp 5 . . . . . . . . . . . 12  |-  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  C_  X_ x  e.  dom  r U. ran  U. ran  U. ran  r
484dmex 6717 . . . . . . . . . . . . 13  |-  dom  r  e.  _V
498rnex 6718 . . . . . . . . . . . . . 14  |-  ran  U. ran  U. ran  r  e. 
_V
5049uniex 6578 . . . . . . . . . . . . 13  |-  U. ran  U.
ran  U. ran  r  e. 
_V
5148, 50ixpconst 7517 . . . . . . . . . . . 12  |-  X_ x  e.  dom  r U. ran  U.
ran  U. ran  r  =  ( U. ran  U. ran  U. ran  r  ^m  dom  r )
5247, 51sseqtri 3474 . . . . . . . . . . 11  |-  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  C_  ( U. ran  U. ran  U.
ran  r  ^m  dom  r )
53 ovex 6306 . . . . . . . . . . . 12  |-  ( U. ran  U. ran  U. ran  r  ^m  dom  r )  e.  _V
5453elpw2 4558 . . . . . . . . . . 11  |-  ( X_ x  e.  dom  r ( ( f `  x
) ( Hom  `  (
r `  x )
) ( g `  x ) )  e. 
~P ( U. ran  U.
ran  U. ran  r  ^m  dom  r )  <->  X_ x  e. 
dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  C_  ( U. ran  U. ran  U.
ran  r  ^m  dom  r ) )
5552, 54mpbir 209 . . . . . . . . . 10  |-  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  e. 
~P ( U. ran  U.
ran  U. ran  r  ^m  dom  r )
5655rgen2w 2766 . . . . . . . . 9  |-  A. f  e.  v  A. g  e.  v  X_ x  e. 
dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  e. 
~P ( U. ran  U.
ran  U. ran  r  ^m  dom  r )
57 eqid 2402 . . . . . . . . . 10  |-  ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) ) )  =  ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) )
5857fmpt2 6851 . . . . . . . . 9  |-  ( A. f  e.  v  A. g  e.  v  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  e. 
~P ( U. ran  U.
ran  U. ran  r  ^m  dom  r )  <->  ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) ) : ( v  X.  v ) --> ~P ( U. ran  U.
ran  U. ran  r  ^m  dom  r ) )
5956, 58mpbi 208 . . . . . . . 8  |-  ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) ) ) : ( v  X.  v ) --> ~P ( U. ran  U. ran  U. ran  r  ^m  dom  r
)
60 vex 3062 . . . . . . . . 9  |-  v  e. 
_V
6160, 60xpex 6586 . . . . . . . 8  |-  ( v  X.  v )  e. 
_V
6253pwex 4577 . . . . . . . 8  |-  ~P ( U. ran  U. ran  U. ran  r  ^m  dom  r
)  e.  _V
63 fex2 6739 . . . . . . . 8  |-  ( ( ( f  e.  v ,  g  e.  v 
|->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) ) : ( v  X.  v ) --> ~P ( U. ran  U.
ran  U. ran  r  ^m  dom  r )  /\  (
v  X.  v )  e.  _V  /\  ~P ( U. ran  U. ran  U.
ran  r  ^m  dom  r )  e.  _V )  ->  ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) )  e.  _V )
6459, 61, 62, 63mp3an 1326 . . . . . . 7  |-  ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) ) )  e.  _V
6564a1i 11 . . . . . 6  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x
) ( Hom  `  (
r `  x )
) ( g `  x ) ) )  e.  _V )
66 simpr 459 . . . . . . . 8  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  v  =  B )
6732adantr 463 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  dom  r  =  I )
6867ixpeq1d 7519 . . . . . . . . 9  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  = 
X_ x  e.  I 
( ( f `  x ) ( Hom  `  ( r `  x
) ) ( g `
 x ) ) )
6926fveq2d 5853 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( Hom  `  ( r `  x ) )  =  ( Hom  `  ( R `  x )
) )
7069oveqd 6295 . . . . . . . . . . 11  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
( f `  x
) ( Hom  `  (
r `  x )
) ( g `  x ) )  =  ( ( f `  x ) ( Hom  `  ( R `  x
) ) ( g `
 x ) ) )
7170ixpeq2dv 7523 . . . . . . . . . 10  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  X_ x  e.  I  ( (
f `  x )
( Hom  `  ( r `
 x ) ) ( g `  x
) )  =  X_ x  e.  I  (
( f `  x
) ( Hom  `  ( R `  x )
) ( g `  x ) ) )
7271adantr 463 . . . . . . . . 9  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  X_ x  e.  I  ( (
f `  x )
( Hom  `  ( r `
 x ) ) ( g `  x
) )  =  X_ x  e.  I  (
( f `  x
) ( Hom  `  ( R `  x )
) ( g `  x ) ) )
7368, 72eqtrd 2443 . . . . . . . 8  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  X_ x  e.  dom  r ( ( f `  x ) ( Hom  `  (
r `  x )
) ( g `  x ) )  = 
X_ x  e.  I 
( ( f `  x ) ( Hom  `  ( R `  x
) ) ( g `
 x ) ) )
7466, 66, 73mpt2eq123dv 6340 . . . . . . 7  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x
) ( Hom  `  (
r `  x )
) ( g `  x ) ) )  =  ( f  e.  B ,  g  e.  B  |->  X_ x  e.  I 
( ( f `  x ) ( Hom  `  ( R `  x
) ) ( g `
 x ) ) ) )
75 prdsval.h . . . . . . . 8  |-  ( ph  ->  H  =  ( f  e.  B ,  g  e.  B  |->  X_ x  e.  I  ( (
f `  x )
( Hom  `  ( R `
 x ) ) ( g `  x
) ) ) )
7675ad3antrrr 728 . . . . . . 7  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  H  =  ( f  e.  B ,  g  e.  B  |->  X_ x  e.  I 
( ( f `  x ) ( Hom  `  ( R `  x
) ) ( g `
 x ) ) ) )
7774, 76eqtr4d 2446 . . . . . 6  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x
) ( Hom  `  (
r `  x )
) ( g `  x ) ) )  =  H )
78 simplr 754 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  v  =  B )
7978opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( Base `  ndx ) ,  v >.  =  <. (
Base `  ndx ) ,  B >. )
8026fveq2d 5853 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( +g  `  ( r `  x ) )  =  ( +g  `  ( R `  x )
) )
8180oveqd 6295 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
( f `  x
) ( +g  `  (
r `  x )
) ( g `  x ) )  =  ( ( f `  x ) ( +g  `  ( R `  x
) ) ( g `
 x ) ) )
8232, 81mpteq12dv 4473 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( +g  `  ( r `  x
) ) ( g `
 x ) ) )  =  ( x  e.  I  |->  ( ( f `  x ) ( +g  `  ( R `  x )
) ( g `  x ) ) ) )
8382adantr 463 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( +g  `  ( r `  x
) ) ( g `
 x ) ) )  =  ( x  e.  I  |->  ( ( f `  x ) ( +g  `  ( R `  x )
) ( g `  x ) ) ) )
8466, 66, 83mpt2eq123dv 6340 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( +g  `  ( r `  x
) ) ( g `
 x ) ) ) )  =  ( f  e.  B , 
g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x
) ( +g  `  ( R `  x )
) ( g `  x ) ) ) ) )
8584adantr 463 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( +g  `  ( r `  x
) ) ( g `
 x ) ) ) )  =  ( f  e.  B , 
g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x
) ( +g  `  ( R `  x )
) ( g `  x ) ) ) ) )
86 prdsval.a . . . . . . . . . . . 12  |-  ( ph  ->  .+  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( +g  `  ( R `  x )
) ( g `  x ) ) ) ) )
8786ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  .+  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( +g  `  ( R `  x
) ) ( g `
 x ) ) ) ) )
8885, 87eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( +g  `  ( r `  x
) ) ( g `
 x ) ) ) )  =  .+  )
8988opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>.  =  <. ( +g  ` 
ndx ) ,  .+  >.
)
9026fveq2d 5853 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( .r `  ( r `  x ) )  =  ( .r `  ( R `  x )
) )
9190oveqd 6295 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
( f `  x
) ( .r `  ( r `  x
) ) ( g `
 x ) )  =  ( ( f `
 x ) ( .r `  ( R `
 x ) ) ( g `  x
) ) )
9232, 91mpteq12dv 4473 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) )  =  ( x  e.  I  |->  ( ( f `  x
) ( .r `  ( R `  x ) ) ( g `  x ) ) ) )
9392adantr 463 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) )  =  ( x  e.  I  |->  ( ( f `  x
) ( .r `  ( R `  x ) ) ( g `  x ) ) ) )
9466, 66, 93mpt2eq123dv 6340 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( .r
`  ( R `  x ) ) ( g `  x ) ) ) ) )
9594adantr 463 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( .r
`  ( R `  x ) ) ( g `  x ) ) ) ) )
96 prdsval.t . . . . . . . . . . . 12  |-  ( ph  ->  .X.  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( .r `  ( R `  x )
) ( g `  x ) ) ) ) )
9796ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  .X.  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( .r
`  ( R `  x ) ) ( g `  x ) ) ) ) )
9895, 97eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) )  = 
.X.  )
9998opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( .r `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( .r `  ( r `
 x ) ) ( g `  x
) ) ) )
>.  =  <. ( .r
`  ndx ) ,  .X.  >.
)
10079, 89, 99tpeq123d 4066 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  { <. (
Base `  ndx ) ,  v >. ,  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>. ,  <. ( .r
`  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) ) >. }  =  { <. ( Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. } )
101 simp-4r 769 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  s  =  S )
102101opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. (Scalar ` 
ndx ) ,  s
>.  =  <. (Scalar `  ndx ) ,  S >. )
103 simpllr 761 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  s  =  S )
104103fveq2d 5853 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  ( Base `  s )  =  ( Base `  S
) )
105 prdsval.k . . . . . . . . . . . . . 14  |-  K  =  ( Base `  S
)
106104, 105syl6eqr 2461 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  ( Base `  s )  =  K )
10726fveq2d 5853 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( .s `  ( r `  x ) )  =  ( .s `  ( R `  x )
) )
108107oveqd 6295 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
f ( .s `  ( r `  x
) ) ( g `
 x ) )  =  ( f ( .s `  ( R `
 x ) ) ( g `  x
) ) )
10932, 108mpteq12dv 4473 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
x  e.  dom  r  |->  ( f ( .s
`  ( r `  x ) ) ( g `  x ) ) )  =  ( x  e.  I  |->  ( f ( .s `  ( R `  x ) ) ( g `  x ) ) ) )
110109adantr 463 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
x  e.  dom  r  |->  ( f ( .s
`  ( r `  x ) ) ( g `  x ) ) )  =  ( x  e.  I  |->  ( f ( .s `  ( R `  x ) ) ( g `  x ) ) ) )
111106, 66, 110mpt2eq123dv 6340 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) )  =  ( f  e.  K , 
g  e.  B  |->  ( x  e.  I  |->  ( f ( .s `  ( R `  x ) ) ( g `  x ) ) ) ) )
112111adantr 463 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) )  =  ( f  e.  K , 
g  e.  B  |->  ( x  e.  I  |->  ( f ( .s `  ( R `  x ) ) ( g `  x ) ) ) ) )
113 prdsval.m . . . . . . . . . . . 12  |-  ( ph  ->  .x.  =  ( f  e.  K ,  g  e.  B  |->  ( x  e.  I  |->  ( f ( .s `  ( R `  x )
) ( g `  x ) ) ) ) )
114113ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  .x.  =  ( f  e.  K ,  g  e.  B  |->  ( x  e.  I  |->  ( f ( .s
`  ( R `  x ) ) ( g `  x ) ) ) ) )
115112, 114eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) )  =  .x.  )
116115opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( .s `  ndx ) ,  ( f  e.  (
Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `
 x ) ) ( g `  x
) ) ) )
>.  =  <. ( .s
`  ndx ) ,  .x.  >.
)
11726fveq2d 5853 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( .i `  ( r `  x ) )  =  ( .i `  ( R `  x )
) )
118117oveqd 6295 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) )  =  ( ( f `
 x ) ( .i `  ( R `
 x ) ) ( g `  x
) ) )
11932, 118mpteq12dv 4473 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( .i
`  ( r `  x ) ) ( g `  x ) ) )  =  ( x  e.  I  |->  ( ( f `  x
) ( .i `  ( R `  x ) ) ( g `  x ) ) ) )
120119adantr 463 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( .i
`  ( r `  x ) ) ( g `  x ) ) )  =  ( x  e.  I  |->  ( ( f `  x
) ( .i `  ( R `  x ) ) ( g `  x ) ) ) )
121103, 120oveq12d 6296 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
s  gsumg  ( x  e.  dom  r  |->  ( ( f `
 x ) ( .i `  ( r `
 x ) ) ( g `  x
) ) ) )  =  ( S  gsumg  ( x  e.  I  |->  ( ( f `  x ) ( .i `  ( R `  x )
) ( g `  x ) ) ) ) )
12266, 66, 121mpt2eq123dv 6340 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `
 x ) ( .i `  ( r `
 x ) ) ( g `  x
) ) ) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( S 
gsumg  ( x  e.  I  |->  ( ( f `  x ) ( .i
`  ( R `  x ) ) ( g `  x ) ) ) ) ) )
123122adantr 463 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `
 x ) ( .i `  ( r `
 x ) ) ( g `  x
) ) ) ) )  =  ( f  e.  B ,  g  e.  B  |->  ( S 
gsumg  ( x  e.  I  |->  ( ( f `  x ) ( .i
`  ( R `  x ) ) ( g `  x ) ) ) ) ) )
124 prdsval.j . . . . . . . . . . . 12  |-  ( ph  ->  .,  =  ( f  e.  B ,  g  e.  B  |->  ( S 
gsumg  ( x  e.  I  |->  ( ( f `  x ) ( .i
`  ( R `  x ) ) ( g `  x ) ) ) ) ) )
125124ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  .,  =  ( f  e.  B ,  g  e.  B  |->  ( S  gsumg  ( x  e.  I  |->  ( ( f `  x ) ( .i
`  ( R `  x ) ) ( g `  x ) ) ) ) ) )
126123, 125eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `
 x ) ( .i `  ( r `
 x ) ) ( g `  x
) ) ) ) )  =  .,  )
127126opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `
 x ) ( .i `  ( r `
 x ) ) ( g `  x
) ) ) ) ) >.  =  <. ( .i `  ndx ) ,  .,  >. )
128102, 116, 127tpeq123d 4066 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  { <. (Scalar `  ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. }  =  { <. (Scalar ` 
ndx ) ,  S >. ,  <. ( .s `  ndx ) ,  .x.  >. ,  <. ( .i `  ndx ) ,  .,  >. } )
129100, 128uneq12d 3598 . . . . . . 7  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  ( { <. ( Base `  ndx ) ,  v >. , 
<. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e. 
dom  r  |->  ( ( f `  x ) ( +g  `  (
r `  x )
) ( g `  x ) ) ) ) >. ,  <. ( .r `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( .r `  ( r `
 x ) ) ( g `  x
) ) ) )
>. }  u.  { <. (Scalar `  ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. } )  =  ( { <. ( Base `  ndx ) ,  B >. , 
<. ( +g  `  ndx ) ,  .+  >. ,  <. ( .r `  ndx ) ,  .X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } ) )
130 simpllr 761 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  r  =  R )
131130coeq2d 4986 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  ( TopOpen  o.  r )  =  ( TopOpen  o.  R )
)
132131fveq2d 5853 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  ( Xt_ `  ( TopOpen  o.  r
) )  =  (
Xt_ `  ( TopOpen  o.  R
) ) )
133 prdsval.o . . . . . . . . . . . 12  |-  ( ph  ->  O  =  ( Xt_ `  ( TopOpen  o.  R )
) )
134133ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  O  =  ( Xt_ `  ( TopOpen  o.  R ) ) )
135132, 134eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  ( Xt_ `  ( TopOpen  o.  r
) )  =  O )
136135opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. (TopSet ` 
ndx ) ,  (
Xt_ `  ( TopOpen  o.  r
) ) >.  =  <. (TopSet `  ndx ) ,  O >. )
13766sseq2d 3470 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  ( { f ,  g }  C_  v  <->  { f ,  g }  C_  B ) )
13826fveq2d 5853 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( le `  ( r `  x ) )  =  ( le `  ( R `  x )
) )
139138breqd 4406 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
( f `  x
) ( le `  ( r `  x
) ) ( g `
 x )  <->  ( f `  x ) ( le
`  ( R `  x ) ) ( g `  x ) ) )
14032, 139raleqbidv 3018 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( A. x  e.  dom  r ( f `  x ) ( le
`  ( r `  x ) ) ( g `  x )  <->  A. x  e.  I 
( f `  x
) ( le `  ( R `  x ) ) ( g `  x ) ) )
141140adantr 463 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  ( A. x  e.  dom  r ( f `  x ) ( le
`  ( r `  x ) ) ( g `  x )  <->  A. x  e.  I 
( f `  x
) ( le `  ( R `  x ) ) ( g `  x ) ) )
142137, 141anbi12d 709 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
( { f ,  g }  C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le
`  ( r `  x ) ) ( g `  x ) )  <->  ( { f ,  g }  C_  B  /\  A. x  e.  I  ( f `  x ) ( le
`  ( R `  x ) ) ( g `  x ) ) ) )
143142opabbidv 4458 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  { <. f ,  g >.  |  ( { f ,  g }  C_  v  /\  A. x  e.  dom  r
( f `  x
) ( le `  ( r `  x
) ) ( g `
 x ) ) }  =  { <. f ,  g >.  |  ( { f ,  g }  C_  B  /\  A. x  e.  I  ( f `  x ) ( le `  ( R `  x )
) ( g `  x ) ) } )
144143adantr 463 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  { <. f ,  g >.  |  ( { f ,  g }  C_  v  /\  A. x  e.  dom  r
( f `  x
) ( le `  ( r `  x
) ) ( g `
 x ) ) }  =  { <. f ,  g >.  |  ( { f ,  g }  C_  B  /\  A. x  e.  I  ( f `  x ) ( le `  ( R `  x )
) ( g `  x ) ) } )
145 prdsval.l . . . . . . . . . . . 12  |-  ( ph  -> 
.<_  =  { <. f ,  g >.  |  ( { f ,  g }  C_  B  /\  A. x  e.  I  ( f `  x ) ( le `  ( R `  x )
) ( g `  x ) ) } )
146145ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  .<_  =  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  B  /\  A. x  e.  I  (
f `  x )
( le `  ( R `  x )
) ( g `  x ) ) } )
147144, 146eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  { <. f ,  g >.  |  ( { f ,  g }  C_  v  /\  A. x  e.  dom  r
( f `  x
) ( le `  ( r `  x
) ) ( g `
 x ) ) }  =  .<_  )
148147opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>.  =  <. ( le
`  ndx ) ,  .<_  >.
)
14926fveq2d 5853 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( dist `  ( r `  x ) )  =  ( dist `  ( R `  x )
) )
150149oveqd 6295 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
( f `  x
) ( dist `  (
r `  x )
) ( g `  x ) )  =  ( ( f `  x ) ( dist `  ( R `  x
) ) ( g `
 x ) ) )
15132, 150mpteq12dv 4473 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  =  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x )
) ( g `  x ) ) ) )
152151adantr 463 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  =  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x )
) ( g `  x ) ) ) )
153152rneqd 5051 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  ran  ( x  e.  dom  r  |->  ( ( f `
 x ) (
dist `  ( r `  x ) ) ( g `  x ) ) )  =  ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x
) ) ( g `
 x ) ) ) )
154153uneq1d 3596 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  ( ran  ( x  e.  dom  r  |->  ( ( f `
 x ) (
dist `  ( r `  x ) ) ( g `  x ) ) )  u.  {
0 } )  =  ( ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x )
) ( g `  x ) ) )  u.  { 0 } ) )
155154supeq1d 7939 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  )  =  sup ( ( ran  (
x  e.  I  |->  ( ( f `  x
) ( dist `  ( R `  x )
) ( g `  x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) )
15666, 66, 155mpt2eq123dv 6340 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  (
f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) )  =  ( f  e.  B ,  g  e.  B  |->  sup ( ( ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) )
157156adantr 463 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) )  =  ( f  e.  B ,  g  e.  B  |->  sup ( ( ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) )
158 prdsval.d . . . . . . . . . . . 12  |-  ( ph  ->  D  =  ( f  e.  B ,  g  e.  B  |->  sup (
( ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x )
) ( g `  x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) )
159158ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  D  =  ( f  e.  B ,  g  e.  B  |->  sup ( ( ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) )
160157, 159eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) )  =  D )
161160opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  sup ( ( ran  ( x  e.  dom  r  |->  ( ( f `
 x ) (
dist `  ( r `  x ) ) ( g `  x ) ) )  u.  {
0 } ) , 
RR* ,  <  ) )
>.  =  <. ( dist `  ndx ) ,  D >. )
162136, 148, 161tpeq123d 4066 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  { <. (TopSet `  ndx ) ,  (
Xt_ `  ( TopOpen  o.  r
) ) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  =  { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. } )
163 simpr 459 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  h  =  H )
164163opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. ( Hom  `  ndx ) ,  h >.  =  <. ( Hom  `  ndx ) ,  H >. )
16578sqxpeqd 4849 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
v  X.  v )  =  ( B  X.  B ) )
166163oveqd 6295 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
c h ( 2nd `  a ) )  =  ( c H ( 2nd `  a ) ) )
167163fveq1d 5851 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
h `  a )  =  ( H `  a ) )
16826fveq2d 5853 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (comp `  ( r `  x
) )  =  (comp `  ( R `  x
) ) )
169168oveqd 6295 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  ( <. ( ( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) )  =  ( <. ( ( 1st `  a ) `  x
) ,  ( ( 2nd `  a ) `
 x ) >.
(comp `  ( R `  x ) ) ( c `  x ) ) )
170169oveqd 6295 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) )  =  ( ( d `  x ) ( <. ( ( 1st `  a ) `  x
) ,  ( ( 2nd `  a ) `
 x ) >.
(comp `  ( R `  x ) ) ( c `  x ) ) ( e `  x ) ) )
17132, 170mpteq12dv 4473 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  (
x  e.  dom  r  |->  ( ( d `  x ) ( <.
( ( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) )  =  ( x  e.  I  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  ( R `  x )
) ( c `  x ) ) ( e `  x ) ) ) )
172171ad2antrr 724 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
x  e.  dom  r  |->  ( ( d `  x ) ( <.
( ( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) )  =  ( x  e.  I  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  ( R `  x )
) ( c `  x ) ) ( e `  x ) ) ) )
173166, 167, 172mpt2eq123dv 6340 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) )  =  ( d  e.  ( c H ( 2nd `  a ) ) ,  e  e.  ( H `
 a )  |->  ( x  e.  I  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  ( R `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
174165, 78, 173mpt2eq123dv 6340 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )  =  ( a  e.  ( B  X.  B
) ,  c  e.  B  |->  ( d  e.  ( c H ( 2nd `  a ) ) ,  e  e.  ( H `  a
)  |->  ( x  e.  I  |->  ( ( d `
 x ) (
<. ( ( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  ( R `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) ) )
175 prdsval.x . . . . . . . . . . . 12  |-  ( ph  -> 
.xb  =  ( a  e.  ( B  X.  B ) ,  c  e.  B  |->  ( d  e.  ( c H ( 2nd `  a
) ) ,  e  e.  ( H `  a )  |->  ( x  e.  I  |->  ( ( d `  x ) ( <. ( ( 1st `  a ) `  x
) ,  ( ( 2nd `  a ) `
 x ) >.
(comp `  ( R `  x ) ) ( c `  x ) ) ( e `  x ) ) ) ) ) )
176175ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  .xb  =  ( a  e.  ( B  X.  B ) ,  c  e.  B  |->  ( d  e.  ( c H ( 2nd `  a ) ) ,  e  e.  ( H `
 a )  |->  ( x  e.  I  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  ( R `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) ) )
177174, 176eqtr4d 2446 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )  =  .xb  )
178177opeq2d 4166 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>.  =  <. (comp `  ndx ) ,  .xb  >. )
179164, 178preq12d 4059 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. }  =  { <. ( Hom  `  ndx ) ,  H >. ,  <. (comp ` 
ndx ) ,  .xb  >. } )
180162, 179uneq12d 3598 . . . . . . 7  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. } )  =  ( { <. (TopSet `  ndx ) ,  O >. , 
<. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) )
181129, 180uneq12d 3598 . . . . . 6  |-  ( ( ( ( ( ph  /\  s  =  S )  /\  r  =  R )  /\  v  =  B )  /\  h  =  H )  ->  (
( { <. ( Base `  ndx ) ,  v >. ,  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>. ,  <. ( .r
`  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) ) >. }  u.  { <. (Scalar ` 
ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. } ) )  =  ( ( { <. (
Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) ) )
18265, 77, 181csbied2 3401 . . . . 5  |-  ( ( ( ( ph  /\  s  =  S )  /\  r  =  R
)  /\  v  =  B )  ->  [_ (
f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `  x
) ( Hom  `  (
r `  x )
) ( g `  x ) ) )  /  h ]_ (
( { <. ( Base `  ndx ) ,  v >. ,  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>. ,  <. ( .r
`  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) ) >. }  u.  { <. (Scalar ` 
ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. } ) )  =  ( ( { <. (
Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) ) )
18324, 36, 182csbied2 3401 . . . 4  |-  ( ( ( ph  /\  s  =  S )  /\  r  =  R )  ->  [_ X_ x  e.  dom  r ( Base `  ( r `  x
) )  /  v ]_ [_ ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) )  /  h ]_ ( ( { <. (
Base `  ndx ) ,  v >. ,  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>. ,  <. ( .r
`  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) ) >. }  u.  { <. (Scalar ` 
ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. } ) )  =  ( ( { <. (
Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) ) )
184183anasss 645 . . 3  |-  ( (
ph  /\  ( s  =  S  /\  r  =  R ) )  ->  [_ X_ x  e.  dom  r ( Base `  (
r `  x )
)  /  v ]_ [_ ( f  e.  v ,  g  e.  v 
|->  X_ x  e.  dom  r ( ( f `
 x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) )  /  h ]_ ( ( { <. (
Base `  ndx ) ,  v >. ,  <. ( +g  `  ndx ) ,  ( f  e.  v ,  g  e.  v 
|->  ( x  e.  dom  r  |->  ( ( f `
 x ) ( +g  `  ( r `
 x ) ) ( g `  x
) ) ) )
>. ,  <. ( .r
`  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( .r
`  ( r `  x ) ) ( g `  x ) ) ) ) >. }  u.  { <. (Scalar ` 
ndx ) ,  s
>. ,  <. ( .s
`  ndx ) ,  ( f  e.  ( Base `  s ) ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( f ( .s `  ( r `  x
) ) ( g `
 x ) ) ) ) >. ,  <. ( .i `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `  x
) ( .i `  ( r `  x
) ) ( g `
 x ) ) ) ) ) >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
) >. ,  <. ( le `  ndx ) ,  { <. f ,  g
>.  |  ( {
f ,  g } 
C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  (
r `  x )
) ( g `  x ) ) }
>. ,  <. ( dist `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  sup ( ( ran  (
x  e.  dom  r  |->  ( ( f `  x ) ( dist `  ( r `  x
) ) ( g `
 x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( a  e.  ( v  X.  v ) ,  c  e.  v  |->  ( d  e.  ( c h ( 2nd `  a
) ) ,  e  e.  ( h `  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x
) ( <. (
( 1st `  a
) `  x ) ,  ( ( 2nd `  a ) `  x
) >. (comp `  (
r `  x )
) ( c `  x ) ) ( e `  x ) ) ) ) )
>. } ) )  =  ( ( { <. (
Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) ) )
185 prdsval.s . . . 4  |-  ( ph  ->  S  e.  W )
186 elex 3068 . . . 4  |-  ( S  e.  W  ->  S  e.  _V )
187185, 186syl 17 . . 3  |-  ( ph  ->  S  e.  _V )
188 prdsval.r . . . 4  |-  ( ph  ->  R  e.  Z )
189 elex 3068 . . . 4  |-  ( R  e.  Z  ->  R  e.  _V )
190188, 189syl 17 . . 3  |-  ( ph  ->  R  e.  _V )
191 tpex 6581 . . . . . 6  |-  { <. (
Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. }  e.  _V
192 tpex 6581 . . . . . 6  |-  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) ,  .x.  >. ,  <. ( .i `  ndx ) ,  .,  >. }  e.  _V
193191, 192unex 6580 . . . . 5  |-  ( {
<. ( Base `  ndx ) ,  B >. , 
<. ( +g  `  ndx ) ,  .+  >. ,  <. ( .r `  ndx ) ,  .X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  e. 
_V
194 tpex 6581 . . . . . 6  |-  { <. (TopSet `  ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  e.  _V
195 prex 4633 . . . . . 6  |-  { <. ( Hom  `  ndx ) ,  H >. ,  <. (comp ` 
ndx ) ,  .xb  >. }  e.  _V
196194, 195unex 6580 . . . . 5  |-  ( {
<. (TopSet `  ndx ) ,  O >. ,  <. ( le `  ndx ) , 
.<_  >. ,  <. ( dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } )  e. 
_V
197193, 196unex 6580 . . . 4  |-  ( ( { <. ( Base `  ndx ) ,  B >. , 
<. ( +g  `  ndx ) ,  .+  >. ,  <. ( .r `  ndx ) ,  .X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) )  e.  _V
198197a1i 11 . . 3  |-  ( ph  ->  ( ( { <. (
Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) )  e.  _V )
1993, 184, 187, 190, 198ovmpt2d 6411 . 2  |-  ( ph  ->  ( S X_s R )  =  ( ( { <. ( Base `  ndx ) ,  B >. ,  <. ( +g  `  ndx ) , 
.+  >. ,  <. ( .r `  ndx ) , 
.X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) ) )
2001, 199syl5eq 2455 1  |-  ( ph  ->  P  =  ( ( { <. ( Base `  ndx ) ,  B >. , 
<. ( +g  `  ndx ) ,  .+  >. ,  <. ( .r `  ndx ) ,  .X.  >. }  u.  { <. (Scalar `  ndx ) ,  S >. ,  <. ( .s `  ndx ) , 
.x.  >. ,  <. ( .i `  ndx ) , 
.,  >. } )  u.  ( { <. (TopSet ` 
ndx ) ,  O >. ,  <. ( le `  ndx ) ,  .<_  >. ,  <. (
dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
<. (comp `  ndx ) , 
.xb  >. } ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    = wceq 1405    e. wcel 1842   A.wral 2754   _Vcvv 3059   [_csb 3373    u. cun 3412    C_ wss 3414   ~Pcpw 3955   {csn 3972   {cpr 3974   {ctp 3976   <.cop 3978   U.cuni 4191   U_ciun 4271   class class class wbr 4395   {copab 4452    |-> cmpt 4453    X. cxp 4821   dom cdm 4823   ran crn 4824    o. ccom 4827   -->wf 5565   ` cfv 5569  (class class class)co 6278    |-> cmpt2 6280   1stc1st 6782   2ndc2nd 6783    ^m cmap 7457   X_cixp 7507   supcsup 7934   0cc0 9522   1c1 9523   RR*cxr 9657    < clt 9658   4c4 10628  ;cdc 11019   ndxcnx 14838   Basecbs 14841   +g cplusg 14909   .rcmulr 14910  Scalarcsca 14912   .scvsca 14913   .icip 14914  TopSetcts 14915   lecple 14916   distcds 14918   Hom chom 14920  compcco 14921   TopOpenctopn 15036   Xt_cpt 15053    gsumg cgsu 15055   X_scprds 15060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1639  ax-4 1652  ax-5 1725  ax-6 1771  ax-7 1814  ax-8 1844  ax-9 1846  ax-10 1861  ax-11 1866  ax-12 1878  ax-13 2026  ax-ext 2380  ax-sep 4517  ax-nul 4525  ax-pow 4572  ax-pr 4630  ax-un 6574  ax-cnex 9578  ax-resscn 9579  ax-1cn 9580  ax-icn 9581  ax-addcl 9582  ax-addrcl 9583  ax-mulcl 9584  ax-mulrcl 9585  ax-i2m1 9590  ax-1ne0 9591  ax-rrecex 9594  ax-cnre 9595
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 975  df-3an 976  df-tru 1408  df-ex 1634  df-nf 1638  df-sb 1764  df-eu 2242  df-mo 2243  df-clab 2388  df-cleq 2394  df-clel 2397  df-nfc 2552  df-ne 2600  df-ral 2759  df-rex 2760  df-reu 2761  df-rab 2763  df-v 3061  df-sbc 3278  df-csb 3374  df-dif 3417  df-un 3419  df-in 3421  df-ss 3428  df-pss 3430  df-nul 3739  df-if 3886  df-pw 3957  df-sn 3973  df-pr 3975  df-tp 3977  df-op 3979  df-uni 4192  df-iun 4273  df-br 4396  df-opab 4454  df-mpt 4455  df-tr 4490  df-eprel 4734  df-id 4738  df-po 4744  df-so 4745  df-fr 4782  df-we 4784  df-xp 4829  df-rel 4830  df-cnv 4831  df-co 4832  df-dm 4833  df-rn 4834  df-res 4835  df-ima 4836  df-pred 5367  df-ord 5413  df-on 5414  df-lim 5415  df-suc 5416  df-iota 5533  df-fun 5571  df-fn 5572  df-f 5573  df-f1 5574  df-fo 5575  df-f1o 5576  df-fv 5577  df-ov 6281  df-oprab 6282  df-mpt2 6283  df-om 6684  df-1st 6784  df-2nd 6785  df-wrecs 7013  df-recs 7075  df-rdg 7113  df-map 7459  df-ixp 7508  df-sup 7935  df-nn 10577  df-ndx 14844  df-slot 14845  df-base 14846  df-hom 14933  df-prds 15062
This theorem is referenced by:  prdssca  15070  prdsbas  15071  prdsplusg  15072  prdsmulr  15073  prdsvsca  15074  prdsip  15075  prdsle  15076  prdsds  15078  prdstset  15080  prdshom  15081  prdsco  15082
  Copyright terms: Public domain W3C validator