def fit64
bend-collections-laws-crypto@1.0.0.0 · proofs/math/typed/w64dm.bend:79
import bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/w64dm.bend as W64dm
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-crypto@1.0.0.0/spec/math/w64.bend as SW
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as WU
import bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/width.bend as WW
79def fit64(+a: WU.U64) -> {C.fits(64n, SW.value(a)) == True{} : Bool}:
80 match a:
81 case WU.U64{+l, +h}:
82 WW.limbs_fit(32n, 32n, v(l), v(h), vb(l), vb(h))