FA-41199 / Heap invariants / Member archive
Paged heap parent arithmetic must occur before translating into page coordinates · case 04
The bounded paged heap layout certificate reports an incorrect parent.
Case contract
A binary heap is stored in fixed-size pages of B slots using zero-based global indices. For n logical members and selected live index i report its page/offset, parent address or None, child addresses, allocated page count, last-page live occupancy, and pages touched by reading i and its existing children. B>=1 and 0<=i<n.
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 | {"address": [0, 2], "children": [[1, 1], [1, 2]], "pages": 3, "parent": [0, 1], "tail_occupancy": 1, "touched": [0, 1]} | {"address": [0, 2], "children": [[1, 1], [1, 2]], "pages": 3, "parent": [0, 0], "tail_occupancy": 1, "touched": [0, 1]} | 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 ↗