Roadmap
This is what MojoProof means to prove, one card per item, and how far each item has come so
far. The levels are computed from the code by
scripts/roadmap_status.py, not written
by hand, so nothing on this page is a promise : )
Want to help? Pick a card whose level can go up, and How to contribute says the rest. How the roadmap works explains the cards and the levels, and Figure 4 draws every card with its dependencies.
Summary
Cards per area, by level.
| Area | Cards | L0 | L1 | L2 | L3 | L4 |
|---|---|---|---|---|---|---|
| Floats | 7 | 0 | 4 | 0 | 3 | 0 |
| The GPU model | 9 | 0 | 8 | 0 | 1 | 0 |
| Kernels | 13 | 9 | 0 | 0 | 0 | 4 |
| Layout laws | 15 | 0 | 15 | 0 | 0 | 0 |
| LLVM IR constructs | 64 | 8 | 36 | 0 | 20 | 0 |
| std.math functions the corpus kernels call | 3 | 0 | 3 | 0 | 0 | 0 |
| All areas | 111 | 17 | 66 | 0 | 24 | 4 |
Records of GPU runs the cards cite: 4.
The levels
A card's level is the highest level whose evidence is present together with the evidence of every level below it.
The construct ladder
| Level | Meaning | Evidence |
|---|---|---|
| L0 | card written | the card, with every check passing |
| L1 | modelled in Lean | the card's lean names |
| L2 | tested against the GPU: a conformance test of the model against the GPU on the recorded inputs, not a proof | a tracked record of a GPU run of a test of the construct that agrees (a file of this repository) |
| L3 | used by a proved kernel | a kernel card id whose card has L2 evidence |
The kernel ladder
| Level | Meaning | Evidence |
|---|---|---|
| L0 | card written | the card, with every check passing |
| L1 | imported, and the evaluator agrees with a GPU run: a conformance test of the evaluator against the GPU on the recorded inputs, not a proof | a tracked record of a GPU run of the corpus kernel that agrees (a file of this repository) |
| L2 | memory safety and race freedom for every valid launch of the shape the theorem states | a Kernel.Sound theorem (declaration name); the launches its premises admit are listed per card |
| L3 | the outputs are the TorchLean operation's, under the theorem's premises | a theorem equating the output with the TorchLean operation (declaration name); its launch shape, and whether it needs a finite output and gives the real value rounded, are listed per card |
| L4 | an IEEE bound, or bit-exact | a theorem bounding the error, or giving the exact bits (declaration name); its premises are listed per card as for L3 |