def
definition
def or abbrev
concat
show as:
view Lean formalization →
formal statement (Lean)
113def concat (L₁ L₂ : Ledger) : Ledger := {
proof body
Definition body.
114 transactions := L₁.transactions ++ L₂.transactions,
115 total_debit := L₁.total_debit + L₂.total_debit,
116 total_credit := L₁.total_credit + L₂.total_credit,
117 global_balance := by
118 have h₁ := L₁.global_balance
119 have h₂ := L₂.global_balance
120 omega
121}
122