Open and answer this issue on GitHub.
blocked, solver · opened 2026-11-17 · updated 2026-11-21 · 5 comments
Filed by the driver from the Found: of the run of issue-1338 (#1338) (owner, 2026-11-06).
QF_LRA family LassoRanker: ours 0 of 1, z3 and cvc5 1; nikaia run scripts/solver.nika -- run target/smtlib/qflra/LassoRanker/SV-COMP-HarrisLalNoriRajamani-2010SAS-Fig1_true-termination.c_Iteration1_Lasso_4-pieceTemplate.smt2 stops at the case budget; compare prints [unsat] ours unknown 15001ms | z3 unsat 1550ms | cvc5 unsat 9319ms; cause unknown
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.py 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-1964
agent: builder model: opus max_turns: 200 budget_usd: 30 effort: medium —
Your work order is issue #1964, 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/1964/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/solver/issue-1964.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-1964, Result: blocked
Tokens: input 98, cache read 3590357, cache write 91283, output 15323 Cost: 1.80 USD, time 1 min 1 s, turns 49
Result: blocked
Files: none
Commit: none
Body: Reproduced on HEAD 810fdc027 (binary current): nikaia run scripts/solver.nika -- run --stats target/smtlib/qflra/LassoRanker/SV-COMP-HarrisLalNoriRajamani-2010SAS-Fig1_true-termination.c_Iteration1_Lasso_4-pieceTemplate.smt2 gives unknown (cases) 1028, stats: conflicts 15, theory conflicts 12, lemmas 183 (repeated 0), decisions 472 in 2 s; the 15001 ms timeout of the Found predates the per-pivot case cost of #2048. On a git archive HEAD copy with lg_budget() raised to cases: 1000000 (logic_lia.nika) the default engine and --engine new-simplex both give unknown (overflow) 3634 after 129 s (conflicts 21, theory conflicts 13, lemmas 492, decisions 2647), and --engine new-fm gives unknown (theory) 0. With each self.overflow() call numbered, the fatal site is SvSimplex::feasible in sv_simplex.nika (line 731, if !pivoted { return self.overflow() }): each candidate pivot fails because sv_row_eliminate/sv_row_combine (sv_row.nika) would leave i64, even though the file’s coefficients are only 0, ±1 and ±2. Both stops are by design: the 1024-case lg_budget (and #2048’s 1 + 2·pivots per check), and ADR-270 D11 (i64 values; a step that would leave it is not taken, otherwise unknown (overflow)). So no defect to fix, nothing committed.
Pushed: none
Tests: none run beyond the probes in Body (nothing changed)
Gate: green
Deviation: none
Found: QF_LRA LassoRanker SV-COMP-HarrisLalNoriRajamani-2010SAS-Fig1_true-termination.c_Iteration1_Lasso_4-pieceTemplate.smt2 (z3 unsat 1.5 s): on HEAD 810fdc027 it stops by design at lg_budget (unknown (cases) 1028), and with cases: 1000000 in logic_lia.nika lg_budget it ends unknown (overflow) 3634 (--engine new-simplex the same, new-fm unknown (theory) 0); traced: SvSimplex::feasible (sv_simplex.nika:731), where every entering candidate’s pivot fails because sv_row_eliminate/sv_row_combine leaves i64. ADR-270 D11 says a measured set with overflow unknowns reopens the number decision; no decision yet on a wider number (a high-half product method, per D11’s correction of 2026-11-10) or a smarter pivot choice that keeps tableau rows small, nor on whether the case budget should cover a file needing more than 3634 cases
Needs: supervisor decision
Changelog: none
Issue: broke I7: the Found says cause unknown and names no function; the file stops at the case budget by design (lg_budget, #2048), and past it the simplex’s i64 limit (ADR-270 D11) stops it, so the issue is a capability question for a decision, not a defect
Owner: Should ADR-270 D11 be reopened for LassoRanker-style QF_LRA? Its simplex tableau rows leave i64 after about 2600 decisions, even though the file’s coefficients are only 0, ±1 and ±2.
Friction: running a raised budget or an instrumented solver needs a full git archive copy with git init and a copied target/fast/nikaia, because scripts/solver.nika finds its repository via git rev-parse and its compiler only under the copy’s target/fast; a --cases N flag on solver.nika run would replace the copy
Disk freed: scratch copy removed; target/nikaia-project-tests 407M, / 7.7G free of 252G; no new cache entry over 100 MB
Attribution:
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01UVxJDwk9ubq9teP7QCErff
solver.nika could not find nikaia in the copy, and the next showed that a Nikaia panic prints no backtrace, so I had to number the overflow sites by hand.unknown on purpose and says a measured overflow set reopens it. Also lg_budget in logic_lia.nika and the #2048 cost per pivot. The brief could have named D11 and lg_budget for any solver issue that ends in “stops at the case budget”.target/fast/nikaia in the copy, and the panic run that gave no backtrace.solver.nika run take --cases N, or document how to raise the budget, plus an env flag that makes an overflow print its site. Either one replaces the scratch copy and two rebuilds.unknown (cases) 1028 in 2 s.| Fact: Probes | scripts/solver.nika in a git archive copy needs git init and target/fast/nikaia copied into the copy, or it stops at “No nikaia found”. |
| Fact: Probes | A Nikaia panic in the solver rod prints only its file:line, no backtrace, so to find which call site fired, give each site its own label. |
| Fact: Core | A solver unknown (cases) is the fixed lg_budget (1024, logic_lia.nika), and unknown (overflow) is ADR-270 D11 by design; raise the budget in a copy first to see which limit really stops a file. |
Generated by Claude Code
The report of the run of issue-1964 (#1964) judged this issue against docs/issues.md; the author fixes the issue by the rule it names (How a run judges its issue):
Generated by Claude Code
Driver: not queued, this issue waits for #2101, which is still open (#1819). Set ready again when it is closed.
Generated by Claude Code
Still blocked. The pivot change it waited for (#2101) is on develop since 694f5100, but LassoRanker still overflows: every pivot leaves i64 because the tableau coefficients reach about 2^62. That is now “Simplex: the last two QF_LRA overflows - does the equality elimination grow the coefficients to 2^62?” (#2657). This issue waits for #2657.
Generated by Claude Code