FAILURE MAP
← Case archive

FA-40347 / Heap invariants / Member archive

Lazy heap logical emptiness follows the presence of a current physical record · case 02

The bounded lazy pop certificate reports an incorrect empty.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Physical lazy-heap records [priority,serial,id,version] are already sorted lexicographically by priority then serial. Live map id->[version,payload]. Skip missing or version-stale records, pop the first current record, delete its live-map id, and retain the remaining physical suffix. No unindexed priority changes are allowed.

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 5{"discarded": 1, "empty": false, "live_after": {"a": [2, "A"]}, "payload": null, "selected": null, "suffix": []}{"discarded": 1, "empty": true, "live_after": {"a": [2, "A"]}, "payload": null, "selected": null, "suffix": []}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 ↗