LESSON 16.03 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Reversibility, dead ends and recovery
Watch which moves in a gridworld can be undone and which cannot.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 16.03 · GRIDWORLDREVERSIBLE 119 OF 132 MOVES
01
Stage 1 of 6 · Ways back
A move is reversible if some path leads back. Nothing climbs the ledge at x 1, yet 3 moves return.
Explain it simply
The agent starts on the left, and the goal waits on the right. A move is reversible when some path leads back to where it started. The arrow drops off the ledge, and no move climbs back up. Still, the dashed path walks back in 3 moves, round the end of the ledge.
The grid with the ledge, the pit and the vase. The drop at x 1 has a way back of 3 moves.
agent, intact vaseone-way moves, pit, damagegoal, paths, routeledge (down only)floor
Toy: an 8 × 5 grid with a down-only ledge, a pit and a vase
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
A move is reversible if the state before it is reachable after it.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.