Issue #3025: Prove the operations of the stream-buffer code (proof figure fell in 5e55b863..26f7dc9c)

Open and answer this issue on GitHub.

ready, solver · opened 2026-12-01 · updated 2026-12-01 · 0 comments

The driver’s proof figure fell between 0.0.1573 5e55b863 and 0.0.1573 26f7dc9c (docs/briefs/bugs/proved.log, PROVED FELL):

  5e55b863 26f7dc9c
indexes proved 3400/4295, 79.16 % 3416/4312, 79.22 %
operations proved 1657/2519, 65.78 % 1661/2535, 65.52 %

16 new operations, 4 of them proved; the reason groups (535 / 304 / 217 / 109 / 93) are unchanged. The prover proves no less than before: the new operations come with new compiler code it does not prove.

Where they come from. Operators (+ - *, += -= *=) each commit of the range adds to crates/nikaia-std/src/**/*.nika:

commit operators added lines added
e60aecadb: a stream’s views are counted with the cheapest step (ADR-stream-buffers-v1 D5) 14 433 (buffers.nika, emit_core_args, emit_keeps, emit_stmt)
d379cde17: a stream’s lines handed to a task over a bounded channel are counted views (ADR-stream-buffers-v1 D2, D3) 4 450 (buffers.nika, emit_keeps, tether.nika)
every other commit (0a3515230, 817fe5ec8, 3807ff3c3, 09b001a0f) 0  

The count is a text count and only points at the commits; step 1 gives the exact sites.

To build

  1. Diff lower-std --bounds --asserts between 5e55b863 and 26f7dc9c by function, and list the operations that are new and unproved (expected mostly in buffers.nika).
  2. Sort each one: a fact the prover lacks, which you build in the prover, or an operation with no bound, which gets one in the code (a guard or a checked form).
  3. Win the figure back to at least 65.78 % of operations.

Done when

The next PROVED line of the bugs lane shows operations at 65.78 % or more, with no new reason group.


Generated by Claude Code

Back to Open Issues