Issue #2887: Prover, (c) of #2873: `let mut cut = 0; if n > 256 { cut = n - 256; while…

Open and answer this issue on GitHub.

ready, bugs, queued · opened 2026-11-28 · updated 2026-11-29 · 0 comments

Filed by the driver from the Found: of the run of issue-2873 (#2873) (owner, 2026-11-06).

Found

Prover, (c) of #2873: let mut cut = 0; if n > 256 { cut = n - 256; while cut > 0 && b[cut - 1] != '\n' { cut -= 1 } }; assert(cut >= 0) gives NK1300 “nothing before it shows it” on HEAD 35f8ef158 (the same assert inside the if is proved); traced: prover_join_arms (prover_walk.nika) does not carry the then-side’s new LoopRecords into the joined scope, so the loop’s invariant is lost at the join

To build

Done when

The probe or check gives the expected output the first item names from its ADR or Part I-III section, and a tests/compiler/tests/ test (or the named check) that failed on the unfixed tree is green; or the probe already passes on develop and a test pins it, naming the commit that fixed it; or the issue is closed as by design, naming the function or ADR.


Generated by Claude Code

Back to Open Issues