FA-40495 / Heap invariants / Member archive
Winner tournament leaf update offsets the external slot by leaf capacity · case 05
The bounded tournament path certificate reports an incorrect leaf.
Case contract
A complete winner tournament has power-of-two leaf capacity c and updated leaf slot s. Tree leaves occupy c+s. Report ancestors in bottom-up replay order, sibling indices along that path, root index, comparison count, leaf index, and unaffected leaf slots. Capacity at least one; slot is in range.
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 1 | {"comparisons": 0, "leaf": 0, "replay": [], "root": 1, "siblings": [], "untouched": []} | {"comparisons": 0, "leaf": 1, "replay": [], "root": 1, "siblings": [], "untouched": []} | 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 ↗