Open and answer this issue on GitHub.
ready · opened 2026-11-21 · updated 2026-11-21 · 0 comments
Part of #1319 After #1319
The questions one compiler build asks (the bounds walk and prove_run) go through the batch entry sv_check_batch that #1319 builds, and stay on one thread: ADR-270 D8 says no harm, a thread costs more than a query of about 4 µs (D9), so parallel by default in the compiler is ruled out. This part routes them and shows the build neither slows down nor changes what it records. ADR-270 D8 step 4, D18 first bullet. The solver’s files are packages/logic/src/sv_*.nika (moved there in 4a48f306a, “The solvers and the logic layer are the package logic”).
prove_run’s questions go through sv_check_batch; on the compiler’s queries (tests/solver/compiler) the threshold keeps them on one thread. Test: tests/compiler/nikaia.proofs and the --locked tests unchanged.lower-std --bounds), and a --locked build is byte-identical at 1, 2 and the machine’s thread count.The compiler’s questions go through sv_check_batch on one thread, tests/compiler/nikaia.proofs and the --locked tests are unchanged, and the instruction count of lower-std --bounds before and after and the byte-identical --locked builds at 1, 2 and N threads are recorded here; the commit of item 1 carries Fixes #THIS.
packages/logic/src/sv_*.nika, the compiler’s call sites of the solver (the builder names them). Not changed: tests/compiler/nikaia.contracts, nikaia.derived.
Split from #1319 by Claude Code