docs(verification): law 47, a write is one transaction, exactly once (P15 T1, D-88)
Ties WB-format-8 to 10, the calls.rs spec block, the command-steps map and plan 2a to bookspec law 47 (Calls.lean): a call is a Steps run, no new Step. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
2d3250709b
commit
d66cc98ee5
5 files changed
+55
No files matched your search
@@ -51,6 +51,11 @@ and the documents (tagged lines, control accounts, sends).
|
||||
keeps, so every law about balances, statements and periods holds across
|
||||
them with nothing to prove. Some keep a register with rules of its own
|
||||
(the note says which); see "Registers" below.
|
||||
- **A tool call is a `Steps` run, not a step.** A call that writes is a
|
||||
run of legal steps (a `Steps` run), so no `Step` constructor was added
|
||||
for it: bookspec's law 47 (`Calls.call_preserves_inv`, `Calls.replay_inv`)
|
||||
proves a replay of the counted steps of the journal's frames is
|
||||
reachable and keeps the invariant. See `docs/verification.md` law 47.
|
||||
- **Several steps in one command** run inside `Ledger::atomically`: all
|
||||
of them happen or none does.
|
||||
|
||||
|
||||
Reference in new issue
Block a user