FA-40342 / Heap invariants / Member archive
Lazy heap pop invalidates the delivered handle while retaining other live entries · case 02
The bounded lazy pop certificate reports an incorrect live after.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression certificate 2 | {"discarded": 0, "empty": false, "live_after": {"a": [0, "A"]}, "payload": "A", "selected": "a", "suffix": []} | {"discarded": 0, "empty": false, "live_after": {}, "payload": "A", "selected": "a", "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 ↗