Bitcount.ones_zero: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/proofs/math/number/bitcount.bend as Bitcount Lines 22-27 of bend-collections-laws-math@1.0.0.0/proofs/math/number/bitcount.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/proofs/math/number/bitcount.bend&start_line=22&end_line=27 import Base import bend-collections-laws-math@1.0.0.0/spec/math/number.bend as SN def ones_zero(+k: Nat) -> {SN.ones(k, 0n) == 0n : Nat}: match k: case 0n: {==} case 1n+ +p: ones_zero(p) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/spec/math/number.bend&name=ones