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

Theorem efgredlemc 15379
Description: The reduced word that forms the base of the sequence in efgsval 15365 is uniquely determined, given the ending representation. (Contributed by Mario Carneiro, 1-Oct-2015.)
Hypotheses
Ref Expression
efgval.w  |-  W  =  (  _I  ` Word  ( I  X.  2o ) )
efgval.r  |-  .~  =  ( ~FG  `  I )
efgval2.m  |-  M  =  ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o 
\  z ) >.
)
efgval2.t  |-  T  =  ( v  e.  W  |->  ( n  e.  ( 0 ... ( # `  v ) ) ,  w  e.  ( I  X.  2o )  |->  ( v splice  <. n ,  n ,  <" w ( M `  w ) "> >. )
) )
efgred.d  |-  D  =  ( W  \  U_ x  e.  W  ran  ( T `  x ) )
efgred.s  |-  S  =  ( m  e.  {
t  e.  (Word  W  \  { (/) } )  |  ( ( t ` 
0 )  e.  D  /\  A. k  e.  ( 1..^ ( # `  t
) ) ( t `
 k )  e. 
ran  ( T `  ( t `  (
k  -  1 ) ) ) ) } 
|->  ( m `  (
( # `  m )  -  1 ) ) )
efgredlem.1  |-  ( ph  ->  A. a  e.  dom  S A. b  e.  dom  S ( ( # `  ( S `  a )
)  <  ( # `  ( S `  A )
)  ->  ( ( S `  a )  =  ( S `  b )  ->  (
a `  0 )  =  ( b ` 
0 ) ) ) )
efgredlem.2  |-  ( ph  ->  A  e.  dom  S
)
efgredlem.3  |-  ( ph  ->  B  e.  dom  S
)
efgredlem.4  |-  ( ph  ->  ( S `  A
)  =  ( S `
 B ) )
efgredlem.5  |-  ( ph  ->  -.  ( A ` 
0 )  =  ( B `  0 ) )
efgredlemb.k  |-  K  =  ( ( ( # `  A )  -  1 )  -  1 )
efgredlemb.l  |-  L  =  ( ( ( # `  B )  -  1 )  -  1 )
efgredlemb.p  |-  ( ph  ->  P  e.  ( 0 ... ( # `  ( A `  K )
) ) )
efgredlemb.q  |-  ( ph  ->  Q  e.  ( 0 ... ( # `  ( B `  L )
) ) )
efgredlemb.u  |-  ( ph  ->  U  e.  ( I  X.  2o ) )
efgredlemb.v  |-  ( ph  ->  V  e.  ( I  X.  2o ) )
efgredlemb.6  |-  ( ph  ->  ( S `  A
)  =  ( P ( T `  ( A `  K )
) U ) )
efgredlemb.7  |-  ( ph  ->  ( S `  B
)  =  ( Q ( T `  ( B `  L )
) V ) )
efgredlemb.8  |-  ( ph  ->  -.  ( A `  K )  =  ( B `  L ) )
Assertion
Ref Expression
efgredlemc  |-  ( ph  ->  ( P  e.  (
ZZ>= `  Q )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
Distinct variable groups:    a, b, A    y, a, z, b    L, a, b    K, a, b    t, n, v, w, y, z, P   
m, a, n, t, v, w, x, M, b    U, n, v, w, y, z    k, a, T, b, m, t, x    n, V, v, w, y, z    Q, n, t, v, w, y, z    W, a, b    k, n, v, w, y, z, W, m, t, x    .~ , a, b, m, t, x, y, z    B, a, b    S, a, b   
I, a, b, m, n, t, v, w, x, y, z    D, a, b, m, t
Allowed substitution hints:    ph( x, y, z, w, v, t, k, m, n, a, b)    A( x, y, z, w, v, t, k, m, n)    B( x, y, z, w, v, t, k, m, n)    D( x, y, z, w, v, k, n)    P( x, k, m, a, b)    Q( x, k, m, a, b)    .~ ( w, v, k, n)    S( x, y, z, w, v, t, k, m, n)    T( y, z, w, v, n)    U( x, t, k, m, a, b)    I( k)    K( x, y, z, w, v, t, k, m, n)    L( x, y, z, w, v, t, k, m, n)    M( y, z, k)    V( x, t, k, m, a, b)

Proof of Theorem efgredlemc
Dummy variables  c 
i are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 uzp1 10521 . 2  |-  ( P  e.  ( ZZ>= `  Q
)  ->  ( P  =  Q  \/  P  e.  ( ZZ>= `  ( Q  +  1 ) ) ) )
2 efgredlemb.8 . . . . . 6  |-  ( ph  ->  -.  ( A `  K )  =  ( B `  L ) )
3 efgval.w . . . . . . . . . . 11  |-  W  =  (  _I  ` Word  ( I  X.  2o ) )
4 fviss 5786 . . . . . . . . . . 11  |-  (  _I 
` Word  ( I  X.  2o ) )  C_ Word  ( I  X.  2o )
53, 4eqsstri 3380 . . . . . . . . . 10  |-  W  C_ Word  ( I  X.  2o )
6 efgredlem.2 . . . . . . . . . . . . 13  |-  ( ph  ->  A  e.  dom  S
)
7 efgval.r . . . . . . . . . . . . . . 15  |-  .~  =  ( ~FG  `  I )
8 efgval2.m . . . . . . . . . . . . . . 15  |-  M  =  ( y  e.  I ,  z  e.  2o  |->  <. y ,  ( 1o 
\  z ) >.
)
9 efgval2.t . . . . . . . . . . . . . . 15  |-  T  =  ( v  e.  W  |->  ( n  e.  ( 0 ... ( # `  v ) ) ,  w  e.  ( I  X.  2o )  |->  ( v splice  <. n ,  n ,  <" w ( M `  w ) "> >. )
) )
10 efgred.d . . . . . . . . . . . . . . 15  |-  D  =  ( W  \  U_ x  e.  W  ran  ( T `  x ) )
11 efgred.s . . . . . . . . . . . . . . 15  |-  S  =  ( m  e.  {
t  e.  (Word  W  \  { (/) } )  |  ( ( t ` 
0 )  e.  D  /\  A. k  e.  ( 1..^ ( # `  t
) ) ( t `
 k )  e. 
ran  ( T `  ( t `  (
k  -  1 ) ) ) ) } 
|->  ( m `  (
( # `  m )  -  1 ) ) )
123, 7, 8, 9, 10, 11efgsdm 15364 . . . . . . . . . . . . . 14  |-  ( A  e.  dom  S  <->  ( A  e.  (Word  W  \  { (/)
} )  /\  ( A `  0 )  e.  D  /\  A. i  e.  ( 1..^ ( # `  A ) ) ( A `  i )  e.  ran  ( T `
 ( A `  ( i  -  1 ) ) ) ) )
1312simp1bi 973 . . . . . . . . . . . . 13  |-  ( A  e.  dom  S  ->  A  e.  (Word  W  \  { (/) } ) )
146, 13syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  A  e.  (Word  W  \  { (/) } ) )
15 eldifi 3471 . . . . . . . . . . . 12  |-  ( A  e.  (Word  W  \  { (/) } )  ->  A  e. Word  W )
16 wrdf 11735 . . . . . . . . . . . 12  |-  ( A  e. Word  W  ->  A : ( 0..^ (
# `  A )
) --> W )
1714, 15, 163syl 19 . . . . . . . . . . 11  |-  ( ph  ->  A : ( 0..^ ( # `  A
) ) --> W )
18 fzossfz 11159 . . . . . . . . . . . . 13  |-  ( 0..^ ( ( # `  A
)  -  1 ) )  C_  ( 0 ... ( ( # `  A )  -  1 ) )
19 efgredlemb.k . . . . . . . . . . . . . 14  |-  K  =  ( ( ( # `  A )  -  1 )  -  1 )
20 efgredlem.1 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  A. a  e.  dom  S A. b  e.  dom  S ( ( # `  ( S `  a )
)  <  ( # `  ( S `  A )
)  ->  ( ( S `  a )  =  ( S `  b )  ->  (
a `  0 )  =  ( b ` 
0 ) ) ) )
21 efgredlem.3 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  B  e.  dom  S
)
22 efgredlem.4 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( S `  A
)  =  ( S `
 B ) )
23 efgredlem.5 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  -.  ( A ` 
0 )  =  ( B `  0 ) )
243, 7, 8, 9, 10, 11, 20, 6, 21, 22, 23efgredlema 15374 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( # `  A )  -  1 )  e.  NN  /\  ( ( # `  B
)  -  1 )  e.  NN ) )
2524simpld 447 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( ( # `  A
)  -  1 )  e.  NN )
26 fzo0end 11190 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  A
)  -  1 )  e.  NN  ->  (
( ( # `  A
)  -  1 )  -  1 )  e.  ( 0..^ ( (
# `  A )  -  1 ) ) )
2725, 26syl 16 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( ( ( # `  A )  -  1 )  -  1 )  e.  ( 0..^ ( ( # `  A
)  -  1 ) ) )
2819, 27syl5eqel 2522 . . . . . . . . . . . . 13  |-  ( ph  ->  K  e.  ( 0..^ ( ( # `  A
)  -  1 ) ) )
2918, 28sseldi 3348 . . . . . . . . . . . 12  |-  ( ph  ->  K  e.  ( 0 ... ( ( # `  A )  -  1 ) ) )
30 lencl 11737 . . . . . . . . . . . . . . 15  |-  ( A  e. Word  W  ->  ( # `
 A )  e. 
NN0 )
3114, 15, 303syl 19 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( # `  A
)  e.  NN0 )
3231nn0zd 10375 . . . . . . . . . . . . 13  |-  ( ph  ->  ( # `  A
)  e.  ZZ )
33 fzoval 11143 . . . . . . . . . . . . 13  |-  ( (
# `  A )  e.  ZZ  ->  ( 0..^ ( # `  A
) )  =  ( 0 ... ( (
# `  A )  -  1 ) ) )
3432, 33syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( 0..^ ( # `  A ) )  =  ( 0 ... (
( # `  A )  -  1 ) ) )
3529, 34eleqtrrd 2515 . . . . . . . . . . 11  |-  ( ph  ->  K  e.  ( 0..^ ( # `  A
) ) )
3617, 35ffvelrnd 5873 . . . . . . . . . 10  |-  ( ph  ->  ( A `  K
)  e.  W )
375, 36sseldi 3348 . . . . . . . . 9  |-  ( ph  ->  ( A `  K
)  e. Word  ( I  X.  2o ) )
38 efgredlemb.p . . . . . . . . . 10  |-  ( ph  ->  P  e.  ( 0 ... ( # `  ( A `  K )
) ) )
39 elfzuz 11057 . . . . . . . . . 10  |-  ( P  e.  ( 0 ... ( # `  ( A `  K )
) )  ->  P  e.  ( ZZ>= `  0 )
)
40 eluzfz1 11066 . . . . . . . . . 10  |-  ( P  e.  ( ZZ>= `  0
)  ->  0  e.  ( 0 ... P
) )
4138, 39, 403syl 19 . . . . . . . . 9  |-  ( ph  ->  0  e.  ( 0 ... P ) )
42 lencl 11737 . . . . . . . . . . . 12  |-  ( ( A `  K )  e. Word  ( I  X.  2o )  ->  ( # `  ( A `  K
) )  e.  NN0 )
4337, 42syl 16 . . . . . . . . . . 11  |-  ( ph  ->  ( # `  ( A `  K )
)  e.  NN0 )
44 nn0uz 10522 . . . . . . . . . . 11  |-  NN0  =  ( ZZ>= `  0 )
4543, 44syl6eleq 2528 . . . . . . . . . 10  |-  ( ph  ->  ( # `  ( A `  K )
)  e.  ( ZZ>= ` 
0 ) )
46 eluzfz2 11067 . . . . . . . . . 10  |-  ( (
# `  ( A `  K ) )  e.  ( ZZ>= `  0 )  ->  ( # `  ( A `  K )
)  e.  ( 0 ... ( # `  ( A `  K )
) ) )
4745, 46syl 16 . . . . . . . . 9  |-  ( ph  ->  ( # `  ( A `  K )
)  e.  ( 0 ... ( # `  ( A `  K )
) ) )
48 ccatswrd 11775 . . . . . . . . 9  |-  ( ( ( A `  K
)  e. Word  ( I  X.  2o )  /\  (
0  e.  ( 0 ... P )  /\  P  e.  ( 0 ... ( # `  ( A `  K )
) )  /\  ( # `
 ( A `  K ) )  e.  ( 0 ... ( # `
 ( A `  K ) ) ) ) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( A `  K ) substr  <. 0 ,  ( # `  ( A `  K )
) >. ) )
4937, 41, 38, 47, 48syl13anc 1187 . . . . . . . 8  |-  ( ph  ->  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat 
( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( ( A `  K
) substr  <. 0 ,  (
# `  ( A `  K ) ) >.
) )
50 swrdid 11774 . . . . . . . . 9  |-  ( ( A `  K )  e. Word  ( I  X.  2o )  ->  ( ( A `  K ) substr  <. 0 ,  ( # `  ( A `  K
) ) >. )  =  ( A `  K ) )
5137, 50syl 16 . . . . . . . 8  |-  ( ph  ->  ( ( A `  K ) substr  <. 0 ,  ( # `  ( A `  K )
) >. )  =  ( A `  K ) )
5249, 51eqtrd 2470 . . . . . . 7  |-  ( ph  ->  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat 
( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( A `  K ) )
533, 7, 8, 9, 10, 11efgsdm 15364 . . . . . . . . . . . . . 14  |-  ( B  e.  dom  S  <->  ( B  e.  (Word  W  \  { (/)
} )  /\  ( B `  0 )  e.  D  /\  A. i  e.  ( 1..^ ( # `  B ) ) ( B `  i )  e.  ran  ( T `
 ( B `  ( i  -  1 ) ) ) ) )
5453simp1bi 973 . . . . . . . . . . . . 13  |-  ( B  e.  dom  S  ->  B  e.  (Word  W  \  { (/) } ) )
5521, 54syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  B  e.  (Word  W  \  { (/) } ) )
56 eldifi 3471 . . . . . . . . . . . 12  |-  ( B  e.  (Word  W  \  { (/) } )  ->  B  e. Word  W )
57 wrdf 11735 . . . . . . . . . . . 12  |-  ( B  e. Word  W  ->  B : ( 0..^ (
# `  B )
) --> W )
5855, 56, 573syl 19 . . . . . . . . . . 11  |-  ( ph  ->  B : ( 0..^ ( # `  B
) ) --> W )
59 fzossfz 11159 . . . . . . . . . . . . 13  |-  ( 0..^ ( ( # `  B
)  -  1 ) )  C_  ( 0 ... ( ( # `  B )  -  1 ) )
60 efgredlemb.l . . . . . . . . . . . . . 14  |-  L  =  ( ( ( # `  B )  -  1 )  -  1 )
6124simprd 451 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( ( # `  B
)  -  1 )  e.  NN )
62 fzo0end 11190 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  B
)  -  1 )  e.  NN  ->  (
( ( # `  B
)  -  1 )  -  1 )  e.  ( 0..^ ( (
# `  B )  -  1 ) ) )
6361, 62syl 16 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( ( ( # `  B )  -  1 )  -  1 )  e.  ( 0..^ ( ( # `  B
)  -  1 ) ) )
6460, 63syl5eqel 2522 . . . . . . . . . . . . 13  |-  ( ph  ->  L  e.  ( 0..^ ( ( # `  B
)  -  1 ) ) )
6559, 64sseldi 3348 . . . . . . . . . . . 12  |-  ( ph  ->  L  e.  ( 0 ... ( ( # `  B )  -  1 ) ) )
66 lencl 11737 . . . . . . . . . . . . . . 15  |-  ( B  e. Word  W  ->  ( # `
 B )  e. 
NN0 )
6755, 56, 663syl 19 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( # `  B
)  e.  NN0 )
6867nn0zd 10375 . . . . . . . . . . . . 13  |-  ( ph  ->  ( # `  B
)  e.  ZZ )
69 fzoval 11143 . . . . . . . . . . . . 13  |-  ( (
# `  B )  e.  ZZ  ->  ( 0..^ ( # `  B
) )  =  ( 0 ... ( (
# `  B )  -  1 ) ) )
7068, 69syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( 0..^ ( # `  B ) )  =  ( 0 ... (
( # `  B )  -  1 ) ) )
7165, 70eleqtrrd 2515 . . . . . . . . . . 11  |-  ( ph  ->  L  e.  ( 0..^ ( # `  B
) ) )
7258, 71ffvelrnd 5873 . . . . . . . . . 10  |-  ( ph  ->  ( B `  L
)  e.  W )
735, 72sseldi 3348 . . . . . . . . 9  |-  ( ph  ->  ( B `  L
)  e. Word  ( I  X.  2o ) )
74 efgredlemb.q . . . . . . . . . 10  |-  ( ph  ->  Q  e.  ( 0 ... ( # `  ( B `  L )
) ) )
75 elfzuz 11057 . . . . . . . . . 10  |-  ( Q  e.  ( 0 ... ( # `  ( B `  L )
) )  ->  Q  e.  ( ZZ>= `  0 )
)
76 eluzfz1 11066 . . . . . . . . . 10  |-  ( Q  e.  ( ZZ>= `  0
)  ->  0  e.  ( 0 ... Q
) )
7774, 75, 763syl 19 . . . . . . . . 9  |-  ( ph  ->  0  e.  ( 0 ... Q ) )
78 lencl 11737 . . . . . . . . . . . 12  |-  ( ( B `  L )  e. Word  ( I  X.  2o )  ->  ( # `  ( B `  L
) )  e.  NN0 )
7973, 78syl 16 . . . . . . . . . . 11  |-  ( ph  ->  ( # `  ( B `  L )
)  e.  NN0 )
8079, 44syl6eleq 2528 . . . . . . . . . 10  |-  ( ph  ->  ( # `  ( B `  L )
)  e.  ( ZZ>= ` 
0 ) )
81 eluzfz2 11067 . . . . . . . . . 10  |-  ( (
# `  ( B `  L ) )  e.  ( ZZ>= `  0 )  ->  ( # `  ( B `  L )
)  e.  ( 0 ... ( # `  ( B `  L )
) ) )
8280, 81syl 16 . . . . . . . . 9  |-  ( ph  ->  ( # `  ( B `  L )
)  e.  ( 0 ... ( # `  ( B `  L )
) ) )
83 ccatswrd 11775 . . . . . . . . 9  |-  ( ( ( B `  L
)  e. Word  ( I  X.  2o )  /\  (
0  e.  ( 0 ... Q )  /\  Q  e.  ( 0 ... ( # `  ( B `  L )
) )  /\  ( # `
 ( B `  L ) )  e.  ( 0 ... ( # `
 ( B `  L ) ) ) ) )  ->  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) )  =  ( ( B `  L ) substr  <. 0 ,  ( # `  ( B `  L )
) >. ) )
8473, 77, 74, 82, 83syl13anc 1187 . . . . . . . 8  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( B `  L ) substr  <. Q , 
( # `  ( B `
 L ) )
>. ) )  =  ( ( B `  L
) substr  <. 0 ,  (
# `  ( B `  L ) ) >.
) )
85 swrdid 11774 . . . . . . . . 9  |-  ( ( B `  L )  e. Word  ( I  X.  2o )  ->  ( ( B `  L ) substr  <. 0 ,  ( # `  ( B `  L
) ) >. )  =  ( B `  L ) )
8673, 85syl 16 . . . . . . . 8  |-  ( ph  ->  ( ( B `  L ) substr  <. 0 ,  ( # `  ( B `  L )
) >. )  =  ( B `  L ) )
8784, 86eqtrd 2470 . . . . . . 7  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( B `  L ) substr  <. Q , 
( # `  ( B `
 L ) )
>. ) )  =  ( B `  L ) )
8852, 87eqeq12d 2452 . . . . . 6  |-  ( ph  ->  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat 
( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) )  <->  ( A `  K )  =  ( B `  L ) ) )
892, 88mtbird 294 . . . . 5  |-  ( ph  ->  -.  ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat 
( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
90 efgredlemb.6 . . . . . . . . . . . . 13  |-  ( ph  ->  ( S `  A
)  =  ( P ( T `  ( A `  K )
) U ) )
91 efgredlemb.u . . . . . . . . . . . . . 14  |-  ( ph  ->  U  e.  ( I  X.  2o ) )
923, 7, 8, 9efgtval 15357 . . . . . . . . . . . . . 14  |-  ( ( ( A `  K
)  e.  W  /\  P  e.  ( 0 ... ( # `  ( A `  K )
) )  /\  U  e.  ( I  X.  2o ) )  ->  ( P ( T `  ( A `  K ) ) U )  =  ( ( A `  K ) splice  <. P ,  P ,  <" U
( M `  U
) "> >. )
)
9336, 38, 91, 92syl3anc 1185 . . . . . . . . . . . . 13  |-  ( ph  ->  ( P ( T `
 ( A `  K ) ) U )  =  ( ( A `  K ) splice  <. P ,  P ,  <" U ( M `
 U ) "> >. ) )
948efgmf 15347 . . . . . . . . . . . . . . . . 17  |-  M :
( I  X.  2o )
--> ( I  X.  2o )
9594ffvelrni 5871 . . . . . . . . . . . . . . . 16  |-  ( U  e.  ( I  X.  2o )  ->  ( M `
 U )  e.  ( I  X.  2o ) )
9691, 95syl 16 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( M `  U
)  e.  ( I  X.  2o ) )
9791, 96s2cld 11835 . . . . . . . . . . . . . 14  |-  ( ph  ->  <" U ( M `  U ) ">  e. Word  (
I  X.  2o ) )
98 splval 11782 . . . . . . . . . . . . . 14  |-  ( ( ( A `  K
)  e.  W  /\  ( P  e.  (
0 ... ( # `  ( A `  K )
) )  /\  P  e.  ( 0 ... ( # `
 ( A `  K ) ) )  /\  <" U ( M `  U ) ">  e. Word  (
I  X.  2o ) ) )  ->  (
( A `  K
) splice  <. P ,  P ,  <" U ( M `  U ) "> >. )  =  ( ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U ( M `  U ) "> ) concat  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) ) )
9936, 38, 38, 97, 98syl13anc 1187 . . . . . . . . . . . . 13  |-  ( ph  ->  ( ( A `  K ) splice  <. P ,  P ,  <" U
( M `  U
) "> >. )  =  ( ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U ( M `  U ) "> ) concat  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) ) )
10090, 93, 993eqtrd 2474 . . . . . . . . . . . 12  |-  ( ph  ->  ( S `  A
)  =  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> ) concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) ) )
101 efgredlemb.7 . . . . . . . . . . . . 13  |-  ( ph  ->  ( S `  B
)  =  ( Q ( T `  ( B `  L )
) V ) )
102 efgredlemb.v . . . . . . . . . . . . . 14  |-  ( ph  ->  V  e.  ( I  X.  2o ) )
1033, 7, 8, 9efgtval 15357 . . . . . . . . . . . . . 14  |-  ( ( ( B `  L
)  e.  W  /\  Q  e.  ( 0 ... ( # `  ( B `  L )
) )  /\  V  e.  ( I  X.  2o ) )  ->  ( Q ( T `  ( B `  L ) ) V )  =  ( ( B `  L ) splice  <. Q ,  Q ,  <" V
( M `  V
) "> >. )
)
10472, 74, 102, 103syl3anc 1185 . . . . . . . . . . . . 13  |-  ( ph  ->  ( Q ( T `
 ( B `  L ) ) V )  =  ( ( B `  L ) splice  <. Q ,  Q ,  <" V ( M `
 V ) "> >. ) )
10594ffvelrni 5871 . . . . . . . . . . . . . . . 16  |-  ( V  e.  ( I  X.  2o )  ->  ( M `
 V )  e.  ( I  X.  2o ) )
106102, 105syl 16 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( M `  V
)  e.  ( I  X.  2o ) )
107102, 106s2cld 11835 . . . . . . . . . . . . . 14  |-  ( ph  ->  <" V ( M `  V ) ">  e. Word  (
I  X.  2o ) )
108 splval 11782 . . . . . . . . . . . . . 14  |-  ( ( ( B `  L
)  e.  W  /\  ( Q  e.  (
0 ... ( # `  ( B `  L )
) )  /\  Q  e.  ( 0 ... ( # `
 ( B `  L ) ) )  /\  <" V ( M `  V ) ">  e. Word  (
I  X.  2o ) ) )  ->  (
( B `  L
) splice  <. Q ,  Q ,  <" V ( M `  V ) "> >. )  =  ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V ( M `  V ) "> ) concat  (
( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) )
10972, 74, 74, 107, 108syl13anc 1187 . . . . . . . . . . . . 13  |-  ( ph  ->  ( ( B `  L ) splice  <. Q ,  Q ,  <" V
( M `  V
) "> >. )  =  ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V ( M `  V ) "> ) concat  (
( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) )
110101, 104, 1093eqtrd 2474 . . . . . . . . . . . 12  |-  ( ph  ->  ( S `  B
)  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> ) concat  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) )
11122, 100, 1103eqtr3d 2478 . . . . . . . . . . 11  |-  ( ph  ->  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
112111adantr 453 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
113 swrdcl 11768 . . . . . . . . . . . . . 14  |-  ( ( A `  K )  e. Word  ( I  X.  2o )  ->  ( ( A `  K ) substr  <. 0 ,  P >. )  e. Word  ( I  X.  2o ) )
11437, 113syl 16 . . . . . . . . . . . . 13  |-  ( ph  ->  ( ( A `  K ) substr  <. 0 ,  P >. )  e. Word  (
I  X.  2o ) )
115114adantr 453 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  e. Word  ( I  X.  2o ) )
11697adantr 453 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  <" U
( M `  U
) ">  e. Word  ( I  X.  2o ) )
117 ccatcl 11745 . . . . . . . . . . . 12  |-  ( ( ( ( A `  K ) substr  <. 0 ,  P >. )  e. Word  (
I  X.  2o )  /\  <" U ( M `  U ) ">  e. Word  (
I  X.  2o ) )  ->  ( (
( A `  K
) substr  <. 0 ,  P >. ) concat  <" U ( M `  U ) "> )  e. Word 
( I  X.  2o ) )
118115, 116, 117syl2anc 644 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )  e. Word  ( I  X.  2o ) )
119 swrdcl 11768 . . . . . . . . . . . . 13  |-  ( ( A `  K )  e. Word  ( I  X.  2o )  ->  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K
) ) >. )  e. Word  ( I  X.  2o ) )
12037, 119syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. )  e. Word  ( I  X.  2o ) )
121120adantr 453 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  e. Word  ( I  X.  2o ) )
122 swrdcl 11768 . . . . . . . . . . . . . 14  |-  ( ( B `  L )  e. Word  ( I  X.  2o )  ->  ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  ( I  X.  2o ) )
12373, 122syl 16 . . . . . . . . . . . . 13  |-  ( ph  ->  ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o ) )
124123adantr 453 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  (
( B `  L
) substr  <. 0 ,  Q >. )  e. Word  ( I  X.  2o ) )
125107adantr 453 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  <" V
( M `  V
) ">  e. Word  ( I  X.  2o ) )
126 ccatcl 11745 . . . . . . . . . . . 12  |-  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o )  /\  <" V ( M `  V ) ">  e. Word  (
I  X.  2o ) )  ->  ( (
( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V ( M `  V ) "> )  e. Word 
( I  X.  2o ) )
127124, 125, 126syl2anc 644 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )  e. Word  ( I  X.  2o ) )
128 swrdcl 11768 . . . . . . . . . . . . 13  |-  ( ( B `  L )  e. Word  ( I  X.  2o )  ->  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L
) ) >. )  e. Word  ( I  X.  2o ) )
12973, 128syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( ( B `  L ) substr  <. Q , 
( # `  ( B `
 L ) )
>. )  e. Word  ( I  X.  2o ) )
130129adantr 453 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
)  e. Word  ( I  X.  2o ) )
131 swrd0len 11771 . . . . . . . . . . . . . . . 16  |-  ( ( ( A `  K
)  e. Word  ( I  X.  2o )  /\  P  e.  ( 0 ... ( # `
 ( A `  K ) ) ) )  ->  ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  P )
13237, 38, 131syl2anc 644 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  P )
133 swrd0len 11771 . . . . . . . . . . . . . . . 16  |-  ( ( ( B `  L
)  e. Word  ( I  X.  2o )  /\  Q  e.  ( 0 ... ( # `
 ( B `  L ) ) ) )  ->  ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  =  Q )
13473, 74, 133syl2anc 644 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  =  Q )
135132, 134eqeq12d 2452 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  (
# `  ( ( B `  L ) substr  <.
0 ,  Q >. ) )  <->  P  =  Q
) )
136135biimpar 473 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( A `
 K ) substr  <. 0 ,  P >. ) )  =  ( # `  ( ( B `  L ) substr  <. 0 ,  Q >. ) ) )
137 s2len 11853 . . . . . . . . . . . . . . 15  |-  ( # `  <" U ( M `  U ) "> )  =  2
138 s2len 11853 . . . . . . . . . . . . . . 15  |-  ( # `  <" V ( M `  V ) "> )  =  2
139137, 138eqtr4i 2461 . . . . . . . . . . . . . 14  |-  ( # `  <" U ( M `  U ) "> )  =  ( # `  <" V ( M `  V ) "> )
140139a1i 11 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 <" U ( M `  U ) "> )  =  ( # `  <" V ( M `  V ) "> ) )
141136, 140oveq12d 6101 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  (
( # `  ( ( A `  K ) substr  <. 0 ,  P >. ) )  +  ( # `  <" U ( M `  U ) "> ) )  =  ( ( # `  ( ( B `  L ) substr  <. 0 ,  Q >. ) )  +  ( # `  <" V ( M `  V ) "> ) ) )
142 ccatlen 11746 . . . . . . . . . . . . 13  |-  ( ( ( ( A `  K ) substr  <. 0 ,  P >. )  e. Word  (
I  X.  2o )  /\  <" U ( M `  U ) ">  e. Word  (
I  X.  2o ) )  ->  ( # `  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )
)  =  ( (
# `  ( ( A `  K ) substr  <.
0 ,  P >. ) )  +  ( # `  <" U ( M `  U ) "> ) ) )
143115, 116, 142syl2anc 644 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) )  =  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  +  (
# `  <" U
( M `  U
) "> )
) )
144 ccatlen 11746 . . . . . . . . . . . . 13  |-  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o )  /\  <" V ( M `  V ) ">  e. Word  (
I  X.  2o ) )  ->  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )
)  =  ( (
# `  ( ( B `  L ) substr  <.
0 ,  Q >. ) )  +  ( # `  <" V ( M `  V ) "> ) ) )
145124, 125, 144syl2anc 644 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) )  =  ( ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  +  (
# `  <" V
( M `  V
) "> )
) )
146141, 143, 1453eqtr4d 2480 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) )  =  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )
) )
147 ccatopth 11778 . . . . . . . . . . 11  |-  ( ( ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> )  e. Word  (
I  X.  2o )  /\  ( ( A `
 K ) substr  <. P ,  ( # `  ( A `  K )
) >. )  e. Word  (
I  X.  2o ) )  /\  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )  e. Word  ( I  X.  2o )  /\  ( ( B `
 L ) substr  <. Q ,  ( # `  ( B `  L )
) >. )  e. Word  (
I  X.  2o ) )  /\  ( # `  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) )  =  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )
) )  ->  (
( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) )  <->  ( (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> )  /\  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  =  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L
) ) >. )
) ) )
148118, 121, 127, 130, 146, 147syl221anc 1196 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) )  <->  ( (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> )  /\  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  =  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L
) ) >. )
) ) )
149112, 148mpbid 203 . . . . . . . . 9  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )  /\  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. )  =  (
( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) )
150149simpld 447 . . . . . . . 8  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) )
151 ccatopth 11778 . . . . . . . . 9  |-  ( ( ( ( ( A `
 K ) substr  <. 0 ,  P >. )  e. Word  ( I  X.  2o )  /\  <" U
( M `  U
) ">  e. Word  ( I  X.  2o ) )  /\  ( ( ( B `  L
) substr  <. 0 ,  Q >. )  e. Word  ( I  X.  2o )  /\  <" V ( M `
 V ) ">  e. Word  ( I  X.  2o ) )  /\  ( # `  ( ( A `  K ) substr  <. 0 ,  P >. ) )  =  ( # `  ( ( B `  L ) substr  <. 0 ,  Q >. ) ) )  ->  ( ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U ( M `  U ) "> )  =  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> )  <->  ( (
( A `  K
) substr  <. 0 ,  P >. )  =  ( ( B `  L ) substr  <. 0 ,  Q >. )  /\  <" U ( M `  U ) ">  =  <" V ( M `  V ) "> ) ) )
152115, 116, 124, 125, 136, 151syl221anc 1196 . . . . . . . 8  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )  <->  ( ( ( A `  K ) substr  <. 0 ,  P >. )  =  ( ( B `  L
) substr  <. 0 ,  Q >. )  /\  <" U
( M `  U
) ">  =  <" V ( M `
 V ) "> ) ) )
153150, 152mpbid 203 . . . . . . 7  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. )  =  ( ( B `  L
) substr  <. 0 ,  Q >. )  /\  <" U
( M `  U
) ">  =  <" V ( M `
 V ) "> ) )
154153simpld 447 . . . . . 6  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  =  ( ( B `  L ) substr  <. 0 ,  Q >. ) )
155149simprd 451 . . . . . 6  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  =  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L
) ) >. )
)
156154, 155oveq12d 6101 . . . . 5  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( B `  L ) substr  <. Q , 
( # `  ( B `
 L ) )
>. ) ) )
15789, 156mtand 642 . . . 4  |-  ( ph  ->  -.  P  =  Q )
158157pm2.21d 101 . . 3  |-  ( ph  ->  ( P  =  Q  ->  ( A ` 
0 )  =  ( B `  0 ) ) )
159 uzp1 10521 . . . 4  |-  ( P  e.  ( ZZ>= `  ( Q  +  1 ) )  ->  ( P  =  ( Q  + 
1 )  \/  P  e.  ( ZZ>= `  ( ( Q  +  1 )  +  1 ) ) ) )
16091s1cld 11758 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  <" U ">  e. Word  ( I  X.  2o ) )
161 ccatcl 11745 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( A `  K ) substr  <. 0 ,  P >. )  e. Word  (
I  X.  2o )  /\  <" U ">  e. Word  ( I  X.  2o ) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  e. Word  (
I  X.  2o ) )
162114, 160, 161syl2anc 644 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> )  e. Word  ( I  X.  2o ) )
16396s1cld 11758 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  <" ( M `
 U ) ">  e. Word  ( I  X.  2o ) )
164 ccatass 11752 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> )  e. Word  ( I  X.  2o )  /\  <" ( M `  U
) ">  e. Word  ( I  X.  2o )  /\  ( ( A `
 K ) substr  <. P ,  ( # `  ( A `  K )
) >. )  e. Word  (
I  X.  2o ) )  ->  ( (
( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `
 U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  ( <" ( M `  U ) "> concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) ) ) )
165162, 163, 120, 164syl3anc 1185 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( ( ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `  U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  ( <" ( M `  U ) "> concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) ) ) )
166 ccatass 11752 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( A `  K ) substr  <. 0 ,  P >. )  e. Word  (
I  X.  2o )  /\  <" U ">  e. Word  ( I  X.  2o )  /\  <" ( M `  U ) ">  e. Word  ( I  X.  2o ) )  -> 
( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `
 U ) "> )  =  ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  ( <" U "> concat  <" ( M `  U ) "> ) ) )
167114, 160, 163, 166syl3anc 1185 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `
 U ) "> )  =  ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  ( <" U "> concat  <" ( M `  U ) "> ) ) )
168 df-s2 11814 . . . . . . . . . . . . . . . . . . 19  |-  <" U
( M `  U
) ">  =  ( <" U "> concat 
<" ( M `  U ) "> )
169168oveq2i 6094 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U ( M `  U ) "> )  =  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat 
( <" U "> concat 
<" ( M `  U ) "> ) )
170167, 169syl6eqr 2488 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `
 U ) "> )  =  ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )
)
171170oveq1d 6098 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `  U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) ) )
172102s1cld 11758 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  <" V ">  e. Word  ( I  X.  2o ) )
173106s1cld 11758 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  <" ( M `
 V ) ">  e. Word  ( I  X.  2o ) )
174 ccatass 11752 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o )  /\  <" V ">  e. Word  ( I  X.  2o )  /\  <" ( M `  V ) ">  e. Word  ( I  X.  2o ) )  -> 
( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( <" V "> concat  <" ( M `  V ) "> ) ) )
175123, 172, 173, 174syl3anc 1185 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( <" V "> concat  <" ( M `  V ) "> ) ) )
176 df-s2 11814 . . . . . . . . . . . . . . . . . . 19  |-  <" V
( M `  V
) ">  =  ( <" V "> concat 
<" ( M `  V ) "> )
177176oveq2i 6094 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V ( M `  V ) "> )  =  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( <" V "> concat 
<" ( M `  V ) "> ) )
178175, 177syl6eqr 2488 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )
)
179178oveq1d 6098 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) )  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
180111, 171, 1793eqtr4d 2480 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( ( ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `  U ) "> ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
181165, 180eqtr3d 2472 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  ( <" ( M `  U ) "> concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) ) )  =  ( ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
182181adantr 453 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  ( <" ( M `  U ) "> concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) ) )  =  ( ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
183162adantr 453 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  e. Word  (
I  X.  2o ) )
184163adantr 453 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" ( M `  U ) ">  e. Word  ( I  X.  2o ) )
185120adantr 453 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  e. Word  ( I  X.  2o ) )
186 ccatcl 11745 . . . . . . . . . . . . . . 15  |-  ( (
<" ( M `  U ) ">  e. Word  ( I  X.  2o )  /\  ( ( A `
 K ) substr  <. P ,  ( # `  ( A `  K )
) >. )  e. Word  (
I  X.  2o ) )  ->  ( <" ( M `  U
) "> concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K
) ) >. )
)  e. Word  ( I  X.  2o ) )
187184, 185, 186syl2anc 644 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  e. Word  (
I  X.  2o ) )
188 ccatcl 11745 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o )  /\  <" V ">  e. Word  ( I  X.  2o ) )  ->  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  (
I  X.  2o ) )
189123, 172, 188syl2anc 644 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  ( I  X.  2o ) )
190189adantr 453 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  (
I  X.  2o ) )
191173adantr 453 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" ( M `  V ) ">  e. Word  ( I  X.  2o ) )
192 ccatcl 11745 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  ( I  X.  2o )  /\  <" ( M `  V
) ">  e. Word  ( I  X.  2o ) )  ->  ( (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> )  e. Word  (
I  X.  2o ) )
193190, 191, 192syl2anc 644 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  e. Word  (
I  X.  2o ) )
194129adantr 453 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
)  e. Word  ( I  X.  2o ) )
195 ccatlen 11746 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o )  /\  <" V ">  e. Word  ( I  X.  2o ) )  ->  ( # `
 ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  =  ( ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  +  (
# `  <" V "> ) ) )
196123, 172, 195syl2anc 644 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  =  ( ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  +  (
# `  <" V "> ) ) )
197 s1len 11760 . . . . . . . . . . . . . . . . . . . . 21  |-  ( # `  <" V "> )  =  1
198197a1i 11 . . . . . . . . . . . . . . . . . . . 20  |-  ( ph  ->  ( # `  <" V "> )  =  1 )
199134, 198oveq12d 6101 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  ( ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  +  (
# `  <" V "> ) )  =  ( Q  +  1 ) )
200196, 199eqtrd 2470 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  =  ( Q  +  1 ) )
201132, 200eqeq12d 2452 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  (
# `  ( (
( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  <->  P  =  ( Q  +  1
) ) )
202201biimpar 473 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 ( ( A `
 K ) substr  <. 0 ,  P >. ) )  =  ( # `  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) ) )
203 s1len 11760 . . . . . . . . . . . . . . . . . 18  |-  ( # `  <" U "> )  =  1
204 s1len 11760 . . . . . . . . . . . . . . . . . 18  |-  ( # `  <" ( M `
 V ) "> )  =  1
205203, 204eqtr4i 2461 . . . . . . . . . . . . . . . . 17  |-  ( # `  <" U "> )  =  ( # `
 <" ( M `
 V ) "> )
206205a1i 11 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 <" U "> )  =  ( # `
 <" ( M `
 V ) "> ) )
207202, 206oveq12d 6101 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( # `  ( ( A `  K ) substr  <. 0 ,  P >. ) )  +  ( # `  <" U "> ) )  =  ( ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  +  ( # `  <" ( M `  V
) "> )
) )
208114adantr 453 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  e. Word  ( I  X.  2o ) )
209160adantr 453 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" U ">  e. Word  ( I  X.  2o ) )
210 ccatlen 11746 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( A `  K ) substr  <. 0 ,  P >. )  e. Word  (
I  X.  2o )  /\  <" U ">  e. Word  ( I  X.  2o ) )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) )  =  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  +  (
# `  <" U "> ) ) )
211208, 209, 210syl2anc 644 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) )  =  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  +  (
# `  <" U "> ) ) )
212 ccatlen 11746 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  ( I  X.  2o )  /\  <" ( M `  V
) ">  e. Word  ( I  X.  2o ) )  ->  ( # `  (
( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> ) )  =  ( ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  +  ( # `  <" ( M `  V
) "> )
) )
213190, 191, 212syl2anc 644 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) )  =  ( ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  +  ( # `  <" ( M `  V
) "> )
) )
214207, 211, 2133eqtr4d 2480 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) )  =  (
# `  ( (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) ) )
215 ccatopth 11778 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  e. Word  ( I  X.  2o )  /\  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  e. Word  (
I  X.  2o ) )  /\  ( ( ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  e. Word  (
I  X.  2o )  /\  ( ( B `
 L ) substr  <. Q ,  ( # `  ( B `  L )
) >. )  e. Word  (
I  X.  2o ) )  /\  ( # `  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> ) )  =  (
# `  ( (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) ) )  ->  ( ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  ( <" ( M `  U
) "> concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K
) ) >. )
) )  =  ( ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) )  <->  ( (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  =  ( ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  /\  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) ) )
216183, 187, 193, 194, 214, 215syl221anc 1196 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  ( <" ( M `  U ) "> concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) ) )  =  ( ( ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) )  <->  ( (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  =  ( ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  /\  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) ) )
217182, 216mpbid 203 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> )  =  ( (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> )  /\  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) )
218217simpld 447 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  =  ( ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> ) )
219 ccatopth 11778 . . . . . . . . . . . 12  |-  ( ( ( ( ( A `
 K ) substr  <. 0 ,  P >. )  e. Word  ( I  X.  2o )  /\  <" U ">  e. Word  ( I  X.  2o ) )  /\  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  ( I  X.  2o )  /\  <" ( M `  V
) ">  e. Word  ( I  X.  2o ) )  /\  ( # `  ( ( A `  K ) substr  <. 0 ,  P >. ) )  =  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) ) )  ->  ( ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U "> )  =  (
( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  <->  ( (
( A `  K
) substr  <. 0 ,  P >. )  =  ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> )  /\  <" U ">  =  <" ( M `  V ) "> ) ) )
220208, 209, 190, 191, 202, 219syl221anc 1196 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> )  =  ( (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> )  <->  ( (
( A `  K
) substr  <. 0 ,  P >. )  =  ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> )  /\  <" U ">  =  <" ( M `  V ) "> ) ) )
221218, 220mpbid 203 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  /\  <" U ">  =  <" ( M `  V ) "> ) )
222221simpld 447 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  =  ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) )
223222oveq1d 6098 . . . . . . . 8  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) ) )
224123adantr 453 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( B `  L
) substr  <. 0 ,  Q >. )  e. Word  ( I  X.  2o ) )
225172adantr 453 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" V ">  e. Word  ( I  X.  2o ) )
226 ccatass 11752 . . . . . . . . 9  |-  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o )  /\  <" V ">  e. Word  ( I  X.  2o )  /\  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  e. Word  ( I  X.  2o ) )  -> 
( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( <" V "> concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K
) ) >. )
) ) )
227224, 225, 185, 226syl3anc 1185 . . . . . . . 8  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  ( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( <" V "> concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K
) ) >. )
) ) )
228221simprd 451 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" U ">  =  <" ( M `  V ) "> )
229 s111 11764 . . . . . . . . . . . . . . . . 17  |-  ( ( U  e.  ( I  X.  2o )  /\  ( M `  V )  e.  ( I  X.  2o ) )  ->  ( <" U ">  =  <" ( M `
 V ) ">  <->  U  =  ( M `  V )
) )
23091, 106, 229syl2anc 644 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( <" U ">  =  <" ( M `  V ) ">  <->  U  =  ( M `  V )
) )
231230adantr 453 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" U ">  =  <" ( M `
 V ) ">  <->  U  =  ( M `  V )
) )
232228, 231mpbid 203 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  U  =  ( M `  V ) )
233232fveq2d 5734 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( M `  U )  =  ( M `  ( M `  V ) ) )
2348efgmnvl 15348 . . . . . . . . . . . . . . 15  |-  ( V  e.  ( I  X.  2o )  ->  ( M `
 ( M `  V ) )  =  V )
235102, 234syl 16 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( M `  ( M `  V )
)  =  V )
236235adantr 453 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( M `  ( M `  V ) )  =  V )
237233, 236eqtrd 2470 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( M `  U )  =  V )
238237s1eqd 11756 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" ( M `  U ) ">  =  <" V "> )
239238oveq1d 6098 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  (
<" V "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) ) )
240217simprd 451 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) )
241239, 240eqtr3d 2472 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" V "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) )
242241oveq2d 6099 . . . . . . . 8  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( <" V "> concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K
) ) >. )
) )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L )
) >. ) ) )
243223, 227, 2423eqtrd 2474 . . . . . . 7  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  ( ( A `  K ) substr  <. P ,  ( # `  ( A `  K )
) >. ) )  =  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( B `  L ) substr  <. Q , 
( # `  ( B `
 L ) )
>. ) ) )
24489, 243mtand 642 . . . . . 6  |-  ( ph  ->  -.  P  =  ( Q  +  1 ) )
245244pm2.21d 101 . . . . 5  |-  ( ph  ->  ( P  =  ( Q  +  1 )  ->  ( A ` 
0 )  =  ( B `  0 ) ) )
246 elfzelz 11061 . . . . . . . . . . . 12  |-  ( Q  e.  ( 0 ... ( # `  ( B `  L )
) )  ->  Q  e.  ZZ )
24774, 246syl 16 . . . . . . . . . . 11  |-  ( ph  ->  Q  e.  ZZ )
248247zcnd 10378 . . . . . . . . . 10  |-  ( ph  ->  Q  e.  CC )
249 ax-1cn 9050 . . . . . . . . . . 11  |-  1  e.  CC
250249a1i 11 . . . . . . . . . 10  |-  ( ph  ->  1  e.  CC )
251248, 250, 250addassd 9112 . . . . . . . . 9  |-  ( ph  ->  ( ( Q  + 
1 )  +  1 )  =  ( Q  +  ( 1  +  1 ) ) )
252 df-2 10060 . . . . . . . . . 10  |-  2  =  ( 1  +  1 )
253252oveq2i 6094 . . . . . . . . 9  |-  ( Q  +  2 )  =  ( Q  +  ( 1  +  1 ) )
254251, 253syl6eqr 2488 . . . . . . . 8  |-  ( ph  ->  ( ( Q  + 
1 )  +  1 )  =  ( Q  +  2 ) )
255254fveq2d 5734 . . . . . . 7  |-  ( ph  ->  ( ZZ>= `  ( ( Q  +  1 )  +  1 ) )  =  ( ZZ>= `  ( Q  +  2 ) ) )
256255eleq2d 2505 . . . . . 6  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( ( Q  +  1 )  +  1 ) )  <->  P  e.  ( ZZ>= `  ( Q  +  2 ) ) ) )
2573, 7, 8, 9, 10, 11efgsfo 15373 . . . . . . . . . 10  |-  S : dom  S -onto-> W
258 swrdcl 11768 . . . . . . . . . . . . 13  |-  ( ( A `  K )  e. Word  ( I  X.  2o )  ->  ( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K
) ) >. )  e. Word  ( I  X.  2o ) )
25937, 258syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. )  e. Word  (
I  X.  2o ) )
260 ccatcl 11745 . . . . . . . . . . . 12  |-  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. )  e. Word  (
I  X.  2o )  /\  ( ( A `
 K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. )  e. Word  (
I  X.  2o ) )  ->  ( (
( B `  L
) substr  <. 0 ,  Q >. ) concat  ( ( A `
 K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  e. Word 
( I  X.  2o ) )
261123, 259, 260syl2anc 644 . . . . . . . . . . 11  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  e. Word 
( I  X.  2o ) )
2623efgrcl 15349 . . . . . . . . . . . . 13  |-  ( ( A `  K )  e.  W  ->  (
I  e.  _V  /\  W  = Word  ( I  X.  2o ) ) )
26336, 262syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( I  e.  _V  /\  W  = Word  ( I  X.  2o ) ) )
264263simprd 451 . . . . . . . . . . 11  |-  ( ph  ->  W  = Word  ( I  X.  2o ) )
265261, 264eleqtrrd 2515 . . . . . . . . . 10  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  e.  W )
266 foelrn 5890 . . . . . . . . . 10  |-  ( ( S : dom  S -onto-> W  /\  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  e.  W )  ->  E. c  e.  dom  S ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  ( ( A `
 K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) )
267257, 265, 266sylancr 646 . . . . . . . . 9  |-  ( ph  ->  E. c  e.  dom  S ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) )
268267adantr 453 . . . . . . . 8  |-  ( (
ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  ->  E. c  e.  dom  S ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  ( ( A `
 K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) )
26920ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  A. a  e.  dom  S A. b  e.  dom  S ( ( # `  ( S `  a )
)  <  ( # `  ( S `  A )
)  ->  ( ( S `  a )  =  ( S `  b )  ->  (
a `  0 )  =  ( b ` 
0 ) ) ) )
2706ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  A  e.  dom  S )
27121ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  B  e.  dom  S )
27222ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  -> 
( S `  A
)  =  ( S `
 B ) )
27323ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  -.  ( A `  0
)  =  ( B `
 0 ) )
27438ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  P  e.  ( 0 ... ( # `  ( A `  K )
) ) )
27574ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  Q  e.  ( 0 ... ( # `  ( B `  L )
) ) )
27691ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  U  e.  ( I  X.  2o ) )
277102ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  V  e.  ( I  X.  2o ) )
27890ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  -> 
( S `  A
)  =  ( P ( T `  ( A `  K )
) U ) )
279101ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  -> 
( S `  B
)  =  ( Q ( T `  ( B `  L )
) V ) )
2802ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  -.  ( A `  K
)  =  ( B `
 L ) )
281 simplr 733 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  ->  P  e.  ( ZZ>= `  ( Q  +  2
) ) )
282 simprl 734 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  -> 
c  e.  dom  S
)
283 simprr 735 . . . . . . . . . 10  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  -> 
( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) )
284283eqcomd 2443 . . . . . . . . 9  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  -> 
( S `  c
)  =  ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  ( ( A `
 K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) ) )
2853, 7, 8, 9, 10, 11, 269, 270, 271, 272, 273, 19, 60, 274, 275, 276, 277, 278, 279, 280, 281, 282, 284efgredlemd 15378 . . . . . . . 8  |-  ( ( ( ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  /\  ( c  e.  dom  S  /\  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) ) )  -> 
( A `  0
)  =  ( B `
 0 ) )
286268, 285rexlimddv 2836 . . . . . . 7  |-  ( (
ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  ->  ( A `  0 )  =  ( B `  0
) )
287286ex 425 . . . . . 6  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( Q  + 
2 ) )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
288256, 287sylbid 208 . . . . 5  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( ( Q  +  1 )  +  1 ) )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
289245, 288jaod 371 . . . 4  |-  ( ph  ->  ( ( P  =  ( Q  +  1 )  \/  P  e.  ( ZZ>= `  ( ( Q  +  1 )  +  1 ) ) )  ->  ( A `  0 )  =  ( B `  0
) ) )
290159, 289syl5 31 . . 3  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( Q  + 
1 ) )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
291158, 290jaod 371 . 2  |-  ( ph  ->  ( ( P  =  Q  \/  P  e.  ( ZZ>= `  ( Q  +  1 ) ) )  ->  ( A `  0 )  =  ( B `  0
) ) )
2921, 291syl5 31 1  |-  ( ph  ->  ( P  e.  (
ZZ>= `  Q )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 178    \/ wo 359    /\ wa 360    = wceq 1653    e. wcel 1726   A.wral 2707   E.wrex 2708   {crab 2711   _Vcvv 2958    \ cdif 3319   (/)c0 3630   {csn 3816   <.cop 3819   <.cotp 3820   U_ciun 4095   class class class wbr 4214    e. cmpt 4268    _I cid 4495    X. cxp 4878   dom cdm 4880   ran crn 4881   -->wf 5452   -onto->wfo 5454   ` cfv 5456  (class class class)co 6083    e. cmpt2 6085   1oc1o 6719   2oc2o 6720   CCcc 8990   0cc0 8992   1c1 8993    + caddc 8995    < clt 9122    - cmin 9293   NNcn 10002   2c2 10051   NN0cn0 10223   ZZcz 10284   ZZ>=cuz 10490   ...cfz 11045  ..^cfzo 11137   #chash 11620  Word cword 11719   concat cconcat 11720   <"cs1 11721   substr csubstr 11722   splice csplice 11723   <"cs2 11807   ~FG cefg 15340
This theorem is referenced by:  efgredlemb  15380
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-rep 4322  ax-sep 4332  ax-nul 4340  ax-pow 4379  ax-pr 4405  ax-un 4703  ax-cnex 9048  ax-resscn 9049  ax-1cn 9050  ax-icn 9051  ax-addcl 9052  ax-addrcl 9053  ax-mulcl 9054  ax-mulrcl 9055  ax-mulcom 9056  ax-addass 9057  ax-mulass 9058  ax-distr 9059  ax-i2m1 9060  ax-1ne0 9061  ax-1rid 9062  ax-rnegex 9063  ax-rrecex 9064  ax-cnre 9065  ax-pre-lttri 9066  ax-pre-lttrn 9067  ax-pre-ltadd 9068  ax-pre-mulgt0 9069
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-pss 3338  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-tp 3824  df-op 3825  df-ot 3826  df-uni 4018  df-int 4053  df-iun 4097  df-br 4215  df-opab 4269  df-mpt 4270  df-tr 4305  df-eprel 4496  df-id 4500  df-po 4505  df-so 4506  df-fr 4543  df-we 4545  df-ord 4586  df-on 4587  df-lim 4588  df-suc 4589  df-om 4848  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-iota 5420  df-fun 5458  df-fn 5459  df-f 5460  df-f1 5461  df-fo 5462  df-f1o 5463  df-fv 5464  df-ov 6086  df-oprab 6087  df-mpt2 6088  df-1st 6351  df-2nd 6352  df-riota 6551  df-recs 6635  df-rdg 6670  df-1o 6726  df-2o 6727  df-oadd 6730  df-er 6907  df-map 7022  df-pm 7023  df-en 7112  df-dom 7113  df-sdom 7114  df-fin 7115  df-card 7828  df-pnf 9124  df-mnf 9125  df-xr 9126  df-ltxr 9127  df-le 9128  df-sub 9295  df-neg 9296  df-nn 10003  df-2 10060  df-n0 10224  df-z 10285  df-uz 10491  df-rp 10615  df-fz 11046  df-fzo 11138  df-hash 11621  df-word 11725  df-concat 11726  df-s1 11727  df-substr 11728  df-splice 11729  df-s2 11814
  Copyright terms: Public domain W3C validator