unknown (overflow) within 300 ms…Open and answer this issue on GitHub.
blocked, bugs · opened 2026-11-20 · updated 2026-11-22 · 3 comments
Filed by the driver from the Found: of the run of issue-2260 (#2260) (owner, 2026-11-06).
QF_LRA clock_synchro: 3 of 4 files end unknown (overflow) within 300 ms while z3 answers unsat, and no open issue tracks them: nikaia run scripts/solver.nika -- compare --files target/smtlib/qflra/clock_synchro gives clocksynchro_3clocks.main_invar.base.smt2 [unsat] ours overflow 16ms | z3 unsat 21ms, clocksynchro_8clocks.main_invar.base.smt2 [unsat] ours overflow 88ms | z3 unsat 44ms, clocksynchro_9clocks.main_invar.induct.smt2 [unsat] ours overflow 281ms | z3 timeout 10006ms; should be answered as z3 answers (#2260’s goal; ADR-270 D11 allows overflow only where no other pivot, variable or split is left); cause unknown (suspected the rational simplex in packages/logic/src/sv_num.nika, not the integer elimination #2307 covers; check: an eprintln at each null of sv_num.nika on the 3clocks file)
develop first: the run that wrote it may have used a binary older than the tip, so it may be fixed already (#1822: #1788 was filed from a probe a fix under #1754 had already made pass). A probe that passes there names the commit that fixed it (git log -400 --grep by topic, since a fix often lands under another issue’s number), and the run builds only a tests/compiler/tests/ test that pins it (docs/issues.md I13).std defect with a probe (nikaia run scripts/probe.nika -- SNIPPET; a lowered file that differs, with an uncached lower-std of a git archive HEAD copy, NIKAIA_LOWER_CACHE_SALT fresh and --sysroot COPY/crates, its lowered/ diffed against the copy’s, never the shared working tree’s, #1793), a defect in docs/, guide/, website/ or scripts/ (a stale example, a wrong rule) with the command or check that shows it; a behaviour the code does on purpose (name the function or ADR) closes it as by design. The Found line may lack them (#1710): the commit message, or the report’s Body: when closed, gives the probe or check with its expected output, the ADR or Part I-III section that says so, and its actual output (docs/issues.md I5, I6), and the cause, file and function, traced or suspected (I7).std defect in the compiler, a stale page example or rule in its page or docs/ file, a script defect in the script. Add a test in tests/compiler/tests/ unless a check that already runs turns red on it (name it: pre-push’s page-examples for guide/ and website/, check-adr-refs.nika for a docs citation).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
Brief queued: issue-2397
agent: builder model: opus max_turns: 200 budget_usd: 30 effort: medium —
Your work order is issue #2397, inlined below with its comments. There is no
brief written around it: plan your own steps from its To build list, build
them in order, commit after each finished step, and end when its Done when
holds (or at the limits of builder.md, reporting what is left). The
facts in your prompt are Core of docs/builder-facts.md; more on a topic:
nikaia run scripts/syntax.nika -- KEYWORD, a probe: nikaia run scripts/probe.nika -- SNIPPET.
Measure the issue against docs/issues.md while you work: what it lacked,
what was wrong in it. That answer goes into the report’s Issue: field.
A finding, a changed plan or a finished item also goes into the issue as a
comment (gh api repos/Nikaia-Foundation/Nikaia/issues/2397/comments -F body=@file,
ending with the Claude Code footer), rule I13.
develop in the main checkout; other agents’ uncommitted files are not yours: never touch or stage them.target/fast/nikaia run scripts/commit.nika -- REPORT (it adds exactly the report’s Files:); the driver pushes.cargo build --profile fast -p nikaia, lower-std and its fixpoint when a tools/*.nika changed, cargo fmt, cargo clippy --all-targets -- -D warnings, nikaia run scripts/pre-push.nika, the tests the issue names and the ones your change touches.CHANGELOG.md, badges and NK codes are the supervisor’s. New tests in Nikaia only: a Rust test file an older issue names is built as a tests/compiler/tests/ program, no Deviation: and no Issue: point (I9, #1671).Body:. Found: is only for what lies outside the area, cannot be fixed this run or needs a decision; the driver files it as an issue.std or the toolchain lacks stops the work, unless an ADR or Part I-III refuses it (name it): Result: blocked, Found: the gap with a probe, Needs: supervisor decision.NIKAIA_CACHE_LIMIT=2G; at the end delete your own clone’s target/ and target/release/nikaia-scratch.suspected, or does not mark (docs/issues.md I7), is a hypothesis: run the check that settles it (nikaia run scripts/where.nika -- NAME, the probe with a trace, callgrind for a cost) before you build on it (owner, 2026-11-16). Shown false: say so in Issue: as wrong I7: <what the check showed> (the driver comments it on the issue) and follow the real cause.Result: partial with what you ruled out, the probe, and the suspected file and function./home/user/Nikaia/docs/briefs/bugs/issue-2397.md.report.md)Fields: Result, Files, Commit, Body (optional), Fixes, Pushed, Tests, Gate, Deviation, Found, Needs, Changelog, Issue, Owner (a question for the owner), Comment (#N <text>, what to say on another issue; the driver posts it, one line each), Friction, Disk freed, and last Attribution: with your commit trailer lines below it.
Result:, Gate: (green or red <check>), Deviation:, Found: and the other fields with nothing to say hold the bare word: done, none. Anything after it reads as content.Result: done only when the issue’s Done when holds; partial with the items left otherwise.Deviation: only for an item of the issue built otherwise than written, or not built. Found: only for a defect outside your area, or one this run cannot fix: one defect per Found: line, with its probe and the output it gives, only the shapes that fail today, and the suspected file and function or cause unknown (#1695); a by-design behaviour is none (#1677). A correct program your own change refuses (a fail-closed check’s false refusal) is no Deviation: but one Found: line per shape, with its probe (#1680). Everything else goes into Body:; how you verified goes into Tests:.Issue: by docs/issues.md, How a run judges its issue: complete, or broke I<n>: ..., rules-gap: ..., wrong I<n>: ..., joined with ;; a point your own commit built gets (built) after its kind (rules-gap (built): ...), and the driver does not file it. complete is the bare word: prose after it (complete; the earlier runs ...) is filed as an improvement issue (#1931); history or a note for your own issue goes into Body: or Comment: #N <text>.done <sha>, report <path> (or BLOCKED: ... / PUSH REJECTED ...).Generated by Claude Code
Run: issue-2397, Result: partial: 3clocks and 8clocks already proved and pinned at HEAD; 9clocks main_invar.induct waits for the big-number fall-back of ADR-270 D11 (decided 2026-11-22 on #2671, not built)
Tokens: input 22, cache read 404125, cache write 33217, output 5045 Cost: 0.49 USD, time 2 min 0 s, turns 11
Result: partial: 3clocks and 8clocks already proved and pinned at HEAD; 9clocks main_invar.induct waits for the big-number fall-back of ADR-270 D11 (decided 2026-11-22 on #2671, not built)
Files: none
Commit: none
Body: Nothing committed. clocksynchro_3clocks.main_invar.base and clocksynchro_8clocks.main_invar.base were fixed by “solver: a simplex pivot whose row leaves i64 is combined in double width and reduced by its gcd” (Fixes #2307) and are already pinned: 3clocks in tests/compiler/tests/solver_sample (proved 39, certificate checked), 8clocks in tests/compiler/tests/solver_regress (proved 79), both added by “solver: QF_LRA clock_synchro 8clocks joins the regression set” (Fixes #2400), whose run showed both go back to unknown (overflow) with the exact fallback turned off. 9clocks main_invar.induct (z3 times out too): traced by #2400’s run and “Simplex: a pivot that leaves i64 waits for another violated row” (Part of #2101) to feasible’s overflow with every pivot of every violated row leaving i64 even reduced (entries up to 72 bits, gcd 1), so by the D11 text before 2026-11-22 the answer unknown (overflow) was by design; the owner’s amendment of D11 (#2671) now adds a budgeted big-number fall-back (std BigInt, Part I 2.2), a multi-file std and simplex build that does not fit this run.
Fixes: none
Pushed: none
Tests: target/fast/nikaia (built after HEAD 5dc2644ec) nikaia run scripts/solver.nika -- run tests/solver/sample/qflra/clock_synchro/clocksynchro_3clocks.main_invar.base.smt2 gives proved 39, certificates checked 1; same for tests/solver/regress/clock_synchro-clocksynchro_8clocks.main_invar.base.smt2 gives proved 79; the issue’s compare --files target/smtlib/qflra/clock_synchro could not run: target/smtlib is absent in this checkout (no such file or directory), so 9clocks was not rerun
Gate: green
Deviation: none
Found: none
Needs: #2671
Changelog: none
Issue: broke I13: the Found was filed after the commit that Fixes #2307 had already made 3clocks and 8clocks pass (#2400’s run recorded it the same day), so two of its three files were stale; wrong I7: the suspected sv_num.nika is only where the overflow is detected; the cause is rows whose entries leave i64 even gcd-reduced in SvSimplex::feasible (sv_simplex.nika), already traced by #2400’s run
Owner: none
Comment: #2671 QF_LRA clock_synchro clocksynchro_9clocks.main_invar.induct is one file the big-number fall-back should answer: every simplex pivot there forms rows with entries up to 72 bits (gcd 1) even reduced (traced in #2400); 3clocks and 8clocks of #2397 are already proved since the fix for #2307
Friction: target/smtlib (the issue’s probe corpus) is absent from the shared checkout, so the issue’s compare command answers no such file or directory: target/smtlib/qflra/clock_synchro
Disk freed: none (cache 1.8G, / 13G free, no new entries over 100 MB)
Attribution:
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01UVxJDutPTwP5Xj5HkGuidk
target/smtlib is missing from this checkout, so I had to rebuild what had happened from git log --grep and docs/solver-workload.md.tests/solver/sample/... and tests/solver/regress/...) and the commits that fixed and pinned 3clocks and 8clocks (Fixes #2307, Fixes #2400).compare --files failed because the corpus is missing.solver.nika -- run on the two pinned files proved both. That was the useful check.solver_sample or solver_regress as whole tests: the runs on the single files show the same answers.Found: whose files a commit in the same run’s history already fixed. Failing that, the brief should list the git log --grep hits for the issue’s topic words (here clocksynchro).broke I13: two of its three files were already fixed when it was filed (Fixes #2307), and #2400’s run had recorded that the same day.wrong I7: it suspected sv_num.nika. The cause is SvSimplex::feasible in sv_simplex.nika: rows whose entries leave i64 even after gcd reduction. #2400’s run had already traced this.rules-gap: no rule asks an issue whose probe reads a downloaded corpus to name the command that fetches it, or a pinned copy of the file under tests/solver/.knowledge: Probes | target/smtlib may be absent in the shared checkout; the solver probes also run on the pinned copies under tests/solver/sample and tests/solver/regress.Fact: Probes | A solver issue's compare –files target/smtlib/… can fail with "no such file or directory" in the shared checkout; run solver.nika – run on the pinned copy under tests/solver/ first.Fact: Core | A solver overflow Found filed before the latest ADR-270 D11 amendment may now wait for the big-number fall-back (#2671); check D11's amendments before tracing.Fact: Solver | 2026-11-22, HEAD 5dc2644ec, target/fast/nikaia: clocksynchro_3clocks.main_invar.base proved 39 and clocksynchro_8clocks.main_invar.base proved 79, certificates checked.Fact: Solver | clocksynchro_9clocks.main_invar.induct stays unknown (overflow) until the ADR-270 D11 big-number fall-back (#2671, std BigInt, Part I 2.2) is built; I could not re-run it on 2026-11-22 because target/smtlib is absent.Generated by Claude Code
Bug lane, 2026-11-22: 3clocks and 8clocks are proved and pinned since the fix for #2307. 3clocks is in tests/compiler/tests/solver_sample (proved 39) and 8clocks in solver_regress (proved 79), both added with #2400.
The last file, 9clocks main_invar.induct, ends unknown (overflow) because every pivot forms rows up to 72 bits, even gcd-reduced. It waits for the big-number fall-back the owner decided on #2671. That fall-back is being built in “LRA simplex: resume in BigInt after an i64 overflow, with a budget” (#2707). Status set to blocked until #2707 lands.
Generated by Claude Code