Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  usghashecclwwlk Structured version   Unicode version

Theorem usghashecclwwlk 30512
Description: The size of every equivalence class of the equivalence relation over the set of closed walks (defined as words) with a fixed length which is a prime number equals this length (in an undirected simple graph). (Contributed by Alexander van der Vekens, 17-Jun-2018.)
Hypotheses
Ref Expression
erclwwlkn.w  |-  W  =  ( ( V ClWWalksN  E ) `
 N )
erclwwlkn.r  |-  .~  =  { <. t ,  u >.  |  ( t  e.  W  /\  u  e.  W  /\  E. n  e.  ( 0 ... N
) t  =  ( u cyclShift  n ) ) }
Assertion
Ref Expression
usghashecclwwlk  |-  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( U  e.  ( W /.  .~  )  ->  ( # `  U
)  =  N ) )
Distinct variable groups:    t, E, u    t, N, u    n, V, t, u    t, W, u    n, N    n, W    n, E    U, n, u
Allowed substitution hints:    .~ ( u, t, n)    U( t)

Proof of Theorem usghashecclwwlk
Dummy variables  x  y  m  i are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 erclwwlkn.w . . . . 5  |-  W  =  ( ( V ClWWalksN  E ) `
 N )
2 erclwwlkn.r . . . . 5  |-  .~  =  { <. t ,  u >.  |  ( t  e.  W  /\  u  e.  W  /\  E. n  e.  ( 0 ... N
) t  =  ( u cyclShift  n ) ) }
31, 2eclclwwlkn1 30509 . . . 4  |-  ( U  e.  ( W /.  .~  )  ->  ( U  e.  ( W /.  .~  ) 
<->  E. x  e.  W  U  =  { y  e.  W  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n
) } ) )
4 rabeq 2969 . . . . . . . . . 10  |-  ( W  =  ( ( V ClWWalksN  E ) `  N
)  ->  { y  e.  W  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n
) }  =  {
y  e.  ( ( V ClWWalksN  E ) `  N
)  |  E. n  e.  ( 0 ... N
) y  =  ( x cyclShift  n ) } )
51, 4mp1i 12 . . . . . . . . 9  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  { y  e.  W  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) }  =  { y  e.  ( ( V ClWWalksN  E ) `  N )  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n
) } )
6 prmnn 13769 . . . . . . . . . . . 12  |-  ( N  e.  Prime  ->  N  e.  NN )
76nnnn0d 10639 . . . . . . . . . . 11  |-  ( N  e.  Prime  ->  N  e. 
NN0 )
87adantl 466 . . . . . . . . . 10  |-  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  N  e. 
NN0 )
91eleq2i 2507 . . . . . . . . . . 11  |-  ( x  e.  W  <->  x  e.  ( ( V ClWWalksN  E ) `
 N ) )
109biimpi 194 . . . . . . . . . 10  |-  ( x  e.  W  ->  x  e.  ( ( V ClWWalksN  E ) `
 N ) )
11 Lemma2 30496 . . . . . . . . . 10  |-  ( ( N  e.  NN0  /\  x  e.  ( ( V ClWWalksN  E ) `  N
) )  ->  { y  e.  ( ( V ClWWalksN  E ) `  N
)  |  E. n  e.  ( 0 ... N
) y  =  ( x cyclShift  n ) }  =  { y  e. Word  V  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) } )
128, 10, 11syl2an 477 . . . . . . . . 9  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  { y  e.  ( ( V ClWWalksN  E ) `  N )  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n
) }  =  {
y  e. Word  V  |  E. n  e.  (
0 ... N ) y  =  ( x cyclShift  n
) } )
135, 12eqtrd 2475 . . . . . . . 8  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  { y  e.  W  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) }  =  { y  e. Word  V  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) } )
1413eqeq2d 2454 . . . . . . 7  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  ( U  =  {
y  e.  W  |  E. n  e.  (
0 ... N ) y  =  ( x cyclShift  n
) }  <->  U  =  { y  e. Word  V  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) } ) )
156adantl 466 . . . . . . . . . . . 12  |-  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  N  e.  NN )
16 clwwlknprop 30438 . . . . . . . . . . . . . . 15  |-  ( x  e.  ( ( V ClWWalksN  E ) `  N
)  ->  ( ( V  e.  _V  /\  E  e.  _V )  /\  x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `
 x )  =  N ) ) )
17 simpll 753 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  /\  N  e.  NN )  ->  x  e. Word  V )
18 elnnne0 10596 . . . . . . . . . . . . . . . . . . . 20  |-  ( N  e.  NN  <->  ( N  e.  NN0  /\  N  =/=  0 ) )
19 eqeq1 2449 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( N  =  ( # `  x
)  ->  ( N  =  0  <->  ( # `  x
)  =  0 ) )
2019eqcoms 2446 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( (
# `  x )  =  N  ->  ( N  =  0  <->  ( # `  x
)  =  0 ) )
2120adantl 466 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( N  e.  NN0  /\  ( # `  x )  =  N )  -> 
( N  =  0  <-> 
( # `  x )  =  0 ) )
22 hasheq0 12134 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( x  e. Word  V  ->  (
( # `  x )  =  0  <->  x  =  (/) ) )
2321, 22sylan9bbr 700 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  ( N  =  0  <->  x  =  (/) ) )
2423necon3bid 2646 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  ( N  =/=  0  <->  x  =/=  (/) ) )
2524biimpcd 224 . . . . . . . . . . . . . . . . . . . . 21  |-  ( N  =/=  0  ->  (
( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  x  =/=  (/) ) )
2625adantl 466 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( N  e.  NN0  /\  N  =/=  0 )  -> 
( ( x  e. Word  V  /\  ( N  e. 
NN0  /\  ( # `  x
)  =  N ) )  ->  x  =/=  (/) ) )
2718, 26sylbi 195 . . . . . . . . . . . . . . . . . . 19  |-  ( N  e.  NN  ->  (
( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  x  =/=  (/) ) )
2827impcom 430 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  /\  N  e.  NN )  ->  x  =/=  (/) )
29 eqcom 2445 . . . . . . . . . . . . . . . . . . . . 21  |-  ( (
# `  x )  =  N  <->  N  =  ( # `
 x ) )
3029biimpi 194 . . . . . . . . . . . . . . . . . . . 20  |-  ( (
# `  x )  =  N  ->  N  =  ( # `  x
) )
3130adantl 466 . . . . . . . . . . . . . . . . . . 19  |-  ( ( N  e.  NN0  /\  ( # `  x )  =  N )  ->  N  =  ( # `  x
) )
3231ad2antlr 726 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  /\  N  e.  NN )  ->  N  =  ( # `  x
) )
3317, 28, 323jca 1168 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  /\  N  e.  NN )  ->  (
x  e. Word  V  /\  x  =/=  (/)  /\  N  =  ( # `  x
) ) )
3433ex 434 . . . . . . . . . . . . . . . 16  |-  ( ( x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  ( N  e.  NN  ->  ( x  e. Word  V  /\  x  =/=  (/)  /\  N  =  (
# `  x )
) ) )
35343adant1 1006 . . . . . . . . . . . . . . 15  |-  ( ( ( V  e.  _V  /\  E  e.  _V )  /\  x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  ( N  e.  NN  ->  ( x  e. Word  V  /\  x  =/=  (/)  /\  N  =  (
# `  x )
) ) )
3616, 35syl 16 . . . . . . . . . . . . . 14  |-  ( x  e.  ( ( V ClWWalksN  E ) `  N
)  ->  ( N  e.  NN  ->  ( x  e. Word  V  /\  x  =/=  (/)  /\  N  =  (
# `  x )
) ) )
3736com12 31 . . . . . . . . . . . . 13  |-  ( N  e.  NN  ->  (
x  e.  ( ( V ClWWalksN  E ) `  N
)  ->  ( x  e. Word  V  /\  x  =/=  (/)  /\  N  =  (
# `  x )
) ) )
389, 37syl5bi 217 . . . . . . . . . . . 12  |-  ( N  e.  NN  ->  (
x  e.  W  -> 
( x  e. Word  V  /\  x  =/=  (/)  /\  N  =  ( # `  x
) ) ) )
3915, 38syl 16 . . . . . . . . . . 11  |-  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( x  e.  W  ->  (
x  e. Word  V  /\  x  =/=  (/)  /\  N  =  ( # `  x
) ) ) )
4039imp 429 . . . . . . . . . 10  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  ( x  e. Word  V  /\  x  =/=  (/)  /\  N  =  ( # `  x
) ) )
41 scshwfzeqfzo 30495 . . . . . . . . . 10  |-  ( ( x  e. Word  V  /\  x  =/=  (/)  /\  N  =  ( # `  x
) )  ->  { y  e. Word  V  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n
) }  =  {
y  e. Word  V  |  E. n  e.  (
0..^ N ) y  =  ( x cyclShift  n
) } )
4240, 41syl 16 . . . . . . . . 9  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  { y  e. Word  V  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) }  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n
) } )
4342eqeq2d 2454 . . . . . . . 8  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  ( U  =  {
y  e. Word  V  |  E. n  e.  (
0 ... N ) y  =  ( x cyclShift  n
) }  <->  U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n
) } ) )
44 fveq2 5694 . . . . . . . . . . . . . . 15  |-  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x ) ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  ( # `  {
y  e. Word  V  |  E. n  e.  (
0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) } ) )
45 simprl 755 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e. Word  V  /\  x  e.  (
( V ClWWalksN  E ) `  ( # `  x ) ) )  /\  ( V USGrph  E  /\  ( # `  x )  e.  Prime ) )  ->  V USGrph  E )
46 prmuz2 13784 . . . . . . . . . . . . . . . . . . 19  |-  ( (
# `  x )  e.  Prime  ->  ( # `  x
)  e.  ( ZZ>= ` 
2 ) )
4746adantl 466 . . . . . . . . . . . . . . . . . 18  |-  ( ( V USGrph  E  /\  ( # `
 x )  e. 
Prime )  ->  ( # `  x )  e.  (
ZZ>= `  2 ) )
4847adantl 466 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e. Word  V  /\  x  e.  (
( V ClWWalksN  E ) `  ( # `  x ) ) )  /\  ( V USGrph  E  /\  ( # `  x )  e.  Prime ) )  ->  ( # `  x
)  e.  ( ZZ>= ` 
2 ) )
49 simplr 754 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e. Word  V  /\  x  e.  (
( V ClWWalksN  E ) `  ( # `  x ) ) )  /\  ( V USGrph  E  /\  ( # `  x )  e.  Prime ) )  ->  x  e.  ( ( V ClWWalksN  E ) `
 ( # `  x
) ) )
50 usg2cwwkdifex 30498 . . . . . . . . . . . . . . . . 17  |-  ( ( V USGrph  E  /\  ( # `
 x )  e.  ( ZZ>= `  2 )  /\  x  e.  (
( V ClWWalksN  E ) `  ( # `  x ) ) )  ->  E. i  e.  ( 0..^ ( # `  x ) ) ( x `  i )  =/=  ( x ` 
0 ) )
5145, 48, 49, 50syl3anc 1218 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e. Word  V  /\  x  e.  (
( V ClWWalksN  E ) `  ( # `  x ) ) )  /\  ( V USGrph  E  /\  ( # `  x )  e.  Prime ) )  ->  E. i  e.  ( 0..^ ( # `  x ) ) ( x `  i )  =/=  ( x ` 
0 ) )
52 oveq2 6102 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( n  =  m  ->  (
x cyclShift  n )  =  ( x cyclShift  m ) )
5352eqeq2d 2454 . . . . . . . . . . . . . . . . . . . . 21  |-  ( n  =  m  ->  (
y  =  ( x cyclShift  n )  <->  y  =  ( x cyclShift  m ) ) )
5453cbvrexv 2951 . . . . . . . . . . . . . . . . . . . 20  |-  ( E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n )  <->  E. m  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  m )
)
55 eqeq1 2449 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( y  =  u  ->  (
y  =  ( x cyclShift  m )  <->  u  =  ( x cyclShift  m ) ) )
56 eqcom 2445 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( u  =  ( x cyclShift  m
)  <->  ( x cyclShift  m
)  =  u )
5755, 56syl6bb 261 . . . . . . . . . . . . . . . . . . . . 21  |-  ( y  =  u  ->  (
y  =  ( x cyclShift  m )  <->  ( x cyclShift  m )  =  u ) )
5857rexbidv 2739 . . . . . . . . . . . . . . . . . . . 20  |-  ( y  =  u  ->  ( E. m  e.  (
0..^ ( # `  x
) ) y  =  ( x cyclShift  m )  <->  E. m  e.  ( 0..^ ( # `  x
) ) ( x cyclShift  m )  =  u ) )
5954, 58syl5bb 257 . . . . . . . . . . . . . . . . . . 19  |-  ( y  =  u  ->  ( E. n  e.  (
0..^ ( # `  x
) ) y  =  ( x cyclShift  n )  <->  E. m  e.  ( 0..^ ( # `  x
) ) ( x cyclShift  m )  =  u ) )
6059cbvrabv 2974 . . . . . . . . . . . . . . . . . 18  |-  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) }  =  { u  e. Word  V  |  E. m  e.  ( 0..^ ( # `  x ) ) ( x cyclShift  m )  =  u }
6160cshwshashnsame 14133 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e. Word  V  /\  ( # `  x )  e.  Prime )  ->  ( E. i  e.  (
0..^ ( # `  x
) ) ( x `
 i )  =/=  ( x `  0
)  ->  ( # `  {
y  e. Word  V  |  E. n  e.  (
0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) } )  =  (
# `  x )
) )
6261ad2ant2rl 748 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e. Word  V  /\  x  e.  (
( V ClWWalksN  E ) `  ( # `  x ) ) )  /\  ( V USGrph  E  /\  ( # `  x )  e.  Prime ) )  ->  ( E. i  e.  ( 0..^ ( # `  x
) ) ( x `
 i )  =/=  ( x `  0
)  ->  ( # `  {
y  e. Word  V  |  E. n  e.  (
0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) } )  =  (
# `  x )
) )
6351, 62mpd 15 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e. Word  V  /\  x  e.  (
( V ClWWalksN  E ) `  ( # `  x ) ) )  /\  ( V USGrph  E  /\  ( # `  x )  e.  Prime ) )  ->  ( # `  {
y  e. Word  V  |  E. n  e.  (
0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) } )  =  (
# `  x )
)
6444, 63sylan9eqr 2497 . . . . . . . . . . . . . 14  |-  ( ( ( ( x  e. Word  V  /\  x  e.  ( ( V ClWWalksN  E ) `  ( # `  x
) ) )  /\  ( V USGrph  E  /\  ( # `
 x )  e. 
Prime ) )  /\  U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) } )  ->  ( # `
 U )  =  ( # `  x
) )
6564exp41 610 . . . . . . . . . . . . 13  |-  ( x  e. Word  V  ->  (
x  e.  ( ( V ClWWalksN  E ) `  ( # `
 x ) )  ->  ( ( V USGrph  E  /\  ( # `  x
)  e.  Prime )  ->  ( U  =  {
y  e. Word  V  |  E. n  e.  (
0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) }  ->  ( # `  U
)  =  ( # `  x ) ) ) ) )
66653ad2ant2 1010 . . . . . . . . . . . 12  |-  ( ( ( V  e.  _V  /\  E  e.  _V )  /\  x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  ( x  e.  ( ( V ClWWalksN  E ) `
 ( # `  x
) )  ->  (
( V USGrph  E  /\  ( # `  x )  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x ) ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  ( # `  x
) ) ) ) )
67 fveq2 5694 . . . . . . . . . . . . . . . . 17  |-  ( N  =  ( # `  x
)  ->  ( ( V ClWWalksN  E ) `  N
)  =  ( ( V ClWWalksN  E ) `  ( # `
 x ) ) )
6867eleq2d 2510 . . . . . . . . . . . . . . . 16  |-  ( N  =  ( # `  x
)  ->  ( x  e.  ( ( V ClWWalksN  E ) `
 N )  <->  x  e.  ( ( V ClWWalksN  E ) `
 ( # `  x
) ) ) )
69 eleq1 2503 . . . . . . . . . . . . . . . . . 18  |-  ( N  =  ( # `  x
)  ->  ( N  e.  Prime 
<->  ( # `  x
)  e.  Prime )
)
7069anbi2d 703 . . . . . . . . . . . . . . . . 17  |-  ( N  =  ( # `  x
)  ->  ( ( V USGrph  E  /\  N  e. 
Prime )  <->  ( V USGrph  E  /\  ( # `  x
)  e.  Prime )
) )
71 oveq2 6102 . . . . . . . . . . . . . . . . . . . . 21  |-  ( N  =  ( # `  x
)  ->  ( 0..^ N )  =  ( 0..^ ( # `  x
) ) )
7271rexeqdv 2927 . . . . . . . . . . . . . . . . . . . 20  |-  ( N  =  ( # `  x
)  ->  ( E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n )  <->  E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n )
) )
7372rabbidv 2967 . . . . . . . . . . . . . . . . . . 19  |-  ( N  =  ( # `  x
)  ->  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n ) }  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) } )
7473eqeq2d 2454 . . . . . . . . . . . . . . . . . 18  |-  ( N  =  ( # `  x
)  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n
) }  <->  U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) } ) )
75 eqeq2 2452 . . . . . . . . . . . . . . . . . 18  |-  ( N  =  ( # `  x
)  ->  ( ( # `
 U )  =  N  <->  ( # `  U
)  =  ( # `  x ) ) )
7674, 75imbi12d 320 . . . . . . . . . . . . . . . . 17  |-  ( N  =  ( # `  x
)  ->  ( ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n ) }  ->  (
# `  U )  =  N )  <->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) }  ->  ( # `  U
)  =  ( # `  x ) ) ) )
7770, 76imbi12d 320 . . . . . . . . . . . . . . . 16  |-  ( N  =  ( # `  x
)  ->  ( (
( V USGrph  E  /\  N  e.  Prime )  -> 
( U  =  {
y  e. Word  V  |  E. n  e.  (
0..^ N ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  N ) )  <->  ( ( V USGrph  E  /\  ( # `  x )  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x
) ) y  =  ( x cyclShift  n ) }  ->  ( # `  U
)  =  ( # `  x ) ) ) ) )
7868, 77imbi12d 320 . . . . . . . . . . . . . . 15  |-  ( N  =  ( # `  x
)  ->  ( (
x  e.  ( ( V ClWWalksN  E ) `  N
)  ->  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n ) }  ->  (
# `  U )  =  N ) ) )  <-> 
( x  e.  ( ( V ClWWalksN  E ) `  ( # `  x
) )  ->  (
( V USGrph  E  /\  ( # `  x )  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x ) ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  ( # `  x
) ) ) ) ) )
7978eqcoms 2446 . . . . . . . . . . . . . 14  |-  ( (
# `  x )  =  N  ->  ( ( x  e.  ( ( V ClWWalksN  E ) `  N
)  ->  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n ) }  ->  (
# `  U )  =  N ) ) )  <-> 
( x  e.  ( ( V ClWWalksN  E ) `  ( # `  x
) )  ->  (
( V USGrph  E  /\  ( # `  x )  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x ) ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  ( # `  x
) ) ) ) ) )
8079adantl 466 . . . . . . . . . . . . 13  |-  ( ( N  e.  NN0  /\  ( # `  x )  =  N )  -> 
( ( x  e.  ( ( V ClWWalksN  E ) `
 N )  -> 
( ( V USGrph  E  /\  N  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  N ) ) )  <-> 
( x  e.  ( ( V ClWWalksN  E ) `  ( # `  x
) )  ->  (
( V USGrph  E  /\  ( # `  x )  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x ) ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  ( # `  x
) ) ) ) ) )
81803ad2ant3 1011 . . . . . . . . . . . 12  |-  ( ( ( V  e.  _V  /\  E  e.  _V )  /\  x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  ( (
x  e.  ( ( V ClWWalksN  E ) `  N
)  ->  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n ) }  ->  (
# `  U )  =  N ) ) )  <-> 
( x  e.  ( ( V ClWWalksN  E ) `  ( # `  x
) )  ->  (
( V USGrph  E  /\  ( # `  x )  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ ( # `  x ) ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  ( # `  x
) ) ) ) ) )
8266, 81mpbird 232 . . . . . . . . . . 11  |-  ( ( ( V  e.  _V  /\  E  e.  _V )  /\  x  e. Word  V  /\  ( N  e.  NN0  /\  ( # `  x
)  =  N ) )  ->  ( x  e.  ( ( V ClWWalksN  E ) `
 N )  -> 
( ( V USGrph  E  /\  N  e.  Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  N ) ) ) )
8316, 82mpcom 36 . . . . . . . . . 10  |-  ( x  e.  ( ( V ClWWalksN  E ) `  N
)  ->  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( U  =  { y  e. Word  V  |  E. n  e.  ( 0..^ N ) y  =  ( x cyclShift  n ) }  ->  (
# `  U )  =  N ) ) )
849, 83sylbi 195 . . . . . . . . 9  |-  ( x  e.  W  ->  (
( V USGrph  E  /\  N  e.  Prime )  -> 
( U  =  {
y  e. Word  V  |  E. n  e.  (
0..^ N ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  N ) ) )
8584impcom 430 . . . . . . . 8  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  ( U  =  {
y  e. Word  V  |  E. n  e.  (
0..^ N ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  N ) )
8643, 85sylbid 215 . . . . . . 7  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  ( U  =  {
y  e. Word  V  |  E. n  e.  (
0 ... N ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  N ) )
8714, 86sylbid 215 . . . . . 6  |-  ( ( ( V USGrph  E  /\  N  e.  Prime )  /\  x  e.  W )  ->  ( U  =  {
y  e.  W  |  E. n  e.  (
0 ... N ) y  =  ( x cyclShift  n
) }  ->  ( # `
 U )  =  N ) )
8887rexlimdva 2844 . . . . 5  |-  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( E. x  e.  W  U  =  { y  e.  W  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) }  ->  (
# `  U )  =  N ) )
8988com12 31 . . . 4  |-  ( E. x  e.  W  U  =  { y  e.  W  |  E. n  e.  ( 0 ... N ) y  =  ( x cyclShift  n ) }  ->  ( ( V USGrph  E  /\  N  e.  Prime )  -> 
( # `  U )  =  N ) )
903, 89syl6bi 228 . . 3  |-  ( U  e.  ( W /.  .~  )  ->  ( U  e.  ( W /.  .~  )  ->  ( ( V USGrph  E  /\  N  e.  Prime )  ->  ( # `  U
)  =  N ) ) )
9190pm2.43i 47 . 2  |-  ( U  e.  ( W /.  .~  )  ->  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( # `  U )  =  N ) )
9291com12 31 1  |-  ( ( V USGrph  E  /\  N  e. 
Prime )  ->  ( U  e.  ( W /.  .~  )  ->  ( # `  U
)  =  N ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756    =/= wne 2609   E.wrex 2719   {crab 2722   _Vcvv 2975   (/)c0 3640   class class class wbr 4295   {copab 4352   ` cfv 5421  (class class class)co 6094   /.cqs 7103   0cc0 9285   NNcn 10325   2c2 10374   NN0cn0 10582   ZZ>=cuz 10864   ...cfz 11440  ..^cfzo 11551   #chash 12106  Word cword 12224   cyclShift ccsh 12428   Primecprime 13766   USGrph cusg 23267   ClWWalksN cclwwlkn 30417
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-rep 4406  ax-sep 4416  ax-nul 4424  ax-pow 4473  ax-pr 4534  ax-un 6375  ax-inf2 7850  ax-cnex 9341  ax-resscn 9342  ax-1cn 9343  ax-icn 9344  ax-addcl 9345  ax-addrcl 9346  ax-mulcl 9347  ax-mulrcl 9348  ax-mulcom 9349  ax-addass 9350  ax-mulass 9351  ax-distr 9352  ax-i2m1 9353  ax-1ne0 9354  ax-1rid 9355  ax-rnegex 9356  ax-rrecex 9357  ax-cnre 9358  ax-pre-lttri 9359  ax-pre-lttrn 9360  ax-pre-ltadd 9361  ax-pre-mulgt0 9362  ax-pre-sup 9363
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-fal 1375  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2571  df-ne 2611  df-nel 2612  df-ral 2723  df-rex 2724  df-reu 2725  df-rmo 2726  df-rab 2727  df-v 2977  df-sbc 3190  df-csb 3292  df-dif 3334  df-un 3336  df-in 3338  df-ss 3345  df-pss 3347  df-nul 3641  df-if 3795  df-pw 3865  df-sn 3881  df-pr 3883  df-tp 3885  df-op 3887  df-uni 4095  df-int 4132  df-iun 4176  df-disj 4266  df-br 4296  df-opab 4354  df-mpt 4355  df-tr 4389  df-eprel 4635  df-id 4639  df-po 4644  df-so 4645  df-fr 4682  df-se 4683  df-we 4684  df-ord 4725  df-on 4726  df-lim 4727  df-suc 4728  df-xp 4849  df-rel 4850  df-cnv 4851  df-co 4852  df-dm 4853  df-rn 4854  df-res 4855  df-ima 4856  df-iota 5384  df-fun 5423  df-fn 5424  df-f 5425  df-f1 5426  df-fo 5427  df-f1o 5428  df-fv 5429  df-isom 5430  df-riota 6055  df-ov 6097  df-oprab 6098  df-mpt2 6099  df-om 6480  df-1st 6580  df-2nd 6581  df-recs 6835  df-rdg 6869  df-1o 6923  df-2o 6924  df-oadd 6927  df-er 7104  df-ec 7106  df-qs 7110  df-map 7219  df-pm 7220  df-en 7314  df-dom 7315  df-sdom 7316  df-fin 7317  df-sup 7694  df-oi 7727  df-card 8112  df-cda 8340  df-pnf 9423  df-mnf 9424  df-xr 9425  df-ltxr 9426  df-le 9427  df-sub 9600  df-neg 9601  df-div 9997  df-nn 10326  df-2 10383  df-3 10384  df-n0 10583  df-z 10650  df-uz 10865  df-rp 10995  df-fz 11441  df-fzo 11552  df-fl 11645  df-mod 11712  df-seq 11810  df-exp 11869  df-hash 12107  df-word 12232  df-lsw 12233  df-concat 12234  df-substr 12236  df-reps 12239  df-csh 12429  df-cj 12591  df-re 12592  df-im 12593  df-sqr 12727  df-abs 12728  df-clim 12969  df-sum 13167  df-dvds 13539  df-gcd 13694  df-prm 13767  df-phi 13844  df-usgra 23269  df-clwwlk 30419  df-clwwlkn 30420
This theorem is referenced by:  hashclwwlkn  30513
  Copyright terms: Public domain W3C validator