Commit 8940ffc
[Dijkstra] LEDGER-pov: complete the proof — gov re-derivation; Certs/Utxo/Utxow facts as parameters (#1223)
Completes the Dijkstra LEDGER preservation-of-value proof.
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_01We2YdXX2ozJAdAbCrRwi6r1 parent d7e8386 commit 8940ffc
6 files changed
Lines changed: 346 additions & 622 deletions
File tree
- src/Ledger/Dijkstra/Specification
- Certs
- Properties
- Entities/Properties
- Ledger/Properties
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