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

Theorem efgcpbllema 15314
Description: Lemma for efgrelex 15311. Define an auxiliary equivalence relation  L such that  A L B if there are sequences from  A to  B passing through the same reduced word. (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 ) ) )
efgcpbllem.1  |-  L  =  { <. i ,  j
>.  |  ( {
i ,  j } 
C_  W  /\  (
( A concat  i ) concat  B )  .~  ( ( A concat  j ) concat  B
) ) }
Assertion
Ref Expression
efgcpbllema  |-  ( X L Y  <->  ( X  e.  W  /\  Y  e.  W  /\  ( ( A concat  X ) concat  B
)  .~  ( ( A concat  Y ) concat  B ) ) )
Distinct variable groups:    i, j, A    y, z    t, n, v, w, y, z   
i, m, n, t, v, w, x, M, j    i, k, T, j, m, t, x   
i, X, j    y,
i, z, W, j   
k, n, v, w, y, z, W, m, t, x    .~ , i, j, m, t, x, y, z    B, i, j    S, i, j    i, Y, j   
i, I, j, m, n, t, v, w, x, y, z    D, i, j, m, t
Allowed substitution hints:    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)    .~ ( w, v, k, n)    S( x, y, z, w, v, t, k, m, n)    T( y, z, w, v, n)    I( k)    L( x, y, z, w, v, t, i, j, k, m, n)    M( y, z, k)    X( x, y, z, w, v, t, k, m, n)    Y( x, y, z, w, v, t, k, m, n)

Proof of Theorem efgcpbllema
StepHypRef Expression
1 oveq2 6029 . . . . 5  |-  ( i  =  X  ->  ( A concat  i )  =  ( A concat  X ) )
21oveq1d 6036 . . . 4  |-  ( i  =  X  ->  (
( A concat  i ) concat  B )  =  ( ( A concat  X ) concat  B
) )
3 oveq2 6029 . . . . 5  |-  ( j  =  Y  ->  ( A concat  j )  =  ( A concat  Y ) )
43oveq1d 6036 . . . 4  |-  ( j  =  Y  ->  (
( A concat  j ) concat  B )  =  ( ( A concat  Y ) concat  B
) )
52, 4breqan12d 4169 . . 3  |-  ( ( i  =  X  /\  j  =  Y )  ->  ( ( ( A concat 
i ) concat  B )  .~  ( ( A concat  j
) concat  B )  <->  ( ( A concat  X ) concat  B )  .~  ( ( A concat  Y ) concat  B ) ) )
6 efgcpbllem.1 . . . 4  |-  L  =  { <. i ,  j
>.  |  ( {
i ,  j } 
C_  W  /\  (
( A concat  i ) concat  B )  .~  ( ( A concat  j ) concat  B
) ) }
7 vex 2903 . . . . . . 7  |-  i  e. 
_V
8 vex 2903 . . . . . . 7  |-  j  e. 
_V
97, 8prss 3896 . . . . . 6  |-  ( ( i  e.  W  /\  j  e.  W )  <->  { i ,  j } 
C_  W )
109anbi1i 677 . . . . 5  |-  ( ( ( i  e.  W  /\  j  e.  W
)  /\  ( ( A concat  i ) concat  B )  .~  ( ( A concat 
j ) concat  B )
)  <->  ( { i ,  j }  C_  W  /\  ( ( A concat 
i ) concat  B )  .~  ( ( A concat  j
) concat  B ) ) )
1110opabbii 4214 . . . 4  |-  { <. i ,  j >.  |  ( ( i  e.  W  /\  j  e.  W
)  /\  ( ( A concat  i ) concat  B )  .~  ( ( A concat 
j ) concat  B )
) }  =  { <. i ,  j >.  |  ( { i ,  j }  C_  W  /\  ( ( A concat 
i ) concat  B )  .~  ( ( A concat  j
) concat  B ) ) }
126, 11eqtr4i 2411 . . 3  |-  L  =  { <. i ,  j
>.  |  ( (
i  e.  W  /\  j  e.  W )  /\  ( ( A concat  i
) concat  B )  .~  (
( A concat  j ) concat  B ) ) }
135, 12brab2ga 4892 . 2  |-  ( X L Y  <->  ( ( X  e.  W  /\  Y  e.  W )  /\  ( ( A concat  X
) concat  B )  .~  (
( A concat  Y ) concat  B ) ) )
14 df-3an 938 . 2  |-  ( ( X  e.  W  /\  Y  e.  W  /\  ( ( A concat  X
) concat  B )  .~  (
( A concat  Y ) concat  B ) )  <->  ( ( X  e.  W  /\  Y  e.  W )  /\  ( ( A concat  X
) concat  B )  .~  (
( A concat  Y ) concat  B ) ) )
1513, 14bitr4i 244 1  |-  ( X L Y  <->  ( X  e.  W  /\  Y  e.  W  /\  ( ( A concat  X ) concat  B
)  .~  ( ( A concat  Y ) concat  B ) ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1717   A.wral 2650   {crab 2654    \ cdif 3261    C_ wss 3264   (/)c0 3572   {csn 3758   {cpr 3759   <.cop 3761   <.cotp 3762   U_ciun 4036   class class class wbr 4154   {copab 4207    e. cmpt 4208    _I cid 4435    X. cxp 4817   ran crn 4820   ` cfv 5395  (class class class)co 6021    e. cmpt2 6023   1oc1o 6654   2oc2o 6655   0cc0 8924   1c1 8925    - cmin 9224   ...cfz 10976  ..^cfzo 11066   #chash 11546  Word cword 11645   concat cconcat 11646   splice csplice 11649   <"cs2 11733   ~FG cefg 15266
This theorem is referenced by:  efgcpbllemb  15315  efgcpbl  15316
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2369  ax-sep 4272  ax-nul 4280  ax-pr 4345
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2243  df-mo 2244  df-clab 2375  df-cleq 2381  df-clel 2384  df-nfc 2513  df-ne 2553  df-ral 2655  df-rex 2656  df-rab 2659  df-v 2902  df-dif 3267  df-un 3269  df-in 3271  df-ss 3278  df-nul 3573  df-if 3684  df-sn 3764  df-pr 3765  df-op 3767  df-uni 3959  df-br 4155  df-opab 4209  df-xp 4825  df-iota 5359  df-fv 5403  df-ov 6024
  Copyright terms: Public domain W3C validator