def
definition
def or abbrev
apply_forgetting
show as:
view Lean formalization →
formal statement (Lean)
212noncomputable def apply_forgetting (trace : LedgerMemoryTrace) (n_cycles : ℕ) (current_tick : ℕ) : ℝ :=
proof body
Definition body.
213 let rate := forgetting_rate trace current_tick
214 trace.strength * exp (-rate * n_cycles * working_memory_window)
215