def
definition
def or abbrev
classifyValence
show as:
view Lean formalization →
formal statement (Lean)
87noncomputable def classifyValence (r : ℝ) (threshold : ℝ) : Valence :=
proof body
Definition body.
88 if ledgerSkew r > threshold then .positive
89 else if ledgerSkew r < -threshold then .negative
90 else .neutral
91