Commit 1f1278b
[Dijkstra] LEDGER-pov: complete the proof and address Copilot review comments.
Ledger/Properties/PoV.lagda.md typechecks end-to-end (Agda 2.8.0 via the Nix
flake, --safe, no postulates/holes).
- Lift the Certs-PoV facts (CERTS-pov, CERTS-coinFromDeposits-updateCertDeposits)
to module parameters of ENTITIES-PoV and LEDGER-PoV; remove the Certs-PoV
provider modules.
- Complete the LEDGER-V chain to the four-summand goal getCoin s ≡ getCoin s',
including the gov-deposit re-derivation: UTXOW-batch-balance-coin (the
consumedBatch ≡ producedBatch coin projection) carries the produced-side
govProposalsDeposits as a single trailing totGov, threaded through
bat'/LHS+E≡RHS+E/step-ii (three-summand); SUBLEDGERS-gov-coin +
GOVS-coinFromGovDeposit (+ the proposalsOf bridge) +
rmOrphanDRepVotes-coinFromGovDeposit give gov-acc.
- The Utxo/Utxow-PoV facts remain module parameters, discharged by #1186.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01We2YdXX2ozJAdAbCrRwi6r
- Ledger.lagda.md: HasCoin-CertState counts only the rewards balance
(getCoin = rewardsBalance ∘ DStateOf), not the deposit pots; correct the
prose to say components 3 and 4 (coinFromDeposits, coinFromGovDeposit) are
added at the LedgerState level.
- CHANGELOG.md: the HasCoin-LedgerState entry now also lists the
coinFromGovDeposit summand, not just the three CertState deposit fields.
- session-start.sh: enabling flakes keyed only on the presence of any
experimental-features line, so a bare `experimental-features = nix-command`
would skip flakes. Check for `flakes` specifically and append via
extra-experimental-features (which doesn't clobber an existing setting).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0174ZBS1RKAGSbBXDsESUwoA1 parent 4e44ab7 commit 1f1278b
8 files changed
Lines changed: 349 additions & 585 deletions
File tree
- src/Ledger/Dijkstra/Specification
- Certs
- Properties
- Entities/Properties
- Ledger/Properties
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
Lines changed: 0 additions & 265 deletions
This file was deleted.
0 commit comments