Open and answer this issue on GitHub.
decision, solver · opened 2026-11-22 · updated 2026-11-22 · 1 comment
The driver reported a drop in the proof figure between b7c2f2a3 (0.0.1538) and ceef6975 (0.0.1547). In docs/briefs/solver/proved.log, operations went from 1561/2403 (64.96 %) to 1571/2427 (64.73 %), and the reason table’s “(no reason)” count went from 249 to 290.
I measured both commits again the way drive_proved does, and the figures match. No prover regression is behind them. No site that was proved at b7c2f2a3 is unproved at ceef6975, for indexes or for operations. The change comes from new code: 24 new operation sites, of which 10 are proved and 14 are not.
| Unproved | Commit | Where the new sites are |
|---|---|---|
| 4 | edd8776b9 | check_core_stmt.nika |
| 3 | b6c2c90c9 | order.nika:par_report |
| 1 each | 17b8190a2, dbf4adfab | |
| 1 each | 39dbb9fc3, aa09aa382, 7653f9c14, 40fdb621f, b5b73a6f1 | the *_connect functions of the passes: walk.next + 1 |
The “(no reason)” row is a defect in how it is labelled. scripts/proved.nika:136 takes every line that has " checked" and files any line without ": " after it as “(no reason)”. At both commits, every such line is an assert that is “checked when the test runs”, not an index or an operation. The row therefore counts the unproved test asserts a second time. It always equals the claims line’s “N not proved” (249, then 290). The 41 new ones are test asserts in the passes that moved to per-function entries:
| Asserts | Pass | Commit |
|---|---|---|
| 12 | touch | b5b73a6f1 |
| 10 | panics | 7653f9c14 |
| 8 | throws | 40fdb621f |
| 6 | locks | aa09aa382 |
| 5 | keeps | 39dbb9fc3 |
The row hides the real number of sites without a reason and makes the reason table look worse than it is.
scripts/proved.nika, skip the claim lines (checked when the test runs and the other forms the claims line already counts) so that they are not counted as a reason..nika test beside proved.nika, or a small report fixture, shows that an assert claim line is not counted as a reason.Nine of the 14 new unproved operations need one shape to be proved:
walk.next + 1, a counter field of a struct that is passed as a parameter (ADR-391 D1).+= 1 and -= 1. These belong to “A counter is proved by the bound of its loop” (#1634).Driver: #2776 is not queued, its form misses what a builder needs (nikaia run scripts/issue-check.nika -- 2776, docs/issues.md, #2003):
Needs, Part of or Found while line names it (docs/issues.md I4)Label swapped from ready to decision: add what is missing (a Needs #M line for an issue it waits for, or Part of #M), then set ready again.
Generated by Claude Code