def ws.shr
import bend-osdev-word64@0.1.1.0/proof_shift.bend as ProofShiftimport Base
218def ws.shr(+n: Nat, k: Nat, w: Word(n)) -> Word(n):
219 match k:
220 case 0n:
221 w
222 case 1n+ +p:
223 Word.shr(n, ws.shr(n, p, w))
import bend-osdev-word64@0.1.1.0/proof_shift.bend as ProofShiftimport Base
218def ws.shr(+n: Nat, k: Nat, w: Word(n)) -> Word(n):
219 match k:
220 case 0n:
221 w
222 case 1n+ +p:
223 Word.shr(n, ws.shr(n, p, w))