This question is a conceptual question about understanding the answer to another problem. (original problem here: Average waiting time in a Poisson process)
The original problem asked for an average waiting time $E(S)$ where $S = \inf\{t \geq 0 ; N(t+a) = N(t)\}$. Here, $N(t)$ is a Poisson process and $a$ is a constant such that $a \geq 0$.
Using the first success time $T_1$, we see that $S = 0$ whenever $T_1 > a$. When $T_1 < a$, due to the memoryless property of the Poisson process we see that S is related to itself since we have more or less started over the waiting.
We arrive at:
$$E(S) = E(E(S|T_1);T_1\leq a) = E(T_1 + E(S);T_1 \leq a) = E(T_1;T_1 \leq a) + E(S)P(T_1 \leq a)$$
From there, one can fairly easily derive an expression for $E(S)$.
My question is about one of the steps in the above equation. How do I know, algebraically and intuitively, that $E(S) = E(E(S|T_1);T_1\leq a)$?