Skip to content

Commit 34395a9

Browse files
authored
clean up prose and remove out-of-place comment on POOL-reg.
1 parent f0de182 commit 34395a9

2 files changed

Lines changed: 128 additions & 111 deletions

File tree

src/Ledger/Dijkstra/Specification/Certs.lagda.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,7 @@ coinFromDeposits cs =
394394
```
395395

396396
A `CertState`{.AgdaRecord} is *pool-deposit registered* when every entry of the pool
397-
deposit pot belongs to a registered pool. Deposit accounting relies on this:
398-
`POOL-reg`{.AgdaInductiveConstructor} adds the pool deposit with a left-biased union,
399-
so a stale pot entry for an unregistered pool would silently swallow the added
400-
deposit. The property is preserved by `CERTS`{.AgdaDatatype} (both maps gain exactly
401-
the new pool's key, and no rule removes a pool without its deposit).
397+
deposit pot belongs to a registered pool.
402398

403399
```agda
404400
PoolDepositsRegistered : CertState → Type

0 commit comments

Comments
 (0)