Let $X(t)$ is a Brownian motion, and $S(t)$ is an abosrbed Brownian with two boundaries at $a$ and $b$.
I have defined $S(t)$ as
\begin{align*} S(t) = \begin{cases} a, & \text{ for $\left(m(t) \leq a\right) \cap \left( M(t) < b \right)$ } \\ b, & \text{ for $\left( M(t) \geq b \right) \cap \left(m(t) > a \right)$ } \\ X(t), & \text{ otherwise }, \end{cases} \end{align*} where
\begin{align*} & m({t}) = \min_{0 \leq u \leq t} \left \{ X(u) \right \}, \\ & M({t}) = \max_{0 \leq u \leq t} \left \{ X(u) \right \}. % & \Pr \Big(X(t) > y, \min_{0 \leq u \leq t} X(u) > 0, \\ % & \max_{0 \leq u \leq t} X(u) < R | X(0) = x \Big) = B(x,y). \end{align*}
Based on the definition, I tried to determine the probability of $S(t)$ in regard to $X(t)$ as
\begin{align*} \Pr(S(t) = a) = \Pr(m(t) \leq a, M(t) < b), \\ \Pr(S(t) = b) = \Pr(m(t) > a, M(t) \geq b). \\ \end{align*}
However, I have a feeling that my definition is wrong but I could not find where the mistake is.
Could you guys please give me some comments about my problems, especially about the probability of $S(t)$ based on $X(t)$. Thank you very much.
Your definition of $S(t)$ is probably incorrect. Hint: What if the brownian motion hits a at time 1 and b at time 2 and is now at 0 at time 3? What is S(t) as per your definition? (It is 0 (do you see why?), but that should not be. (and can you fix it?))