FA-40025 / Heap invariants / Member archive
Binomial carry defers the first pair when three equal ranks are pending · case 05
The bounded binomial carry certificate reports an incorrect link now.
Case contract
A consolidation cursor sees ordered ranks and index i. Report whether to link now, current rank, carry rank, suffix retained after a link, triple-collision deferral, and link partner. In three equal consecutive ranks defer the first pair so a carry is not consolidated twice out of order. Empty cursor is allowed.
Why this case matters
This isolates an internal heap representation or priority-structure invariant using deterministic finite records.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression certificate 3 | {"carry_rank": null, "current": 0, "defer": true, "link_now": true, "partner": null, "suffix": [0, 0, 0, 2]} | {"carry_rank": null, "current": 0, "defer": true, "link_now": false, "partner": null, "suffix": [0, 0, 0, 2]} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗