FA-39923 / Heap invariants / Member archive
Leftist orientation audit misses a unary right child · case 03
The bounded leftist ranks certificate reports an incorrect right orphans.
Case contract
A leftist-tree certificate has nodes [key,left,right,stored_npl] with missing child=-1 and valid references. Null-path length of null is -1. Report local heap-edge violations, rank recurrence violations, leftist orientation violations, leaves, unary-right nodes, and root-to-right-spine length; spine traversal stops on repeated node.
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 4 | {"heap_edges": [], "leaves": [1], "orientation": [], "rank_recurrence": [], "right_orphans": [0], "spine_length": 1} | {"heap_edges": [], "leaves": [1], "orientation": [], "rank_recurrence": [], "right_orphans": [], "spine_length": 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 ↗