sₜ is the state at step t, aₜ the action taken there; s′ is the next state.
In ML papers
In an RL paper, st is the state at time step t (what the agent observes or what the world is) and at is the action it takes. The policy picks the action, at∼π(⋅∣st), and the environment moves to a new state st+1∼P(⋅∣st,at). A prime, s′ and a′, is shorthand for the next state and action when there is no time index.
A run of these, τ=(s0,a0,r0,s1,a1,…), is a trajectory. In RL for language models, the state is the prompt plus the tokens so far and each action is the next token.
Other meanings, by context
Partial observability. When the agent cannot see the full state, papers write the observation as ot and keep st for the hidden true state.
How to type it
LaTeX
Shows
s_t
st
a_t \sim \pi(\cdot \mid s_t)
at∼π(⋅∣st)
s'the next state
s′
A worked example
(st,at,rt,st+1)=(cell 3,right,0,cell 4)
One transition in a grid world: from cell 3, moving right gives no reward and lands in cell 4.
Common confusions
The prime in s′ (Prime) means "next", not a derivative.