Let $X\ge 0$ a finite expectation continuous random variable with cdf $F$ and denote $\overline{F}=1-F$. Let $\{X_i\}$ a sequence of iid copies of $X$. Let $\tau_p$ be the following stopping rule: stop at $i$ only if $X_i\ge p$. Then: $\mathbb{E} X_{\tau_p}=\mathbb{E} \sum_{i=1}^\infty X_i 1_{\{\tau_p = i\}}=\mathbb{E} X\sum_{i=1}^\infty\mathbb{P}(X_1<p,\ldots,X_{i-1}<p,X_i\ge p)=\mathbb{E} X\overline{F}(p)\sum_{i=1}^\infty F^{i-1}(p)=\mathbb{E} X\frac{\overline{F}(p)}{1-F(p)}=\mathbb{E} X$.
I find the above counterintuitive, since I was expecting to obtain something dependent on $p$. Are there any mistakes in the computation?
EDIT: In the above I forgot to include the last $1_{\{X_i\ge p\}}$ in the expectation, the correct estimate should actually be $\mathbb{E} X_{\tau_p}=\mathbb{E} \sum_{i=1}^\infty X_i 1_{\{\tau_p = i\}}\le \mathbb{E} X\sum_{i=1}^\infty\mathbb{P}(X_1<p,\ldots,X_{i-1}<p)=\mathbb{E} X\sum_{i=1}^\infty F^{i-1}(p)=\frac{\mathbb{E} X}{1-F(p)}$, which does depend on $p$. Is it correct?
The problem is in this step: $$\mathbb{E} \sum_{i=1}^\infty X_i 1_{\{\tau_p = i\}}=\mathbb{E} X\sum_{i=1}^\infty\mathbb{P}(X_1<p,\ldots,X_{i-1}<p,X_i\ge p)$$
You have assumed that the value of $X_i$ in each term can be written as a random variable $X$ that is independent of the event $X_1<p,\dots,X_{i-1}<p,X_i\geq p$. Instead, you should write something like: \begin{align} \mathbb{E} \sum_{i=1}^\infty X_i 1_{\{\tau_p = i\}} &=\sum_{i=1}^\infty\mathbb{E}(1_{\{X_1<p\}}\cdots 1_{\{X_{i-1}<p\}}X_i 1_{\{X_i\ge p\}})\\ &=\sum_{i=1}^\infty F(p)^{i-1}\mathbb{E}(X\, 1_{\{X\ge p\}})\\ &=\mathbb{E}(X\,1_{\{X\ge p\}})\frac{1}{1-F(p)}\\ &=\mathbb{E}(X\mid X\ge p) \end{align} which is what you should expect. The distribution of the first $X_i>p$ is just the conditional distribution of $X$ given $X>p$, and so its expectation is the corresponding conditional expectation.