Expected WHERE facts are assertions only.

highlighted = computed this step

Honest by construction

Expected WHERE facts are assertions only.

compiler is source of truth\text{compiler is source of truth}

Render checked rows

The guarded filter keeps 2 rows after recomputation.

checked kept rows=2\text{checked kept rows}=2

WHERE-filter examples are tiny finite-table transforms with SQL-style TRUE/FALSE/UNKNOWN logic; SQL dialect completeness, type coercion, optimizer behavior, indexing, and product claims are out of scope.

Honest by construction: base rowsitemqtystatuspen3opennotebook0openmug2closedstickerNULLopen predicate evaluationsourcevaluestruthkept0[pen, 3, open]TRUEyes1[notebook, 0, open]FALSEno2[mug, 2, closed]TRUEyes3[sticker, NULL, open]UNKNOWNno WHERE output rowsitemqtystatuspen3openmug2closed WHERE factsfactvalueinputRowCount4trueRows2falseRows1unknownRows1keptRows2droppedRows2rowOrdersource_orderunknownKeptno

Try to tamper

Wrong expected facts, derived sidecars, missing columns, bools, floats, unsupported predicates, and invalid comparisons fail closed.

tamper rejected\text{tamper rejected}

Summary

The book shows exact finite WHERE behavior only; product SQL behavior is outside the model.

scoped WHERE model\text{scoped WHERE model}