def bit_length_le
bend-collections-laws-math@1.0.0.0 · proofs/math/natural/bits.bend:112
import bend-collections-laws-math@1.0.0.0/proofs/math/natural/bits.bend as Bits
import Base
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as N
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as SC
import bend-collections-laws-math@1.0.0.0/src/math/natural.bend as M
112
113def bit_length_le(+np: Nat) -> {Nat.is_le(SC.pow2(M.bit_length(1n+np)), Nat.double(1n+np)) == True{} : Bool}:
114 le_go(1n+np, 1n+np, N.le_refl(1n+np))