def uint64n_value

bend-collections-laws-crypto@1.0.0.0 · proofs/math/random/uint64n.bend:333

import bend-collections-laws-crypto@1.0.0.0/proofs/math/random/uint64n.bend as Uint64n
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/math/w64.bend as SW
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as WU
import bend-collections-laws-crypto@1.0.0.0/spec/math/random.bend as SRM

333# THEOREM (Uint64n.value)
334def uint64n_value(~S: Data, ~next: S -> WU.U64 & S, +s: S, +n: WU.U64) -> SRM.Uint64n.value(~S, ~next, s, n):
335  value_vn(~S, ~next, s, n, SW.value(n), {==})

Uses (5)

Used by (1)