9.4. Eventual consistency, per rule
Direction, not decided
A rule could opt out of the transaction, e.g. a later check: eventual:
Rule | Checked how | Guarantee |
|---|---|---|
precondition with | reads a possibly stale copy of the other entity | was true on some earlier state of the other entity |
grouped invariant | checked after the append; a violation triggers a correcting event | every violation is eventually followed by a correction; at rest the invariant holds |
Both are different theorems over the same histories, provable in Lean.