Some of what Nikaia sets out to do has not been done in this form before, or not at this scale, and whether it works is something to find out rather than to promise. This section collects those questions. Each one says what we want to find out, how the answer will be measured, where the work stands, and which decision records and issues it rests on.
A question here is open. Where a page quotes a figure, the figure was measured and the page links to where. Where it describes something that is decided but not yet built, it says so.
The prover is the part of the compiler that proves claims about a
program while it is built, such as that an index stays inside its list, that
a sum does not overflow, or that an assert holds. Its questions are about
how much the prover proves without invariants or other hints written by the programmer, what is left for the
programmer to write, and how the prover itself has to be built to carry it.
How the prover is built describes its layers and
which of them exist today.
Performance with safety asks how far proofs carry a program towards the speed of the fastest code while it stays safe. Its questions are about which proofs each optimisation needs, what it takes to trust a proof enough to leave a check out, and whether an optimiser of our own over a fast backend can beat the established ones in compile time and run time. It builds on the questions about the prover, and its starting point is the 1BRC study.
Libraries written in Nikaia asks whether a library written in
Nikaia can be both safe and fast, with every index and operation in it proved to
stay inside its bounds, and its instructions counted against a tuned library
in Rust. Its first case study is the yaml package, measured against
saphyr-parser. Its questions are about the proofs, the distance to the tuned
parser, whether the compiler can show where to optimise, a grammar as the
parser, keeping comments when a file is written back, and an interface its
users already know.
The two bars are explained under open questions about the prover.