def half_bv

bend-collections-laws-math@1.0.0.0 · proofs/math/random/wrappers.bend:76

import bend-collections-laws-math@1.0.0.0/proofs/math/random/wrappers.bend as Wrappers
import 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      {==}

Uses (4)

Used by (1)