# The map

## What a node is

The map is a directed graph with no cycles. Its nodes are the items of the book: definitions, theorems, algorithms, programs, numbered equations and exercises. Its edges mean "uses". An exercise may use the answers of the earlier exercises, as the book allows, so the map records these edges too.

A node is one YAML file in `blueprint/nodes/` of [tamnd/taocp](https://github.com/tamnd/taocp). Its tag is `TA` and 8 characters of base 32. It also has a book reference, such as `1.2.6-42` or `1.1-algE`, which is unique and readable.

## The status of a node

| Status | Meaning |
|---|---|
| `unclassified` | the node exists, and its kind is not accepted yet |
| `informal` | the node has no formal content, and two people accepted the reason |
| `unstated` | the node is formal and has no Lean statement yet |
| `stated` | the statement builds |
| `faithful` | the statement passed the fidelity checks F1 to F5, and F6 is signed |
| `defined` | a definition that builds with no `sorry` and passed its fidelity checks |
| `proved` | the proof uses only the standard axioms, and every node it uses is proved or defined |
| `proved-native` | as `proved`, but the proof also trusts the compiler |
| `proved-mod` | the proof is clean, and it takes a named hypothesis or uses a node that is not proved |
| `refuted` | the negation of the statement is proved |
| `open` | a research problem, with no proof claimed |
| `claimed` | a result from a preprint that the project has not checked |

`refuted` on an exercise is a finding and not a failure. It starts the errata flow of [the errata rules](https://github.com/tamnd/taocp/blob/main/errata/README.md).

## The routes

The work splits into ten routes, R1 to R10. R1 to R8 build the known content of the book, R9 is research, and R10 is the informal layer and the errata. The weights are in `blueprint/routes.yaml`, and spec 04 explains each route.
