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

Theorem frgpuplem 15331
Description: Any assignment of the generators to target elements can be extended (uniquely) to a homomorphism from a free monoid to an arbitrary other monoid. (Contributed by Mario Carneiro, 2-Oct-2015.)
Hypotheses
Ref Expression
frgpup.b  |-  B  =  ( Base `  H
)
frgpup.n  |-  N  =  ( inv g `  H )
frgpup.t  |-  T  =  ( y  e.  I ,  z  e.  2o  |->  if ( z  =  (/) ,  ( F `  y
) ,  ( N `
 ( F `  y ) ) ) )
frgpup.h  |-  ( ph  ->  H  e.  Grp )
frgpup.i  |-  ( ph  ->  I  e.  V )
frgpup.a  |-  ( ph  ->  F : I --> B )
frgpup.w  |-  W  =  (  _I  ` Word  ( I  X.  2o ) )
frgpup.r  |-  .~  =  ( ~FG  `  I )
Assertion
Ref Expression
frgpuplem  |-  ( (
ph  /\  A  .~  C )  ->  ( H  gsumg  ( T  o.  A
) )  =  ( H  gsumg  ( T  o.  C
) ) )
Distinct variable groups:    y, z, A    y, F, z    y, N, z    y, B, z    ph, y, z    y, I, z
Allowed substitution hints:    C( y, z)    .~ ( y, z)    T( y, z)    H( y, z)    V( y, z)    W( y, z)

Proof of Theorem frgpuplem
Dummy variables  a 
b  u  v  n  r  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frgpup.w . . . . . . 7  |-  W  =  (  _I  ` Word  ( I  X.  2o ) )
2 frgpup.r . . . . . . 7  |-  .~  =  ( ~FG  `  I )
31, 2efgval 15276 . . . . . 6  |-  .~  =  |^| { r  |  ( r  Er  W  /\  A. x  e.  W  A. n  e.  ( 0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) }
4 coeq2 4971 . . . . . . . . . . . . 13  |-  ( u  =  v  ->  ( T  o.  u )  =  ( T  o.  v ) )
54oveq2d 6036 . . . . . . . . . . . 12  |-  ( u  =  v  ->  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) )
6 eqid 2387 . . . . . . . . . . . 12  |-  { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) }  =  { <. u ,  v
>.  |  ( H  gsumg  ( T  o.  u ) )  =  ( H 
gsumg  ( T  o.  v
) ) }
75, 6eqer 6874 . . . . . . . . . . 11  |-  { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) }  Er  _V
87a1i 11 . . . . . . . . . 10  |-  ( ph  ->  { <. u ,  v
>.  |  ( H  gsumg  ( T  o.  u ) )  =  ( H 
gsumg  ( T  o.  v
) ) }  Er  _V )
9 ssv 3311 . . . . . . . . . . 11  |-  W  C_  _V
109a1i 11 . . . . . . . . . 10  |-  ( ph  ->  W  C_  _V )
118, 10erinxp 6914 . . . . . . . . 9  |-  ( ph  ->  ( { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) }  i^i  ( W  X.  W
) )  Er  W
)
12 df-xp 4824 . . . . . . . . . . . . 13  |-  ( W  X.  W )  =  { <. u ,  v
>.  |  ( u  e.  W  /\  v  e.  W ) }
1312ineq1i 3481 . . . . . . . . . . . 12  |-  ( ( W  X.  W )  i^i  { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) } )  =  ( { <. u ,  v >.  |  ( u  e.  W  /\  v  e.  W ) }  i^i  { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) } )
14 incom 3476 . . . . . . . . . . . 12  |-  ( ( W  X.  W )  i^i  { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) } )  =  ( { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) }  i^i  ( W  X.  W
) )
15 inopab 4945 . . . . . . . . . . . 12  |-  ( {
<. u ,  v >.  |  ( u  e.  W  /\  v  e.  W ) }  i^i  {
<. u ,  v >.  |  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) } )  =  { <. u ,  v >.  |  ( ( u  e.  W  /\  v  e.  W )  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }
1613, 14, 153eqtr3i 2415 . . . . . . . . . . 11  |-  ( {
<. u ,  v >.  |  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) }  i^i  ( W  X.  W ) )  =  { <. u ,  v >.  |  ( ( u  e.  W  /\  v  e.  W
)  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H 
gsumg  ( T  o.  v
) ) ) }
17 vex 2902 . . . . . . . . . . . . . 14  |-  u  e. 
_V
18 vex 2902 . . . . . . . . . . . . . 14  |-  v  e. 
_V
1917, 18prss 3895 . . . . . . . . . . . . 13  |-  ( ( u  e.  W  /\  v  e.  W )  <->  { u ,  v } 
C_  W )
2019anbi1i 677 . . . . . . . . . . . 12  |-  ( ( ( u  e.  W  /\  v  e.  W
)  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H 
gsumg  ( T  o.  v
) ) )  <->  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) )
2120opabbii 4213 . . . . . . . . . . 11  |-  { <. u ,  v >.  |  ( ( u  e.  W  /\  v  e.  W
)  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H 
gsumg  ( T  o.  v
) ) ) }  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }
2216, 21eqtri 2407 . . . . . . . . . 10  |-  ( {
<. u ,  v >.  |  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) }  i^i  ( W  X.  W ) )  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }
23 ereq1 6848 . . . . . . . . . 10  |-  ( ( { <. u ,  v
>.  |  ( H  gsumg  ( T  o.  u ) )  =  ( H 
gsumg  ( T  o.  v
) ) }  i^i  ( W  X.  W
) )  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  ->  (
( { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) }  i^i  ( W  X.  W
) )  Er  W  <->  {
<. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  Er  W
) )
2422, 23ax-mp 8 . . . . . . . . 9  |-  ( ( { <. u ,  v
>.  |  ( H  gsumg  ( T  o.  u ) )  =  ( H 
gsumg  ( T  o.  v
) ) }  i^i  ( W  X.  W
) )  Er  W  <->  {
<. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  Er  W
)
2511, 24sylib 189 . . . . . . . 8  |-  ( ph  ->  { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  Er  W )
26 simplrl 737 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  x  e.  W )
27 fviss 5723 . . . . . . . . . . . . . . . 16  |-  (  _I 
` Word  ( I  X.  2o ) )  C_ Word  ( I  X.  2o )
281, 27eqsstri 3321 . . . . . . . . . . . . . . 15  |-  W  C_ Word  ( I  X.  2o )
2928, 26sseldi 3289 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  x  e. Word  ( I  X.  2o ) )
30 opelxpi 4850 . . . . . . . . . . . . . . . 16  |-  ( ( a  e.  I  /\  b  e.  2o )  -> 
<. a ,  b >.  e.  ( I  X.  2o ) )
3130adantl 453 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  <. a ,  b >.  e.  ( I  X.  2o ) )
32 simprl 733 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
a  e.  I )
33 2oconcl 6683 . . . . . . . . . . . . . . . . 17  |-  ( b  e.  2o  ->  ( 1o  \  b )  e.  2o )
3433ad2antll 710 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( 1o  \  b
)  e.  2o )
35 opelxpi 4850 . . . . . . . . . . . . . . . 16  |-  ( ( a  e.  I  /\  ( 1o  \  b
)  e.  2o )  ->  <. a ,  ( 1o  \  b )
>.  e.  ( I  X.  2o ) )
3632, 34, 35syl2anc 643 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  <. a ,  ( 1o 
\  b ) >.  e.  ( I  X.  2o ) )
3731, 36s2cld 11760 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  <" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. ">  e. Word  (
I  X.  2o ) )
38 splcl 11708 . . . . . . . . . . . . . 14  |-  ( ( x  e. Word  ( I  X.  2o )  /\  <" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. ">  e. Word  (
I  X.  2o ) )  ->  ( x splice  <.
n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )  e. Word  ( I  X.  2o ) )
3929, 37, 38syl2anc 643 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e. Word  ( I  X.  2o ) )
401efgrcl 15274 . . . . . . . . . . . . . . 15  |-  ( x  e.  W  ->  (
I  e.  _V  /\  W  = Word  ( I  X.  2o ) ) )
4126, 40syl 16 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( I  e.  _V  /\  W  = Word  ( I  X.  2o ) ) )
4241simprd 450 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  W  = Word  ( I  X.  2o ) )
4339, 42eleqtrrd 2464 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e.  W )
4426, 43jca 519 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( x  e.  W  /\  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e.  W ) )
45 swrdcl 11693 . . . . . . . . . . . . . . . . . 18  |-  ( x  e. Word  ( I  X.  2o )  ->  ( x substr  <. 0 ,  n >. )  e. Word  ( I  X.  2o ) )
4629, 45syl 16 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( x substr  <. 0 ,  n >. )  e. Word  (
I  X.  2o ) )
47 frgpup.b . . . . . . . . . . . . . . . . . . 19  |-  B  =  ( Base `  H
)
48 frgpup.n . . . . . . . . . . . . . . . . . . 19  |-  N  =  ( inv g `  H )
49 frgpup.t . . . . . . . . . . . . . . . . . . 19  |-  T  =  ( y  e.  I ,  z  e.  2o  |->  if ( z  =  (/) ,  ( F `  y
) ,  ( N `
 ( F `  y ) ) ) )
50 frgpup.h . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  H  e.  Grp )
51 frgpup.i . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  I  e.  V )
52 frgpup.a . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  F : I --> B )
5347, 48, 49, 50, 51, 52frgpuptf 15329 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  T : ( I  X.  2o ) --> B )
5453ad2antrr 707 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  T : ( I  X.  2o ) --> B )
55 ccatco 11731 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x substr  <. 0 ,  n >. )  e. Word  (
I  X.  2o )  /\  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. ">  e. Word  ( I  X.  2o )  /\  T : ( I  X.  2o ) --> B )  ->  ( T  o.  ( (
x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) )  =  ( ( T  o.  (
x substr  <. 0 ,  n >. ) ) concat  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) )
5646, 37, 54, 55syl3anc 1184 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) )  =  ( ( T  o.  (
x substr  <. 0 ,  n >. ) ) concat  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) )
5756oveq2d 6036 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) )  =  ( H  gsumg  ( ( T  o.  ( x substr  <. 0 ,  n >. ) ) concat  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) ) )
5850ad2antrr 707 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  H  e.  Grp )
59 grpmnd 14744 . . . . . . . . . . . . . . . . 17  |-  ( H  e.  Grp  ->  H  e.  Mnd )
6058, 59syl 16 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  H  e.  Mnd )
61 wrdco 11727 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x substr  <. 0 ,  n >. )  e. Word  (
I  X.  2o )  /\  T : ( I  X.  2o ) --> B )  ->  ( T  o.  ( x substr  <.
0 ,  n >. ) )  e. Word  B )
6246, 54, 61syl2anc 643 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
x substr  <. 0 ,  n >. ) )  e. Word  B
)
63 wrdco 11727 . . . . . . . . . . . . . . . . 17  |-  ( (
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. ">  e. Word  (
I  X.  2o )  /\  T : ( I  X.  2o ) --> B )  ->  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> )  e. Word  B )
6437, 54, 63syl2anc 643 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  <"
<. a ,  b >. <. a ,  ( 1o 
\  b ) >. "> )  e. Word  B
)
65 eqid 2387 . . . . . . . . . . . . . . . . 17  |-  ( +g  `  H )  =  ( +g  `  H )
6647, 65gsumccat 14714 . . . . . . . . . . . . . . . 16  |-  ( ( H  e.  Mnd  /\  ( T  o.  (
x substr  <. 0 ,  n >. ) )  e. Word  B  /\  ( T  o.  <"
<. a ,  b >. <. a ,  ( 1o 
\  b ) >. "> )  e. Word  B
)  ->  ( H  gsumg  ( ( T  o.  (
x substr  <. 0 ,  n >. ) ) concat  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) )  =  ( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( H  gsumg  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) ) )
6760, 62, 64, 66syl3anc 1184 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( ( T  o.  ( x substr  <. 0 ,  n >. ) ) concat  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) )  =  ( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( H  gsumg  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) ) )
6854, 31, 36s2co 11794 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  <"
<. a ,  b >. <. a ,  ( 1o 
\  b ) >. "> )  =  <" ( T `  <. a ,  b >. )
( T `  <. a ,  ( 1o  \ 
b ) >. ) "> )
69 df-ov 6023 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( a T b )  =  ( T `  <. a ,  b >. )
7069a1i 11 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( a T b )  =  ( T `
 <. a ,  b
>. ) )
71 df-ov 6023 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( a ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o 
\  z ) >.
) b )  =  ( ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \  z )
>. ) `  <. a ,  b >. )
72 eqid 2387 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \ 
z ) >. )  =  ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \  z )
>. )
7372efgmval 15271 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( a  e.  I  /\  b  e.  2o )  ->  ( a ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \ 
z ) >. )
b )  =  <. a ,  ( 1o  \ 
b ) >. )
7471, 73syl5eqr 2433 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a  e.  I  /\  b  e.  2o )  ->  ( ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \  z )
>. ) `  <. a ,  b >. )  =  <. a ,  ( 1o  \  b )
>. )
7574adantl 453 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \  z )
>. ) `  <. a ,  b >. )  =  <. a ,  ( 1o  \  b )
>. )
7675fveq2d 5672 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T `  (
( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o 
\  z ) >.
) `  <. a ,  b >. ) )  =  ( T `  <. a ,  ( 1o  \ 
b ) >. )
)
7747, 48, 49, 50, 51, 52, 72frgpuptinv 15330 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( (
ph  /\  <. a ,  b >.  e.  (
I  X.  2o ) )  ->  ( T `  ( ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \  z )
>. ) `  <. a ,  b >. )
)  =  ( N `
 ( T `  <. a ,  b >.
) ) )
7830, 77sylan2 461 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( (
ph  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T `  (
( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o 
\  z ) >.
) `  <. a ,  b >. ) )  =  ( N `  ( T `  <. a ,  b >. ) ) )
7978adantlr 696 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T `  (
( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o 
\  z ) >.
) `  <. a ,  b >. ) )  =  ( N `  ( T `  <. a ,  b >. ) ) )
8076, 79eqtr3d 2421 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T `  <. a ,  ( 1o  \ 
b ) >. )  =  ( N `  ( T `  <. a ,  b >. )
) )
8169fveq2i 5671 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( N `
 ( a T b ) )  =  ( N `  ( T `  <. a ,  b >. ) )
8280, 81syl6reqr 2438 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( N `  (
a T b ) )  =  ( T `
 <. a ,  ( 1o  \  b )
>. ) )
8370, 82s2eqd 11753 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  <" ( a T b ) ( N `
 ( a T b ) ) ">  =  <" ( T `  <. a ,  b >. ) ( T `
 <. a ,  ( 1o  \  b )
>. ) "> )
8468, 83eqtr4d 2422 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  <"
<. a ,  b >. <. a ,  ( 1o 
\  b ) >. "> )  =  <" ( a T b ) ( N `  ( a T b ) ) "> )
8584oveq2d 6036 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  <"
<. a ,  b >. <. a ,  ( 1o 
\  b ) >. "> ) )  =  ( H  gsumg 
<" ( a T b ) ( N `
 ( a T b ) ) "> ) )
86 simprr 734 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
b  e.  2o )
8754, 32, 86fovrnd 6157 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( a T b )  e.  B )
8847, 48grpinvcl 14777 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( H  e.  Grp  /\  ( a T b )  e.  B )  ->  ( N `  ( a T b ) )  e.  B
)
8958, 87, 88syl2anc 643 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( N `  (
a T b ) )  e.  B )
9047, 65gsumws2 14715 . . . . . . . . . . . . . . . . . . 19  |-  ( ( H  e.  Mnd  /\  ( a T b )  e.  B  /\  ( N `  ( a T b ) )  e.  B )  -> 
( H  gsumg 
<" ( a T b ) ( N `
 ( a T b ) ) "> )  =  ( ( a T b ) ( +g  `  H
) ( N `  ( a T b ) ) ) )
9160, 87, 89, 90syl3anc 1184 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg 
<" ( a T b ) ( N `
 ( a T b ) ) "> )  =  ( ( a T b ) ( +g  `  H
) ( N `  ( a T b ) ) ) )
92 eqid 2387 . . . . . . . . . . . . . . . . . . . 20  |-  ( 0g
`  H )  =  ( 0g `  H
)
9347, 65, 92, 48grprinv 14779 . . . . . . . . . . . . . . . . . . 19  |-  ( ( H  e.  Grp  /\  ( a T b )  e.  B )  ->  ( ( a T b ) ( +g  `  H ) ( N `  (
a T b ) ) )  =  ( 0g `  H ) )
9458, 87, 93syl2anc 643 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( a T b ) ( +g  `  H ) ( N `
 ( a T b ) ) )  =  ( 0g `  H ) )
9585, 91, 943eqtrd 2423 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  <"
<. a ,  b >. <. a ,  ( 1o 
\  b ) >. "> ) )  =  ( 0g `  H
) )
9695oveq2d 6036 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( H  gsumg  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) )  =  ( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( 0g `  H ) ) )
9747gsumwcl 14713 . . . . . . . . . . . . . . . . . 18  |-  ( ( H  e.  Mnd  /\  ( T  o.  (
x substr  <. 0 ,  n >. ) )  e. Word  B
)  ->  ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) )  e.  B
)
9860, 62, 97syl2anc 643 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) )  e.  B )
9947, 65, 92grprid 14763 . . . . . . . . . . . . . . . . 17  |-  ( ( H  e.  Grp  /\  ( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) )  e.  B )  ->  (
( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) ) ( +g  `  H ) ( 0g `  H
) )  =  ( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) ) )
10058, 98, 99syl2anc 643 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( 0g `  H ) )  =  ( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) ) )
10196, 100eqtrd 2419 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( H  gsumg  ( T  o.  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) )  =  ( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) ) )
10257, 67, 1013eqtrrd 2424 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) )  =  ( H  gsumg  ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) ) )
103102oveq1d 6035 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( H  gsumg  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )  =  ( ( H  gsumg  ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) ) ( +g  `  H ) ( H  gsumg  ( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) ) ) ) )
104 swrdcl 11693 . . . . . . . . . . . . . . . 16  |-  ( x  e. Word  ( I  X.  2o )  ->  ( x substr  <. n ,  ( # `  x ) >. )  e. Word  ( I  X.  2o ) )
10529, 104syl 16 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( x substr  <. n ,  ( # `  x
) >. )  e. Word  (
I  X.  2o ) )
106 wrdco 11727 . . . . . . . . . . . . . . 15  |-  ( ( ( x substr  <. n ,  ( # `  x
) >. )  e. Word  (
I  X.  2o )  /\  T : ( I  X.  2o ) --> B )  ->  ( T  o.  ( x substr  <.
n ,  ( # `  x ) >. )
)  e. Word  B )
107105, 54, 106syl2anc 643 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) )  e. Word  B
)
10847, 65gsumccat 14714 . . . . . . . . . . . . . 14  |-  ( ( H  e.  Mnd  /\  ( T  o.  (
x substr  <. 0 ,  n >. ) )  e. Word  B  /\  ( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) )  e. Word  B
)  ->  ( H  gsumg  ( ( T  o.  (
x substr  <. 0 ,  n >. ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )  =  ( ( H  gsumg  ( T  o.  (
x substr  <. 0 ,  n >. ) ) ) ( +g  `  H ) ( H  gsumg  ( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) ) ) ) )
10960, 62, 107, 108syl3anc 1184 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( ( T  o.  ( x substr  <. 0 ,  n >. ) ) concat  ( T  o.  ( x substr  <.
n ,  ( # `  x ) >. )
) ) )  =  ( ( H  gsumg  ( T  o.  ( x substr  <. 0 ,  n >. ) ) ) ( +g  `  H
) ( H  gsumg  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) ) )
110 ccatcl 11670 . . . . . . . . . . . . . . . 16  |-  ( ( ( x substr  <. 0 ,  n >. )  e. Word  (
I  X.  2o )  /\  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. ">  e. Word  ( I  X.  2o ) )  ->  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> )  e. Word  ( I  X.  2o ) )
11146, 37, 110syl2anc 643 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> )  e. Word  ( I  X.  2o ) )
112 wrdco 11727 . . . . . . . . . . . . . . 15  |-  ( ( ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> )  e. Word  ( I  X.  2o )  /\  T : ( I  X.  2o ) --> B )  -> 
( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) )  e. Word  B
)
113111, 54, 112syl2anc 643 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) )  e. Word  B
)
11447, 65gsumccat 14714 . . . . . . . . . . . . . 14  |-  ( ( H  e.  Mnd  /\  ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) )  e. Word  B  /\  ( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) )  e. Word  B
)  ->  ( H  gsumg  ( ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )  =  ( ( H  gsumg  ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) ) ( +g  `  H ) ( H  gsumg  ( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) ) ) ) )
11560, 113, 107, 114syl3anc 1184 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( ( T  o.  ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )  =  ( ( H  gsumg  ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) ) ( +g  `  H ) ( H  gsumg  ( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) ) ) ) )
116103, 109, 1153eqtr4d 2429 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( ( T  o.  ( x substr  <. 0 ,  n >. ) ) concat  ( T  o.  ( x substr  <.
n ,  ( # `  x ) >. )
) ) )  =  ( H  gsumg  ( ( T  o.  ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) ) )
117 simplrr 738 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  n  e.  ( 0 ... ( # `  x
) ) )
118 elfzuz 10987 . . . . . . . . . . . . . . . . . 18  |-  ( n  e.  ( 0 ... ( # `  x
) )  ->  n  e.  ( ZZ>= `  0 )
)
119 eluzfz1 10996 . . . . . . . . . . . . . . . . . 18  |-  ( n  e.  ( ZZ>= `  0
)  ->  0  e.  ( 0 ... n
) )
120117, 118, 1193syl 19 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
0  e.  ( 0 ... n ) )
121 lencl 11662 . . . . . . . . . . . . . . . . . . . 20  |-  ( x  e. Word  ( I  X.  2o )  ->  ( # `  x )  e.  NN0 )
12229, 121syl 16 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( # `  x )  e.  NN0 )
123 nn0uz 10452 . . . . . . . . . . . . . . . . . . 19  |-  NN0  =  ( ZZ>= `  0 )
124122, 123syl6eleq 2477 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( # `  x )  e.  ( ZZ>= `  0
) )
125 eluzfz2 10997 . . . . . . . . . . . . . . . . . 18  |-  ( (
# `  x )  e.  ( ZZ>= `  0 )  ->  ( # `  x
)  e.  ( 0 ... ( # `  x
) ) )
126124, 125syl 16 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( # `  x )  e.  ( 0 ... ( # `  x
) ) )
127 ccatswrd 11700 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e. Word  ( I  X.  2o )  /\  ( 0  e.  ( 0 ... n )  /\  n  e.  ( 0 ... ( # `  x ) )  /\  ( # `  x )  e.  ( 0 ... ( # `  x
) ) ) )  ->  ( ( x substr  <. 0 ,  n >. ) concat 
( x substr  <. n ,  ( # `  x
) >. ) )  =  ( x substr  <. 0 ,  ( # `  x
) >. ) )
12829, 120, 117, 126, 127syl13anc 1186 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( x substr  <. 0 ,  n >. ) concat  ( x substr  <.
n ,  ( # `  x ) >. )
)  =  ( x substr  <. 0 ,  ( # `  x ) >. )
)
129 swrdid 11699 . . . . . . . . . . . . . . . . 17  |-  ( x  e. Word  ( I  X.  2o )  ->  ( x substr  <. 0 ,  ( # `  x ) >. )  =  x )
13029, 129syl 16 . . . . . . . . . . . . . . . 16  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( x substr  <. 0 ,  ( # `  x
) >. )  =  x )
131128, 130eqtrd 2419 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( ( x substr  <. 0 ,  n >. ) concat  ( x substr  <.
n ,  ( # `  x ) >. )
)  =  x )
132131coeq2d 4975 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
( x substr  <. 0 ,  n >. ) concat  ( x substr  <.
n ,  ( # `  x ) >. )
) )  =  ( T  o.  x ) )
133 ccatco 11731 . . . . . . . . . . . . . . 15  |-  ( ( ( x substr  <. 0 ,  n >. )  e. Word  (
I  X.  2o )  /\  ( x substr  <. n ,  ( # `  x
) >. )  e. Word  (
I  X.  2o )  /\  T : ( I  X.  2o ) --> B )  ->  ( T  o.  ( (
x substr  <. 0 ,  n >. ) concat  ( x substr  <. n ,  ( # `  x
) >. ) ) )  =  ( ( T  o.  ( x substr  <. 0 ,  n >. ) ) concat  ( T  o.  ( x substr  <.
n ,  ( # `  x ) >. )
) ) )
13446, 105, 54, 133syl3anc 1184 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
( x substr  <. 0 ,  n >. ) concat  ( x substr  <.
n ,  ( # `  x ) >. )
) )  =  ( ( T  o.  (
x substr  <. 0 ,  n >. ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )
135132, 134eqtr3d 2421 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  x
)  =  ( ( T  o.  ( x substr  <. 0 ,  n >. ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )
136135oveq2d 6036 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  x
) )  =  ( H  gsumg  ( ( T  o.  ( x substr  <. 0 ,  n >. ) ) concat  ( T  o.  ( x substr  <.
n ,  ( # `  x ) >. )
) ) ) )
137 splval 11707 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  W  /\  ( n  e.  (
0 ... ( # `  x
) )  /\  n  e.  ( 0 ... ( # `
 x ) )  /\  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. ">  e. Word  ( I  X.  2o ) ) )  -> 
( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  =  ( ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) concat  ( x substr  <. n ,  ( # `  x
) >. ) ) )
13826, 117, 117, 37, 137syl13anc 1186 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  =  ( ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) concat  ( x substr  <. n ,  ( # `  x
) >. ) ) )
139138coeq2d 4975 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) )  =  ( T  o.  ( ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) concat  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )
140 ccatco 11731 . . . . . . . . . . . . . . 15  |-  ( ( ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> )  e. Word  ( I  X.  2o )  /\  (
x substr  <. n ,  (
# `  x ) >. )  e. Word  ( I  X.  2o )  /\  T : ( I  X.  2o ) --> B )  -> 
( T  o.  (
( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) concat  ( x substr  <. n ,  ( # `  x
) >. ) ) )  =  ( ( T  o.  ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> ) ) concat 
( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) ) ) )
141111, 105, 54, 140syl3anc 1184 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) concat  ( x substr  <. n ,  ( # `  x
) >. ) ) )  =  ( ( T  o.  ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> ) ) concat 
( T  o.  (
x substr  <. n ,  (
# `  x ) >. ) ) ) )
142139, 141eqtrd 2419 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T  o.  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) )  =  ( ( T  o.  (
( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) )
143142oveq2d 6036 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) )  =  ( H  gsumg  ( ( T  o.  ( ( x substr  <. 0 ,  n >. ) concat  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> ) ) concat  ( T  o.  ( x substr  <. n ,  ( # `  x
) >. ) ) ) ) )
144116, 136, 1433eqtr4d 2429 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( H  gsumg  ( T  o.  x
) )  =  ( H  gsumg  ( T  o.  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) )
145 vex 2902 . . . . . . . . . . . 12  |-  x  e. 
_V
146 ovex 6045 . . . . . . . . . . . 12  |-  ( x splice  <. n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )  e.  _V
147 eleq1 2447 . . . . . . . . . . . . . . 15  |-  ( u  =  x  ->  (
u  e.  W  <->  x  e.  W ) )
148 eleq1 2447 . . . . . . . . . . . . . . 15  |-  ( v  =  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  ->  ( v  e.  W  <->  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e.  W ) )
149147, 148bi2anan9 844 . . . . . . . . . . . . . 14  |-  ( ( u  =  x  /\  v  =  ( x splice  <.
n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )
)  ->  ( (
u  e.  W  /\  v  e.  W )  <->  ( x  e.  W  /\  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e.  W ) ) )
15019, 149syl5bbr 251 . . . . . . . . . . . . 13  |-  ( ( u  =  x  /\  v  =  ( x splice  <.
n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )
)  ->  ( {
u ,  v } 
C_  W  <->  ( x  e.  W  /\  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e.  W ) ) )
151 coeq2 4971 . . . . . . . . . . . . . . 15  |-  ( u  =  x  ->  ( T  o.  u )  =  ( T  o.  x ) )
152151oveq2d 6036 . . . . . . . . . . . . . 14  |-  ( u  =  x  ->  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  x
) ) )
153 coeq2 4971 . . . . . . . . . . . . . . 15  |-  ( v  =  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  ->  ( T  o.  v )  =  ( T  o.  ( x splice  <. n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )
) )
154153oveq2d 6036 . . . . . . . . . . . . . 14  |-  ( v  =  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  ->  ( H  gsumg  ( T  o.  v ) )  =  ( H 
gsumg  ( T  o.  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) )
155152, 154eqeqan12d 2402 . . . . . . . . . . . . 13  |-  ( ( u  =  x  /\  v  =  ( x splice  <.
n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )
)  ->  ( ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) )  <->  ( H  gsumg  ( T  o.  x ) )  =  ( H 
gsumg  ( T  o.  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) ) )
156150, 155anbi12d 692 . . . . . . . . . . . 12  |-  ( ( u  =  x  /\  v  =  ( x splice  <.
n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )
)  ->  ( ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) )  <->  ( (
x  e.  W  /\  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e.  W )  /\  ( H  gsumg  ( T  o.  x ) )  =  ( H  gsumg  ( T  o.  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) ) ) )
157 eqid 2387 . . . . . . . . . . . 12  |-  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }
158145, 146, 156, 157braba 4413 . . . . . . . . . . 11  |-  ( x { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  <->  ( ( x  e.  W  /\  (
x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  e.  W )  /\  ( H  gsumg  ( T  o.  x ) )  =  ( H  gsumg  ( T  o.  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) ) )
15944, 144, 158sylanbrc 646 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  x { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) )
160159ralrimivva 2741 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  W  /\  n  e.  ( 0 ... ( # `
 x ) ) ) )  ->  A. a  e.  I  A. b  e.  2o  x { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) )
161160ralrimivva 2741 . . . . . . . 8  |-  ( ph  ->  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) )
162 fvex 5682 . . . . . . . . . . 11  |-  (  _I 
` Word  ( I  X.  2o ) )  e.  _V
1631, 162eqeltri 2457 . . . . . . . . . 10  |-  W  e. 
_V
164 erex 6865 . . . . . . . . . 10  |-  ( {
<. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  Er  W  ->  ( W  e.  _V  ->  { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  e.  _V ) )
16525, 163, 164ee10 1382 . . . . . . . . 9  |-  ( ph  ->  { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  e.  _V )
166 ereq1 6848 . . . . . . . . . . 11  |-  ( r  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ->  ( r  Er  W  <->  { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  Er  W ) )
167 breq 4155 . . . . . . . . . . . . 13  |-  ( r  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ->  ( x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  <->  x { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) )
1681672ralbidv 2691 . . . . . . . . . . . 12  |-  ( r  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ->  ( A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
)  <->  A. a  e.  I  A. b  e.  2o  x { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) )
1691682ralbidv 2691 . . . . . . . . . . 11  |-  ( r  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ->  ( A. x  e.  W  A. n  e.  ( 0 ... ( # `
 x ) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )  <->  A. x  e.  W  A. n  e.  ( 0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) )
170166, 169anbi12d 692 . . . . . . . . . 10  |-  ( r  =  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ->  ( ( r  Er  W  /\  A. x  e.  W  A. n  e.  ( 0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) )  <->  ( { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  Er  W  /\  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) )
171170elabg 3026 . . . . . . . . 9  |-  ( {
<. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  e.  _V  ->  ( { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  e.  { r  |  ( r  Er  W  /\  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) }  <->  ( { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  Er  W  /\  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) )
172165, 171syl 16 . . . . . . . 8  |-  ( ph  ->  ( { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  e.  { r  |  ( r  Er  W  /\  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) }  <->  ( { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  Er  W  /\  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) ) )
17325, 161, 172mpbir2and 889 . . . . . . 7  |-  ( ph  ->  { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) }  e.  { r  |  ( r  Er  W  /\  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) } )
174 intss1 4007 . . . . . . 7  |-  ( {
<. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) }  e.  {
r  |  ( r  Er  W  /\  A. x  e.  W  A. n  e.  ( 0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) }  ->  |^|
{ r  |  ( r  Er  W  /\  A. x  e.  W  A. n  e.  ( 0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) }  C_  {
<. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) } )
175173, 174syl 16 . . . . . 6  |-  ( ph  ->  |^| { r  |  ( r  Er  W  /\  A. x  e.  W  A. n  e.  (
0 ... ( # `  x
) ) A. a  e.  I  A. b  e.  2o  x r ( x splice  <. n ,  n ,  <" <. a ,  b >. <. a ,  ( 1o  \ 
b ) >. "> >.
) ) }  C_  {
<. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) ) } )
1763, 175syl5eqss 3335 . . . . 5  |-  ( ph  ->  .~  C_  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) } )
177176ssbrd 4194 . . . 4  |-  ( ph  ->  ( A  .~  C  ->  A { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) } C ) )
178177imp 419 . . 3  |-  ( (
ph  /\  A  .~  C )  ->  A { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) } C )
1791, 2efger 15277 . . . . . 6  |-  .~  Er  W
180 errel 6850 . . . . . 6  |-  (  .~  Er  W  ->  Rel  .~  )
181179, 180mp1i 12 . . . . 5  |-  ( ph  ->  Rel  .~  )
182 brrelex12 4855 . . . . 5  |-  ( ( Rel  .~  /\  A  .~  C )  ->  ( A  e.  _V  /\  C  e.  _V ) )
183181, 182sylan 458 . . . 4  |-  ( (
ph  /\  A  .~  C )  ->  ( A  e.  _V  /\  C  e.  _V ) )
184 preq12 3828 . . . . . . 7  |-  ( ( u  =  A  /\  v  =  C )  ->  { u ,  v }  =  { A ,  C } )
185184sseq1d 3318 . . . . . 6  |-  ( ( u  =  A  /\  v  =  C )  ->  ( { u ,  v }  C_  W  <->  { A ,  C }  C_  W ) )
186 coeq2 4971 . . . . . . . 8  |-  ( u  =  A  ->  ( T  o.  u )  =  ( T  o.  A ) )
187186oveq2d 6036 . . . . . . 7  |-  ( u  =  A  ->  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  A
) ) )
188 coeq2 4971 . . . . . . . 8  |-  ( v  =  C  ->  ( T  o.  v )  =  ( T  o.  C ) )
189188oveq2d 6036 . . . . . . 7  |-  ( v  =  C  ->  ( H  gsumg  ( T  o.  v
) )  =  ( H  gsumg  ( T  o.  C
) ) )
190187, 189eqeqan12d 2402 . . . . . 6  |-  ( ( u  =  A  /\  v  =  C )  ->  ( ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) )  <-> 
( H  gsumg  ( T  o.  A
) )  =  ( H  gsumg  ( T  o.  C
) ) ) )
191185, 190anbi12d 692 . . . . 5  |-  ( ( u  =  A  /\  v  =  C )  ->  ( ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u ) )  =  ( H  gsumg  ( T  o.  v ) ) )  <->  ( { A ,  C }  C_  W  /\  ( H  gsumg  ( T  o.  A
) )  =  ( H  gsumg  ( T  o.  C
) ) ) ) )
192191, 157brabga 4410 . . . 4  |-  ( ( A  e.  _V  /\  C  e.  _V )  ->  ( A { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) } C  <->  ( { A ,  C }  C_  W  /\  ( H  gsumg  ( T  o.  A
) )  =  ( H  gsumg  ( T  o.  C
) ) ) ) )
193183, 192syl 16 . . 3  |-  ( (
ph  /\  A  .~  C )  ->  ( A { <. u ,  v
>.  |  ( {
u ,  v } 
C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) } C  <->  ( { A ,  C }  C_  W  /\  ( H  gsumg  ( T  o.  A
) )  =  ( H  gsumg  ( T  o.  C
) ) ) ) )
194178, 193mpbid 202 . 2  |-  ( (
ph  /\  A  .~  C )  ->  ( { A ,  C }  C_  W  /\  ( H 
gsumg  ( T  o.  A
) )  =  ( H  gsumg  ( T  o.  C
) ) ) )
195194simprd 450 1  |-  ( (
ph  /\  A  .~  C )  ->  ( H  gsumg  ( T  o.  A
) )  =  ( H  gsumg  ( T  o.  C
) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    = wceq 1649    e. wcel 1717   {cab 2373   A.wral 2649   _Vcvv 2899    \ cdif 3260    i^i cin 3262    C_ wss 3263   (/)c0 3571   ifcif 3682   {cpr 3758   <.cop 3760   <.cotp 3761   |^|cint 3992   class class class wbr 4153   {copab 4206    _I cid 4434    X. cxp 4816    o. ccom 4822   Rel wrel 4823   -->wf 5390   ` cfv 5394  (class class class)co 6020    e. cmpt2 6022   1oc1o 6653   2oc2o 6654    Er wer 6838   0cc0 8923   NN0cn0 10153   ZZ>=cuz 10420   ...cfz 10975   #chash 11545  Word cword 11644   concat cconcat 11645   substr csubstr 11647   splice csplice 11648   <"cs2 11732   Basecbs 13396   +g cplusg 13456   0gc0g 13650    gsumg cgsu 13651   Mndcmnd 14611   Grpcgrp 14612   inv gcminusg 14613   ~FG cefg 15265
This theorem is referenced by:  frgpupf  15332
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-rep 4261  ax-sep 4271  ax-nul 4279  ax-pow 4318  ax-pr 4344  ax-un 4641  ax-cnex 8979  ax-resscn 8980  ax-1cn 8981  ax-icn 8982  ax-addcl 8983  ax-addrcl 8984  ax-mulcl 8985  ax-mulrcl 8986  ax-mulcom 8987  ax-addass 8988  ax-mulass 8989  ax-distr 8990  ax-i2m1 8991  ax-1ne0 8992  ax-1rid 8993  ax-rnegex 8994  ax-rrecex 8995  ax-cnre 8996  ax-pre-lttri 8997  ax-pre-lttrn 8998  ax-pre-ltadd 8999  ax-pre-mulgt0 9000
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-nel 2553  df-ral 2654  df-rex 2655  df-reu 2656  df-rmo 2657  df-rab 2658  df-v 2901  df-sbc 3105  df-csb 3195  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-pss 3279  df-nul 3572  df-if 3683  df-pw 3744  df-sn 3763  df-pr 3764  df-tp 3765  df-op 3766  df-ot 3767  df-uni 3958  df-int 3993  df-iun 4037  df-iin 4038  df-br 4154  df-opab 4208  df-mpt 4209  df-tr 4244  df-eprel 4435  df-id 4439  df-po 4444  df-so 4445  df-fr 4482  df-we 4484  df-ord 4525  df-on 4526  df-lim 4527  df-suc 4528  df-om 4786  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-rn 4829  df-res 4830  df-ima 4831  df-iota 5358  df-fun 5396  df-fn 5397  df-f 5398  df-f1 5399  df-fo 5400  df-f1o 5401  df-fv 5402  df-ov 6023  df-oprab 6024  df-mpt2 6025  df-1st 6288  df-2nd 6289  df-riota 6485  df-recs 6569  df-rdg 6604  df-1o 6660  df-2o 6661  df-oadd 6664  df-er 6841  df-map 6956  df-pm 6957  df-en 7046  df-dom 7047  df-sdom 7048  df-fin 7049  df-card 7759  df-pnf 9055  df-mnf 9056  df-xr 9057  df-ltxr 9058  df-le 9059  df-sub 9225  df-neg 9226  df-nn 9933  df-2 9990  df-n0 10154  df-z 10215  df-uz 10421  df-fz 10976  df-fzo 11066  df-seq 11251  df-hash 11546  df-word 11650  df-concat 11651  df-s1 11652  df-substr 11653  df-splice 11654  df-s2 11739  df-ndx 13399  df-slot 13400  df-base 13401  df-sets 13402  df-ress 13403  df-plusg 13469  df-0g 13654  df-gsum 13655  df-mnd 14617  df-submnd 14666  df-grp 14739  df-minusg 14740  df-efg 15268
  Copyright terms: Public domain W3C validator