def shr_value

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/w64sh.bend:198

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh.bend as W64sh
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/w64.bend as SW
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as WU

198def shr_value(+a: WU.U64, +k: Nat) -> SW.Shr.value(a, k):
199  match a:
200    case WU.U64{+l, +h}:
201      shr_c(l, h, k, Nat.is_lt(k, 32n), {==})

Uses (5)

Used by (13)