def vo_k
bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/argon2/words.bend:29
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/words.bend as Words
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32.bend as U
import bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/u32.bend as U32P
29def vo_k(+k: Nat, +hk: {k == 32n : Nat}, +n: Nat, +h: {C.fits(k, n) == True{} : Bool}) -> {v(U32.from_nat(n)) == n : Nat}:
30 U.to_nat_from_nat(n, k, U32P.le_k(k, hk), lt_k(k, n, h))