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

Theorem efgredlemc 16222
Description: The reduced word that forms the base of the sequence in efgsval 16208 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 10882 . 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 5737 . . . . . . . . . . 11  |-  (  _I 
` Word  ( I  X.  2o ) )  C_ Word  ( I  X.  2o )
53, 4eqsstri 3374 . . . . . . . . . 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 16207 . . . . . . . . . . . . . 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 996 . . . . . . . . . . . . 13  |-  ( A  e.  dom  S  ->  A  e.  (Word  W  \  { (/) } ) )
146, 13syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  A  e.  (Word  W  \  { (/) } ) )
15 eldifi 3466 . . . . . . . . . . . 12  |-  ( A  e.  (Word  W  \  { (/) } )  ->  A  e. Word  W )
16 wrdf 12224 . . . . . . . . . . . 12  |-  ( A  e. Word  W  ->  A : ( 0..^ (
# `  A )
) --> W )
1714, 15, 163syl 20 . . . . . . . . . . 11  |-  ( ph  ->  A : ( 0..^ ( # `  A
) ) --> W )
18 fzossfz 11554 . . . . . . . . . . . . 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 16217 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( # `  A )  -  1 )  e.  NN  /\  ( ( # `  B
)  -  1 )  e.  NN ) )
2524simpld 456 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( ( # `  A
)  -  1 )  e.  NN )
26 fzo0end 11603 . . . . . . . . . . . . . . 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 2517 . . . . . . . . . . . . 13  |-  ( ph  ->  K  e.  ( 0..^ ( ( # `  A
)  -  1 ) ) )
2918, 28sseldi 3342 . . . . . . . . . . . 12  |-  ( ph  ->  K  e.  ( 0 ... ( ( # `  A )  -  1 ) ) )
30 lencl 12233 . . . . . . . . . . . . . . 15  |-  ( A  e. Word  W  ->  ( # `
 A )  e. 
NN0 )
3114, 15, 303syl 20 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( # `  A
)  e.  NN0 )
3231nn0zd 10733 . . . . . . . . . . . . 13  |-  ( ph  ->  ( # `  A
)  e.  ZZ )
33 fzoval 11538 . . . . . . . . . . . . 13  |-  ( (
# `  A )  e.  ZZ  ->  ( 0..^ ( # `  A
) )  =  ( 0 ... ( (
# `  A )  -  1 ) ) )
3432, 33syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( 0..^ ( # `  A ) )  =  ( 0 ... (
( # `  A )  -  1 ) ) )
3529, 34eleqtrrd 2510 . . . . . . . . . . 11  |-  ( ph  ->  K  e.  ( 0..^ ( # `  A
) ) )
3617, 35ffvelrnd 5832 . . . . . . . . . 10  |-  ( ph  ->  ( A `  K
)  e.  W )
375, 36sseldi 3342 . . . . . . . . 9  |-  ( ph  ->  ( A `  K
)  e. Word  ( I  X.  2o ) )
38 efgredlemb.p . . . . . . . . . 10  |-  ( ph  ->  P  e.  ( 0 ... ( # `  ( A `  K )
) ) )
39 elfzuz 11436 . . . . . . . . . 10  |-  ( P  e.  ( 0 ... ( # `  ( A `  K )
) )  ->  P  e.  ( ZZ>= `  0 )
)
40 eluzfz1 11445 . . . . . . . . . 10  |-  ( P  e.  ( ZZ>= `  0
)  ->  0  e.  ( 0 ... P
) )
4138, 39, 403syl 20 . . . . . . . . 9  |-  ( ph  ->  0  e.  ( 0 ... P ) )
42 lencl 12233 . . . . . . . . . . . 12  |-  ( ( A `  K )  e. Word  ( I  X.  2o )  ->  ( # `  ( A `  K
) )  e.  NN0 )
4337, 42syl 16 . . . . . . . . . . 11  |-  ( ph  ->  ( # `  ( A `  K )
)  e.  NN0 )
44 nn0uz 10883 . . . . . . . . . . 11  |-  NN0  =  ( ZZ>= `  0 )
4543, 44syl6eleq 2523 . . . . . . . . . 10  |-  ( ph  ->  ( # `  ( A `  K )
)  e.  ( ZZ>= ` 
0 ) )
46 eluzfz2 11446 . . . . . . . . . 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 12334 . . . . . . . . 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 1213 . . . . . . . 8  |-  ( ph  ->  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat 
( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( ( A `  K
) substr  <. 0 ,  (
# `  ( A `  K ) ) >.
) )
50 swrdid 12305 . . . . . . . . 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 2465 . . . . . . 7  |-  ( ph  ->  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat 
( ( A `  K ) substr  <. P , 
( # `  ( A `
 K ) )
>. ) )  =  ( A `  K ) )
533, 7, 8, 9, 10, 11efgsdm 16207 . . . . . . . . . . . . . 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 996 . . . . . . . . . . . . 13  |-  ( B  e.  dom  S  ->  B  e.  (Word  W  \  { (/) } ) )
5521, 54syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  B  e.  (Word  W  \  { (/) } ) )
56 eldifi 3466 . . . . . . . . . . . 12  |-  ( B  e.  (Word  W  \  { (/) } )  ->  B  e. Word  W )
57 wrdf 12224 . . . . . . . . . . . 12  |-  ( B  e. Word  W  ->  B : ( 0..^ (
# `  B )
) --> W )
5855, 56, 573syl 20 . . . . . . . . . . 11  |-  ( ph  ->  B : ( 0..^ ( # `  B
) ) --> W )
59 fzossfz 11554 . . . . . . . . . . . . 13  |-  ( 0..^ ( ( # `  B
)  -  1 ) )  C_  ( 0 ... ( ( # `  B )  -  1 ) )
60 efgredlemb.l . . . . . . . . . . . . . 14  |-  L  =  ( ( ( # `  B )  -  1 )  -  1 )
6124simprd 460 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( ( # `  B
)  -  1 )  e.  NN )
62 fzo0end 11603 . . . . . . . . . . . . . . 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 2517 . . . . . . . . . . . . 13  |-  ( ph  ->  L  e.  ( 0..^ ( ( # `  B
)  -  1 ) ) )
6559, 64sseldi 3342 . . . . . . . . . . . 12  |-  ( ph  ->  L  e.  ( 0 ... ( ( # `  B )  -  1 ) ) )
66 lencl 12233 . . . . . . . . . . . . . . 15  |-  ( B  e. Word  W  ->  ( # `
 B )  e. 
NN0 )
6755, 56, 663syl 20 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( # `  B
)  e.  NN0 )
6867nn0zd 10733 . . . . . . . . . . . . 13  |-  ( ph  ->  ( # `  B
)  e.  ZZ )
69 fzoval 11538 . . . . . . . . . . . . 13  |-  ( (
# `  B )  e.  ZZ  ->  ( 0..^ ( # `  B
) )  =  ( 0 ... ( (
# `  B )  -  1 ) ) )
7068, 69syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  ( 0..^ ( # `  B ) )  =  ( 0 ... (
( # `  B )  -  1 ) ) )
7165, 70eleqtrrd 2510 . . . . . . . . . . 11  |-  ( ph  ->  L  e.  ( 0..^ ( # `  B
) ) )
7258, 71ffvelrnd 5832 . . . . . . . . . 10  |-  ( ph  ->  ( B `  L
)  e.  W )
735, 72sseldi 3342 . . . . . . . . 9  |-  ( ph  ->  ( B `  L
)  e. Word  ( I  X.  2o ) )
74 efgredlemb.q . . . . . . . . . 10  |-  ( ph  ->  Q  e.  ( 0 ... ( # `  ( B `  L )
) ) )
75 elfzuz 11436 . . . . . . . . . 10  |-  ( Q  e.  ( 0 ... ( # `  ( B `  L )
) )  ->  Q  e.  ( ZZ>= `  0 )
)
76 eluzfz1 11445 . . . . . . . . . 10  |-  ( Q  e.  ( ZZ>= `  0
)  ->  0  e.  ( 0 ... Q
) )
7774, 75, 763syl 20 . . . . . . . . 9  |-  ( ph  ->  0  e.  ( 0 ... Q ) )
78 lencl 12233 . . . . . . . . . . . 12  |-  ( ( B `  L )  e. Word  ( I  X.  2o )  ->  ( # `  ( B `  L
) )  e.  NN0 )
7973, 78syl 16 . . . . . . . . . . 11  |-  ( ph  ->  ( # `  ( B `  L )
)  e.  NN0 )
8079, 44syl6eleq 2523 . . . . . . . . . 10  |-  ( ph  ->  ( # `  ( B `  L )
)  e.  ( ZZ>= ` 
0 ) )
81 eluzfz2 11446 . . . . . . . . . 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 12334 . . . . . . . . 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 1213 . . . . . . . 8  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( B `  L ) substr  <. Q , 
( # `  ( B `
 L ) )
>. ) )  =  ( ( B `  L
) substr  <. 0 ,  (
# `  ( B `  L ) ) >.
) )
85 swrdid 12305 . . . . . . . . 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 2465 . . . . . . 7  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( B `  L ) substr  <. Q , 
( # `  ( B `
 L ) )
>. ) )  =  ( B `  L ) )
8852, 87eqeq12d 2447 . . . . . 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 301 . . . . 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 16200 . . . . . . . . . . . . . 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 1211 . . . . . . . . . . . . 13  |-  ( ph  ->  ( P ( T `
 ( A `  K ) ) U )  =  ( ( A `  K ) splice  <. P ,  P ,  <" U ( M `
 U ) "> >. ) )
948efgmf 16190 . . . . . . . . . . . . . . . . 17  |-  M :
( I  X.  2o )
--> ( I  X.  2o )
9594ffvelrni 5830 . . . . . . . . . . . . . . . 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 12480 . . . . . . . . . . . . . 14  |-  ( ph  ->  <" U ( M `  U ) ">  e. Word  (
I  X.  2o ) )
98 splval 12377 . . . . . . . . . . . . . 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 1213 . . . . . . . . . . . . 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 2469 . . . . . . . . . . . 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 16200 . . . . . . . . . . . . . 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 1211 . . . . . . . . . . . . 13  |-  ( ph  ->  ( Q ( T `
 ( B `  L ) ) V )  =  ( ( B `  L ) splice  <. Q ,  Q ,  <" V ( M `
 V ) "> >. ) )
10594ffvelrni 5830 . . . . . . . . . . . . . . . 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 12480 . . . . . . . . . . . . . 14  |-  ( ph  ->  <" V ( M `  V ) ">  e. Word  (
I  X.  2o ) )
108 splval 12377 . . . . . . . . . . . . . 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 1213 . . . . . . . . . . . . 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 2469 . . . . . . . . . . . 12  |-  ( ph  ->  ( S `  B
)  =  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> ) concat  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) ) )
11122, 100, 1103eqtr3d 2473 . . . . . . . . . . 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 462 . . . . . . . . . 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 12299 . . . . . . . . . . . . . 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 462 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  e. Word  ( I  X.  2o ) )
11697adantr 462 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  <" U
( M `  U
) ">  e. Word  ( I  X.  2o ) )
117 ccatcl 12258 . . . . . . . . . . . 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 654 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )  e. Word  ( I  X.  2o ) )
119 swrdcl 12299 . . . . . . . . . . . . 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 462 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  e. Word  ( I  X.  2o ) )
122 swrdcl 12299 . . . . . . . . . . . . . 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 462 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  (
( B `  L
) substr  <. 0 ,  Q >. )  e. Word  ( I  X.  2o ) )
125107adantr 462 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  <" V
( M `  V
) ">  e. Word  ( I  X.  2o ) )
126 ccatcl 12258 . . . . . . . . . . . 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 654 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )  e. Word  ( I  X.  2o ) )
128 swrdcl 12299 . . . . . . . . . . . . 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 462 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  (
( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
)  e. Word  ( I  X.  2o ) )
131 swrd0len 12302 . . . . . . . . . . . . . . . 16  |-  ( ( ( A `  K
)  e. Word  ( I  X.  2o )  /\  P  e.  ( 0 ... ( # `
 ( A `  K ) ) ) )  ->  ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  P )
13237, 38, 131syl2anc 654 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  P )
133 swrd0len 12302 . . . . . . . . . . . . . . . 16  |-  ( ( ( B `  L
)  e. Word  ( I  X.  2o )  /\  Q  e.  ( 0 ... ( # `
 ( B `  L ) ) ) )  ->  ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  =  Q )
13473, 74, 133syl2anc 654 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  =  Q )
135132, 134eqeq12d 2447 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  (
# `  ( ( B `  L ) substr  <.
0 ,  Q >. ) )  <->  P  =  Q
) )
136135biimpar 482 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( A `
 K ) substr  <. 0 ,  P >. ) )  =  ( # `  ( ( B `  L ) substr  <. 0 ,  Q >. ) ) )
137 s2len 12498 . . . . . . . . . . . . . . 15  |-  ( # `  <" U ( M `  U ) "> )  =  2
138 s2len 12498 . . . . . . . . . . . . . . 15  |-  ( # `  <" V ( M `  V ) "> )  =  2
139137, 138eqtr4i 2456 . . . . . . . . . . . . . 14  |-  ( # `  <" U ( M `  U ) "> )  =  ( # `  <" V ( M `  V ) "> )
140139a1i 11 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 <" U ( M `  U ) "> )  =  ( # `  <" V ( M `  V ) "> ) )
141136, 140oveq12d 6098 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  (
( # `  ( ( A `  K ) substr  <. 0 ,  P >. ) )  +  ( # `  <" U ( M `  U ) "> ) )  =  ( ( # `  ( ( B `  L ) substr  <. 0 ,  Q >. ) )  +  ( # `  <" V ( M `  V ) "> ) ) )
142 ccatlen 12259 . . . . . . . . . . . . 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 654 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) )  =  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  +  (
# `  <" U
( M `  U
) "> )
) )
144 ccatlen 12259 . . . . . . . . . . . . 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 654 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) )  =  ( ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  +  (
# `  <" V
( M `  V
) "> )
) )
146141, 143, 1453eqtr4d 2475 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  Q )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U ( M `
 U ) "> ) )  =  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )
) )
147 ccatopth 12348 . . . . . . . . . . 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 1222 . . . . . . . . . 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 210 . . . . . . . . 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 456 . . . . . . . 8  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V ( M `
 V ) "> ) )
151 ccatopth 12348 . . . . . . . . 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 1222 . . . . . . . 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 210 . . . . . . 7  |-  ( (
ph  /\  P  =  Q )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. )  =  ( ( B `  L
) substr  <. 0 ,  Q >. )  /\  <" U
( M `  U
) ">  =  <" V ( M `
 V ) "> ) )
154153simpld 456 . . . . . 6  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  =  ( ( B `  L ) substr  <. 0 ,  Q >. ) )
155149simprd 460 . . . . . 6  |-  ( (
ph  /\  P  =  Q )  ->  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  =  ( ( B `  L ) substr  <. Q ,  ( # `  ( B `  L
) ) >. )
)
156154, 155oveq12d 6098 . . . . 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 652 . . . 4  |-  ( ph  ->  -.  P  =  Q )
158157pm2.21d 106 . . 3  |-  ( ph  ->  ( P  =  Q  ->  ( A ` 
0 )  =  ( B `  0 ) ) )
159 uzp1 10882 . . . 4  |-  ( P  e.  ( ZZ>= `  ( Q  +  1 ) )  ->  ( P  =  ( Q  + 
1 )  \/  P  e.  ( ZZ>= `  ( ( Q  +  1 )  +  1 ) ) ) )
16091s1cld 12278 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  <" U ">  e. Word  ( I  X.  2o ) )
161 ccatcl 12258 . . . . . . . . . . . . . . . . 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 654 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat  <" U "> )  e. Word  ( I  X.  2o ) )
16396s1cld 12278 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  <" ( M `
 U ) ">  e. Word  ( I  X.  2o ) )
164 ccatass 12270 . . . . . . . . . . . . . . . 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 1211 . . . . . . . . . . . . . . 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 12270 . . . . . . . . . . . . . . . . . . 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 1211 . . . . . . . . . . . . . . . . . 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 12459 . . . . . . . . . . . . . . . . . . 19  |-  <" U
( M `  U
) ">  =  ( <" U "> concat 
<" ( M `  U ) "> )
169168oveq2i 6091 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( A `  K
) substr  <. 0 ,  P >. ) concat  <" U ( M `  U ) "> )  =  ( ( ( A `
 K ) substr  <. 0 ,  P >. ) concat 
( <" U "> concat 
<" ( M `  U ) "> ) )
170167, 169syl6eqr 2483 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) concat  <" ( M `
 U ) "> )  =  ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U
( M `  U
) "> )
)
171170oveq1d 6095 . . . . . . . . . . . . . . . 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 12278 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  <" V ">  e. Word  ( I  X.  2o ) )
173106s1cld 12278 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  <" ( M `
 V ) ">  e. Word  ( I  X.  2o ) )
174 ccatass 12270 . . . . . . . . . . . . . . . . . . 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 1211 . . . . . . . . . . . . . . . . . 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 12459 . . . . . . . . . . . . . . . . . . 19  |-  <" V
( M `  V
) ">  =  ( <" V "> concat 
<" ( M `  V ) "> )
177176oveq2i 6091 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V ( M `  V ) "> )  =  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( <" V "> concat 
<" ( M `  V ) "> ) )
178175, 177syl6eqr 2483 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V
( M `  V
) "> )
)
179178oveq1d 6095 . . . . . . . . . . . . . . . 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 2475 . . . . . . . . . . . . . . 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 2467 . . . . . . . . . . . . . 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 462 . . . . . . . . . . . . 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 462 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  e. Word  (
I  X.  2o ) )
184163adantr 462 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" ( M `  U ) ">  e. Word  ( I  X.  2o ) )
185120adantr 462 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
)  e. Word  ( I  X.  2o ) )
186 ccatcl 12258 . . . . . . . . . . . . . . 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 654 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  e. Word  (
I  X.  2o ) )
188 ccatcl 12258 . . . . . . . . . . . . . . . . 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 654 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  ( I  X.  2o ) )
190189adantr 462 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  e. Word  (
I  X.  2o ) )
191173adantr 462 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" ( M `  V ) ">  e. Word  ( I  X.  2o ) )
192 ccatcl 12258 . . . . . . . . . . . . . . 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 654 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> )  e. Word  (
I  X.  2o ) )
194129adantr 462 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
)  e. Word  ( I  X.  2o ) )
195 ccatlen 12259 . . . . . . . . . . . . . . . . . . . 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 654 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  =  ( ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  +  (
# `  <" V "> ) ) )
197 s1len 12280 . . . . . . . . . . . . . . . . . . . . 21  |-  ( # `  <" V "> )  =  1
198197a1i 11 . . . . . . . . . . . . . . . . . . . 20  |-  ( ph  ->  ( # `  <" V "> )  =  1 )
199134, 198oveq12d 6098 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  ( ( # `  (
( B `  L
) substr  <. 0 ,  Q >. ) )  +  (
# `  <" V "> ) )  =  ( Q  +  1 ) )
200196, 199eqtrd 2465 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  =  ( Q  +  1 ) )
201132, 200eqeq12d 2447 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  =  (
# `  ( (
( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  <->  P  =  ( Q  +  1
) ) )
202201biimpar 482 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 ( ( A `
 K ) substr  <. 0 ,  P >. ) )  =  ( # `  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) ) )
203 s1len 12280 . . . . . . . . . . . . . . . . . 18  |-  ( # `  <" U "> )  =  1
204 s1len 12280 . . . . . . . . . . . . . . . . . 18  |-  ( # `  <" ( M `
 V ) "> )  =  1
205203, 204eqtr4i 2456 . . . . . . . . . . . . . . . . 17  |-  ( # `  <" U "> )  =  ( # `
 <" ( M `
 V ) "> )
206205a1i 11 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 <" U "> )  =  ( # `
 <" ( M `
 V ) "> ) )
207202, 206oveq12d 6098 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( # `  ( ( A `  K ) substr  <. 0 ,  P >. ) )  +  ( # `  <" U "> ) )  =  ( ( # `  (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) )  +  ( # `  <" ( M `  V
) "> )
) )
208114adantr 462 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  e. Word  ( I  X.  2o ) )
209160adantr 462 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" U ">  e. Word  ( I  X.  2o ) )
210 ccatlen 12259 . . . . . . . . . . . . . . . 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 654 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) )  =  ( ( # `  (
( A `  K
) substr  <. 0 ,  P >. ) )  +  (
# `  <" U "> ) ) )
212 ccatlen 12259 . . . . . . . . . . . . . . . 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 654 . . . . . . . . . . . . . . 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 2475 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( # `
 ( ( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> ) )  =  (
# `  ( (
( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `  V ) "> ) ) )
215 ccatopth 12348 . . . . . . . . . . . . . 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 1222 . . . . . . . . . . . . 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 210 . . . . . . . . . . . 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 456 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. ) concat  <" U "> )  =  ( ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat  <" V "> ) concat  <" ( M `
 V ) "> ) )
219 ccatopth 12348 . . . . . . . . . . . 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 1222 . . . . . . . . . . 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 210 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( ( A `  K ) substr  <. 0 ,  P >. )  =  ( ( ( B `  L ) substr  <. 0 ,  Q >. ) concat  <" V "> )  /\  <" U ">  =  <" ( M `  V ) "> ) )
222221simpld 456 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( A `  K
) substr  <. 0 ,  P >. )  =  ( ( ( B `  L
) substr  <. 0 ,  Q >. ) concat  <" V "> ) )
223222oveq1d 6095 . . . . . . . 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 462 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  (
( B `  L
) substr  <. 0 ,  Q >. )  e. Word  ( I  X.  2o ) )
225172adantr 462 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" V ">  e. Word  ( I  X.  2o ) )
226 ccatass 12270 . . . . . . . . 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 1211 . . . . . . . 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 460 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" U ">  =  <" ( M `  V ) "> )
229 s111 12286 . . . . . . . . . . . . . . . . 17  |-  ( ( U  e.  ( I  X.  2o )  /\  ( M `  V )  e.  ( I  X.  2o ) )  ->  ( <" U ">  =  <" ( M `
 V ) ">  <->  U  =  ( M `  V )
) )
23091, 106, 229syl2anc 654 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( <" U ">  =  <" ( M `  V ) ">  <->  U  =  ( M `  V )
) )
231230adantr 462 . . . . . . . . . . . . . . 15  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" U ">  =  <" ( M `
 V ) ">  <->  U  =  ( M `  V )
) )
232228, 231mpbid 210 . . . . . . . . . . . . . 14  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  U  =  ( M `  V ) )
233232fveq2d 5683 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( M `  U )  =  ( M `  ( M `  V ) ) )
2348efgmnvl 16191 . . . . . . . . . . . . . . 15  |-  ( V  e.  ( I  X.  2o )  ->  ( M `
 ( M `  V ) )  =  V )
235102, 234syl 16 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( M `  ( M `  V )
)  =  V )
236235adantr 462 . . . . . . . . . . . . 13  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( M `  ( M `  V ) )  =  V )
237233, 236eqtrd 2465 . . . . . . . . . . . 12  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( M `  U )  =  V )
238237s1eqd 12276 . . . . . . . . . . 11  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  <" ( M `  U ) ">  =  <" V "> )
239238oveq1d 6095 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  (
<" V "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) ) )
240217simprd 460 . . . . . . . . . 10  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" ( M `  U ) "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) )
241239, 240eqtr3d 2467 . . . . . . . . 9  |-  ( (
ph  /\  P  =  ( Q  +  1
) )  ->  ( <" V "> concat  ( ( A `  K
) substr  <. P ,  (
# `  ( A `  K ) ) >.
) )  =  ( ( B `  L
) substr  <. Q ,  (
# `  ( B `  L ) ) >.
) )
242241oveq2d 6096 . . . . . . . 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 2469 . . . . . . 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 652 . . . . . 6  |-  ( ph  ->  -.  P  =  ( Q  +  1 ) )
245244pm2.21d 106 . . . . 5  |-  ( ph  ->  ( P  =  ( Q  +  1 )  ->  ( A ` 
0 )  =  ( B `  0 ) ) )
246 elfzelz 11440 . . . . . . . . . . . 12  |-  ( Q  e.  ( 0 ... ( # `  ( B `  L )
) )  ->  Q  e.  ZZ )
24774, 246syl 16 . . . . . . . . . . 11  |-  ( ph  ->  Q  e.  ZZ )
248247zcnd 10736 . . . . . . . . . 10  |-  ( ph  ->  Q  e.  CC )
249 ax-1cn 9328 . . . . . . . . . . 11  |-  1  e.  CC
250249a1i 11 . . . . . . . . . 10  |-  ( ph  ->  1  e.  CC )
251248, 250, 250addassd 9396 . . . . . . . . 9  |-  ( ph  ->  ( ( Q  + 
1 )  +  1 )  =  ( Q  +  ( 1  +  1 ) ) )
252 df-2 10368 . . . . . . . . . 10  |-  2  =  ( 1  +  1 )
253252oveq2i 6091 . . . . . . . . 9  |-  ( Q  +  2 )  =  ( Q  +  ( 1  +  1 ) )
254251, 253syl6eqr 2483 . . . . . . . 8  |-  ( ph  ->  ( ( Q  + 
1 )  +  1 )  =  ( Q  +  2 ) )
255254fveq2d 5683 . . . . . . 7  |-  ( ph  ->  ( ZZ>= `  ( ( Q  +  1 )  +  1 ) )  =  ( ZZ>= `  ( Q  +  2 ) ) )
256255eleq2d 2500 . . . . . 6  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( ( Q  +  1 )  +  1 ) )  <->  P  e.  ( ZZ>= `  ( Q  +  2 ) ) ) )
2573, 7, 8, 9, 10, 11efgsfo 16216 . . . . . . . . . 10  |-  S : dom  S -onto-> W
258 swrdcl 12299 . . . . . . . . . . . . 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 12258 . . . . . . . . . . . 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 654 . . . . . . . . . . 11  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  e. Word 
( I  X.  2o ) )
2623efgrcl 16192 . . . . . . . . . . . . 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 460 . . . . . . . . . . 11  |-  ( ph  ->  W  = Word  ( I  X.  2o ) )
265261, 264eleqtrrd 2510 . . . . . . . . . 10  |-  ( ph  ->  ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  e.  W )
266 foelrn 5850 . . . . . . . . . 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 656 . . . . . . . . 9  |-  ( ph  ->  E. c  e.  dom  S ( ( ( B `
 L ) substr  <. 0 ,  Q >. ) concat 
( ( A `  K ) substr  <. ( Q  +  2 ) ,  ( # `  ( A `  K )
) >. ) )  =  ( S `  c
) )
268267adantr 462 . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 718 . . . . . . . . 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 747 . . . . . . . . 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 748 . . . . . . . . 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 749 . . . . . . . . . 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 2438 . . . . . . . . 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 16221 . . . . . . . 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 2835 . . . . . . 7  |-  ( (
ph  /\  P  e.  ( ZZ>= `  ( Q  +  2 ) ) )  ->  ( A `  0 )  =  ( B `  0
) )
287286ex 434 . . . . . 6  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( Q  + 
2 ) )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
288256, 287sylbid 215 . . . . 5  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( ( Q  +  1 )  +  1 ) )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
289245, 288jaod 380 . . . 4  |-  ( ph  ->  ( ( P  =  ( Q  +  1 )  \/  P  e.  ( ZZ>= `  ( ( Q  +  1 )  +  1 ) ) )  ->  ( A `  0 )  =  ( B `  0
) ) )
290159, 289syl5 32 . . 3  |-  ( ph  ->  ( P  e.  (
ZZ>= `  ( Q  + 
1 ) )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
291158, 290jaod 380 . 2  |-  ( ph  ->  ( ( P  =  Q  \/  P  e.  ( ZZ>= `  ( Q  +  1 ) ) )  ->  ( A `  0 )  =  ( B `  0
) ) )
2921, 291syl5 32 1  |-  ( ph  ->  ( P  e.  (
ZZ>= `  Q )  -> 
( A `  0
)  =  ( B `
 0 ) ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    \/ wo 368    /\ wa 369    = wceq 1362    e. wcel 1755   A.wral 2705   E.wrex 2706   {crab 2709   _Vcvv 2962    \ cdif 3313   (/)c0 3625   {csn 3865   <.cop 3871   <.cotp 3873   U_ciun 4159   class class class wbr 4280    e. cmpt 4338    _I cid 4618    X. cxp 4825   dom cdm 4827   ran crn 4828   -->wf 5402   -onto->wfo 5404   ` cfv 5406  (class class class)co 6080    e. cmpt2 6082   1oc1o 6901   2oc2o 6902   CCcc 9268   0cc0 9270   1c1 9271    + caddc 9273    < clt 9406    - cmin 9583   NNcn 10310   2c2 10359   NN0cn0 10567   ZZcz 10634   ZZ>=cuz 10849   ...cfz 11424  ..^cfzo 11532   #chash 12087  Word cword 12205   concat cconcat 12207   <"cs1 12208   substr csubstr 12209   splice csplice 12210   <"cs2 12452   ~FG cefg 16183
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1594  ax-4 1605  ax-5 1669  ax-6 1707  ax-7 1727  ax-8 1757  ax-9 1759  ax-10 1774  ax-11 1779  ax-12 1791  ax-13 1942  ax-ext 2414  ax-rep 4391  ax-sep 4401  ax-nul 4409  ax-pow 4458  ax-pr 4519  ax-un 6361  ax-cnex 9326  ax-resscn 9327  ax-1cn 9328  ax-icn 9329  ax-addcl 9330  ax-addrcl 9331  ax-mulcl 9332  ax-mulrcl 9333  ax-mulcom 9334  ax-addass 9335  ax-mulass 9336  ax-distr 9337  ax-i2m1 9338  ax-1ne0 9339  ax-1rid 9340  ax-rnegex 9341  ax-rrecex 9342  ax-cnre 9343  ax-pre-lttri 9344  ax-pre-lttrn 9345  ax-pre-ltadd 9346  ax-pre-mulgt0 9347
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 959  df-3an 960  df-tru 1365  df-ex 1590  df-nf 1593  df-sb 1700  df-eu 2258  df-mo 2259  df-clab 2420  df-cleq 2426  df-clel 2429  df-nfc 2558  df-ne 2598  df-nel 2599  df-ral 2710  df-rex 2711  df-reu 2712  df-rab 2714  df-v 2964  df-sbc 3176  df-csb 3277  df-dif 3319  df-un 3321  df-in 3323  df-ss 3330  df-pss 3332  df-nul 3626  df-if 3780  df-pw 3850  df-sn 3866  df-pr 3868  df-tp 3870  df-op 3872  df-ot 3874  df-uni 4080  df-int 4117  df-iun 4161  df-br 4281  df-opab 4339  df-mpt 4340  df-tr 4374  df-eprel 4619  df-id 4623  df-po 4628  df-so 4629  df-fr 4666  df-we 4668  df-ord 4709  df-on 4710  df-lim 4711  df-suc 4712  df-xp 4833  df-rel 4834  df-cnv 4835  df-co 4836  df-dm 4837  df-rn 4838  df-res 4839  df-ima 4840  df-iota 5369  df-fun 5408  df-fn 5409  df-f 5410  df-f1 5411  df-fo 5412  df-f1o 5413  df-fv 5414  df-riota 6039  df-ov 6083  df-oprab 6084  df-mpt2 6085  df-om 6466  df-1st 6566  df-2nd 6567  df-recs 6818  df-rdg 6852  df-1o 6908  df-2o 6909  df-oadd 6912  df-er 7089  df-map 7204  df-pm 7205  df-en 7299  df-dom 7300  df-sdom 7301  df-fin 7302  df-card 8097  df-pnf 9408  df-mnf 9409  df-xr 9410  df-ltxr 9411  df-le 9412  df-sub 9585  df-neg 9586  df-nn 10311  df-2 10368  df-n0 10568  df-z 10635  df-uz 10850  df-rp 10980  df-fz 11425  df-fzo 11533  df-hash 12088  df-word 12213  df-concat 12215  df-s1 12216  df-substr 12217  df-splice 12218  df-s2 12459
This theorem is referenced by:  efgredlemb  16223
  Copyright terms: Public domain W3C validator