def half_bv
import bend-collections-laws-math@1.0.0.0/proofs/math/random/wrappers.bend as Wrappersimport 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/proofs/lib/lemmas/spec/numeric.bend as S
76def half_bv(+b: Bool) -> {C.half(S.bit_value(b)) == 0n : Nat}:
77 match b:
78 case True{}:
79 {==}
80 case False{}:
81 {==}