Open and answer this issue on GitHub.
blocked, solver · opened 2026-11-22 · updated 2026-11-23 · 7 comments
Filed by the driver from the Found: of the run of issue-2707 (#2707). Decided by the supervisor on 2026-11-22, following the owner’s decision in #2671 (the i64 fast path stays, with a bignum fallback that has a budget). The decision is in the comment below.
LassoRanker (qflra/LassoRanker/...Fig1...4-pieceTemplate.smt2, run with nikaia run scripts/solver.nika -- run --stats --cases 16384 FILE) resumes in BigInt and then ends unknown (overflow).
The cause is big_conflict in packages/logic/src/sv_simplex.nika:
q.narrow() returns null).book.log.farkas, SvMult.ms) holds only i64.The instance should be proved (z3 says unsat).
SvMult, the log step in sv_proof.nika farkas) are BigInt whenever one of them does not fit i64. Where all of them fit, the step stays i64 as it is today, so the i64 fast path is unchanged.big_conflict hands its multipliers to the log without narrowing them to i64. The reason “unknown (overflow)” is no longer given for this case.sv_check.nika farkas) checks a BigInt step in BigInt. A wrong BigInt multiplier is refused, and a test shows that.tests/compiler/tests/ or the logic package’s tests proves a conflict whose multipliers do not fit i64, and the checker accepts its log.--stats before and after the change, counting instructions (docs/measuring.md).unsat with a checked certificate.Supervisor decision, 2026-11-22. This follows from the owner’s decision in #2671 (the i64 fast path stays, with a bignum fallback that has a budget), so it needs no owner round.
SvMult.ms, book.log.farkas, sv_proof.nika farkas) carries BigInt multipliers whenever a multiplier does not fit i64. Where all multipliers fit, the step stays i64 as it is now.sv_check.nika farkas) checks a BigInt step in BigInt.big_conflict hands its multipliers to the log as they are, with no narrowing to i64 that ends unknown.The issue is relabelled ready for the solver lane.
Generated by Claude Code
From the report of the run of issue-2750 (#2750):
once BigInt Farkas multipliers land, the Heizmann copy4/copy7/init5 and LassoRanker files go on in BigInt past line 1924 and meet big_budget (init5 had already spent 47.5M of 50M within 10 s), so the qflra figures after #2749 should be read against the budget too
Generated by Claude Code
Brief queued: issue-2749
agent: builder model: opus max_turns: 200 budget_usd: 30 effort: medium —
Your work order is issue #2749, 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/2749/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-2749.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-2749, Result: blocked
Tokens: input 40, cache read 884609, cache write 47047, output 9291 Cost: 0.78 USD, time 3 min 6 s, turns 20
Result: blocked
Files: none
Commit: none
Body: Stopped before the first edit. A BigInt farkas step must also go through the log’s text, because sv_ask_new_kind (packages/logic/src/sv_ask.nika) runs sv_log_of(sv_log_text(steps)) on every proof and panics when the log does not read back, and nikaia.proofs keeps that text. Writing the multipliers works with to_text(). Reading them back needs a BigInt made from decimal text, and std::bigint has no such method; Part I 2.2 lists only of, from_wide and reading back through narrow/sign/bits/the decimal text. The planned build, once that is decided: a new SvStep variant (e.g. BigFarkas(lits, srcs, Vec[BigInt], den)) made only when some multiplier fails narrow(), so the i64 Farkas step and its path stay as they are; big_conflict hands its multipliers over without narrowing; sv_check adds a BigInt combination (sum of BigInt multiplier times the i64 row of each source); SvAssumes.assumed and the step counters in sv_simplex/sv_elim/sv_proof learn the variant; sv_ask gets a letter for it (e.g. F).
Fixes: none
Pushed: none
Tests: ran the issue’s probe on develop c7a59cf67 with target/fast/nikaia, which is current with crates/: nikaia run scripts/solver.nika -- run --stats --cases 16384 target/smtlib/qflra/LassoRanker/SV-COMP-HarrisLalNoriRajamani-2010SAS-Fig1_true-termination.c_Iteration1_Lasso_4-pieceTemplate.smt2 printed unknown (overflow) 9561, stats conflicts 87, theory conflicts 73, lemmas 620, decisions 2862, 1 overflows, resumed in BigInt, 53.7 s wall. No build, nothing else run.
Gate: green
Deviation: none
Found: std::bigint has no way to make a BigInt from its decimal text, and Part I 2.2 does not decide one (it says “read back with narrow() -> i64?, sign() -> i64, bits() -> i64 and its decimal text”, output only); no decision yet. Probe use std::bigint / fn main() throws { let b: bigint::BigInt = bigint::BigInt::parse("123456789012345678901234567890") ?? bigint::BigInt::of(0); println(b.to_text()) } gives error[NK1245]: The compiler can't tell what type bigint::BigInt::parse("123456789012345678901234567890") is., exit 1. The same program with bigint::BigInt::of(123456789) in place of the parse runs, exit 0. Expected: a BigInt::parse(text) -> BigInt? (or a name the supervisor picks) that reads back what to_text() writes, so that a BigInt farkas step in the proof log (sv_log_text / sv_log_of in packages/logic/src/sv_ask.nika) reads back, as sv_ask_new_kind requires. Building the log around it, by writing BigInt limbs as i64 and rebuilding them with of/mul/add, would be the workaround CLAUDE.md forbids.
Needs: supervisor decision: a std::bigint read from decimal text (Part I 2.2), which #2749’s log text needs
Changelog: none
Issue: rules-gap: To build names the farkas step, the checker and big_conflict, but not the log’s text form (sv_ask.nika sv_log_text/sv_log_of, which must read back), and that text form needs a std::bigint parse that Part I 2.2 does not have (I3/I6: the gap was decidable when the issue was filed)
Owner: none
Comment: #2749 Blocked before building: a BigInt farkas step must go through the proof log’s text (sv_ask.nika sv_log_text/sv_log_of, read back on every proof), and std::bigint has no read from decimal text (Part I 2.2 does not have one). Once a BigInt::parse is decided and built, the plan is a separate SvStep variant with BigInt multipliers, made only when a multiplier fails narrow(), so the i64 path stays as it is. Probe on develop c7a59cf67: LassoRanker Fig1 4-piece ends unknown (overflow) 9561, resumed in BigInt.
Friction: none
Disk freed: none; target/nikaia-project-tests 1.8G, / 11G free of 252G, no cache entry over 100 MB new in this run
Attribution:
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01UVxJDwk9ubq9teP7QCErff
sv_ask.nika’s sv_log_of(sv_log_text(...)), which panics if it fails), and then checking whether std::bigint has any way to read a BigInt back from text. The issue’s own probe took 54 s.SvStep (sv_ask, sv_proof, sv_simplex, sv_elim, sv_check), the methods bigint.nika offers, and Part I 2.2 on what BigInt is allowed to do. A list of every place that reads a farkas step would have saved this.probe.nika runs (the first two failed for my own typing mistakes, so they were wasted), the issue’s probe, and the disk figures. No builds.ready.rules-gap: To build leaves out the proof log’s text form (sv_log_text / sv_log_of), which a BigInt step needs, and that needs a BigInt parse std does not have.knowledge: Probes | std::bigint has no read from decimal text (Part I 2.2 only reads out of a BigInt), so a value that must persist as text cannot be a BigInt yet.Fact: Core | Every SvStep variant is written to text and read back by sv_ask.nika (sv_step_text, sv_step_from) and must round-trip, or sv_ask_new_kind panics.Fact: Probes | A call to a method that does not exist on a std Nikaia type (BigInt::parse) shows as NK1245 "can't tell what type", not as an unknown method.Fact: Solver (packages/logic) | LassoRanker Fig1 4-piece, run as nikaia run scripts/solver.nika -- run --stats --cases 16384 FILE, ends unknown (overflow) 9561 after going on in BigInt: 87 conflicts, 2862 decisions, 53.7 s wall (2026-11-23, c7a59cf67).Fact: Solver (packages/logic) | The BigInt conflict is big_conflict in sv_simplex.nika (lines 1870-1928); the farkas step is checked by farkas in sv_check.nika (line 298) and walked by SvAssumes.assumed in sv_proof.nika (line 185).Generated by Claude Code
From the report of the run of issue-2749 (#2749):
Blocked before building: a BigInt farkas step must go through the proof log’s text (sv_ask.nika sv_log_text/sv_log_of, read back on every proof), and std::bigint has no read from decimal text (Part I 2.2 does not have one). Once a BigInt::parse is decided and built, the plan is a separate SvStep variant with BigInt multipliers, made only when a multiplier fails narrow(), so the i64 path stays as it is. Probe on develop c7a59cf67: LassoRanker Fig1 4-piece ends unknown (overflow) 9561, resumed in BigInt.
Generated by Claude Code
Driver: not queued, this issue waits for #2812, which is still open (#1819). Set ready again when it is closed.
Generated by Claude Code
Blocked on “std::bigint: BigInt::parse reads back the decimal text to_text writes” (#2812). The builder’s run on c7a59cf67 found that the certificate log can’t read a BigInt multiplier back without it. That gap is now decided in Part I 2.2 (commit 93705904a) and filed as a ready build.
The builder’s plan stays as it is:
SvStep::BigFarkas(lits, srcs, Vec[BigInt], den) variant, made only where narrow() fails;big_conflict passes BigInt multipliers through without narrowing;sv_check;SvAssumes.assumed and the step counters learn the variant;F in sv_ask, logged through sv_log_text / sv_log_of with to_text / BigInt::parse.The probe is LassoRanker Fig1, 4 pieces: unknown (overflow) 9561, then the run resumes in BigInt.
Goes back to ready once #2812 lands.
Generated by Claude Code