FA-40393 / Heap invariants / Member archive
Min-level bubbling compares grandchildren and allows equal priorities · case 03
The bounded minmax levels certificate reports an incorrect min violations.
Case contract
A min-max heap certificate is a complete zero-based binary array. Even depth is a minimum level, odd depth a maximum level. Report level parities, grandparent indices, minimum-level grandchild violations, maximum-level grandchild violations, maximum endpoint, and immediate-child level alternation pairs. Empty maximum is None.
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 5 | {"edges": [[0, 1], [0, 2], [1, 3], [1, 4], [2, 5], [2, 6], [3, 7], [3, 8], [4, 9], [4, 10], [5, 11], [5, 12], [6, 13], [6, 14]], "grandparents": [null, null, null, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2], "max_violations": [[1, 7], [1, 9], [1, 10]], "maximum": 9, "min_violations": [[1, 8], [2, 11], [2, 12], [2, 13], [2, 14]], "parity": [0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1]} | {"edges": [[0, 1], [0, 2], [1, 3], [1, 4], [2, 5], [2, 6], [3, 7], [3, 8], [4, 9], [4, 10], [5, 11], [5, 12], [6, 13], [6, 14]], "grandparents": [null, null, null, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2], "max_violations": [[1, 7], [1, 9], [1, 10]], "maximum": 9, "min_violations": [[0, 3], [0, 5]], "parity": [0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 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 ↗