ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  df-clwwlk Unicode version

Definition df-clwwlk 16838
Description: Define the set of all closed walks (in an undirected graph) as words over the set of vertices. Such a word corresponds to the sequence p(0) p(1) ... p(n-1) of the vertices in a closed walk p(0) e(f(1)) p(1) e(f(2)) ... p(n-1) e(f(n)) p(n)=p(0) as defined elsewhere. Notice that the word does not contain the terminating vertex p(n) of the walk, because it is always equal to the first vertex of the closed walk. (Contributed by Alexander van der Vekens, 20-Mar-2018.) (Revised by AV, 24-Apr-2021.)
Assertion
Ref Expression
df-clwwlk  |- ClWWalks  =  ( g  e.  _V  |->  { w  e. Word  (Vtx `  g )  |  ( w  =/=  (/)  /\  A. i  e.  ( 0..^ ( (♯ `  w
)  -  1 ) ) { ( w `
 i ) ,  ( w `  (
i  +  1 ) ) }  e.  (Edg
`  g )  /\  { (lastS `  w ) ,  ( w ` 
0 ) }  e.  (Edg `  g ) ) } )
Distinct variable group:    g, i, w

Detailed syntax breakdown of Definition df-clwwlk
StepHypRef Expression
1 cclwwlk 16837 . 2  class ClWWalks
2 vg . . 3  setvar  g
3 cvv 2821 . . 3  class  _V
4 vw . . . . . . 7  setvar  w
54cv 1401 . . . . . 6  class  w
6 c0 3520 . . . . . 6  class  (/)
75, 6wne 2420 . . . . 5  wff  w  =/=  (/)
8 vi . . . . . . . . . 10  setvar  i
98cv 1401 . . . . . . . . 9  class  i
109, 5cfv 5380 . . . . . . . 8  class  ( w `
 i )
11 c1 8186 . . . . . . . . . 10  class  1
12 caddc 8188 . . . . . . . . . 10  class  +
139, 11, 12co 6088 . . . . . . . . 9  class  ( i  +  1 )
1413, 5cfv 5380 . . . . . . . 8  class  ( w `
 ( i  +  1 ) )
1510, 14cpr 3710 . . . . . . 7  class  { ( w `  i ) ,  ( w `  ( i  +  1 ) ) }
162cv 1401 . . . . . . . 8  class  g
17 cedg 16503 . . . . . . . 8  class Edg
1816, 17cfv 5380 . . . . . . 7  class  (Edg `  g )
1915, 18wcel 2209 . . . . . 6  wff  { ( w `  i ) ,  ( w `  ( i  +  1 ) ) }  e.  (Edg `  g )
20 cc0 8185 . . . . . . 7  class  0
21 chash 11236 . . . . . . . . 9  class ♯
225, 21cfv 5380 . . . . . . . 8  class  (♯ `  w
)
23 cmin 8504 . . . . . . . 8  class  -
2422, 11, 23co 6088 . . . . . . 7  class  ( (♯ `  w )  -  1 )
25 cfzo 10566 . . . . . . 7  class ..^
2620, 24, 25co 6088 . . . . . 6  class  ( 0..^ ( (♯ `  w
)  -  1 ) )
2719, 8, 26wral 2528 . . . . 5  wff  A. i  e.  ( 0..^ ( (♯ `  w )  -  1 ) ) { ( w `  i ) ,  ( w `  ( i  +  1 ) ) }  e.  (Edg `  g )
28 clsw 11371 . . . . . . . 8  class lastS
295, 28cfv 5380 . . . . . . 7  class  (lastS `  w )
3020, 5cfv 5380 . . . . . . 7  class  ( w `
 0 )
3129, 30cpr 3710 . . . . . 6  class  { (lastS `  w ) ,  ( w `  0 ) }
3231, 18wcel 2209 . . . . 5  wff  { (lastS `  w ) ,  ( w `  0 ) }  e.  (Edg `  g )
337, 27, 32w3a 1009 . . . 4  wff  ( w  =/=  (/)  /\  A. i  e.  ( 0..^ ( (♯ `  w )  -  1 ) ) { ( w `  i ) ,  ( w `  ( i  +  1 ) ) }  e.  (Edg `  g )  /\  { (lastS `  w ) ,  ( w ` 
0 ) }  e.  (Edg `  g ) )
34 cvtx 16458 . . . . . 6  class Vtx
3516, 34cfv 5380 . . . . 5  class  (Vtx `  g )
3635cword 11326 . . . 4  class Word  (Vtx `  g )
3733, 4, 36crab 2532 . . 3  class  { w  e. Word  (Vtx `  g )  |  ( w  =/=  (/)  /\  A. i  e.  ( 0..^ ( (♯ `  w )  -  1 ) ) { ( w `  i ) ,  ( w `  ( i  +  1 ) ) }  e.  (Edg `  g )  /\  { (lastS `  w ) ,  ( w ` 
0 ) }  e.  (Edg `  g ) ) }
382, 3, 37cmpt 4193 . 2  class  ( g  e.  _V  |->  { w  e. Word  (Vtx `  g )  |  ( w  =/=  (/)  /\  A. i  e.  ( 0..^ ( (♯ `  w )  -  1 ) ) { ( w `  i ) ,  ( w `  ( i  +  1 ) ) }  e.  (Edg `  g )  /\  { (lastS `  w ) ,  ( w ` 
0 ) }  e.  (Edg `  g ) ) } )
391, 38wceq 1402 1  wff ClWWalks  =  ( g  e.  _V  |->  { w  e. Word  (Vtx `  g )  |  ( w  =/=  (/)  /\  A. i  e.  ( 0..^ ( (♯ `  w
)  -  1 ) ) { ( w `
 i ) ,  ( w `  (
i  +  1 ) ) }  e.  (Edg
`  g )  /\  { (lastS `  w ) ,  ( w ` 
0 ) }  e.  (Edg `  g ) ) } )
Colors of variables:    wff set class
This definition is used by:  clwwlkg  16839  isclwwlk  16840  clwwlkbp  16841
  Copyright terms: Public domain W3C validator