The following is an exercise from a book on Continuous martingales and Brownian motion by Revuz and Yor.
Let $B$ be the standard linear Brownian motion.
1) For any probability measure $\mu$ on $\mathbb R$ prove that there is a $\mathcal{F}^B_{\frac{1}{2}} $ measurable random variable $Z$ such that the distribution of $Z$ equals $\mu$, that is $P \circ Z = \mu$
2) Define a $\mathcal{F}^B_t$-stopping time $T$ by
$$T = \inf \{t \ge 1 : B_t =Z \} $$
Prove that the distribution of $B_T$ is $\mu$ and that $E[T]= \infty$
For 1) one of course thinks about the result that for any probability measure $\mu$ on $\mathbb R$ there exists a random variable with distribution $\mu$. We need to 1) make sure that we may take this random variable to be map from the same probability space as $B$ maps from, and 2) make sure that it is $\mathcal{F}^B_{\frac{1}{2}} $ measurable.
The construction for the above result is to let $Z: \mathbb R \to \mathbb R, \ Z(x)=x$, which then certainly is Borel measurable. Does there exist a construction of Brownian motion as a stochastic process on $\mathbb R$? Or rather we should take some construction of $B$ on the trace sigma algebra on $C(\mathbb R ) \cap \mathbb R^{[0,1) } $ and then composite $Z$ with some projection $\pi_t$ from $\mathbb R^{[0,1) } $ to $\mathbb R$? How does $\mathcal{F}^B_{\frac{1}{2}} $ come in to this?
For 2) one would think that the method is to prove that for any $a < b$, $\{B_T \in (a,b) \} = \{Z \in (a,b) \} $ and then the claim about the distributions being equal will follow. How do we show that $E[T]=\infty$?
Most grateful for any help provided!