FAILURE MAP
← Case archive

FA-39860 / Heap invariants / Member archive

Binomial forest size sums roots instead of tree populations · case 05

The bounded binomial forest certificate reports an incorrect population.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

For a binomial-forest certificate, roots is a list of [rank,key,node_count,child_ranks]. Report canonical rank order, duplicate ranks, root minimum, size, tree-cardinality failures, and descending child-rank failures. No implicit tree nodes are present.

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{"canonical": [0, 2, 2], "cardinality": [], "children": [], "collisions": [2], "minimum": 2, "population": 3}{"canonical": [0, 2, 2], "cardinality": [], "children": [], "collisions": [2], "minimum": 2, "population": 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 ↗