FAILURE MAP
← Case archive

FA-41005 / Heap invariants / Member archive

Persistent heap publishes the copied root rather than the copied target or old root · case 05

The bounded persistent path copy certificate reports an incorrect root.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

A persistent array-backed heap update supplies a root-to-target node-id path, off-path sibling ids, old node generations, and a new generation. Allocate one copy per path node, reconnect copied edges, share every sibling, and preserve old node references. Report allocated pairs, copied edges, shared ids, old generation list, new root reference, and target reference.

Why this case matters

This isolates an internal heap representation or priority-structure invariant using deterministic finite records.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression certificate 3{"allocations": [[1, 9], [3, 9]], "edges": [[[1, 9], [3, 9]]], "old_refs": [[1, 2], [3, 2]], "root": [3, 9], "shared": [[2, 2]], "target": [3, 9]}{"allocations": [[1, 9], [3, 9]], "edges": [[[1, 9], [3, 9]]], "old_refs": [[1, 2], [3, 2]], "root": [1, 9], "shared": [[2, 2]], "target": [3, 9]}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 ↗