Inference Problem (a) for State Space Models