Equations are typed sentences

Find the mathematical nouns, the main verb, and the types that make a formula readable.

Notes

Read the value equation by role

Split an equation at its main relation, type the objects on each side, then read the largest operator from the outside inward.

Translate the spine

$$V_\pi(s)=\mathbb{E}_\pi[G_t\mid S_t=s]$$

The value assigned to state s under policy pi is the average future return, restricted to futures whose current state is s.

The bar is context

$$G_t\mid S_t=s$$

Tempting reading: Treating the vertical bar as division because it visually separates two expressions.

Read it with the operator

Inside this expectation, the right side is information held fixed: read the bar as “given,” with G sub t as the quantity being averaged.

Compare V and Q

$$Q_\pi(s,a)=\mathbb{E}_\pi[G_t\mid S_t=s,A_t=a]$$

An RL paper changes a state-value definition into an action-value definition.

Match both sides

Match the added input a on the left with the added condition A_t=a on the right; together they show that the value now depends on a chosen action.