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

eqCost

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)

  44def eqCost {K : Type u} [DecidableEq K] (a b : K) : Nat :=

proof body

Definition body.

  45  if a = b then 0 else 1
  46

used by (4)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (2)

Lean names referenced from this declaration's body.