You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BendTT kernel runs out of fuel on shared cells bend2 compares once #1555
tests/check/conversion_shared_cells_once.bend (from #1151) checks that bend2 compares a shared graph once: each level of root_loop(d, x) and root_rec(d, x) uses the level below twice, so walking it as a tree takes 2^d steps. bend2 merges equal shared cells and passes at any depth. The BendTT kernel doesn't share them, so it walks the tree and runs out of fuel.
On main (e78dc9c), with the kernel built from bend2/bendtt.lean:
agree_16: ALL PROOFS CHECK in 0.6 s
agree_20, agree_24, agree_32: SOME PROOFS FAIL after about 7 s (BendTT: out of fuel), with the mismatch message
So --verdict gives a false reject for any program that relies on this sharing past about 20 levels. gates/safe.ts reported it as the only ! in tests (1635 files).
The gate PR for #1312 lowers the test to 16 levels so the safe gate starts clean. The real fix is for the kernel to compare shared cells once, like bend2 does. When it does, the test can go back to 32 levels.
Activity
Lorenzobattistela commentedon Oct 14, 2026
Duplicate of #1193. The timings are now on that issue.