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

hammingWeight

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)

 152def hammingWeight (v : F2Power D) : ℕ :=

proof body

Definition body.

 153  (Finset.univ.filter (fun i => v i = true)).card
 154

used by (12)

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

depends on (1)

Lean names referenced from this declaration's body.