def b32_v
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64mul.bend as W64mulimport Base
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X
import bend-collections-laws-math@1.0.0.0/proofs/lib/lemmas/spec/numeric.bend as S
218def b32_v(+c: Bool) -> {v(X.b32(c)) == S.bit_value(c) : Nat}:
219 match c:
220 case True{}:
221 {==}
222 case False{}:
223 {==}
Uses (5)
Used by (8)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64m128:m128_value
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dm:mul3264
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64add:add_eq
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64m128:sub_eq
- bend-collections-laws-math@1.0.0.0/proofs/math/random/pcg/impl:carry_value
- …