pith. machine review for the scientific record. sign in
def definition def or abbrev

add_event

show as:
view Lean formalization →

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.