def shr_value
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh.bend as W64shimport 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)
- bend-collections-laws-math@1.0.0.0/proofs/math/random/proof_pcg:xs
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix64:wrapping_shr
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh:sj_bit
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64conv:small_nat
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64divq:w1_v
- …