FAILURE MAP
← Case archive

FA-40203 / Heap invariants / Member archive

Skew meld puts the recursive merge result on the left even when an old left child exists · case 03

The bounded skew meld step certificate reports an incorrect new left.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

A skew meld unwind chooses the smaller root, recursively melds its old right subtree with the other heap, and unconditionally swaps children. Record supplies winner, old_left, recursive_result and sizes. Missing subtrees are None. No rank-based swap condition is part of this model.

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 2{"leaf": false, "new_left": 1, "new_right": 1, "preorder_children": [1], "rewrites": [[1, 9]], "size": 3}{"leaf": false, "new_left": null, "new_right": 1, "preorder_children": [1], "rewrites": [[1, 9]], "size": 3}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 ↗