Concurrency Control
Honest by Construction
Lock tables, wait-for cycles, version chains, and snapshot reads are recomputed before rendering.
Honest by construction
The author supplies lock or MVCC traces and optional expected facts. The engine recomputes lock tables, wait-for cycles, version chains, and snapshot reads before rendering. Note: expected facts can reject a mismatch but cannot create the answer.
Compiled facts
The lock graph has 2 edges and the MVCC trace has 2 reads. Note: the detailed facts are rendered from recompute.
2PL and MVCC are exact protocol traces on tiny schedules; real lock managers, deadlock avoidance/timeouts, version garbage-collection, and isolation-level tuning are beyond these traces - no product claims.
Wrong result reject
A wrong expected deadlock verdict or snapshot read is rejected during the lesson self-test. Note: rejection happens before any inconsistent diagram can publish.
Summary
Locks and versions stay honest because every visible lock, edge, cycle, version, and read result is recomputed. Note: 2PL and MVCC are exact protocol traces here; real lock managers, timeouts, garbage collection, and isolation tuning are beyond these traces.