def bucket_ltw
bend-collections-laws-math@1.0.0.0 · proofs/math/hash/hash.bend:55
import bend-collections-laws-math@1.0.0.0/proofs/math/hash/hash.bend as Hash
import Base
import bend-collections-laws-math@1.0.0.0/src/math/hash.bend as HS
import bend-collections-laws-math@1.0.0.0/proofs/lib/word.bend as WD
import bend-collections-laws-math@1.0.0.0/proofs/lib/u32div.bend as UD
55def bucket_ltw(+w: U32, +k: Nat) -> {Nat.is_lt(UD.v(HS.bucket(w, U32{WD.mask(32n, k)})), WD.sc(k, 1n)) == True{} : Bool}:
56 and_mask_lt(U32.xor(U32.mul(w, HS.phi32()), U32.shrn(U32.mul(w, HS.phi32()), 16n)), k)