I try to solve exercise "on the power of double - logarithmic space" from the great textbook Computational Complexity by Oded Goldreich. The goal is to show that the given set $S=\left \{ w_k \mid k \in \mathbb{N} \right \}$, where $w_k$ - concatenation of all $k$-bit long strings separated by *'s is not regular and yet it is decidable in double-logarithmic space. The exercise contains guidelines, and I would like to shed the light on few sentences from guidelines in order to solve the exercise.
In the guidelines it's mentioned that
we can take advantage of of the *'s (in $w_i$) , the $i$th iteration can be implemented in space $O(\log i)$
The $i$th iteration is verifying whether $x = w_i$, which is really can be decided in $O(\log i)$ space, where $\log i$ can be used to note the position in $i$ long string, but the position in $x$ can be included in $O(\log i)$ or not?
Furthermore, on input $x \notin S$, we halt and reject after at most $\log |x|$ iterations.
It means only $\log |x|$ $w$'s from the set S will be compared to $x$. Why it is actually so?
Actually, it is slightly simpler to handle the related set $\left \{w_1**w_2**..**w_k \right \}$
Why it is actually so, and I would call it set, it is rather concatenated string.