Log inStart free
LESSON 16.02 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Concurrent actions and event ordering

Watch two robots and a door timer act in the same step.


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/mo
EXPLAINER · 16.02 · EVENT BAYSTEPS 0–1 · JOINT ACTION (+1, −1)
01
Stage 1 of 6 · Joint action
Each step, robots A and B both send an action at the same time. The environment gets one joint action.
Explain it simply

You see two robots in a corridor, and both want the package in cell 3. In each step, A moves right and B moves left at the same moment. The environment gets the two moves together, as one joint action. It must apply both of them in one step.

A corridor of 7 cells with the package in cell 3. Robot A starts in cell 0 and robot B in cell 6. Two lanes show steps 0 and 1, where both robots move one cell in each step. A is now in cell 2 and B in cell 4.

robots and their movesdoor timertie or blockpackage and winner
cell 0cell 1cell 2cell 3cell 4cell 5cell 6door openABstep01234567robot Arobot Bworld→1←5→2←4corridora₀ = a₁ = (+1, −1): both robots move in the same stepcell 0cell 1cell 2cell 3cell 4cell 5cell 6door openABstep01234567robot Arobot Bworld→1←5→2←4corridora₀ = a₁ = (+1, −1): both robots move in the same step
Toy: a 7-cell corridor, 2 robots, 1 door timer, 100 seeds
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
at=(atA, atB)\sy{a}{data}{a_t} = (\sy{aa}{data}{a^{A}_t},\ \sy{ab}{data}{a^{B}_t})
a0=a1=(+1, −1)a_0 = a_1 = (+1,\ -1)

The joint action holds the actions of both robots for step t.

Common mix-ups

MYTHA loop over the robots treats both robots the same.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If the door timer is off, does the event order change who wins?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

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.