def J
import bend-collections-laws-math@1.0.0.0/proofs/math/random/float.bend as Floatimport Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-math@1.0.0.0/src/math/natural.bend as M
239# the bit length of 1 + np is 1 + J(np)
240def J(+np: Nat) -> Nat:
241 M.bit_length(C.half(1n+np))