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)
29structure Transaction where
30 /-- The debit amount (positive = outflow). -/
31 debit : ℤ
32 /-- The credit amount (positive = inflow). -/
33 credit : ℤ
34 /-- The balance constraint: debit + credit = 0. -/
35 balanced : debit + credit = 0
36
37namespace Transaction
38
39/-- Create a balanced transaction from a single amount. -/
used by (9)
From the project-wide theorem graph. These declarations reference this one in their body.
-
SpatialLedger
in IndisputableMonolith.RRF.Foundation.Gravity
decl_use
-
add
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
add_balanced
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
append
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
fromAmount
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
Ledger
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
LedgerAlgebra
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
singleton
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
-
zero
in IndisputableMonolith.RRF.Foundation.Ledger
decl_use
depends on (2)
Lean names referenced from this declaration's body.
-
balanced
in IndisputableMonolith.Foundation.LedgerForcing
decl_use
-
from
in IndisputableMonolith.Foundation.PrimitiveDistinction
decl_use