Assignment 2 relationship between x(t+1), y(t) and y_hat(t)

I am working in dinosaur assignment and noticed the following. Let me know if that is correct?

In training phase we use x(t+1) = y(t) but
In inference phase we use x(t+1) = y_hat(t)

I can see that during inf phase we dont have any y(t).

Is it normal that equations differ in different phases or did we choose it that way for this assignment?

I mean we could have used following for training phase also
x(t+1) = y_hat(t)

and still compute loss function as y_hat- y

When you’re training, you use the known-correct training labels and compare them vs. the predictions.

When you’re doing inference, you’re just using the predictions as the output.