formal-ledger-specifications icon indicating copy to clipboard operation
formal-ledger-specifications copied to clipboard

Prove that GA deposits match current proposals

Open WhatisRT opened this issue 1 year ago • 4 comments

We should prove that the following property is an invariant, i.e. that if it holds for some state it also holds when we successfully apply a block to that state.

filterˢ isGADeposit (dom (UTxOState.deposits utxoSt))
    ≡ fromList (map (λ where (id , _) → GovActionDeposit id) govSt)

Where isGADeposit is a decision procedure whether a deposit was constructed via the GovActionDeposit constructor.

WhatisRT avatar Feb 14 '24 16:02 WhatisRT