Recovery
Honest by Construction
Winners, losers, redo, undo, and recovered state are recomputed before rendering.
Honest by construction
The author supplies a log, crash point, and optional expected facts. The engine recomputes winners, losers, redo, undo, and recovered state before rendering. Note: expected facts can reject a mismatch but cannot create the answer.
Compiled recovery
The compiled recovery has 1 redo write, 1 undo write, and 2 recovered items. Note: every number comes from compile output.
a simplified redo/undo recovery over a tiny log; ARIES detail (fuzzy checkpoints, CLRs, media recovery) and real durability/fsync are beyond these traces - no product claims.
Wrong state reject
A wrong expected recovered state is rejected during the lesson self-test. Note: the rejection happens before an inconsistent diagram can publish.
Summary
Write-ahead log lessons are honest because recovered state is recomputed from log and crash. Note: this is simplified redo and undo; ARIES detail, fuzzy checkpoints, CLRs, media recovery, and real fsync durability are deferred.