def to64

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/fixbytes.bend:275

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixbytes.bend as Fixbytes
import Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh.bend as SH

275def to64(+k: Nat, +hk: {Nat.is_le(Nat.add(8n, k), 64n) == True{} : Bool}, +n: Nat, +h: {C.fits(Nat.add(8n, k), n) == True{} : Bool}) -> {C.fits(64n, n) == True{} : Bool}:
276  SH.fits_mono(Nat.add(8n, k), 64n, n, hk, h)

Uses (6)

Used by (1)