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)
324noncomputable def add_event (L : Ledger) (e : RecognitionEvent) : Ledger := {
proof body
Definition body.
325 events := e :: reciprocal e :: L.events
326 double_entry := add_event_balanced_list L.events L.double_entry e
327}
328
329/-- Adding a paired event preserves balance. -/
used by (5)
From the project-wide theorem graph. These declarations reference this one in their body.
depends on (8)
Lean names referenced from this declaration's body.
-
reciprocal
in IndisputableMonolith.Algebra.CostAlgebra
decl_use
-
add_event_balanced_list
in IndisputableMonolith.Foundation.LedgerForcing
decl_use
-
reciprocal
in IndisputableMonolith.Foundation.LedgerForcing
decl_use
-
RecognitionEvent
in IndisputableMonolith.Foundation.LedgerForcing
decl_use
-
RecognitionEvent
in IndisputableMonolith.Foundation.ObserverForcing
decl_use
-
RecognitionEvent
in IndisputableMonolith.Information.InformationIsLedger
decl_use
-
L
in IndisputableMonolith.Recognition
decl_use
-
L
in IndisputableMonolith.Recognition.Cycle3
decl_use