def ones_zero

bend-collections-laws-math@1.0.0.0 · proofs/math/number/bitcount.bend:22

import bend-collections-laws-math@1.0.0.0/proofs/math/number/bitcount.bend as Bitcount
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/number.bend as SN

22def ones_zero(+k: Nat) -> {SN.ones(k, 0n) == 0n : Nat}:
23  match k:
24    case 0n:
25      {==}
26    case 1n+ +p:
27      ones_zero(p)

Uses (2)

Used by (1)