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

Feasibility checks and unsolvable instances

Watch an oracle prove each generated gridworld solvable or not, then sort the batch.


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.28 · FEASIBILITY BAYINSTANCE 1 · T 12
01
Stage 1 of 6 · One instance
Instance 1 has 14 walls. The agent must reach the goal within 12 steps.
Explain it simply

A generator drew this grid from a seed. The filled squares are walls, the teal circle is the start and the blue square is the goal. The row of 12 empty boxes on the right is the step budget, one box for each step.

A 7 by 7 grid with 14 walls. The start is at r1 c5 and the goal at r3 c1. The budget is 12 steps.

start, reachable cellsgoal, plan, solvablestep budgetunsolvable, proof walls
instance 1 · 7 × 7 gridstep budget and oraclestep budget T = 12 steps1T = 12instance 1 · 7 × 7 gridstep budget and oraclestep budget T = 12 steps1T = 12
Toy: 12 seeded 7 × 7 gridworlds
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
feasible  ⟺  d≤T\text{feasible} \iff \sy{d}{out}{d} \le \sy{T}{param}{T}
T=12, walls=14T = 12,\ \text{walls} = 14

An instance is feasible if its goal is at most T steps away.

Common mix-ups

MYTHIf the agent fails an instance, the agent is weak.

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

Predict, then reveal
3 CHECKS · PRO
Q01If the wall density goes from 30% to 40%, does the score ceiling go up or down?

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.