Description: In a K-regular graph, the size of the set of walks of length N starting with a fixed vertex X and ending not at this vertex is the difference between K to the power of N and the size of the set of closed walks of length N on vertex X . (Contributed by Alexander van der Vekens, 30-Sep-2018) (Revised by AV, 30-May-2021) (Revised by AV, 5-Mar-2022) (Proof shortened by AV, 7-Jul-2022)
Ref | Expression | ||
---|---|---|---|
Hypotheses | numclwwlk.v | |
|
numclwwlk.q | |
||
Assertion | numclwwlkqhash | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | numclwwlk.v | |
|
2 | numclwwlk.q | |
|
3 | 1 2 | numclwwlkovq | |
4 | 3 | adantl | |
5 | 4 | fveq2d | |
6 | nnnn0 | |
|
7 | eqid | |
|
8 | eqid | |
|
9 | 7 8 1 | clwwlknclwwlkdifnum | |
10 | 6 9 | sylanr2 | |
11 | 1 | iswwlksnon | |
12 | wwlknlsw | |
|
13 | eqcom | |
|
14 | 13 | biimpi | |
15 | 12 14 | eqeqan12d | |
16 | 15 | pm5.32da | |
17 | 16 | biancomd | |
18 | 17 | rabbiia | |
19 | 11 18 | eqtri | |
20 | 19 | fveq2i | |
21 | 20 | a1i | |
22 | 21 | oveq2d | |
23 | 10 22 | eqtrd | |
24 | ovex | |
|
25 | 24 | rabex | |
26 | clwwlkvbij | |
|
27 | 26 | adantl | |
28 | hasheqf1oi | |
|
29 | 25 27 28 | mpsyl | |
30 | 29 | oveq2d | |
31 | 5 23 30 | 3eqtrd | |