**Setup:** 
Suppose $X = \{X\_n\}\_{n\in\mathbb{Z}}$ is a stationary ergodic proces on the real line and let $A = \prod\_{n\in\mathbb{Z}}A\_n$ be a Borel measurable set such that
$$
P(X \in A) = P\left(X\_n\in A\_n \quad\forall n\in\mathbb{Z}\right) > 0.
$$
Finally, let $\tau:\mathbb{R}^\mathbb{Z}\rightarrow \mathbb{R}^\mathbb{Z}$ denote the shift.


**Question:**
I need the result that, almost surely, there are infinitely many $k\in\mathbb{Z}$ such that $\tau^k(X) \in A$. My question is two-fold


1. Is my short proof below correct.
2. Can the result also be shown by using more basis results on ergodic sequences, like Poincarre's recurrence theorem.


Thank you in advance!


**My proof:**
This uses Birkhoff's ergodic theorem and the fact that measurable functions of stationary ergodic sequences are also stationary ergodic. Define the sequence $\{Y\_n\}\_{n\in\mathbb{Z}}$ as $Y\_n = 1 $ if $\tau^n(X) \in A$ and zero otherwise. Then $\{Y\_n\}\_{n\in\mathbb{Z}}$ is stationary ergodic and thus 
$$
\lim\_{k\rightarrow\infty}\frac{1}{k}\sum\_{n=0}^{k-1}Y\_n = E(Y) = P(A) > 0,
$$
which implies infinitely many of the $Y\_n$ have to be equal to one.



Event of positive probability occurs infinitely often in stationary ergodic sequence
Yes it works.


No, this can't be deduced from the Poincare recurrence theorem. If it was possible, the ergodic hypothesis would not be needed. 
But without the ergodic hypothesis, it is easy to give a counterexample.
Just take a constant sequence of random variables $X\_n = X\_0$ and constant targets $A\_n =A\_0$. Then you can get in $A$ only if you are in $A$ from the start.


