I've been given this recurrence to solve:
$T(n) = T(\sqrt n) + \theta(lglgn)$
And I'm told that the way to solve it is to let $m = lgn$, so that the recurrence can be rewritten as follows:
$S(m) = S(m/2) + \theta(lgm)$
But I don't understand how $T(\sqrt n)$ can become $S(m/2)$. Is there some key manipulation going on that I'm not seeing?