def shr16

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/shrn.bend:155

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/shrn.bend as Shrn
import Base

155# the 16-bit split of the limb code
156def shr16(+x: U32) -> {U32.shrn(x, 16n) == U32.div(x, 65536) : U32}:
157  shrn_div(x, 16n, {==})

Uses (4)

Used by (3)