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

totalAccessCost

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)

  26noncomputable def totalAccessCost (n : ℕ) (freq : Fin n → ℝ) (dist : Fin n → ℝ) : ℝ :=

proof body

Definition body.

  27  ∑ i : Fin n, freq i * dist i
  28
  29/-- Cached access cost: cached items accessed at distance ε, uncached at full distance,
  30    plus maintenance overhead α per cached item. -/

depends on (2)

Lean names referenced from this declaration's body.