Algorithm Search⌘K

Data structurecore

Topological map

Also called place graph.

A graph whose vertices are distinct places and whose edges are the paths between them, labeled with the actions that follow them, without a global metric frame.

Time
O(1) expected add_edge · stepO(1) add_placeO(V + k V) expected localizeO((V + E) log V) route
Space
O(V + E) total
Where
E = the number of edges; V = the number of places; k = the number of steps of a localization query
Origin
Benjamin Kuipers, Yung Tai Byun, 1991

A topological map stores the environment of a robot as a graph. A vertex is a place that the robot can recognize, such as a junction of corridors or a door, and an edge is a path that the robot can follow from one place to the next. An edge has a label for the action that follows it, for example "go east along the corridor", and can have a length. There is no global coordinate frame: the map says what is connected to what and how to get there, not where things are. This makes the map small and robust to errors of odometry, and it suits planning routes and talking about places. It is weak when two places look the same, which is the problem of perceptual aliasing. This page describes the structure, the operations to build it, to plan a route and to localize by a sequence of actions and observations, and their costs. Kuipers and Byun (1991) made this the central level of a robot map, and the occupancy grid map is its metric counterpart.

In plain words

Think of how you give directions in a building: "from the lift, go to the end of the corridor, turn left, and it is the second door". You do not use coordinates. A topological map is the same idea for a robot. It is a list of places that the robot can recognize, and for each place the ways out of it, each leading to another place. To plan a route, the robot finds a chain of ways out from where it is to where it wants to go. If it does not know where it is, it looks at the place, makes a move, looks again, and crosses out every place on the map that does not fit what it saw.

The abstract type

A topological map holds places and edges, with these operations:

  • add_place(σ): add a place with the signature σ\sigma, what the robot senses there, and return its id.
  • add_edge(u, a, v, b, ℓ): join the places uu and vv with an edge of length ℓ≥0\ell \ge 0. The action aa at uu leads to vv, and the action bb at vv leads back to uu.
  • step(v, a): the place that the action aa leads to from vv, or none.
  • route(s, t): a shortest route from ss to tt, as a list of places and a list of actions, or none if tt cannot be reached.
  • localize(σ_0, [(a_1, σ_1), ..., (a_k, σ_k)]): the set of places where the robot can be after it sensed σ0\sigma_0, took the action a1a_1, sensed σ1\sigma_1, and so on.

Representation

  • An array sig of signatures, indexed by the place id 0,…,V−10, \dots, V - 1.
  • An array out of dictionaries: out[v][a] = (w, ℓ) means that the action aa at vv leads to ww along an edge of length ℓ\ell. This is an adjacency list keyed by the action.

Invariant (T). (1) For each place vv and each action aa, there is at most one entry out[v][a]. (2) Each edge appears twice, as out[u][a] = (v, ℓ) and out[v][b] = (u, ℓ). (3) All lengths are ≥0\ge 0.

Part 1 says that actions are deterministic in the map: an action at a place has at most one outcome. A real robot may fail to follow an action; the map records the intended outcome.

Operations

  1. ADD-PLACE(G, σ)
  2. 1v ← |V|; sig[v] ← σ; out[v] ← an empty dictionary; return v
  3. ADD-EDGE(G, u, a, v, b, ℓ) ▷ a leads from u to v, b from v to u
  4. 2if a is a key of out[u], or b is a key of out[v], or (u = v and a = b) then error
  5. 3out[u][a] ← (v, ℓ); out[v][b] ← (u, ℓ)
  6. ROUTE(G, s, t) ▷ Dijkstra on the lengths
  7. 4d[s] ← 0; Q ← a min-heap with (0, s)
  8. 5while Q is not empty do
  9. 6pop (δ, u) with the smallest δ; if δ > d[u] then continue; if u = t then stop
  10. 7for each action a with out[u][a] = (w, ℓ) do
  11. 8if δ + ℓ < d[w] then d[w] ← δ + ℓ; prev[w] ← (u, a); push (d[w], w)
  12. 9if t was reached, follow prev from t back to s and return d[t], the places and the actions
  13. LOCALIZE(G, σ_0, [(a_1, σ_1), ..., (a_k, σ_k)])
  14. 10C ← {v : sig[v] = σ_0}
  15. 11for i ← 1 to k do
  16. 12C ← {w : v ∈ C, out[v][a_i] = (w, ℓ) for some ℓ, sig[w] = σ_i}
  17. 13return C

ROUTE is Dijkstra's algorithm on the directed graph of the actions, with the lazy deletion of old heap entries. With unit lengths, breadth-first search gives the routes with the fewest edges. LOCALIZE keeps the set of places that agree with all observations so far; because actions are deterministic in the map, ∣C∣|C| never grows.

Example

The map of one floor has seven places. The signature of a place is its kind: a corner, a T junction or a dead end. The actions are the compass directions, and each edge has its length in meters.

A (corner) -E 5- B (T) -E 4- C (corner)
   |S 3            |S 3         |S 3
D (T) ----E 4---- E (T) -E 4- F (corner)
   |S 2
G (dead end)

Route. From A to F, three routes reach F: A, B, C, F of length 5+4+3=125 + 4 + 3 = 12, A, B, E, F of length 1212, and A, D, E, F of length 3+4+4=113 + 4 + 4 = 11. ROUTE returns the places A, D, E, F with the actions S, E, E and the length 11.

Localization. The robot wakes up at a T junction. LOCALIZE starts with C={B,D,E}C = \{B, D, E\}.

step action sensed candidates
0 T {B, D, E}
1 E corner {C, F}: B leads east to C, a corner; D leads east to E, a T, which is out; E leads east to F, a corner
2 S corner {F}: C leads south to F, a corner; F has no way south

After two moves the robot knows that it is at F, so it started at E. The reading "T" after the action N from a T junction would give {B}\{B\}, and "dead end" after N would give the empty set: the observations do not fit the map, which means a sensing error or a wrong map.

Aliasing. Four corners joined in a square, with the actions "left" and "right", cannot be told apart: every sequence of actions leaves all four places as candidates. Only a difference in signatures or in the structure of the graph lets the robot localize.

Correctness

ADD-PLACE and ADD-EDGE keep the invariant (T): line L2 refuses an edge that would give a second outcome to an action at a place, and line L3 writes both directions. ROUTE is Dijkstra's algorithm with nonnegative lengths, so it returns a shortest route. The correctness proof shows that LOCALIZE returns exactly the set of places ww such that some place v0v_0 with the signature σ0\sigma_0 leads by the actions a1,…,aka_1, \dots, a_k through places with the signatures σ1,…,σk\sigma_1, \dots, \sigma_k to ww. So the true place is always in the set when the robot senses and acts without error, and every place in the set agrees with the data. The tests compare ROUTE with the Floyd-Warshall distances and LOCALIZE with a search from every start place, on random maps.

Proof: The topological map keeps its invariant, ROUTE finds a shortest route, and LOCALIZE returns exactly the consistent placesfull

Setting. A map has the places 0,…,V−10, \dots, V - 1, the signatures sig[v]\mathrm{sig}[v] and the dictionaries out[v]\mathrm{out}[v]. For a place vv and an action aa, write step(v,a)=w\mathrm{step}(v, a) = w if out[v][a]=(w,ℓ)\mathrm{out}[v][a] = (w, \ell), and step(v,a)=⊥\mathrm{step}(v, a) = \bot if aa is not a key of out[v]\mathrm{out}[v]. The invariant (T) is: (1) each pair (v,a)(v, a) has at most one entry; (2) every edge added by ADD-EDGE has its two entries; (3) every length is ≥0\ge 0.

For the data σ0\sigma_0 and (a1,σ1),…,(ak,σk)(a_1, \sigma_1), \dots, (a_k, \sigma_k), a place ww is consistent if there are places v0,v1,…,vk=wv_0, v_1, \dots, v_k = w with sig[v0]=σ0\mathrm{sig}[v_0] = \sigma_0 and, for i=1,…,ki = 1, \dots, k, vi=step(vi−1,ai)≠⊥v_i = \mathrm{step}(v_{i-1}, a_i) \ne \bot and sig[vi]=σi\mathrm{sig}[v_i] = \sigma_i.

Assumptions. Dictionary operations behave as maps from keys to values. Lengths are compared and added exactly.

Claim.

  1. ADD-PLACE and ADD-EDGE keep (T), or ADD-EDGE raises an error and leaves the map unchanged.
  2. ROUTE(s,t)(s, t) returns the length of a shortest directed path from ss to tt in the graph with an arc u→wu \to w of length ℓ\ell for each entry out[u][a]=(w,ℓ)\mathrm{out}[u][a] = (w, \ell), together with a path of that length and its actions, or none if there is no path.
  3. LOCALIZE returns exactly the set of consistent places.

Proof.

Claim 1. ADD-PLACE appends a place with an empty dictionary, which adds no entry, so (T) still holds. ADD-EDGE first checks that both places exist and that ℓ≥0\ell \ge 0, else it raises an error before any change. Line L2 raises an error if aa is already a key of out[u]\mathrm{out}[u], or bb of out[v]\mathrm{out}[v], or if u=vu = v and a=ba = b, in which case the two writes of line L3 would give one key two meanings. Otherwise aa is new at uu and bb is new at vv, and they are different keys if u=vu = v, so line L3 adds two new entries and changes none. Part 1 holds because each new key was absent, part 2 because both entries are written, and part 3 because ℓ≥0\ell \ge 0.

Claim 2. The arcs of the graph are the entries of the dictionaries, and by (T) all lengths are ≥0\ge 0. Lines L4 to L8 are Dijkstra's algorithm with a binary heap and lazy deletion: an entry (δ,u)(\delta, u) with δ>d[u]\delta > d[u] is out of date and skipped. For nonnegative lengths, Dijkstra's algorithm pops each place uu with δ=d[u]\delta = d[u] equal to its shortest distance from ss, and prev\mathrm{prev} then holds a shortest path tree of the places reached; the proof is on the page of Dijkstra's algorithm. Stopping when tt is popped does not change d[t]d[t], which is final at that moment. If tt is never reached, no path exists, because every place reachable from ss is eventually pushed. Line L9 follows prev\mathrm{prev} from tt; each prev[w]=(u,a)\mathrm{prev}[w] = (u, a) was set together with d[w]=d[u]+ℓd[w] = d[u] + \ell for out[u][a]=(w,ℓ)\mathrm{out}[u][a] = (w, \ell), so the actions replay the path and its lengths add up to d[t]d[t]. The chain ends at ss. Say that a place is settled when it is popped with δ=d[u]\delta = d[u]. Line L8 sets prev[w]=(u,a)\mathrm{prev}[w] = (u, a) only while uu is being settled, and ww is settled later, after its last such update, so along the chain the settle times strictly decrease. (The place tt is settled when the loop stops.) Hence the chain has no cycle. It can only end at a place without prev\mathrm{prev}, and ss is the only such place that was reached: d[s]=0d[s] = 0 and lengths are ≥0\ge 0, so line L8 never sets prev[s]\mathrm{prev}[s], while every other place that was reached got its dd from line L8.

Claim 3. Let CiC_i be the set after ii passes of line L12, and let KiK_i be the set of places consistent with the first ii steps of the data. We show Ci=KiC_i = K_i by induction on ii.

For i=0i = 0, line L10 gives C0={v:sig[v]=σ0}C_0 = \{v : \mathrm{sig}[v] = \sigma_0\}, which is K0K_0 by the definition with k=0k = 0.

Assume Ci−1=Ki−1C_{i-1} = K_{i-1}. If w∈Kiw \in K_i, there is a chain v0,…,vi=wv_0, \dots, v_i = w as in the definition. Its first i−1i - 1 steps show vi−1∈Ki−1=Ci−1v_{i-1} \in K_{i-1} = C_{i-1}, and w=step(vi−1,ai)w = \mathrm{step}(v_{i-1}, a_i) with sig[w]=σi\mathrm{sig}[w] = \sigma_i, so line L12 puts ww into CiC_i. Conversely, if w∈Ciw \in C_i, line L12 found some v∈Ci−1=Ki−1v \in C_{i-1} = K_{i-1} with step(v,ai)=w\mathrm{step}(v, a_i) = w and sig[w]=σi\mathrm{sig}[w] = \sigma_i. The chain for vv extended by ww shows w∈Kiw \in K_i. So Ci=KiC_i = K_i, and LOCALIZE returns Ck=KkC_k = K_k.

By part 1 of (T), step(v,ai)\mathrm{step}(v, a_i) has at most one value, so each place of Ci−1C_{i-1} gives at most one place of CiC_i and ∣Ci∣≤∣Ci−1∣|C_i| \le |C_{i-1}|. ■\blacksquare

Remark. If the robot senses and acts without error, its true place is consistent by the definition, so it is in the set that LOCALIZE returns.

Complexity

The model is the word RAM, with dictionary operations in O(1)O(1) expected time by hashing.

operation time
add_place O(1)O(1) amortized
add_edge, step O(1)O(1) expected
route O((V+E)log⁡V)O((V + E) \log V) with a binary heap
localize O(V)O(V) for line L10, then O(∣C∣)≤O(V)O(\lvert C \rvert) \le O(V) expected per step, so O(V+kV)O(V + k V)

The space is O(V+E)O(V + E). A topological map of a building has a few hundred places where an occupancy grid of the same building has millions of cells.

Variants

  • Metric annotations. Store at each edge the relative pose between its ends, and at each place a small local map. This is the topological and metric hybrid of the spatial semantic hierarchy (Kuipers, 2000), and close to a pose graph.
  • Voronoi graphs. Take the places as the meeting points of the Voronoi diagram of the free space, where the robot is equally far from three or more obstacles. The edges are the paths along the diagram. Choset and Nagatani (2001) built and localized in such maps.
  • Probabilistic localization. Replace the set of candidates by a probability for each place, updated by a Bayes filter over the graph with error models for actions and signatures. This handles sensing errors that the set version cannot.
  • Regions. Group places into rooms or zones, as a hierarchy, to plan in large buildings.

When to use it

Use a topological map for route planning over large spaces, for tasks given in terms of places ("go to the kitchen"), and when the metric error of odometry is too large for one consistent metric map. Use an occupancy grid map or a pose graph when the robot needs exact positions, for example to avoid obstacles or to align scans. Most systems use both: a topological map on top of local metric maps.

Pitfalls

  • Perceptual aliasing. Two places with the same signature and the same neighborhood cannot be told apart. LOCALIZE then keeps both, and a mapping system that merges them builds a wrong map. Rich signatures and checks of loop closures reduce the risk.
  • Errors of sensing. One wrong signature removes the true place from the set of LOCALIZE, and the set can become empty. Treat an empty set as a sign of an error, and use a probabilistic version if errors are common.
  • Actions that fail. The map assumes that an action leads to its recorded place. A robot that misses a junction is somewhere else. Detect this with the signature of the place where it arrives.
  • Two edges with one label. If two exits of a place have the same action label, the map is not deterministic and the operations above are wrong. Line L2 refuses such an edge.

Implementations

Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.

topological_map.pyI0RawGitHub
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/topological-map/. The authors are listed in prov/KYBFGV.jsonl.

"""A topological map: places with signatures, joined by edges with action labels.

A place is an integer id with a signature, the value that the robot senses
there (for example the kind of junction). An edge joins two places. It has
a length and two action labels: the action that leads from the first place
to the second, and the action that leads back. At each place, an action
label leads to at most one place, so a route is a list of actions.

There is no global coordinate frame. The lengths are only used to rank
routes and must be >= 0.
"""

import heapq
import math


class TopologicalMap:
    def __init__(self):
        self.sig = []  # sig[v] is the signature of place v
        self.out = []  # out[v][action] = (w, length)

    def add_place(self, signature):
        """Add a place and return its id."""
        v = len(self.sig)  # @line L1
        self.sig.append(signature)
        self.out.append({})
        return v

    def add_edge(self, u, a, v, b, length):
        """Join u and v: action a leads from u to v, and action b from v to u."""
        if not (0 <= u < len(self.sig) and 0 <= v < len(self.sig)):
            raise ValueError("unknown place")
        if length < 0:
            raise ValueError("negative length")
        if a in self.out[u] or b in self.out[v] or (u == v and a == b):  # @line L2
            raise ValueError("an action label is used twice at one place")
        self.out[u][a] = (v, length)  # @line L3
        self.out[v][b] = (u, length)

    def step(self, v, a):
        """Return the place that action a leads to from v, or None."""
        e = self.out[v].get(a)
        return None if e is None else e[0]

    def route(self, s, t):
        """Return (length, places, actions) of a shortest route from s to t, or None.

        This is Dijkstra's algorithm on the directed graph of the actions.
        """
        dist = {s: 0}  # @line L4
        prev = {}
        heap = [(0, s)]
        while heap:  # @line L5
            d, u = heapq.heappop(heap)  # @line L6
            if d > dist[u]:
                continue
            if u == t:
                break
            for a, (v, length) in sorted(self.out[u].items(), key=lambda item: repr(item[0])):  # @line L7
                nd = d + length
                if nd < dist.get(v, math.inf):  # @line L8
                    dist[v] = nd
                    prev[v] = (u, a)
                    heapq.heappush(heap, (nd, v))
        if t not in dist:
            return None
        places, actions = [t], []  # @line L9
        while places[-1] != s:
            u, a = prev[places[-1]]
            places.append(u)
            actions.append(a)
        return dist[t], places[::-1], actions[::-1]

    def localize(self, first, steps):
        """Return the set of places where the robot can be.

        first is the signature sensed at the start, and steps is a list of
        (action, signature) pairs: the robot took the action and then sensed
        the signature. Perception and actions are assumed free of errors.
        """
        cands = {v for v in range(len(self.sig)) if self.sig[v] == first}  # @line L10
        for a, z in steps:  # @line L11
            nxt = set()
            for v in cands:
                w = self.step(v, a)
                if w is not None and self.sig[w] == z:  # @line L12
                    nxt.add(w)
            cands = nxt
        return cands  # @line L13
test_topological_map.py 165 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/topological-map/. The authors are listed in prov/KYBFGV.jsonl.

import math
import random

import pytest

from topological_map import TopologicalMap

OPP = {"N": "S", "S": "N", "E": "W", "W": "E"}


def floor_map():
    """The map of the page: a 2 by 3 block of corridors and one dead end.

    A(corner) - B(T) - C(corner)
    |           |      |
    D(T) ----- E(T) - F(corner)
    |
    G(dead end)
    """
    m = TopologicalMap()
    ids = {}
    for name, sig in [("A", "corner"), ("B", "T"), ("C", "corner"), ("D", "T"), ("E", "T"), ("F", "corner"), ("G", "end")]:
        ids[name] = m.add_place(sig)
    for u, a, v, length in [("A", "E", "B", 5), ("B", "E", "C", 4), ("A", "S", "D", 3), ("B", "S", "E", 3),
                            ("C", "S", "F", 3), ("D", "E", "E", 4), ("E", "E", "F", 4), ("D", "S", "G", 2)]:
        m.add_edge(ids[u], a, ids[v], OPP[a], length)
    return m, ids


def test_route_on_the_page_map():
    m, ids = floor_map()
    length, places, actions = m.route(ids["A"], ids["F"])
    assert length == 11
    assert places == [ids["A"], ids["D"], ids["E"], ids["F"]]
    assert actions == ["S", "E", "E"]
    assert m.route(ids["G"], ids["G"]) == (0, [ids["G"]], [])


def test_localize_on_the_page_map():
    m, ids = floor_map()
    assert m.localize("T", []) == {ids["B"], ids["D"], ids["E"]}
    assert m.localize("T", [("E", "corner")]) == {ids["C"], ids["F"]}
    assert m.localize("T", [("E", "corner"), ("S", "corner")]) == {ids["F"]}
    assert m.localize("T", [("W", "corner")]) == {ids["A"]}  # from B, the only T with a corner to its west
    assert m.localize("T", [("N", "T")]) == {ids["B"]}  # from E
    assert m.localize("T", [("N", "end")]) == set()  # inconsistent with the map


def test_symmetric_ring_cannot_be_resolved():
    # four corners in a square: every action sequence leaves all four candidates
    m = TopologicalMap()
    v = [m.add_place("corner") for _ in range(4)]
    for k in range(4):
        m.add_edge(v[k], "left", v[(k + 1) % 4], "right", 1)
    rng = random.Random(0)
    steps = [(rng.choice(["left", "right"]), "corner") for _ in range(20)]
    assert m.localize("corner", steps) == set(v)


def random_map(rng, n, labels):
    m = TopologicalMap()
    for _ in range(n):
        m.add_place(rng.randrange(3))
    for _ in range(3 * n):
        u, v = rng.randrange(n), rng.randrange(n)
        a, b = rng.choice(labels), rng.choice(labels)
        try:
            m.add_edge(u, a, v, b, rng.randint(0, 9))
        except ValueError:
            pass
    return m


def floyd_warshall(m):
    n = len(m.sig)
    d = [[math.inf] * n for _ in range(n)]
    for u in range(n):
        d[u][u] = 0
        for v, length in m.out[u].values():
            d[u][v] = min(d[u][v], length)
    for k in range(n):
        for i in range(n):
            for j in range(n):
                if d[i][k] + d[k][j] < d[i][j]:
                    d[i][j] = d[i][k] + d[k][j]
    return d


def test_route_matches_floyd_warshall():
    rng = random.Random(5)
    for _ in range(20):
        m = random_map(rng, 12, ["a", "b", "c", "d"])
        d = floyd_warshall(m)
        for s in range(12):
            for t in range(12):
                r = m.route(s, t)
                if d[s][t] == math.inf:
                    assert r is None
                    continue
                length, places, actions = r
                assert length == d[s][t]
                # the actions replay the route and add up to its length
                v, total = s, 0
                for a, w in zip(actions, places[1:]):
                    nxt, l = m.out[v][a]
                    assert nxt == w
                    v, total = w, total + l
                assert v == t and total == length


def test_localize_matches_brute_force():
    rng = random.Random(9)
    labels = ["a", "b", "c"]
    for _ in range(40):
        m = random_map(rng, 10, labels)
        start = rng.randrange(10)
        v, steps = start, []
        for _ in range(rng.randrange(6)):
            a = rng.choice(labels)
            w = m.step(v, a)
            if w is None:
                break
            steps.append((a, m.sig[w]))
            v = w
        got = m.localize(m.sig[start], steps)
        want = set()
        for v0 in range(10):
            if m.sig[v0] != m.sig[start]:
                continue
            v, ok = v0, True
            for a, z in steps:
                w = m.step(v, a)
                if w is None or m.sig[w] != z:
                    ok = False
                    break
                v = w
            if ok:
                want.add(v)
        assert got == want
        # the true place is always a candidate
        true_v = start
        for a, _ in steps:
            true_v = m.step(true_v, a)
        assert true_v in got


def test_errors():
    m = TopologicalMap()
    a = m.add_place("x")
    b = m.add_place("y")
    m.add_edge(a, "E", b, "W", 1)
    with pytest.raises(ValueError):
        m.add_edge(a, "E", b, "N", 1)  # E is taken at a
    with pytest.raises(ValueError):
        m.add_edge(a, "N", 5, "S", 1)
    with pytest.raises(ValueError):
        m.add_edge(a, "N", b, "S", -1)
    with pytest.raises(ValueError):
        m.add_edge(a, "loop", a, "loop", 1)
    assert m.route(b, a) == (1, [b, a], ["W"])
    c = m.add_place("z")
    assert m.route(a, c) is None

History

Kuipers and Byun (1991) proposed a map built on distinctive places and travel edges, learned by exploration, with metric information added only on top of the graph. Kuipers (2000) developed this into the spatial semantic hierarchy, with control, causal, topological and metric levels. Choset and Nagatani (2001) used the generalized Voronoi graph as a topological map for SLAM. Later systems combine topological graphs of places with local metric maps.

References

  1. Benjamin Kuipers and Yung-Tai Byun, A robot exploration and mapping strategy based on a semantic hierarchy of spatial representations, Robotics and Autonomous Systems 8(1-2), 1991, pages 47 to 63, the distinctive places, the travel edges between them, and the topological map as the level between control and metric maps
  2. Benjamin Kuipers, The spatial semantic hierarchy, Artificial Intelligence 119(1-2), 2000, pages 191 to 233, the control, causal, topological and metric levels, and the topological map of places, paths and regions
  3. Howie Choset and Keiji Nagatani, Topological simultaneous localization and mapping (SLAM): toward exact localization without explicit localization, IEEE Transactions on Robotics and Automation 17(2), 2001, pages 125 to 137, the generalized Voronoi graph as a topological map whose nodes are meeting points, and localization by matching the graph

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH1 sketch
  • a full proof of time.add_edge
  • a full proof of time.add_place
  • a full proof of time.localize
  • a full proof of time.route
  • a full proof of time.step
  • a full proof of space.total
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
Code (python)I0 not checked yet
  • the tests did not run in this build
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/KYBFGV/text.yaml