def bl_fin
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as W64import Base
220def bl_fin(st: Nat & U32) -> Nat:
221 (+base, +x) = st
222 Nat.add(base, U32.to_nat(U32.min(x, 1)))
Uses (7)
Used by (5)
- bend-collections-laws-math@1.0.0.0/src/math/w64:bitlen
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64clz:bitlen_v
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64clz:bl_fin_v
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64clz:eta_chain
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64clz:eta_fin