def shl_value

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

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

253def shl_value(+a: WU.U64, +k: Nat, +hk: {Nat.is_lt(k, 64n) == True{} : Bool}) -> SW.Shl.value(a, k, hk):
254  match a:
255    case WU.U64{+l, +h}:
256      shl_c(l, h, k, Nat.is_lt(k, 32n), {==}, hk)

Uses (6)

Used by (13)