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

Theorem efgcpbllema 16375
Description: Lemma for efgrelex 16372. 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 6211 . . . . 5  |-  ( i  =  X  ->  ( A concat  i )  =  ( A concat  X ) )
21oveq1d 6218 . . . 4  |-  ( i  =  X  ->  (
( A concat  i ) concat  B )  =  ( ( A concat  X ) concat  B
) )
3 oveq2 6211 . . . . 5  |-  ( j  =  Y  ->  ( A concat  j )  =  ( A concat  Y ) )
43oveq1d 6218 . . . 4  |-  ( j  =  Y  ->  (
( A concat  j ) concat  B )  =  ( ( A concat  Y ) concat  B
) )
52, 4breqan12d 4418 . . 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 3081 . . . . . . 7  |-  i  e. 
_V
8 vex 3081 . . . . . . 7  |-  j  e. 
_V
97, 8prss 4138 . . . . . 6  |-  ( ( i  e.  W  /\  j  e.  W )  <->  { i ,  j } 
C_  W )
109anbi1i 695 . . . . 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 4467 . . . 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 2486 . . 3  |-  L  =  { <. i ,  j
>.  |  ( (
i  e.  W  /\  j  e.  W )  /\  ( ( A concat  i
) concat  B )  .~  (
( A concat  j ) concat  B ) ) }
135, 12brab2ga 5023 . 2  |-  ( X L Y  <->  ( ( X  e.  W  /\  Y  e.  W )  /\  ( ( A concat  X
) concat  B )  .~  (
( A concat  Y ) concat  B ) ) )
14 df-3an 967 . 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 252 1  |-  ( X L Y  <->  ( X  e.  W  /\  Y  e.  W  /\  ( ( A concat  X ) concat  B
)  .~  ( ( A concat  Y ) concat  B ) ) )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1370    e. wcel 1758   A.wral 2799   {crab 2803    \ cdif 3436    C_ wss 3439   (/)c0 3748   {csn 3988   {cpr 3990   <.cop 3994   <.cotp 3996   U_ciun 4282   class class class wbr 4403   {copab 4460    |-> cmpt 4461    _I cid 4742    X. cxp 4949   ran crn 4952   ` cfv 5529  (class class class)co 6203    |-> cmpt2 6205   1oc1o 7026   2oc2o 7027   0cc0 9396   1c1 9397    - cmin 9709   ...cfz 11557  ..^cfzo 11668   #chash 12223  Word cword 12342   concat cconcat 12344   splice csplice 12347   <"cs2 12589   ~FG cefg 16327
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4524  ax-nul 4532  ax-pr 4642
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-rab 2808  df-v 3080  df-dif 3442  df-un 3444  df-in 3446  df-ss 3453  df-nul 3749  df-if 3903  df-sn 3989  df-pr 3991  df-op 3995  df-uni 4203  df-br 4404  df-opab 4462  df-xp 4957  df-iota 5492  df-fv 5537  df-ov 6206
This theorem is referenced by:  efgcpbllemb  16376  efgcpbl  16377
  Copyright terms: Public domain W3C validator