No prose has been written for this declaration yet. The Lean source and graph data below render
without it.
generate prose now
formal statement (Lean)
201structure LedgerAlgebra where
202 /-- The transaction type. -/
203 transaction : Type := Transaction
proof body
Definition body.
204 /-- The ledger type. -/
205 ledger : Type := Ledger
206 /-- Transactions are balanced. -/
207 transactions_balanced : ∀ t : Transaction, t.debit + t.credit = 0 := fun t => t.balanced
208 /-- Ledgers are balanced. -/
209 ledgers_balanced : ∀ L : Ledger, L.net = 0 := fun L => L.global_balance
210 /-- Double-entry holds. -/
211 double_entry : DoubleEntry := double_entry_exists
212
213/-- The ledger algebra is consistent. -/
used by (4)
From the project-wide theorem graph. These declarations reference this one in their body.
depends on (13)
Lean names referenced from this declaration's body.
-
consistent
in IndisputableMonolith.Complexity.SAT.Backprop
decl_use
-
balanced
in IndisputableMonolith.Foundation.LedgerForcing
decl_use
-
is
in IndisputableMonolith.Foundation.OptionAEmpiricalProgram
decl_use
-
is
in IndisputableMonolith.Foundation.SimplicialLedger.EdgeLengthFromPsi
decl_use
-
is
in IndisputableMonolith.GameTheory.MechanismDesignFromSigma
decl_use
-
is
in IndisputableMonolith.Mathematics.RamanujanBridge.MockThetaPhantom
decl_use
-
L
in IndisputableMonolith.Recognition
decl_use
-
L
in IndisputableMonolith.Recognition.Cycle3
decl_use
-
net
in IndisputableMonolith.RRF.Core.Strain
decl_use
-
DoubleEntry
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
double_entry_exists
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
net
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
Transaction
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use