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

Theorem frgpuplem 15324
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 15269 . . . . . 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 4964 . . . . . . . . . . . . 13  |-  ( u  =  v  ->  ( T  o.  u )  =  ( T  o.  v ) )
54oveq2d 6029 . . . . . . . . . . . 12  |-  ( u  =  v  ->  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) )
6 eqid 2380 . . . . . . . . . . . 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 6867 . . . . . . . . . . 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 3304 . . . . . . . . . . 11  |-  W  C_  _V
109a1i 11 . . . . . . . . . 10  |-  ( ph  ->  W  C_  _V )
118, 10erinxp 6907 . . . . . . . . 9  |-  ( ph  ->  ( { <. u ,  v >.  |  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) }  i^i  ( W  X.  W
) )  Er  W
)
12 df-xp 4817 . . . . . . . . . . . . 13  |-  ( W  X.  W )  =  { <. u ,  v
>.  |  ( u  e.  W  /\  v  e.  W ) }
1312ineq1i 3474 . . . . . . . . . . . 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 3469 . . . . . . . . . . . 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 4938 . . . . . . . . . . . 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 2408 . . . . . . . . . . 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 2895 . . . . . . . . . . . . . 14  |-  u  e. 
_V
18 vex 2895 . . . . . . . . . . . . . 14  |-  v  e. 
_V
1917, 18prss 3888 . . . . . . . . . . . . 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 4206 . . . . . . . . . . 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 2400 . . . . . . . . . 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 6841 . . . . . . . . . 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 5716 . . . . . . . . . . . . . . . 16  |-  (  _I 
` Word  ( I  X.  2o ) )  C_ Word  ( I  X.  2o )
281, 27eqsstri 3314 . . . . . . . . . . . . . . 15  |-  W  C_ Word  ( I  X.  2o )
2928, 26sseldi 3282 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  ->  x  e. Word  ( I  X.  2o ) )
30 opelxpi 4843 . . . . . . . . . . . . . . . 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 6676 . . . . . . . . . . . . . . . . 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 4843 . . . . . . . . . . . . . . . 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 11753 . . . . . . . . . . . . . 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 11701 . . . . . . . . . . . . . 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 15267 . . . . . . . . . . . . . . 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 2457 . . . . . . . . . . . 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 11686 . . . . . . . . . . . . . . . . . 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 15322 . . . . . . . . . . . . . . . . . 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 11724 . . . . . . . . . . . . . . . . 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 6029 . . . . . . . . . . . . . . 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 14737 . . . . . . . . . . . . . . . . 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 11720 . . . . . . . . . . . . . . . . 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 11720 . . . . . . . . . . . . . . . . 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 2380 . . . . . . . . . . . . . . . . 17  |-  ( +g  `  H )  =  ( +g  `  H )
6647, 65gsumccat 14707 . . . . . . . . . . . . . . . 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 11787 . . . . . . . . . . . . . . . . . . . 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 6016 . . . . . . . . . . . . . . . . . . . . . 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 6016 . . . . . . . . . . . . . . . . . . . . . . . . . 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 2380 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \ 
z ) >. )  =  ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \  z )
>. )
7372efgmval 15264 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( a  e.  I  /\  b  e.  2o )  ->  ( a ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o  \ 
z ) >. )
b )  =  <. a ,  ( 1o  \ 
b ) >. )
7471, 73syl5eqr 2426 . . . . . . . . . . . . . . . . . . . . . . . . 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 5665 . . . . . . . . . . . . . . . . . . . . . . 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 15323 . . . . . . . . . . . . . . . . . . . . . . . . 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 2414 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( T `  <. a ,  ( 1o  \ 
b ) >. )  =  ( N `  ( T `  <. a ,  b >. )
) )
8169fveq2i 5664 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( N `
 ( a T b ) )  =  ( N `  ( T `  <. a ,  b >. ) )
8280, 81syl6reqr 2431 . . . . . . . . . . . . . . . . . . . . 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 11746 . . . . . . . . . . . . . . . . . . . 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 2415 . . . . . . . . . . . . . . . . . . 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 6029 . . . . . . . . . . . . . . . . . 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 6150 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( a T b )  e.  B )
8847, 48grpinvcl 14770 . . . . . . . . . . . . . . . . . . . 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 14708 . . . . . . . . . . . . . . . . . . 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 2380 . . . . . . . . . . . . . . . . . . . 20  |-  ( 0g
`  H )  =  ( 0g `  H
)
9347, 65, 92, 48grprinv 14772 . . . . . . . . . . . . . . . . . . 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 2416 . . . . . . . . . . . . . . . . 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 6029 . . . . . . . . . . . . . . . 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 14706 . . . . . . . . . . . . . . . . . 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 14756 . . . . . . . . . . . . . . . . 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 2412 . . . . . . . . . . . . . . 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 2417 . . . . . . . . . . . . . 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 6028 . . . . . . . . . . . . 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 11686 . . . . . . . . . . . . . . . 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 11720 . . . . . . . . . . . . . . 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 14707 . . . . . . . . . . . . . 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 11663 . . . . . . . . . . . . . . . 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 11720 . . . . . . . . . . . . . . 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 14707 . . . . . . . . . . . . . 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 2422 . . . . . . . . . . . 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 10980 . . . . . . . . . . . . . . . . . 18  |-  ( n  e.  ( 0 ... ( # `  x
) )  ->  n  e.  ( ZZ>= `  0 )
)
119 eluzfz1 10989 . . . . . . . . . . . . . . . . . 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 11655 . . . . . . . . . . . . . . . . . . . 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 10445 . . . . . . . . . . . . . . . . . . 19  |-  NN0  =  ( ZZ>= `  0 )
124122, 123syl6eleq 2470 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ph  /\  (
x  e.  W  /\  n  e.  ( 0 ... ( # `  x
) ) ) )  /\  ( a  e.  I  /\  b  e.  2o ) )  -> 
( # `  x )  e.  ( ZZ>= `  0
) )
125 eluzfz2 10990 . . . . . . . . . . . . . . . . . 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 11693 . . . . . . . . . . . . . . . . 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 11692 . . . . . . . . . . . . . . . . 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 2412 . . . . . . . . . . . . . . 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 4968 . . . . . . . . . . . . . 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 11724 . . . . . . . . . . . . . . 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 2414 . . . . . . . . . . . . 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 6029 . . . . . . . . . . . 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 11700 . . . . . . . . . . . . . . . 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 4968 . . . . . . . . . . . . . 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 11724 . . . . . . . . . . . . . . 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 2412 . . . . . . . . . . . . 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 6029 . . . . . . . . . . . 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 2422 . . . . . . . . . . 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 2895 . . . . . . . . . . . 12  |-  x  e. 
_V
146 ovex 6038 . . . . . . . . . . . 12  |-  ( x splice  <. n ,  n , 
<" <. a ,  b
>. <. a ,  ( 1o  \  b )
>. "> >. )  e.  _V
147 eleq1 2440 . . . . . . . . . . . . . . 15  |-  ( u  =  x  ->  (
u  e.  W  <->  x  e.  W ) )
148 eleq1 2440 . . . . . . . . . . . . . . 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 4964 . . . . . . . . . . . . . . 15  |-  ( u  =  x  ->  ( T  o.  u )  =  ( T  o.  x ) )
152151oveq2d 6029 . . . . . . . . . . . . . 14  |-  ( u  =  x  ->  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  x
) ) )
153 coeq2 4964 . . . . . . . . . . . . . . 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 6029 . . . . . . . . . . . . . 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 2395 . . . . . . . . . . . . 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 2380 . . . . . . . . . . . 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 4406 . . . . . . . . . . 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 2734 . . . . . . . . 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 2734 . . . . . . . 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 5675 . . . . . . . . . . 11  |-  (  _I 
` Word  ( I  X.  2o ) )  e.  _V
1631, 162eqeltri 2450 . . . . . . . . . 10  |-  W  e. 
_V
164 erex 6858 . . . . . . . . . 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 6841 . . . . . . . . . . 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 4148 . . . . . . . . . . . . 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 2684 . . . . . . . . . . . 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 2684 . . . . . . . . . . 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 3019 . . . . . . . . 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 4000 . . . . . . 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 3328 . . . . 5  |-  ( ph  ->  .~  C_  { <. u ,  v >.  |  ( { u ,  v }  C_  W  /\  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  v
) ) ) } )
177176ssbrd 4187 . . . 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 15270 . . . . . 6  |-  .~  Er  W
180 errel 6843 . . . . . 6  |-  (  .~  Er  W  ->  Rel  .~  )
181179, 180mp1i 12 . . . . 5  |-  ( ph  ->  Rel  .~  )
182 brrelex12 4848 . . . . 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 3821 . . . . . . 7  |-  ( ( u  =  A  /\  v  =  C )  ->  { u ,  v }  =  { A ,  C } )
185184sseq1d 3311 . . . . . 6  |-  ( ( u  =  A  /\  v  =  C )  ->  ( { u ,  v }  C_  W  <->  { A ,  C }  C_  W ) )
186 coeq2 4964 . . . . . . . 8  |-  ( u  =  A  ->  ( T  o.  u )  =  ( T  o.  A ) )
187186oveq2d 6029 . . . . . . 7  |-  ( u  =  A  ->  ( H  gsumg  ( T  o.  u
) )  =  ( H  gsumg  ( T  o.  A
) ) )
188 coeq2 4964 . . . . . . . 8  |-  ( v  =  C  ->  ( T  o.  v )  =  ( T  o.  C ) )
189188oveq2d 6029 . . . . . . 7  |-  ( v  =  C  ->  ( H  gsumg  ( T  o.  v
) )  =  ( H  gsumg  ( T  o.  C
) ) )
190187, 189eqeqan12d 2395 . . . . . 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 4403 . . . 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 2366   A.wral 2642   _Vcvv 2892    \ cdif 3253    i^i cin 3255    C_ wss 3256   (/)c0 3564   ifcif 3675   {cpr 3751   <.cop 3753   <.cotp 3754   |^|cint 3985   class class class wbr 4146   {copab 4199    _I cid 4427    X. cxp 4809    o. ccom 4815   Rel wrel 4816   -->wf 5383   ` cfv 5387  (class class class)co 6013    e. cmpt2 6015   1oc1o 6646   2oc2o 6647    Er wer 6831   0cc0 8916   NN0cn0 10146   ZZ>=cuz 10413   ...cfz 10968   #chash 11538  Word cword 11637   concat cconcat 11638   substr csubstr 11640   splice csplice 11641   <"cs2 11725   Basecbs 13389   +g cplusg 13449   0gc0g 13643    gsumg cgsu 13644   Mndcmnd 14604   Grpcgrp 14605   inv gcminusg 14606   ~FG cefg 15258
This theorem is referenced by:  frgpupf  15325
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 2361  ax-rep 4254  ax-sep 4264  ax-nul 4272  ax-pow 4311  ax-pr 4337  ax-un 4634  ax-cnex 8972  ax-resscn 8973  ax-1cn 8974  ax-icn 8975  ax-addcl 8976  ax-addrcl 8977  ax-mulcl 8978  ax-mulrcl 8979  ax-mulcom 8980  ax-addass 8981  ax-mulass 8982  ax-distr 8983  ax-i2m1 8984  ax-1ne0 8985  ax-1rid 8986  ax-rnegex 8987  ax-rrecex 8988  ax-cnre 8989  ax-pre-lttri 8990  ax-pre-lttrn 8991  ax-pre-ltadd 8992  ax-pre-mulgt0 8993
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 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-nel 2546  df-ral 2647  df-rex 2648  df-reu 2649  df-rmo 2650  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-pss 3272  df-nul 3565  df-if 3676  df-pw 3737  df-sn 3756  df-pr 3757  df-tp 3758  df-op 3759  df-ot 3760  df-uni 3951  df-int 3986  df-iun 4030  df-iin 4031  df-br 4147  df-opab 4201  df-mpt 4202  df-tr 4237  df-eprel 4428  df-id 4432  df-po 4437  df-so 4438  df-fr 4475  df-we 4477  df-ord 4518  df-on 4519  df-lim 4520  df-suc 4521  df-om 4779  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-res 4823  df-ima 4824  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394  df-fv 5395  df-ov 6016  df-oprab 6017  df-mpt2 6018  df-1st 6281  df-2nd 6282  df-riota 6478  df-recs 6562  df-rdg 6597  df-1o 6653  df-2o 6654  df-oadd 6657  df-er 6834  df-map 6949  df-pm 6950  df-en 7039  df-dom 7040  df-sdom 7041  df-fin 7042  df-card 7752  df-pnf 9048  df-mnf 9049  df-xr 9050  df-ltxr 9051  df-le 9052  df-sub 9218  df-neg 9219  df-nn 9926  df-2 9983  df-n0 10147  df-z 10208  df-uz 10414  df-fz 10969  df-fzo 11059  df-seq 11244  df-hash 11539  df-word 11643  df-concat 11644  df-s1 11645  df-substr 11646  df-splice 11647  df-s2 11732  df-ndx 13392  df-slot 13393  df-base 13394  df-sets 13395  df-ress 13396  df-plusg 13462  df-0g 13647  df-gsum 13648  df-mnd 14610  df-submnd 14659  df-grp 14732  df-minusg 14733  df-efg 15261
  Copyright terms: Public domain W3C validator