suppose we have a probability space $(\Omega,\mathcal{F},\mathbb{P})$ with a filtration $(\mathcal{F}_n)_{n \in \mathbb N}$. A stopping time is random variable $\tau$ such that $$ \{\tau \leq n\} \in \mathcal F_n, \quad n \in \mathbb N. $$ For a given stopping time $\tau$ we can define a $\sigma$-algebra as $$ \mathcal{F}_\tau= \big\{A \in \mathcal F\mid A \cap \{\tau \leq n\} \in \mathcal F_n, \ n \in \mathbb{N} \big\}. $$
The usual interpretation is that for $n \in \mathbb{N}, \ $ $\mathcal F_n$ contains all the information up to time $n$ and $\mathcal F_\tau$ contains all the information up to time $\tau$.
My question is: what is the intuitive difference between $\mathcal F_\tau$ and $\sigma(\tau)$, i.e. the $\sigma$-algebra generated by $\tau$. For example, if $X=(X_n)_{n =\{0,\dots, N\}}$ denotes a gamblers stack and $\tau$ is a rule which the gambler uses to end the game, what is the difference between $$ \mathbb{E}[X_N\mid \mathcal F_\tau ] \quad \text{and} \quad \mathbb{E}[X_N\mid \tau ]? $$ Thank you
As you say, $\mathcal{F}_\tau$ contains all the information up to the stopping time, while $\sigma(\tau)$ only contains information that is relevant to the stopping.
For example, take $X_1,X_2,\ldots,X_N$ iid with continuous distribution, $\tau=\inf\{i:X_{i-1}>0,X_i>0\}\wedge N$, and $S_k=\sum_{i=1}^{k\wedge \tau}X_i$. That is, a player plays the same game until he gets a profit twice in a row. Then the total result of the game, $S_N$, actually equals $S_\tau$, and so it is $\mathcal{F}_\tau$-measurable. However, it is far from $\sigma(\tau)$-measurable, in fact knowing the value of $\tau$ doesn't even tell you the sign of $S_N$, that is, whether the player made a total profit or loss (unless of course $\tau=2$).