Prove the stochastic process $Y = (Y_n)_{n \geq 0}$ is a martingale w/rt the filtration $\mathscr{F} = (\mathscr{F_n})_{n \geq 0}$, where $\mathscr{F_n} = \mathscr{F_n}^{Y} \doteq \sigma(Y_0, Y_1, ..., Y_n)$ where $Y$ is given by:
$Y_0 = 1$
and for $n \geq 1$
$Y_{n+1} = 2Y_n$ w/ prob 1/2
$Y_{n+1} = 0$ w/ prob 1/2
$\sigma(Y_n) \subseteq \mathscr{F_n}$, obviously
$Y_n$ is integrable because it is bounded: $Y_n \leq 2^n$
$E[Y_{n+1} | \mathscr{F_n}] = Y_n$
What I tried doing:
Let $A_n = \{ \omega \in \Omega | Y_{n+1}(\omega) = 2 Y_n(\omega) \} \in \mathscr{F}$. Note that $P(A_n) = 1/2$.
$Y_n$ is a product of indicator functions namely: $Y_n = 2^n \prod_{0 \leq i \leq n-1} 1_{A_i}$
since
$Y_0 = 1$
$Y_1 = 2 Y_0 \times 1_{A_0} + 0 \times 1_{A_0^c} = 2^1 \times 1_{A_0}$
$Y_2 = 2 Y_1 \times 1_{A_1} + 0 \times 1_{A_1^c} = 2^2 \times 1_{A_0} \times 1_{A_1}$
and so on.
Now $E[Y_{n+1} | \mathscr{F_n}] = E[2^{n+1} \prod_{0 \leq i \leq n} 1_{A_i} | \mathscr{F_n}]$
$= 2^{n+1} \prod_{0 \leq i \leq n-1} 1_{A_i} E[1_{A_{n}} | \mathscr{F_n}]$
$= 2^{n+1} \prod_{0 \leq i \leq n-1} 1_{A_i} P[{A_{n+1}} | \mathscr{F_n}]$
$= 2^n \prod_{0 \leq i \leq n-1} 1_{A_i} = Y_n$.
Is that correct?
I seemed to assume $\sigma(1_{A_{n}}) = \sigma(A_n)$ and $\mathscr{F_n}$ are independent. Are they?
What is $\sigma(Y_n)$ in terms of $A_n$ anyway? I guess that:
$\sigma(Y_0) = \{ \emptyset, \Omega \}$
$\sigma(Y_1) = \sigma(A_0) \because Y_1 = 2 \times 1_{A_0}$
$\sigma(Y_2)$...$\subseteq \sigma(\sigma(A_0) \cup \sigma(A_1)) = \sigma(A_0, A_1)$